Function at 0x487a7a
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x34
mov eax, dword [ebp + 0xc]
and eax, 2
test eax, eax
jne 0x487a9c
mov dword [esp], 5
call fcn.004615e4
jmp 0x488116
mov eax, dword [0x695b4c]
test eax, eax
je 0x487ab6
mov dword [esp], 0x106
call fcn.004615e4
jmp 0x488116
mov eax, dword [0xa45004]
test eax, eax
jne 0x487ad8
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.00462cfe
mov dword [0xa45004], eax
mov eax, dword [0xa45008]
test eax, eax
jne 0x487afa
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.00462cfe
mov dword [0xa45008], eax
mov eax, dword [0xa4500c]
test eax, eax
jne 0x487b1c
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.00462cfe
mov dword [0xa4500c], eax
mov eax, dword [0xa45010]
test eax, eax
jne 0x487b3e
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.00462cfe
mov dword [0xa45010], eax
mov eax, dword [0xa45014]
test eax, eax
jne 0x487b60
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.00462cfe
mov dword [0xa45014], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
test eax, eax
jne 0x487b7b
mov dword [esp], 5
call fcn.004615e4
jmp 0x488116
call fcn.004845a1
test eax, eax
setne al
test al, al
je 0x487fd7
mov eax, dword [0xa45004]
mov edx, dword [ebp + 8]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00462e65
mov dword [esp], 0x54dda6
call fcn.00462aea
mov edx, eax
mov eax, dword [0xa45008]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00462e65
mov eax, dword [0xa45004]
mov dword [esp], eax
call fcn.004846b4
test eax, eax
sete al
test al, al
je 0x487c82
mov dword [esp + 4], 1
mov dword [esp], 0x555127
call fcn.00462b7b
mov edx, eax
mov eax, dword [0xa45004]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00463629
mov edx, eax
mov eax, dword [0xa4500c]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00462e65
mov dword [esp + 8], 0x3c
mov dword [esp + 4], 0
mov dword [esp], 0xa45020
call sub.msvcrt.dll_memset
mov dword [0xa45020], 0x3c
mov eax, dword [0xa4500c]
mov eax, dword [eax]
mov dword [0xa45030], eax
mov dword [0xa45034], 0
mov dword [0xa45024], 0x400
mov dword [0xa4503c], 0
mov dword [esp], 0xa45020
mov eax, dword [sym.imp.SHELL32.DLL_ShellExecuteExA]
call eax
sub esp, 4
test eax, eax
setne al
test al, al
jne 0x48810c
mov dword [0xa4505c], 0
mov dword [0xa45060], 0
jmp 0x487d60
mov eax, dword [0xa45004]
mov edx, dword [eax]
mov eax, dword [0xa4505c]
add eax, edx
movzx eax, byte [eax]
cmp al, 0x22
jne 0x487ccf
mov eax, dword [0xa45060]
test eax, eax
jne 0x487cc5
mov dword [0xa45060], 1
jmp 0x487ccf
mov dword [0xa45060], 0
mov eax, dword [0xa45004]
mov edx, dword [eax]
mov eax, dword [0xa4505c]
add eax, edx
movzx eax, byte [eax]
cmp al, 0x20
jne 0x487d53
mov eax, dword [0xa45060]
test eax, eax
jne 0x487d53
mov eax, dword [0xa45004]
mov edx, dword [eax + 4]
mov eax, dword [0xa4505c]
mov ecx, edx
sub ecx, eax
mov eax, ecx
lea edx, [eax - 1]
mov eax, dword [0xa45004]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00463a73
mov edx, eax
mov eax, dword [0xa45008]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00462e65
mov edx, dword [0xa4505c]
mov eax, dword [0xa45004]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.004639ab
mov edx, eax
mov eax, dword [0xa45004]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00462e65
jmp 0x487d7a
mov eax, dword [0xa4505c]
add eax, 1
mov dword [0xa4505c], eax
mov eax, dword [0xa45004]
mov edx, dword [eax + 4]
mov eax, dword [0xa4505c]
cmp edx, eax
setg al
test al, al
jne 0x487c9b
mov eax, dword [0xa45004]
mov eax, dword [eax + 4]
test eax, eax
je 0x48810f
mov eax, dword [0xa45008]
mov eax, dword [eax + 4]
test eax, eax
je 0x487e98
mov eax, dword [0xa45004]
mov dword [esp], eax
call fcn.004846b4
test eax, eax
sete al
test al, al
je 0x487e98
mov dword [esp + 4], 1
mov dword [esp], 0x555127
call fcn.00462b7b
mov edx, eax
mov eax, dword [0xa45004]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00463629
mov edx, eax
mov eax, dword [0xa4500c]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00462e65
mov dword [esp + 4], 1
mov dword [esp], 0x555127
call fcn.00462b7b
mov edx, eax
mov eax, dword [0xa45008]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00463629
mov edx, eax
mov eax, dword [0xa45010]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00462e65
mov dword [esp + 8], 0x3c
mov dword [esp + 4], 0
mov dword [esp], 0xa45020
call sub.msvcrt.dll_memset
mov dword [0xa45020], 0x3c
mov eax, dword [0xa4500c]
mov eax, dword [eax]
mov dword [0xa45030], eax
mov eax, dword [0xa45010]
mov eax, dword [eax]
mov dword [0xa45034], eax
mov dword [0xa45024], 0x400
mov dword [0xa4503c], 0
mov dword [esp], 0xa45020
mov eax, dword [sym.imp.SHELL32.DLL_ShellExecuteExA]
call eax
sub esp, 4
test eax, eax
setne al
test al, al
jne 0x488112
mov eax, dword [0xa45008]
mov eax, dword [eax + 4]
test eax, eax
je 0x487ed5
mov ebx, dword [0xa45008]
mov dword [esp], 0x55519a
call fcn.00462aea
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.00463629
mov edx, eax
mov eax, dword [0xa45008]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00462e65
mov edx, dword [0xa45008]
mov eax, dword [0xa45004]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00463629
mov edx, eax
mov eax, dword [0xa45014]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00462e65
mov ebx, dword [0xa45014]
mov dword [esp], str.__c
call fcn.00462aea
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.00463629
mov edx, eax
mov eax, dword [0xa45014]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00462e65
mov dword [esp + 4], 1
mov dword [esp], 0x555127
call fcn.00462b7b
mov edx, eax
mov eax, dword [0xa45014]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00463629
mov edx, eax
mov eax, dword [0xa45014]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00462e65
mov dword [esp + 8], 0x3c
mov dword [esp + 4], 0
mov dword [esp], 0xa45020
call sub.msvcrt.dll_memset
mov dword [0xa45020], 0x3c
mov dword [0xa45030], 0x539918
mov eax, dword [0xa45014]
mov eax, dword [eax]
mov dword [0xa45034], eax
mov dword [0xa45024], 0x400
mov dword [0xa4503c], 0
mov dword [esp], 0xa45020
mov eax, dword [sym.imp.SHELL32.DLL_ShellExecuteExA]
call eax
sub esp, 4
test eax, eax
setne al
test al, al
jmp 0x488116
mov dword [esp], str.command.com__c
call fcn.00462aea
mov edx, dword [ebp + 8]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00463629
mov edx, eax
mov eax, dword [0xa45014]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00462e65
mov dword [esp + 4], 1
mov dword [esp], 0x555127
call fcn.00462b7b
mov edx, eax
mov eax, dword [0xa45014]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00463629
mov edx, eax
mov eax, dword [0xa45014]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00462e65
mov dword [esp + 8], 0x44
mov dword [esp + 4], 0
mov dword [esp], 0xa45080
call sub.msvcrt.dll_memset
mov dword [0xa45080], 0x44
mov dword [esp + 8], 0x10
mov dword [esp + 4], 0
mov dword [esp], 0xa450c4
call sub.msvcrt.dll_memset
mov eax, dword [0xa45014]
mov eax, dword [eax]
mov dword [esp + 0x24], 0xa450c4
mov dword [esp + 0x20], 0xa45080
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x10
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_CreateProcessA]
call eax
sub esp, 0x28
test eax, eax
setne al
test al, al
je 0x488115
mov eax, dword [0xa450c4]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov eax, dword [0xa450c8]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
jmp 0x488116
nop
jmp 0x488116
nop
jmp 0x488116
nop
jmp 0x488116
nop
mov ebx, dword [ebp - 4]
leave
ret