Function at 0x470a96
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 0x470ab8
mov dword [esp], 5
call fcn.0044a600
jmp 0x471132
mov eax, dword [0x67eb4c]
test eax, eax
je 0x470ad2
mov dword [esp], 0x106
call fcn.0044a600
jmp 0x471132
mov eax, dword [0xa2d924]
test eax, eax
jne 0x470af4
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.0044bd1a
mov dword [0xa2d924], eax
mov eax, dword [0xa2d928]
test eax, eax
jne 0x470b16
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.0044bd1a
mov dword [0xa2d928], eax
mov eax, dword [0xa2d92c]
test eax, eax
jne 0x470b38
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.0044bd1a
mov dword [0xa2d92c], eax
mov eax, dword [0xa2d930]
test eax, eax
jne 0x470b5a
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.0044bd1a
mov dword [0xa2d930], eax
mov eax, dword [0xa2d934]
test eax, eax
jne 0x470b7c
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.0044bd1a
mov dword [0xa2d934], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
test eax, eax
jne 0x470b97
mov dword [esp], 5
call fcn.0044a600
jmp 0x471132
call fcn.0046d5bd
test eax, eax
setne al
test al, al
je 0x470ff3
mov eax, dword [0xa2d924]
mov edx, dword [ebp + 8]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0044be81
mov dword [esp], 0x536c66
call fcn.0044bb06
mov edx, eax
mov eax, dword [0xa2d928]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0044be81
mov eax, dword [0xa2d924]
mov dword [esp], eax
call fcn.0046d6d0
test eax, eax
sete al
test al, al
je 0x470c9e
mov dword [esp + 4], 1
mov dword [esp], 0x53dfe7
call fcn.0044bb97
mov edx, eax
mov eax, dword [0xa2d924]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0044c645
mov edx, eax
mov eax, dword [0xa2d92c]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0044be81
mov dword [esp + 8], 0x3c
mov dword [esp + 4], 0
mov dword [esp], 0xa2d940
call sub.msvcrt.dll_memset
mov dword [0xa2d940], 0x3c
mov eax, dword [0xa2d92c]
mov eax, dword [eax]
mov dword [0xa2d950], eax
mov dword [0xa2d954], 0
mov dword [0xa2d944], 0x400
mov dword [0xa2d95c], 0
mov dword [esp], 0xa2d940
mov eax, dword [sym.imp.SHELL32.DLL_ShellExecuteExA]
call eax
sub esp, 4
test eax, eax
setne al
test al, al
jne 0x471128
mov dword [0xa2d97c], 0
mov dword [0xa2d980], 0
jmp 0x470d7c
mov eax, dword [0xa2d924]
mov edx, dword [eax]
mov eax, dword [0xa2d97c]
add eax, edx
movzx eax, byte [eax]
cmp al, 0x22
jne 0x470ceb
mov eax, dword [0xa2d980]
test eax, eax
jne 0x470ce1
mov dword [0xa2d980], 1
jmp 0x470ceb
mov dword [0xa2d980], 0
mov eax, dword [0xa2d924]
mov edx, dword [eax]
mov eax, dword [0xa2d97c]
add eax, edx
movzx eax, byte [eax]
cmp al, 0x20
jne 0x470d6f
mov eax, dword [0xa2d980]
test eax, eax
jne 0x470d6f
mov eax, dword [0xa2d924]
mov edx, dword [eax + 4]
mov eax, dword [0xa2d97c]
mov ecx, edx
sub ecx, eax
mov eax, ecx
lea edx, [eax - 1]
mov eax, dword [0xa2d924]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0044ca8f
mov edx, eax
mov eax, dword [0xa2d928]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0044be81
mov edx, dword [0xa2d97c]
mov eax, dword [0xa2d924]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0044c9c7
mov edx, eax
mov eax, dword [0xa2d924]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0044be81
jmp 0x470d96
mov eax, dword [0xa2d97c]
add eax, 1
mov dword [0xa2d97c], eax
mov eax, dword [0xa2d924]
mov edx, dword [eax + 4]
mov eax, dword [0xa2d97c]
cmp edx, eax
setg al
test al, al
jne 0x470cb7
mov eax, dword [0xa2d924]
mov eax, dword [eax + 4]
test eax, eax
je 0x47112b
mov eax, dword [0xa2d928]
mov eax, dword [eax + 4]
test eax, eax
je 0x470eb4
mov eax, dword [0xa2d924]
mov dword [esp], eax
call fcn.0046d6d0
test eax, eax
sete al
test al, al
je 0x470eb4
mov dword [esp + 4], 1
mov dword [esp], 0x53dfe7
call fcn.0044bb97
mov edx, eax
mov eax, dword [0xa2d924]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0044c645
mov edx, eax
mov eax, dword [0xa2d92c]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0044be81
mov dword [esp + 4], 1
mov dword [esp], 0x53dfe7
call fcn.0044bb97
mov edx, eax
mov eax, dword [0xa2d928]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0044c645
mov edx, eax
mov eax, dword [0xa2d930]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0044be81
mov dword [esp + 8], 0x3c
mov dword [esp + 4], 0
mov dword [esp], 0xa2d940
call sub.msvcrt.dll_memset
mov dword [0xa2d940], 0x3c
mov eax, dword [0xa2d92c]
mov eax, dword [eax]
mov dword [0xa2d950], eax
mov eax, dword [0xa2d930]
mov eax, dword [eax]
mov dword [0xa2d954], eax
mov dword [0xa2d944], 0x400
mov dword [0xa2d95c], 0
mov dword [esp], 0xa2d940
mov eax, dword [sym.imp.SHELL32.DLL_ShellExecuteExA]
call eax
sub esp, 4
test eax, eax
setne al
test al, al
jne 0x47112e
mov eax, dword [0xa2d928]
mov eax, dword [eax + 4]
test eax, eax
je 0x470ef1
mov ebx, dword [0xa2d928]
mov dword [esp], 0x53e05a
call fcn.0044bb06
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.0044c645
mov edx, eax
mov eax, dword [0xa2d928]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0044be81
mov edx, dword [0xa2d928]
mov eax, dword [0xa2d924]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0044c645
mov edx, eax
mov eax, dword [0xa2d934]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0044be81
mov ebx, dword [0xa2d934]
mov dword [esp], str.__c
call fcn.0044bb06
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.0044c645
mov edx, eax
mov eax, dword [0xa2d934]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0044be81
mov dword [esp + 4], 1
mov dword [esp], 0x53dfe7
call fcn.0044bb97
mov edx, eax
mov eax, dword [0xa2d934]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0044c645
mov edx, eax
mov eax, dword [0xa2d934]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0044be81
mov dword [esp + 8], 0x3c
mov dword [esp + 4], 0
mov dword [esp], 0xa2d940
call sub.msvcrt.dll_memset
mov dword [0xa2d940], 0x3c
mov dword [0xa2d950], 0x522918
mov eax, dword [0xa2d934]
mov eax, dword [eax]
mov dword [0xa2d954], eax
mov dword [0xa2d944], 0x400
mov dword [0xa2d95c], 0
mov dword [esp], 0xa2d940
mov eax, dword [sym.imp.SHELL32.DLL_ShellExecuteExA]
call eax
sub esp, 4
test eax, eax
setne al
test al, al
jmp 0x471132
mov dword [esp], str.command.com__c
call fcn.0044bb06
mov edx, dword [ebp + 8]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0044c645
mov edx, eax
mov eax, dword [0xa2d934]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0044be81
mov dword [esp + 4], 1
mov dword [esp], 0x53dfe7
call fcn.0044bb97
mov edx, eax
mov eax, dword [0xa2d934]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0044c645
mov edx, eax
mov eax, dword [0xa2d934]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0044be81
mov dword [esp + 8], 0x44
mov dword [esp + 4], 0
mov dword [esp], 0xa2d9a0
call sub.msvcrt.dll_memset
mov dword [0xa2d9a0], 0x44
mov dword [esp + 8], 0x10
mov dword [esp + 4], 0
mov dword [esp], 0xa2d9e4
call sub.msvcrt.dll_memset
mov eax, dword [0xa2d934]
mov eax, dword [eax]
mov dword [esp + 0x24], 0xa2d9e4
mov dword [esp + 0x20], 0xa2d9a0
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 0x471131
mov eax, dword [0xa2d9e4]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov eax, dword [0xa2d9e8]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
jmp 0x471132
nop
jmp 0x471132
nop
jmp 0x471132
nop
jmp 0x471132
nop
mov ebx, dword [ebp - 4]
leave
ret