Function at 0x40aa10
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45f5a5
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x476750]
xor eax, esp
mov dword [esp + 0xa0], eax
push ebx
push esi
push edi
mov eax, dword [0x476750]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [ebp + 8]
push str.command
mov esi, dword [edi + 8]
mov ecx, esi
call fcn.00410970
cmp eax, dword [0x46bf64]
jne 0x40abb6
push 8
push str.__field.
lea ecx, [esp + 0x24]
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], 0
mov byte [esp + 0x24], 0
call fcn.00401680
mov dword [esp + 0xc0], 0
lea ecx, [esp + 0x38]
push 0x17
push str.Json_did_not_contains__
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], 0
mov byte [esp + 0x40], 0
call fcn.00401680
push str.command
lea edx, [esp + 0x3c]
mov byte [esp + 0xc4], 1
lea ecx, [esp + 0x84]
call fcn.0040c160
add esp, 4
lea ecx, [esp + 0x1c]
mov byte [esp + 0xc0], 2
push ecx
mov edx, eax
lea ecx, [esp + 0x6c]
call fcn.0040c200
add esp, 4
cmp dword [esp + 0x94], 0x10
jb 0x40ab19
push dword [esp + 0x80]
call fcn.00406ef0
add esp, 4
mov dword [esp + 0x94], 0xf
mov dword [esp + 0x90], 0
mov byte [esp + 0x80], 0
cmp dword [esp + 0x4c], 0x10
jb 0x40ab4a
push dword [esp + 0x38]
call fcn.00406ef0
add esp, 4
mov dword [esp + 0x4c], 0xf
mov dword [esp + 0x48], 0
mov byte [esp + 0x38], 0
mov byte [esp + 0xc0], 6
cmp dword [esp + 0x30], 0x10
jb 0x40ab7a
push dword [esp + 0x1c]
call fcn.00406ef0
add esp, 4
lea eax, [esp + 0x68]
mov dword [esp + 0x30], 0xf
push eax
movzx eax, word [edi + 4]
mov ecx, ebx
push eax
push dword [edi]
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
call fcn.0040aee0
cmp dword [esp + 0x7c], 0x10
jb 0x40ae2b
push dword [esp + 0x68]
jmp 0x40ae23
lea eax, [esp + 0x68]
push eax
push ecx
push str.command
mov ecx, esi
call fcn.00410970
add esp, 4
mov ecx, eax
call fcn.004100c0
push eax
lea eax, [esp + 0x9c]
mov dword [esp + 0xc4], 7
push eax
call fcn.0040ae60
cmp dword [esp + 0x7c], 0x10
jb 0x40abfe
push dword [esp + 0x68]
call fcn.00406ef0
add esp, 4
mov dword [esp + 0x18], 0xffffffff
mov dword [esp + 0x64], 0xf
mov dword [esp + 0x60], 0
mov byte [esp + 0x50], 0
lea eax, [esp + 0x18]
mov byte [esp + 0xc0], 0xa
push eax
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0xa0]
push eax
call fcn.0040b000
mov dword [esp + 0x2c], 0
test al, al
je 0x40ad9f
and dword [esp + 0x24], 0xfffffe00
mov dword [esp + 0x28], 0
mov dword [esp + 0x30], 0
sub esp, 0x18
mov byte [esp + 0xd8], 0xc
mov ecx, esp
mov dword [esp + 0x2c], esp
push str.succeed
call fcn.0040fd60
push ecx
push str.status
lea ecx, [esp + 0x3c]
mov byte [esp + 0xe0], 0xd
call fcn.004107b0
mov ecx, eax
mov byte [esp + 0xd8], 0xc
call fcn.00410000
sub esp, 0x18
lea ecx, [esp + 0x68]
mov esi, esp
mov dword [esp + 0x2c], esp
mov byte [esi + 8], 4
or dword [esi + 8], 0x100
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
cmp dword [esp + 0x7c], 0x10
mov edx, dword [esp + 0x78]
cmovae ecx, dword [esp + 0x68]
call fcn.0040fb80
mov dword [esi], eax
push ecx
push str.output
lea ecx, [esp + 0x3c]
mov byte [esp + 0xe0], 0xe
call fcn.004107b0
mov ecx, eax
mov byte [esp + 0xd8], 0xc
call fcn.00410000
mov eax, dword [esp + 0x18]
sub esp, 0x18
mov ecx, esp
cdq
mov dword [esp + 0x2c], esp
mov byte [ecx + 8], 1
and dword [ecx + 8], 0xfffffeff
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx], eax
mov dword [ecx + 4], edx
push ecx
push str.return_code
lea ecx, [esp + 0x3c]
mov byte [esp + 0xe0], 0xf
call fcn.004107b0
mov ecx, eax
mov byte [esp + 0xd8], 0xc
call fcn.00410000
movzx ecx, word [edi + 4]
mov eax, dword [edi]
mov dword [esp + 0x38], eax
lea eax, [esp + 0x1c]
mov word [esp + 0x3c], cx
mov ecx, dword [ebx + 0x10]
mov dword [esp + 0x40], eax
test ecx, ecx
je 0x40ad8c
mov eax, dword [ecx]
lea edx, [esp + 0x38]
push edx
call dword [eax + 8]
lea ecx, [esp + 0x1c]
mov byte [esp + 0xc0], 0xa
call fcn.0040ff80
jmp 0x40adea
push 0x16
push str.Can_not_start_process.
lea ecx, [esp + 0x24]
mov dword [esp + 0x38], 0xf
mov byte [esp + 0x24], 0
call fcn.00401680
lea eax, [esp + 0x1c]
mov byte [esp + 0xc0], 0x10
push eax
movzx eax, word [edi + 4]
mov ecx, ebx
push eax
push dword [edi]
call fcn.0040aee0
cmp dword [esp + 0x30], 0x10
jb 0x40adea
push dword [esp + 0x1c]
call fcn.00406ef0
add esp, 4
cmp dword [esp + 0x64], 0x10
jb 0x40adfd
push dword [esp + 0x50]
call fcn.00406ef0
add esp, 4
cmp dword [esp + 0xac], 8
mov dword [esp + 0x64], 0xf
mov dword [esp + 0x60], 0
mov byte [esp + 0x50], 0
jb 0x40ae2b
push dword [esp + 0x98]
call fcn.00406ef0
add esp, 4
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.0042dda9
mov esp, ebp
pop ebp
ret 4