Function at 0x48772e
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 0x487750
mov dword [esp], 5
call fcn.00461298
jmp 0x487dca
mov eax, dword [0x695b4c]
test eax, eax
je 0x48776a
mov dword [esp], 0x106
call fcn.00461298
jmp 0x487dca
mov eax, dword [0xa45104]
test eax, eax
jne 0x48778c
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.004629b2
mov dword [0xa45104], eax
mov eax, dword [0xa45108]
test eax, eax
jne 0x4877ae
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.004629b2
mov dword [0xa45108], eax
mov eax, dword [0xa4510c]
test eax, eax
jne 0x4877d0
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.004629b2
mov dword [0xa4510c], eax
mov eax, dword [0xa45110]
test eax, eax
jne 0x4877f2
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.004629b2
mov dword [0xa45110], eax
mov eax, dword [0xa45114]
test eax, eax
jne 0x487814
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.004629b2
mov dword [0xa45114], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
test eax, eax
jne 0x48782f
mov dword [esp], 5
call fcn.00461298
jmp 0x487dca
call fcn.00484255
test eax, eax
setne al
test al, al
je 0x487c8b
mov eax, dword [0xa45104]
mov edx, dword [ebp + 8]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00462b19
mov dword [esp], 0x54e206
call fcn.0046279e
mov edx, eax
mov eax, dword [0xa45108]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00462b19
mov eax, dword [0xa45104]
mov dword [esp], eax
call fcn.00484368
test eax, eax
sete al
test al, al
je 0x487936
mov dword [esp + 4], 1
mov dword [esp], 0x555587
call fcn.0046282f
mov edx, eax
mov eax, dword [0xa45104]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.004632dd
mov edx, eax
mov eax, dword [0xa4510c]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00462b19
mov dword [esp + 8], 0x3c
mov dword [esp + 4], 0
mov dword [esp], 0xa45120
call sub.msvcrt.dll_memset
mov dword [0xa45120], 0x3c
mov eax, dword [0xa4510c]
mov eax, dword [eax]
mov dword [0xa45130], eax
mov dword [0xa45134], 0
mov dword [0xa45124], 0x400
mov dword [0xa4513c], 0
mov dword [esp], 0xa45120
mov eax, dword [sym.imp.SHELL32.DLL_ShellExecuteExA]
call eax
sub esp, 4
test eax, eax
setne al
test al, al
jne 0x487dc0
mov dword [0xa4515c], 0
mov dword [0xa45160], 0
jmp 0x487a14
mov eax, dword [0xa45104]
mov edx, dword [eax]
mov eax, dword [0xa4515c]
add eax, edx
movzx eax, byte [eax]
cmp al, 0x22
jne 0x487983
mov eax, dword [0xa45160]
test eax, eax
jne 0x487979
mov dword [0xa45160], 1
jmp 0x487983
mov dword [0xa45160], 0
mov eax, dword [0xa45104]
mov edx, dword [eax]
mov eax, dword [0xa4515c]
add eax, edx
movzx eax, byte [eax]
cmp al, 0x20
jne 0x487a07
mov eax, dword [0xa45160]
test eax, eax
jne 0x487a07
mov eax, dword [0xa45104]
mov edx, dword [eax + 4]
mov eax, dword [0xa4515c]
mov ecx, edx
sub ecx, eax
mov eax, ecx
lea edx, [eax - 1]
mov eax, dword [0xa45104]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00463727
mov edx, eax
mov eax, dword [0xa45108]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00462b19
mov edx, dword [0xa4515c]
mov eax, dword [0xa45104]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0046365f
mov edx, eax
mov eax, dword [0xa45104]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00462b19
jmp 0x487a2e
mov eax, dword [0xa4515c]
add eax, 1
mov dword [0xa4515c], eax
mov eax, dword [0xa45104]
mov edx, dword [eax + 4]
mov eax, dword [0xa4515c]
cmp edx, eax
setg al
test al, al
jne 0x48794f
mov eax, dword [0xa45104]
mov eax, dword [eax + 4]
test eax, eax
je 0x487dc3
mov eax, dword [0xa45108]
mov eax, dword [eax + 4]
test eax, eax
je 0x487b4c
mov eax, dword [0xa45104]
mov dword [esp], eax
call fcn.00484368
test eax, eax
sete al
test al, al
je 0x487b4c
mov dword [esp + 4], 1
mov dword [esp], 0x555587
call fcn.0046282f
mov edx, eax
mov eax, dword [0xa45104]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.004632dd
mov edx, eax
mov eax, dword [0xa4510c]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00462b19
mov dword [esp + 4], 1
mov dword [esp], 0x555587
call fcn.0046282f
mov edx, eax
mov eax, dword [0xa45108]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.004632dd
mov edx, eax
mov eax, dword [0xa45110]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00462b19
mov dword [esp + 8], 0x3c
mov dword [esp + 4], 0
mov dword [esp], 0xa45120
call sub.msvcrt.dll_memset
mov dword [0xa45120], 0x3c
mov eax, dword [0xa4510c]
mov eax, dword [eax]
mov dword [0xa45130], eax
mov eax, dword [0xa45110]
mov eax, dword [eax]
mov dword [0xa45134], eax
mov dword [0xa45124], 0x400
mov dword [0xa4513c], 0
mov dword [esp], 0xa45120
mov eax, dword [sym.imp.SHELL32.DLL_ShellExecuteExA]
call eax
sub esp, 4
test eax, eax
setne al
test al, al
jne 0x487dc6
mov eax, dword [0xa45108]
mov eax, dword [eax + 4]
test eax, eax
je 0x487b89
mov ebx, dword [0xa45108]
mov dword [esp], 0x5555fa
call fcn.0046279e
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.004632dd
mov edx, eax
mov eax, dword [0xa45108]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00462b19
mov edx, dword [0xa45108]
mov eax, dword [0xa45104]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.004632dd
mov edx, eax
mov eax, dword [0xa45114]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00462b19
mov ebx, dword [0xa45114]
mov dword [esp], str.__c
call fcn.0046279e
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.004632dd
mov edx, eax
mov eax, dword [0xa45114]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00462b19
mov dword [esp + 4], 1
mov dword [esp], 0x555587
call fcn.0046282f
mov edx, eax
mov eax, dword [0xa45114]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.004632dd
mov edx, eax
mov eax, dword [0xa45114]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00462b19
mov dword [esp + 8], 0x3c
mov dword [esp + 4], 0
mov dword [esp], 0xa45120
call sub.msvcrt.dll_memset
mov dword [0xa45120], 0x3c
mov dword [0xa45130], 0x539918
mov eax, dword [0xa45114]
mov eax, dword [eax]
mov dword [0xa45134], eax
mov dword [0xa45124], 0x400
mov dword [0xa4513c], 0
mov dword [esp], 0xa45120
mov eax, dword [sym.imp.SHELL32.DLL_ShellExecuteExA]
call eax
sub esp, 4
test eax, eax
setne al
test al, al
jmp 0x487dca
mov dword [esp], str.command.com__c
call fcn.0046279e
mov edx, dword [ebp + 8]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.004632dd
mov edx, eax
mov eax, dword [0xa45114]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00462b19
mov dword [esp + 4], 1
mov dword [esp], 0x555587
call fcn.0046282f
mov edx, eax
mov eax, dword [0xa45114]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.004632dd
mov edx, eax
mov eax, dword [0xa45114]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00462b19
mov dword [esp + 8], 0x44
mov dword [esp + 4], 0
mov dword [esp], 0xa45180
call sub.msvcrt.dll_memset
mov dword [0xa45180], 0x44
mov dword [esp + 8], 0x10
mov dword [esp + 4], 0
mov dword [esp], 0xa451c4
call sub.msvcrt.dll_memset
mov eax, dword [0xa45114]
mov eax, dword [eax]
mov dword [esp + 0x24], 0xa451c4
mov dword [esp + 0x20], 0xa45180
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 0x487dc9
mov eax, dword [0xa451c4]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov eax, dword [0xa451c8]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
jmp 0x487dca
nop
jmp 0x487dca
nop
jmp 0x487dca
nop
jmp 0x487dca
nop
mov ebx, dword [ebp - 4]
leave
ret