Function at 0x46f80a
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 0x46f82c
mov dword [esp], 5
call fcn.00449374
jmp 0x46fea6
mov eax, dword [0x67db4c]
test eax, eax
je 0x46f846
mov dword [esp], 0x106
call fcn.00449374
jmp 0x46fea6
mov eax, dword [0xa2c964]
test eax, eax
jne 0x46f868
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.0044aa8e
mov dword [0xa2c964], eax
mov eax, dword [0xa2c968]
test eax, eax
jne 0x46f88a
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.0044aa8e
mov dword [0xa2c968], eax
mov eax, dword [0xa2c96c]
test eax, eax
jne 0x46f8ac
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.0044aa8e
mov dword [0xa2c96c], eax
mov eax, dword [0xa2c970]
test eax, eax
jne 0x46f8ce
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.0044aa8e
mov dword [0xa2c970], eax
mov eax, dword [0xa2c974]
test eax, eax
jne 0x46f8f0
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.0044aa8e
mov dword [0xa2c974], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
test eax, eax
jne 0x46f90b
mov dword [esp], 5
call fcn.00449374
jmp 0x46fea6
call fcn.0046c331
test eax, eax
setne al
test al, al
je 0x46fd67
mov eax, dword [0xa2c964]
mov edx, dword [ebp + 8]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0044abf5
mov dword [esp], 0x536446
call fcn.0044a87a
mov edx, eax
mov eax, dword [0xa2c968]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0044abf5
mov eax, dword [0xa2c964]
mov dword [esp], eax
call fcn.0046c444
test eax, eax
sete al
test al, al
je 0x46fa12
mov dword [esp + 4], 1
mov dword [esp], 0x53d7c7
call fcn.0044a90b
mov edx, eax
mov eax, dword [0xa2c964]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0044b3b9
mov edx, eax
mov eax, dword [0xa2c96c]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0044abf5
mov dword [esp + 8], 0x3c
mov dword [esp + 4], 0
mov dword [esp], 0xa2c980
call sub.msvcrt.dll_memset
mov dword [0xa2c980], 0x3c
mov eax, dword [0xa2c96c]
mov eax, dword [eax]
mov dword [0xa2c990], eax
mov dword [0xa2c994], 0
mov dword [0xa2c984], 0x400
mov dword [0xa2c99c], 0
mov dword [esp], 0xa2c980
mov eax, dword [sym.imp.SHELL32.DLL_ShellExecuteExA]
call eax
sub esp, 4
test eax, eax
setne al
test al, al
jne 0x46fe9c
mov dword [0xa2c9bc], 0
mov dword [0xa2c9c0], 0
jmp 0x46faf0
mov eax, dword [0xa2c964]
mov edx, dword [eax]
mov eax, dword [0xa2c9bc]
add eax, edx
movzx eax, byte [eax]
cmp al, 0x22
jne 0x46fa5f
mov eax, dword [0xa2c9c0]
test eax, eax
jne 0x46fa55
mov dword [0xa2c9c0], 1
jmp 0x46fa5f
mov dword [0xa2c9c0], 0
mov eax, dword [0xa2c964]
mov edx, dword [eax]
mov eax, dword [0xa2c9bc]
add eax, edx
movzx eax, byte [eax]
cmp al, 0x20
jne 0x46fae3
mov eax, dword [0xa2c9c0]
test eax, eax
jne 0x46fae3
mov eax, dword [0xa2c964]
mov edx, dword [eax + 4]
mov eax, dword [0xa2c9bc]
mov ecx, edx
sub ecx, eax
mov eax, ecx
lea edx, [eax - 1]
mov eax, dword [0xa2c964]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0044b803
mov edx, eax
mov eax, dword [0xa2c968]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0044abf5
mov edx, dword [0xa2c9bc]
mov eax, dword [0xa2c964]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0044b73b
mov edx, eax
mov eax, dword [0xa2c964]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0044abf5
jmp 0x46fb0a
mov eax, dword [0xa2c9bc]
add eax, 1
mov dword [0xa2c9bc], eax
mov eax, dword [0xa2c964]
mov edx, dword [eax + 4]
mov eax, dword [0xa2c9bc]
cmp edx, eax
setg al
test al, al
jne 0x46fa2b
mov eax, dword [0xa2c964]
mov eax, dword [eax + 4]
test eax, eax
je 0x46fe9f
mov eax, dword [0xa2c968]
mov eax, dword [eax + 4]
test eax, eax
je 0x46fc28
mov eax, dword [0xa2c964]
mov dword [esp], eax
call fcn.0046c444
test eax, eax
sete al
test al, al
je 0x46fc28
mov dword [esp + 4], 1
mov dword [esp], 0x53d7c7
call fcn.0044a90b
mov edx, eax
mov eax, dword [0xa2c964]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0044b3b9
mov edx, eax
mov eax, dword [0xa2c96c]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0044abf5
mov dword [esp + 4], 1
mov dword [esp], 0x53d7c7
call fcn.0044a90b
mov edx, eax
mov eax, dword [0xa2c968]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0044b3b9
mov edx, eax
mov eax, dword [0xa2c970]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0044abf5
mov dword [esp + 8], 0x3c
mov dword [esp + 4], 0
mov dword [esp], 0xa2c980
call sub.msvcrt.dll_memset
mov dword [0xa2c980], 0x3c
mov eax, dword [0xa2c96c]
mov eax, dword [eax]
mov dword [0xa2c990], eax
mov eax, dword [0xa2c970]
mov eax, dword [eax]
mov dword [0xa2c994], eax
mov dword [0xa2c984], 0x400
mov dword [0xa2c99c], 0
mov dword [esp], 0xa2c980
mov eax, dword [sym.imp.SHELL32.DLL_ShellExecuteExA]
call eax
sub esp, 4
test eax, eax
setne al
test al, al
jne 0x46fea2
mov eax, dword [0xa2c968]
mov eax, dword [eax + 4]
test eax, eax
je 0x46fc65
mov ebx, dword [0xa2c968]
mov dword [esp], 0x53d83a
call fcn.0044a87a
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.0044b3b9
mov edx, eax
mov eax, dword [0xa2c968]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0044abf5
mov edx, dword [0xa2c968]
mov eax, dword [0xa2c964]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0044b3b9
mov edx, eax
mov eax, dword [0xa2c974]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0044abf5
mov ebx, dword [0xa2c974]
mov dword [esp], str.__c
call fcn.0044a87a
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.0044b3b9
mov edx, eax
mov eax, dword [0xa2c974]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0044abf5
mov dword [esp + 4], 1
mov dword [esp], 0x53d7c7
call fcn.0044a90b
mov edx, eax
mov eax, dword [0xa2c974]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0044b3b9
mov edx, eax
mov eax, dword [0xa2c974]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0044abf5
mov dword [esp + 8], 0x3c
mov dword [esp + 4], 0
mov dword [esp], 0xa2c980
call sub.msvcrt.dll_memset
mov dword [0xa2c980], 0x3c
mov dword [0xa2c990], 0x521918
mov eax, dword [0xa2c974]
mov eax, dword [eax]
mov dword [0xa2c994], eax
mov dword [0xa2c984], 0x400
mov dword [0xa2c99c], 0
mov dword [esp], 0xa2c980
mov eax, dword [sym.imp.SHELL32.DLL_ShellExecuteExA]
call eax
sub esp, 4
test eax, eax
setne al
test al, al
jmp 0x46fea6
mov dword [esp], str.command.com__c
call fcn.0044a87a
mov edx, dword [ebp + 8]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0044b3b9
mov edx, eax
mov eax, dword [0xa2c974]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0044abf5
mov dword [esp + 4], 1
mov dword [esp], 0x53d7c7
call fcn.0044a90b
mov edx, eax
mov eax, dword [0xa2c974]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0044b3b9
mov edx, eax
mov eax, dword [0xa2c974]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0044abf5
mov dword [esp + 8], 0x44
mov dword [esp + 4], 0
mov dword [esp], 0xa2c9e0
call sub.msvcrt.dll_memset
mov dword [0xa2c9e0], 0x44
mov dword [esp + 8], 0x10
mov dword [esp + 4], 0
mov dword [esp], 0xa2ca24
call sub.msvcrt.dll_memset
mov eax, dword [0xa2c974]
mov eax, dword [eax]
mov dword [esp + 0x24], 0xa2ca24
mov dword [esp + 0x20], 0xa2c9e0
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 0x46fea5
mov eax, dword [0xa2ca24]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov eax, dword [0xa2ca28]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
jmp 0x46fea6
nop
jmp 0x46fea6
nop
jmp 0x46fea6
nop
jmp 0x46fea6
nop
mov ebx, dword [ebp - 4]
leave
ret