Function at 0x46c03a
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 0x46c05c
mov dword [esp], 5
call fcn.00445ba4
jmp 0x46c6d6
mov eax, dword [0x67ab4c]
test eax, eax
je 0x46c076
mov dword [esp], 0x106
call fcn.00445ba4
jmp 0x46c6d6
mov eax, dword [0xa299c4]
test eax, eax
jne 0x46c098
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.004472be
mov dword [0xa299c4], eax
mov eax, dword [0xa299c8]
test eax, eax
jne 0x46c0ba
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.004472be
mov dword [0xa299c8], eax
mov eax, dword [0xa299cc]
test eax, eax
jne 0x46c0dc
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.004472be
mov dword [0xa299cc], eax
mov eax, dword [0xa299d0]
test eax, eax
jne 0x46c0fe
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.004472be
mov dword [0xa299d0], eax
mov eax, dword [0xa299d4]
test eax, eax
jne 0x46c120
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.004472be
mov dword [0xa299d4], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
test eax, eax
jne 0x46c13b
mov dword [esp], 5
call fcn.00445ba4
jmp 0x46c6d6
call fcn.00468b61
test eax, eax
setne al
test al, al
je 0x46c597
mov eax, dword [0xa299c4]
mov edx, dword [ebp + 8]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00447425
mov dword [esp], 0x532d06
call fcn.004470aa
mov edx, eax
mov eax, dword [0xa299c8]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00447425
mov eax, dword [0xa299c4]
mov dword [esp], eax
call fcn.00468c74
test eax, eax
sete al
test al, al
je 0x46c242
mov dword [esp + 4], 1
mov dword [esp], 0x53a087
call fcn.0044713b
mov edx, eax
mov eax, dword [0xa299c4]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00447be9
mov edx, eax
mov eax, dword [0xa299cc]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00447425
mov dword [esp + 8], 0x3c
mov dword [esp + 4], 0
mov dword [esp], 0xa299e0
call sub.msvcrt.dll_memset
mov dword [0xa299e0], 0x3c
mov eax, dword [0xa299cc]
mov eax, dword [eax]
mov dword [0xa299f0], eax
mov dword [0xa299f4], 0
mov dword [0xa299e4], 0x400
mov dword [0xa299fc], 0
mov dword [esp], 0xa299e0
mov eax, dword [sym.imp.SHELL32.DLL_ShellExecuteExA]
call eax
sub esp, 4
test eax, eax
setne al
test al, al
jne 0x46c6cc
mov dword [0xa29a1c], 0
mov dword [0xa29a20], 0
jmp 0x46c320
mov eax, dword [0xa299c4]
mov edx, dword [eax]
mov eax, dword [0xa29a1c]
add eax, edx
movzx eax, byte [eax]
cmp al, 0x22
jne 0x46c28f
mov eax, dword [0xa29a20]
test eax, eax
jne 0x46c285
mov dword [0xa29a20], 1
jmp 0x46c28f
mov dword [0xa29a20], 0
mov eax, dword [0xa299c4]
mov edx, dword [eax]
mov eax, dword [0xa29a1c]
add eax, edx
movzx eax, byte [eax]
cmp al, 0x20
jne 0x46c313
mov eax, dword [0xa29a20]
test eax, eax
jne 0x46c313
mov eax, dword [0xa299c4]
mov edx, dword [eax + 4]
mov eax, dword [0xa29a1c]
mov ecx, edx
sub ecx, eax
mov eax, ecx
lea edx, [eax - 1]
mov eax, dword [0xa299c4]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00448033
mov edx, eax
mov eax, dword [0xa299c8]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00447425
mov edx, dword [0xa29a1c]
mov eax, dword [0xa299c4]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00447f6b
mov edx, eax
mov eax, dword [0xa299c4]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00447425
jmp 0x46c33a
mov eax, dword [0xa29a1c]
add eax, 1
mov dword [0xa29a1c], eax
mov eax, dword [0xa299c4]
mov edx, dword [eax + 4]
mov eax, dword [0xa29a1c]
cmp edx, eax
setg al
test al, al
jne 0x46c25b
mov eax, dword [0xa299c4]
mov eax, dword [eax + 4]
test eax, eax
je 0x46c6cf
mov eax, dword [0xa299c8]
mov eax, dword [eax + 4]
test eax, eax
je 0x46c458
mov eax, dword [0xa299c4]
mov dword [esp], eax
call fcn.00468c74
test eax, eax
sete al
test al, al
je 0x46c458
mov dword [esp + 4], 1
mov dword [esp], 0x53a087
call fcn.0044713b
mov edx, eax
mov eax, dword [0xa299c4]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00447be9
mov edx, eax
mov eax, dword [0xa299cc]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00447425
mov dword [esp + 4], 1
mov dword [esp], 0x53a087
call fcn.0044713b
mov edx, eax
mov eax, dword [0xa299c8]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00447be9
mov edx, eax
mov eax, dword [0xa299d0]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00447425
mov dword [esp + 8], 0x3c
mov dword [esp + 4], 0
mov dword [esp], 0xa299e0
call sub.msvcrt.dll_memset
mov dword [0xa299e0], 0x3c
mov eax, dword [0xa299cc]
mov eax, dword [eax]
mov dword [0xa299f0], eax
mov eax, dword [0xa299d0]
mov eax, dword [eax]
mov dword [0xa299f4], eax
mov dword [0xa299e4], 0x400
mov dword [0xa299fc], 0
mov dword [esp], 0xa299e0
mov eax, dword [sym.imp.SHELL32.DLL_ShellExecuteExA]
call eax
sub esp, 4
test eax, eax
setne al
test al, al
jne 0x46c6d2
mov eax, dword [0xa299c8]
mov eax, dword [eax + 4]
test eax, eax
je 0x46c495
mov ebx, dword [0xa299c8]
mov dword [esp], 0x53a0fa
call fcn.004470aa
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.00447be9
mov edx, eax
mov eax, dword [0xa299c8]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00447425
mov edx, dword [0xa299c8]
mov eax, dword [0xa299c4]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00447be9
mov edx, eax
mov eax, dword [0xa299d4]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00447425
mov ebx, dword [0xa299d4]
mov dword [esp], str.__c
call fcn.004470aa
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.00447be9
mov edx, eax
mov eax, dword [0xa299d4]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00447425
mov dword [esp + 4], 1
mov dword [esp], 0x53a087
call fcn.0044713b
mov edx, eax
mov eax, dword [0xa299d4]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00447be9
mov edx, eax
mov eax, dword [0xa299d4]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00447425
mov dword [esp + 8], 0x3c
mov dword [esp + 4], 0
mov dword [esp], 0xa299e0
call sub.msvcrt.dll_memset
mov dword [0xa299e0], 0x3c
mov dword [0xa299f0], 0x51e918
mov eax, dword [0xa299d4]
mov eax, dword [eax]
mov dword [0xa299f4], eax
mov dword [0xa299e4], 0x400
mov dword [0xa299fc], 0
mov dword [esp], 0xa299e0
mov eax, dword [sym.imp.SHELL32.DLL_ShellExecuteExA]
call eax
sub esp, 4
test eax, eax
setne al
test al, al
jmp 0x46c6d6
mov dword [esp], str.command.com__c
call fcn.004470aa
mov edx, dword [ebp + 8]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00447be9
mov edx, eax
mov eax, dword [0xa299d4]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00447425
mov dword [esp + 4], 1
mov dword [esp], 0x53a087
call fcn.0044713b
mov edx, eax
mov eax, dword [0xa299d4]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00447be9
mov edx, eax
mov eax, dword [0xa299d4]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00447425
mov dword [esp + 8], 0x44
mov dword [esp + 4], 0
mov dword [esp], 0xa29a40
call sub.msvcrt.dll_memset
mov dword [0xa29a40], 0x44
mov dword [esp + 8], 0x10
mov dword [esp + 4], 0
mov dword [esp], 0xa29a84
call sub.msvcrt.dll_memset
mov eax, dword [0xa299d4]
mov eax, dword [eax]
mov dword [esp + 0x24], 0xa29a84
mov dword [esp + 0x20], 0xa29a40
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 0x46c6d5
mov eax, dword [0xa29a84]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov eax, dword [0xa29a88]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
jmp 0x46c6d6
nop
jmp 0x46c6d6
nop
jmp 0x46c6d6
nop
jmp 0x46c6d6
nop
mov ebx, dword [ebp - 4]
leave
ret