Function at 0x40a640
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43b55c
mov eax, dword fs:[0]
push eax
sub esp, 0x330
mov eax, dword [0x468fc0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
push 0xffffffffffffffff
mov dword [ebp - 0x254], ebx
xor ecx, ecx
push ebx
mov word [ebp - 0x234], cx
push eax
lea ecx, [ebp - 0x234]
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], ebx
call fcn.00402820
push 0x448b00
push 0x448afc
lea edx, [ebp - 0x234]
push edx
mov dword [ebp - 4], ebx
call fcn.00410b00
lea ecx, [ebp - 0x2d8]
mov dword [ebp - 0x338], 0x448814
mov dword [ebp - 0x328], 0x44a100
call dword [0x44124c]
push ebx
lea eax, [ebp - 0x320]
push eax
lea ecx, [ebp - 0x338]
mov byte [ebp - 4], 1
mov dword [ebp - 0x254], 1
call dword [0x441238]
mov ecx, dword [ebp - 0x338]
mov edx, dword [ecx + 4]
lea ecx, [ebp - 0x320]
mov dword [ebp - 4], 2
mov dword [ebp + edx - method.std::basic_stringstream_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__.virtual_0], vtable.std::basic_stringstream_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__.0
call dword [0x4411fc]
mov dword [ebp - method.std::basic_stringbuf_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__.virtual_0], vtable.std::basic_stringbuf_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__.0
mov dword [ebp - 0x2e4], ebx
mov dword [ebp - 0x2e0], ebx
mov eax, dword [ebp - 0x234]
mov esi, 8
mov byte [ebp - 4], 4
cmp dword [ebp - 0x220], esi
jae 0x40a755
lea eax, [ebp - 0x234]
push 0x448b04
push eax
push 0x448b04
lea eax, [ebp - 0x328]
push eax
call fcn.00405110
push eax
call fcn.00405110
push eax
call fcn.00405110
lea ecx, [ebp - 0x250]
push ecx
lea ecx, [ebp - 0x338]
call fcn.00407af0
mov byte [ebp - 4], 5
cmp dword [eax + 0x14], esi
jb 0x40a795
mov eax, dword [eax]
push 0x104
push eax
push 0x104
lea edx, [ebp - 0x218]
push edx
call fcn.004160a0
mov byte [ebp - 4], 4
cmp dword [ebp - 0x23c], esi
jb 0x40a7c7
mov eax, dword [ebp - 0x250]
push eax
call fcn.004399fe
add esp, 4
push 0x3c
lea ecx, [ebp - 0x290]
push ebx
push ecx
call fcn.00439a32
movzx eax, byte [ebp + 0xc]
add esp, 0xc
neg eax
sbb eax, eax
lea ecx, [ebp - 0x290]
lea edx, [ebp - 0x218]
and eax, 5
push ecx
mov dword [ebp - 0x290], 0x3c
mov dword [ebp - 0x28c], 0x40
mov dword [ebp - 0x280], edx
mov dword [ebp - 0x284], str.open
mov dword [ebp - 0x274], eax
call dword [0x4414f0]
test eax, eax
je 0x40a85d
mov edx, dword [ebp - 0x258]
push 0xffffffffffffffff
push edx
call dword [0x441114]
lea ecx, [ebp - 0x338]
mov byte [ebp - 4], bl
call fcn.00406030
cmp dword [ebp - 0x220], esi
jb 0x40a859
mov eax, dword [ebp - 0x234]
push eax
call fcn.004399fe
add esp, 4
mov al, 1
jmp 0x40a898
lea ecx, [ebp - 0x218]
push ecx
push str.Failed_on_ShellExecuteEx___s__n
call fcn.00407f80
add esp, 8
lea ecx, [ebp - 0x338]
mov byte [ebp - 4], bl
call fcn.00406030
cmp dword [ebp - 0x220], esi
jb 0x40a896
mov edx, dword [ebp - 0x234]
push edx
call fcn.004399fe
add esp, 4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00439a1c
mov esp, ebp
pop ebp
ret 8