Function at 0x403b90
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4248eb
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x42e2ac]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0xe8], ebx
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0xec], ecx
mov dword [ebp - 0x19c], 0x4295e8
mov dword [ebp - 0x18c], 0x429b4c
mov dword [ebp - method.std::basic_ios_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
lea edx, [ebp - 0x184]
push edx
lea eax, [ebp - 0x19c]
mov dword [ebp - 4], 1
mov esi, 2
push eax
mov dword [ebp - 0xe8], esi
call fcn.00405de0
mov dword [ebp - 4], esi
mov ecx, dword [ebp - 0x19c]
mov edx, dword [ecx + 4]
lea eax, [ebp - 0x184]
push eax
mov dword [ebp + edx - method.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
call fcn.00406790
mov dword [ebp - method.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [ebp - 0x148], ebx
mov dword [ebp - 0x144], ebx
push 0x400
mov dword [ebp - 4], 4
call fcn.004107ee
mov edi, eax
add esp, 4
mov dword [ebp - 0xf4], edi
mov byte [ebp - 4], 5
mov byte [ebp - 0xdd], bl
mov edx, dword [ebp - 0xe4]
mov eax, dword [edx]
push ebx
lea ecx, [ebp - 0xf0]
push ecx
push 0x400
push edi
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x403ca1
mov byte [ebp - 0xdd], 1
jmp 0x403cbb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
sub eax, 0x6d
je 0x403e0c
sub eax, 0x7d
jne 0x403d97
mov ecx, dword [ebp - 0xf0]
push ecx
push edi
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
call fcn.0040b900
lea edx, [ebp - 0x30]
push edx
lea eax, [ebp - 0x18c]
push eax
mov byte [ebp - 4], 9
call fcn.00408720
add esp, 8
mov byte [ebp - 4], 5
cmp dword [ebp - 0x1c], 0x10
jb 0x403d05
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.0041159e
add esp, 4
cmp byte [ebp - 0xdd], bl
je 0x403c77
lea esi, [ebp - 0x30]
lea eax, [ebp - 0x19c]
call fcn.00405460
mov byte [ebp - 4], 0xa
mov esi, dword [ebp - 0xec]
push esi
mov ecx, eax
call fcn.00404c20
mov byte [esi + 0xa4], bl
cmp dword [ebp - 0x1c], 0x10
mov dword [ebp - 0xe8], 3
jb 0x403d53
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.0041159e
add esp, 4
push edi
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
call fcn.0041159e
add esp, 4
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], bl
call fcn.00403e70
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004115a9
mov esp, ebp
pop ebp
ret 4
lea edx, [ebp - 0x244]
push edx
call fcn.00405320
push esi
push ecx
lea eax, [ebp - 0x234]
push str.Error_reading_from_pipe:
push eax
mov byte [ebp - 4], 7
call fcn.00407cc0
add esp, 0xc
push eax
call fcn.00404090
push 0x205
push str.....CommonSourceADXBootstrapperClickTwice.DownloaderPipe.cpp
lea esi, [ebp - 0x4c]
lea eax, [ebp - 0x244]
call fcn.004053c0
sub esp, 0x48
mov ebx, eax
mov esi, esp
mov byte [ebp - 4], 8
mov dword [ebp - 0xe4], esp
call fcn.004043f0
lea esi, [ebp - 0xdc]
call fcn.00407f90
add esp, 0x50
push 0x42b588
mov ecx, esi
push ecx
call fcn.004128da
xor edx, edx
push 0x11
mov eax, str.Pipe_disconnected
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], ebx
mov word [ebp - 0x30], dx
call fcn.0040bfd0
push 0x201
push str.....CommonSourceADXBootstrapperClickTwice.DownloaderPipe.cpp
sub esp, 0x48
lea ebx, [ebp - 0x30]
mov esi, esp
mov byte [ebp - 4], 6
mov dword [ebp - 0xe4], esp
call fcn.004043f0
lea esi, [ebp - 0x94]
call fcn.00407f90
add esp, 0x50
push 0x42b588
mov eax, esi
push eax
call fcn.004128da
int3