Function at 0x435ea0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e7111
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x52610c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi]
push ecx
lea eax, [ecx + 0x1c]
push eax
call fcn.00434640
mov ecx, dword [esi]
mov dword [ecx + 0x10], eax
mov edx, dword [esi]
mov edi, dword [edx + 0x10]
test edi, edi
jne 0x435fe3
sub esp, 8
lea ecx, [ebp - 0xe0]
call fcn.00404d30
mov edx, str.Create_OutFile_Timeout
mov dword [ebp - 4], edi
lea ecx, [ebp - 0xd0]
call fcn.004060e0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0xe0]
call fcn.00404c20
mov esi, eax
mov byte [ebp - 4], 1
cmp dword [esi + 0x14], 0x10
jb 0x435f2c
mov esi, dword [esi]
mov edi, dword [0x52e1c0]
test edi, edi
jne 0x435f5d
push 0xf0
call fcn.004a0505
add esp, 4
mov dword [ebp - 0x2c], eax
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.00404270
mov edi, eax
mov byte [ebp - 4], 1
mov dword [0x52e1c0], edi
cmp dword [edi + 0xb8], 4
jg 0x435fb0
sub esp, 0x18
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 0x10
jb 0x435f83
mov eax, dword [edx]
jmp 0x435f85
mov eax, edx
mov byte [eax], 0
cmp byte [esi], 0
jne 0x435f91
xor ecx, ecx
jmp 0x435f9f
mov ecx, esi
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x435f96
sub ecx, ebx
push ecx
push esi
mov ecx, edx
call fcn.00409af0
push ecx
mov ecx, edi
call fcn.00404920
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x435fc5
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004099a0
lea ecx, [ebp - 0x78]
call fcn.00404c40
mov dword [ebp - 4], 3
lea eax, [ebp - 0x78]
mov dword [ebp - 0x78], vtable.std::ios_base.0
jmp 0x436241
add edx, 0x34
cmp dword [edx + 0x14], 8
jb 0x435fee
mov edx, dword [edx]
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x435ff3
sub ecx, esi
lea eax, [ebp - 0x30]
push 0
sar ecx, 1
push eax
lea eax, [ecx*2 + 2]
push eax
push edx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
sub esp, 8
test eax, eax
jne 0x436136
lea ecx, [ebp - 0x190]
call fcn.00404d30
mov dword [ebp - 4], 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov edx, str.PipeOut_Error:
lea ecx, [ebp - 0x180]
call fcn.004060e0
mov ecx, eax
call fcn.0041a450
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x190]
call fcn.00404c20
mov edi, eax
mov byte [ebp - 4], 5
cmp dword [edi + 0x14], 0x10
jb 0x436070
mov edi, dword [edi]
mov esi, dword [0x52e1c0]
test esi, esi
jne 0x4360a1
push 0xf0
call fcn.004a0505
add esp, 4
mov dword [ebp - 0x2c], eax
mov ecx, eax
mov byte [ebp - 4], 6
call fcn.00404270
mov esi, eax
mov byte [ebp - 4], 5
mov dword [0x52e1c0], esi
cmp dword [esi + 0xb8], 4
jg 0x4360fa
sub esp, 0x18
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 0x10
jb 0x4360c7
mov eax, dword [edx]
jmp 0x4360c9
mov eax, edx
mov byte [eax], 0
cmp byte [edi], 0
jne 0x4360d5
xor ecx, ecx
jmp 0x4360e9
mov ecx, edi
lea ebx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4360e0
sub ecx, ebx
push ecx
push edi
mov ecx, edx
call fcn.00409af0
push ecx
mov ecx, esi
call fcn.00404920
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x43610f
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004099a0
lea ecx, [ebp - 0x128]
call fcn.00404c40
mov dword [ebp - 4], 7
lea eax, [ebp - 0x128]
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
jmp 0x436241
lea ecx, [ebp - 0x240]
call fcn.00404d30
mov dword [ebp - 4], 8
lea ecx, [ebp - 0x230]
push dword [ebp - 0x30]
mov edx, str.PipeOut:_Initial_Success__size:
call fcn.004060e0
mov ecx, eax
call fcn.0041a450
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x240]
call fcn.00404c20
mov edi, eax
mov byte [ebp - 4], 9
cmp dword [edi + 0x14], 0x10
jb 0x43617f
mov edi, dword [edi]
mov esi, dword [0x52e1c0]
test esi, esi
jne 0x4361b0
push 0xf0
call fcn.004a0505
add esp, 4
mov dword [ebp - 0x2c], eax
mov ecx, eax
mov byte [ebp - 4], 0xa
call fcn.00404270
mov esi, eax
mov byte [ebp - 4], 9
mov dword [0x52e1c0], esi
cmp dword [esi + 0xb8], 1
jg 0x43620a
sub esp, 0x18
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 0x10
jb 0x4361d6
mov eax, dword [edx]
jmp 0x4361d8
mov eax, edx
mov byte [eax], 0
cmp byte [edi], 0
jne 0x4361e4
xor ecx, ecx
jmp 0x4361f9
mov ecx, edi
lea ebx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4361f0
sub ecx, ebx
push ecx
push edi
mov ecx, edx
call fcn.00409af0
push ecx
mov ecx, esi
call fcn.00404920
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x43621f
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004099a0
lea ecx, [ebp - 0x1d8]
call fcn.00404c40
mov dword [ebp - 4], 0xb
lea eax, [ebp - 0x1d8]
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
push eax
call fcn.0049cfc7
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a04d5
mov esp, ebp
pop ebp
ret