Function at 0x4038d0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x89b62b
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x8ab050]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0xb0
lea eax, [ebp - 0xc0]
push 0
push eax
call fcn.00885850
add esp, 8
lea ecx, [ebp - 0xc0]
call fcn.008819e0
mov dword [ebp - 4], 0
cmp dword [ebp - 0x70], 0
jne 0x403a62
push 0x40
push 2
push str.C:_txt.txt.txt
call fcn.0088398b
add esp, 0xc
test eax, eax
je 0x403a62
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0x70], eax
mov eax, dword [0x8acbe0]
mov dword [ebp - 0xb0], ecx
lea ecx, [ebp - 0xb4]
mov dword [ebp - 0xac], ecx
lea ecx, [ebp - 0xa8]
mov dword [ebp - 0xa0], ecx
lea ecx, [ebp - 0xa4]
mov dword [ebp - 0x9c], ecx
lea ecx, [ebp - 0x98]
mov dword [ebp - 0x90], ecx
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x8c], ecx
mov ecx, dword [0x8acbe4]
mov byte [ebp - 0x74], 1
mov byte [ebp - 0x7e], 0
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0x94], 0
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x78], ecx
mov dword [ebp - 0x84], 0
mov ecx, dword [eax + 4]
mov dword [ebp - 0xc4], ecx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0xc8]
mov byte [ebp - 4], 1
push eax
call fcn.00882910
add esp, 4
lea ecx, [ebp - 0xbc]
push eax
call fcn.00881f80
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0xc4]
test ecx, ecx
je 0x403a42
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
je 0x403a42
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov eax, dword [ebp - 0xc0]
lea ecx, [ebp - 0xc0]
xor edx, edx
mov eax, dword [eax + 4]
add ecx, eax
mov eax, 4
cmp dword [ecx + 0x38], edx
cmovne eax, edx
jmp 0x403a85
mov eax, dword [ebp - 0xc0]
lea ecx, [ebp - 0xc0]
mov eax, dword [eax + 4]
add ecx, eax
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push 0
push eax
call fcn.00402110
lea ecx, [ebp - 0xc0]
call fcn.008826d0
lea ecx, [ebp - 0xbc]
call fcn.008820f0
test eax, eax
jne 0x403ad2
mov eax, dword [ebp - 0xc0]
lea ecx, [ebp - 0xc0]
push 0
mov eax, dword [eax + 4]
add ecx, eax
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.00402110
push 0
push 0
push 0
push str.C:_txt.txt.txt
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [ebp - 0xc0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xc0], vtable.std::basic_ofstream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0xc0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xc4], eax
lea ecx, [ebp - 0xbc]
call fcn.00881650
mov eax, dword [ebp - 0xc0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xc0], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0xc0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0xc4], eax
lea eax, [ebp - 0x58]
mov dword [ebp - 4], 2
push eax
mov dword [ebp - 0x58], vtable.std::ios_base.0
call fcn.0088382a
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00883d4a
mov esp, ebp
pop ebp
ret