Function at 0x46f6e2
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 0x46f704
mov dword [esp], 5
call fcn.0044924c
jmp 0x46fd7e
mov eax, dword [0x67db4c]
test eax, eax
je 0x46f71e
mov dword [esp], 0x106
call fcn.0044924c
jmp 0x46fd7e
mov eax, dword [0xa2c984]
test eax, eax
jne 0x46f740
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.0044a966
mov dword [0xa2c984], eax
mov eax, dword [0xa2c988]
test eax, eax
jne 0x46f762
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.0044a966
mov dword [0xa2c988], eax
mov eax, dword [0xa2c98c]
test eax, eax
jne 0x46f784
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.0044a966
mov dword [0xa2c98c], eax
mov eax, dword [0xa2c990]
test eax, eax
jne 0x46f7a6
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.0044a966
mov dword [0xa2c990], eax
mov eax, dword [0xa2c994]
test eax, eax
jne 0x46f7c8
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.0044a966
mov dword [0xa2c994], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
test eax, eax
jne 0x46f7e3
mov dword [esp], 5
call fcn.0044924c
jmp 0x46fd7e
call fcn.0046c209
test eax, eax
setne al
test al, al
je 0x46fc3f
mov eax, dword [0xa2c984]
mov edx, dword [ebp + 8]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0044aacd
mov dword [esp], 0x535ca6
call fcn.0044a752
mov edx, eax
mov eax, dword [0xa2c988]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0044aacd
mov eax, dword [0xa2c984]
mov dword [esp], eax
call fcn.0046c31c
test eax, eax
sete al
test al, al
je 0x46f8ea
mov dword [esp + 4], 1
mov dword [esp], 0x53d027
call fcn.0044a7e3
mov edx, eax
mov eax, dword [0xa2c984]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0044b291
mov edx, eax
mov eax, dword [0xa2c98c]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0044aacd
mov dword [esp + 8], 0x3c
mov dword [esp + 4], 0
mov dword [esp], 0xa2c9a0
call sub.msvcrt.dll_memset
mov dword [0xa2c9a0], 0x3c
mov eax, dword [0xa2c98c]
mov eax, dword [eax]
mov dword [0xa2c9b0], eax
mov dword [0xa2c9b4], 0
mov dword [0xa2c9a4], 0x400
mov dword [0xa2c9bc], 0
mov dword [esp], 0xa2c9a0
mov eax, dword [sym.imp.SHELL32.DLL_ShellExecuteExA]
call eax
sub esp, 4
test eax, eax
setne al
test al, al
jne 0x46fd74
mov dword [0xa2c9dc], 0
mov dword [0xa2c9e0], 0
jmp 0x46f9c8
mov eax, dword [0xa2c984]
mov edx, dword [eax]
mov eax, dword [0xa2c9dc]
add eax, edx
movzx eax, byte [eax]
cmp al, 0x22
jne 0x46f937
mov eax, dword [0xa2c9e0]
test eax, eax
jne 0x46f92d
mov dword [0xa2c9e0], 1
jmp 0x46f937
mov dword [0xa2c9e0], 0
mov eax, dword [0xa2c984]
mov edx, dword [eax]
mov eax, dword [0xa2c9dc]
add eax, edx
movzx eax, byte [eax]
cmp al, 0x20
jne 0x46f9bb
mov eax, dword [0xa2c9e0]
test eax, eax
jne 0x46f9bb
mov eax, dword [0xa2c984]
mov edx, dword [eax + 4]
mov eax, dword [0xa2c9dc]
mov ecx, edx
sub ecx, eax
mov eax, ecx
lea edx, [eax - 1]
mov eax, dword [0xa2c984]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0044b6db
mov edx, eax
mov eax, dword [0xa2c988]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0044aacd
mov edx, dword [0xa2c9dc]
mov eax, dword [0xa2c984]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0044b613
mov edx, eax
mov eax, dword [0xa2c984]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0044aacd
jmp 0x46f9e2
mov eax, dword [0xa2c9dc]
add eax, 1
mov dword [0xa2c9dc], eax
mov eax, dword [0xa2c984]
mov edx, dword [eax + 4]
mov eax, dword [0xa2c9dc]
cmp edx, eax
setg al
test al, al
jne 0x46f903
mov eax, dword [0xa2c984]
mov eax, dword [eax + 4]
test eax, eax
je 0x46fd77
mov eax, dword [0xa2c988]
mov eax, dword [eax + 4]
test eax, eax
je 0x46fb00
mov eax, dword [0xa2c984]
mov dword [esp], eax
call fcn.0046c31c
test eax, eax
sete al
test al, al
je 0x46fb00
mov dword [esp + 4], 1
mov dword [esp], 0x53d027
call fcn.0044a7e3
mov edx, eax
mov eax, dword [0xa2c984]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0044b291
mov edx, eax
mov eax, dword [0xa2c98c]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0044aacd
mov dword [esp + 4], 1
mov dword [esp], 0x53d027
call fcn.0044a7e3
mov edx, eax
mov eax, dword [0xa2c988]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0044b291
mov edx, eax
mov eax, dword [0xa2c990]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0044aacd
mov dword [esp + 8], 0x3c
mov dword [esp + 4], 0
mov dword [esp], 0xa2c9a0
call sub.msvcrt.dll_memset
mov dword [0xa2c9a0], 0x3c
mov eax, dword [0xa2c98c]
mov eax, dword [eax]
mov dword [0xa2c9b0], eax
mov eax, dword [0xa2c990]
mov eax, dword [eax]
mov dword [0xa2c9b4], eax
mov dword [0xa2c9a4], 0x400
mov dword [0xa2c9bc], 0
mov dword [esp], 0xa2c9a0
mov eax, dword [sym.imp.SHELL32.DLL_ShellExecuteExA]
call eax
sub esp, 4
test eax, eax
setne al
test al, al
jne 0x46fd7a
mov eax, dword [0xa2c988]
mov eax, dword [eax + 4]
test eax, eax
je 0x46fb3d
mov ebx, dword [0xa2c988]
mov dword [esp], 0x53d09a
call fcn.0044a752
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.0044b291
mov edx, eax
mov eax, dword [0xa2c988]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0044aacd
mov edx, dword [0xa2c988]
mov eax, dword [0xa2c984]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0044b291
mov edx, eax
mov eax, dword [0xa2c994]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0044aacd
mov ebx, dword [0xa2c994]
mov dword [esp], str.__c
call fcn.0044a752
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.0044b291
mov edx, eax
mov eax, dword [0xa2c994]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0044aacd
mov dword [esp + 4], 1
mov dword [esp], 0x53d027
call fcn.0044a7e3
mov edx, eax
mov eax, dword [0xa2c994]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0044b291
mov edx, eax
mov eax, dword [0xa2c994]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0044aacd
mov dword [esp + 8], 0x3c
mov dword [esp + 4], 0
mov dword [esp], 0xa2c9a0
call sub.msvcrt.dll_memset
mov dword [0xa2c9a0], 0x3c
mov dword [0xa2c9b0], 0x521918
mov eax, dword [0xa2c994]
mov eax, dword [eax]
mov dword [0xa2c9b4], eax
mov dword [0xa2c9a4], 0x400
mov dword [0xa2c9bc], 0
mov dword [esp], 0xa2c9a0
mov eax, dword [sym.imp.SHELL32.DLL_ShellExecuteExA]
call eax
sub esp, 4
test eax, eax
setne al
test al, al
jmp 0x46fd7e
mov dword [esp], str.command.com__c
call fcn.0044a752
mov edx, dword [ebp + 8]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0044b291
mov edx, eax
mov eax, dword [0xa2c994]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0044aacd
mov dword [esp + 4], 1
mov dword [esp], 0x53d027
call fcn.0044a7e3
mov edx, eax
mov eax, dword [0xa2c994]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0044b291
mov edx, eax
mov eax, dword [0xa2c994]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0044aacd
mov dword [esp + 8], 0x44
mov dword [esp + 4], 0
mov dword [esp], 0xa2ca00
call sub.msvcrt.dll_memset
mov dword [0xa2ca00], 0x44
mov dword [esp + 8], 0x10
mov dword [esp + 4], 0
mov dword [esp], 0xa2ca44
call sub.msvcrt.dll_memset
mov eax, dword [0xa2c994]
mov eax, dword [eax]
mov dword [esp + 0x24], 0xa2ca44
mov dword [esp + 0x20], 0xa2ca00
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 0x46fd7d
mov eax, dword [0xa2ca44]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov eax, dword [0xa2ca48]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
jmp 0x46fd7e
nop
jmp 0x46fd7e
nop
jmp 0x46fd7e
nop
jmp 0x46fd7e
nop
mov ebx, dword [ebp - 4]
leave
ret