Function at 0x498c1e
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 0x498c40
mov dword [esp], 5
call fcn.00472788
jmp 0x4992ba
mov eax, dword [0x6a8b4c]
test eax, eax
je 0x498c5a
mov dword [esp], 0x106
call fcn.00472788
jmp 0x4992ba
mov eax, dword [0xa58404]
test eax, eax
jne 0x498c7c
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.00473ea2
mov dword [0xa58404], eax
mov eax, dword [0xa58408]
test eax, eax
jne 0x498c9e
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.00473ea2
mov dword [0xa58408], eax
mov eax, dword [0xa5840c]
test eax, eax
jne 0x498cc0
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.00473ea2
mov dword [0xa5840c], eax
mov eax, dword [0xa58410]
test eax, eax
jne 0x498ce2
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.00473ea2
mov dword [0xa58410], eax
mov eax, dword [0xa58414]
test eax, eax
jne 0x498d04
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.00473ea2
mov dword [0xa58414], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
test eax, eax
jne 0x498d1f
mov dword [esp], 5
call fcn.00472788
jmp 0x4992ba
call fcn.00495745
test eax, eax
setne al
test al, al
je 0x49917b
mov eax, dword [0xa58404]
mov edx, dword [ebp + 8]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00474009
mov dword [esp], 0x560506
call fcn.00473c8e
mov edx, eax
mov eax, dword [0xa58408]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00474009
mov eax, dword [0xa58404]
mov dword [esp], eax
call fcn.00495858
test eax, eax
sete al
test al, al
je 0x498e26
mov dword [esp + 4], 1
mov dword [esp], 0x567887
call fcn.00473d1f
mov edx, eax
mov eax, dword [0xa58404]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.004747cd
mov edx, eax
mov eax, dword [0xa5840c]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00474009
mov dword [esp + 8], 0x3c
mov dword [esp + 4], 0
mov dword [esp], 0xa58420
call sub.msvcrt.dll_memset
mov dword [0xa58420], 0x3c
mov eax, dword [0xa5840c]
mov eax, dword [eax]
mov dword [0xa58430], eax
mov dword [0xa58434], 0
mov dword [0xa58424], 0x400
mov dword [0xa5843c], 0
mov dword [esp], 0xa58420
mov eax, dword [sym.imp.SHELL32.DLL_ShellExecuteExA]
call eax
sub esp, 4
test eax, eax
setne al
test al, al
jne 0x4992b0
mov dword [0xa5845c], 0
mov dword [0xa58460], 0
jmp 0x498f04
mov eax, dword [0xa58404]
mov edx, dword [eax]
mov eax, dword [0xa5845c]
add eax, edx
movzx eax, byte [eax]
cmp al, 0x22
jne 0x498e73
mov eax, dword [0xa58460]
test eax, eax
jne 0x498e69
mov dword [0xa58460], 1
jmp 0x498e73
mov dword [0xa58460], 0
mov eax, dword [0xa58404]
mov edx, dword [eax]
mov eax, dword [0xa5845c]
add eax, edx
movzx eax, byte [eax]
cmp al, 0x20
jne 0x498ef7
mov eax, dword [0xa58460]
test eax, eax
jne 0x498ef7
mov eax, dword [0xa58404]
mov edx, dword [eax + 4]
mov eax, dword [0xa5845c]
mov ecx, edx
sub ecx, eax
mov eax, ecx
lea edx, [eax - 1]
mov eax, dword [0xa58404]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00474c17
mov edx, eax
mov eax, dword [0xa58408]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00474009
mov edx, dword [0xa5845c]
mov eax, dword [0xa58404]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00474b4f
mov edx, eax
mov eax, dword [0xa58404]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00474009
jmp 0x498f1e
mov eax, dword [0xa5845c]
add eax, 1
mov dword [0xa5845c], eax
mov eax, dword [0xa58404]
mov edx, dword [eax + 4]
mov eax, dword [0xa5845c]
cmp edx, eax
setg al
test al, al
jne 0x498e3f
mov eax, dword [0xa58404]
mov eax, dword [eax + 4]
test eax, eax
je 0x4992b3
mov eax, dword [0xa58408]
mov eax, dword [eax + 4]
test eax, eax
je 0x49903c
mov eax, dword [0xa58404]
mov dword [esp], eax
call fcn.00495858
test eax, eax
sete al
test al, al
je 0x49903c
mov dword [esp + 4], 1
mov dword [esp], 0x567887
call fcn.00473d1f
mov edx, eax
mov eax, dword [0xa58404]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.004747cd
mov edx, eax
mov eax, dword [0xa5840c]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00474009
mov dword [esp + 4], 1
mov dword [esp], 0x567887
call fcn.00473d1f
mov edx, eax
mov eax, dword [0xa58408]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.004747cd
mov edx, eax
mov eax, dword [0xa58410]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00474009
mov dword [esp + 8], 0x3c
mov dword [esp + 4], 0
mov dword [esp], 0xa58420
call sub.msvcrt.dll_memset
mov dword [0xa58420], 0x3c
mov eax, dword [0xa5840c]
mov eax, dword [eax]
mov dword [0xa58430], eax
mov eax, dword [0xa58410]
mov eax, dword [eax]
mov dword [0xa58434], eax
mov dword [0xa58424], 0x400
mov dword [0xa5843c], 0
mov dword [esp], 0xa58420
mov eax, dword [sym.imp.SHELL32.DLL_ShellExecuteExA]
call eax
sub esp, 4
test eax, eax
setne al
test al, al
jne 0x4992b6
mov eax, dword [0xa58408]
mov eax, dword [eax + 4]
test eax, eax
je 0x499079
mov ebx, dword [0xa58408]
mov dword [esp], 0x5678fa
call fcn.00473c8e
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.004747cd
mov edx, eax
mov eax, dword [0xa58408]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00474009
mov edx, dword [0xa58408]
mov eax, dword [0xa58404]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.004747cd
mov edx, eax
mov eax, dword [0xa58414]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00474009
mov ebx, dword [0xa58414]
mov dword [esp], str.__c
call fcn.00473c8e
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.004747cd
mov edx, eax
mov eax, dword [0xa58414]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00474009
mov dword [esp + 4], 1
mov dword [esp], 0x567887
call fcn.00473d1f
mov edx, eax
mov eax, dword [0xa58414]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.004747cd
mov edx, eax
mov eax, dword [0xa58414]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00474009
mov dword [esp + 8], 0x3c
mov dword [esp + 4], 0
mov dword [esp], 0xa58420
call sub.msvcrt.dll_memset
mov dword [0xa58420], 0x3c
mov dword [0xa58430], 0x54b918
mov eax, dword [0xa58414]
mov eax, dword [eax]
mov dword [0xa58434], eax
mov dword [0xa58424], 0x400
mov dword [0xa5843c], 0
mov dword [esp], 0xa58420
mov eax, dword [sym.imp.SHELL32.DLL_ShellExecuteExA]
call eax
sub esp, 4
test eax, eax
setne al
test al, al
jmp 0x4992ba
mov dword [esp], str.command.com__c
call fcn.00473c8e
mov edx, dword [ebp + 8]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.004747cd
mov edx, eax
mov eax, dword [0xa58414]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00474009
mov dword [esp + 4], 1
mov dword [esp], 0x567887
call fcn.00473d1f
mov edx, eax
mov eax, dword [0xa58414]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.004747cd
mov edx, eax
mov eax, dword [0xa58414]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00474009
mov dword [esp + 8], 0x44
mov dword [esp + 4], 0
mov dword [esp], 0xa58480
call sub.msvcrt.dll_memset
mov dword [0xa58480], 0x44
mov dword [esp + 8], 0x10
mov dword [esp + 4], 0
mov dword [esp], 0xa584c4
call sub.msvcrt.dll_memset
mov eax, dword [0xa58414]
mov eax, dword [eax]
mov dword [esp + 0x24], 0xa584c4
mov dword [esp + 0x20], 0xa58480
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 0x4992b9
mov eax, dword [0xa584c4]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov eax, dword [0xa584c8]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
jmp 0x4992ba
nop
jmp 0x4992ba
nop
jmp 0x4992ba
nop
jmp 0x4992ba
nop
mov ebx, dword [ebp - 4]
leave
ret