Function at 0x4816fa
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 0x48171c
mov dword [esp], 5
call fcn.0045b264
jmp 0x481d96
mov eax, dword [0x68fb4c]
test eax, eax
je 0x481736
mov dword [esp], 0x106
call fcn.0045b264
jmp 0x481d96
mov eax, dword [0xa3eec4]
test eax, eax
jne 0x481758
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.0045c97e
mov dword [0xa3eec4], eax
mov eax, dword [0xa3eec8]
test eax, eax
jne 0x48177a
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.0045c97e
mov dword [0xa3eec8], eax
mov eax, dword [0xa3eecc]
test eax, eax
jne 0x48179c
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.0045c97e
mov dword [0xa3eecc], eax
mov eax, dword [0xa3eed0]
test eax, eax
jne 0x4817be
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.0045c97e
mov dword [0xa3eed0], eax
mov eax, dword [0xa3eed4]
test eax, eax
jne 0x4817e0
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.0045c97e
mov dword [0xa3eed4], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
test eax, eax
jne 0x4817fb
mov dword [esp], 5
call fcn.0045b264
jmp 0x481d96
call fcn.0047e221
test eax, eax
setne al
test al, al
je 0x481c57
mov eax, dword [0xa3eec4]
mov edx, dword [ebp + 8]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0045cae5
mov dword [esp], 0x5481e6
call fcn.0045c76a
mov edx, eax
mov eax, dword [0xa3eec8]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0045cae5
mov eax, dword [0xa3eec4]
mov dword [esp], eax
call fcn.0047e334
test eax, eax
sete al
test al, al
je 0x481902
mov dword [esp + 4], 1
mov dword [esp], 0x54f567
call fcn.0045c7fb
mov edx, eax
mov eax, dword [0xa3eec4]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0045d2a9
mov edx, eax
mov eax, dword [0xa3eecc]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0045cae5
mov dword [esp + 8], 0x3c
mov dword [esp + 4], 0
mov dword [esp], 0xa3eee0
call sub.msvcrt.dll_memset
mov dword [0xa3eee0], 0x3c
mov eax, dword [0xa3eecc]
mov eax, dword [eax]
mov dword [0xa3eef0], eax
mov dword [0xa3eef4], 0
mov dword [0xa3eee4], 0x400
mov dword [0xa3eefc], 0
mov dword [esp], 0xa3eee0
mov eax, dword [sym.imp.SHELL32.DLL_ShellExecuteExA]
call eax
sub esp, 4
test eax, eax
setne al
test al, al
jne 0x481d8c
mov dword [0xa3ef1c], 0
mov dword [0xa3ef20], 0
jmp 0x4819e0
mov eax, dword [0xa3eec4]
mov edx, dword [eax]
mov eax, dword [0xa3ef1c]
add eax, edx
movzx eax, byte [eax]
cmp al, 0x22
jne 0x48194f
mov eax, dword [0xa3ef20]
test eax, eax
jne 0x481945
mov dword [0xa3ef20], 1
jmp 0x48194f
mov dword [0xa3ef20], 0
mov eax, dword [0xa3eec4]
mov edx, dword [eax]
mov eax, dword [0xa3ef1c]
add eax, edx
movzx eax, byte [eax]
cmp al, 0x20
jne 0x4819d3
mov eax, dword [0xa3ef20]
test eax, eax
jne 0x4819d3
mov eax, dword [0xa3eec4]
mov edx, dword [eax + 4]
mov eax, dword [0xa3ef1c]
mov ecx, edx
sub ecx, eax
mov eax, ecx
lea edx, [eax - 1]
mov eax, dword [0xa3eec4]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0045d6f3
mov edx, eax
mov eax, dword [0xa3eec8]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0045cae5
mov edx, dword [0xa3ef1c]
mov eax, dword [0xa3eec4]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0045d62b
mov edx, eax
mov eax, dword [0xa3eec4]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0045cae5
jmp 0x4819fa
mov eax, dword [0xa3ef1c]
add eax, 1
mov dword [0xa3ef1c], eax
mov eax, dword [0xa3eec4]
mov edx, dword [eax + 4]
mov eax, dword [0xa3ef1c]
cmp edx, eax
setg al
test al, al
jne 0x48191b
mov eax, dword [0xa3eec4]
mov eax, dword [eax + 4]
test eax, eax
je 0x481d8f
mov eax, dword [0xa3eec8]
mov eax, dword [eax + 4]
test eax, eax
je 0x481b18
mov eax, dword [0xa3eec4]
mov dword [esp], eax
call fcn.0047e334
test eax, eax
sete al
test al, al
je 0x481b18
mov dword [esp + 4], 1
mov dword [esp], 0x54f567
call fcn.0045c7fb
mov edx, eax
mov eax, dword [0xa3eec4]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0045d2a9
mov edx, eax
mov eax, dword [0xa3eecc]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0045cae5
mov dword [esp + 4], 1
mov dword [esp], 0x54f567
call fcn.0045c7fb
mov edx, eax
mov eax, dword [0xa3eec8]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0045d2a9
mov edx, eax
mov eax, dword [0xa3eed0]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0045cae5
mov dword [esp + 8], 0x3c
mov dword [esp + 4], 0
mov dword [esp], 0xa3eee0
call sub.msvcrt.dll_memset
mov dword [0xa3eee0], 0x3c
mov eax, dword [0xa3eecc]
mov eax, dword [eax]
mov dword [0xa3eef0], eax
mov eax, dword [0xa3eed0]
mov eax, dword [eax]
mov dword [0xa3eef4], eax
mov dword [0xa3eee4], 0x400
mov dword [0xa3eefc], 0
mov dword [esp], 0xa3eee0
mov eax, dword [sym.imp.SHELL32.DLL_ShellExecuteExA]
call eax
sub esp, 4
test eax, eax
setne al
test al, al
jne 0x481d92
mov eax, dword [0xa3eec8]
mov eax, dword [eax + 4]
test eax, eax
je 0x481b55
mov ebx, dword [0xa3eec8]
mov dword [esp], 0x54f5da
call fcn.0045c76a
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.0045d2a9
mov edx, eax
mov eax, dword [0xa3eec8]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0045cae5
mov edx, dword [0xa3eec8]
mov eax, dword [0xa3eec4]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0045d2a9
mov edx, eax
mov eax, dword [0xa3eed4]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0045cae5
mov ebx, dword [0xa3eed4]
mov dword [esp], str.__c
call fcn.0045c76a
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.0045d2a9
mov edx, eax
mov eax, dword [0xa3eed4]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0045cae5
mov dword [esp + 4], 1
mov dword [esp], 0x54f567
call fcn.0045c7fb
mov edx, eax
mov eax, dword [0xa3eed4]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0045d2a9
mov edx, eax
mov eax, dword [0xa3eed4]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0045cae5
mov dword [esp + 8], 0x3c
mov dword [esp + 4], 0
mov dword [esp], 0xa3eee0
call sub.msvcrt.dll_memset
mov dword [0xa3eee0], 0x3c
mov dword [0xa3eef0], 0x533918
mov eax, dword [0xa3eed4]
mov eax, dword [eax]
mov dword [0xa3eef4], eax
mov dword [0xa3eee4], 0x400
mov dword [0xa3eefc], 0
mov dword [esp], 0xa3eee0
mov eax, dword [sym.imp.SHELL32.DLL_ShellExecuteExA]
call eax
sub esp, 4
test eax, eax
setne al
test al, al
jmp 0x481d96
mov dword [esp], str.command.com__c
call fcn.0045c76a
mov edx, dword [ebp + 8]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0045d2a9
mov edx, eax
mov eax, dword [0xa3eed4]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0045cae5
mov dword [esp + 4], 1
mov dword [esp], 0x54f567
call fcn.0045c7fb
mov edx, eax
mov eax, dword [0xa3eed4]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0045d2a9
mov edx, eax
mov eax, dword [0xa3eed4]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0045cae5
mov dword [esp + 8], 0x44
mov dword [esp + 4], 0
mov dword [esp], 0xa3ef40
call sub.msvcrt.dll_memset
mov dword [0xa3ef40], 0x44
mov dword [esp + 8], 0x10
mov dword [esp + 4], 0
mov dword [esp], 0xa3ef84
call sub.msvcrt.dll_memset
mov eax, dword [0xa3eed4]
mov eax, dword [eax]
mov dword [esp + 0x24], 0xa3ef84
mov dword [esp + 0x20], 0xa3ef40
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 0x481d95
mov eax, dword [0xa3ef84]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov eax, dword [0xa3ef88]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
jmp 0x481d96
nop
jmp 0x481d96
nop
jmp 0x481d96
nop
jmp 0x481d96
nop
mov ebx, dword [ebp - 4]
leave
ret