Function at 0x42d6e0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45f14d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x78
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], ecx
mov byte [ebp - 0xd], 0
push esi
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x14], edi
test eax, eax
jne 0x42d724
mov eax, 0x489eb0
mov dword [ebp - 0x14], 0x200
mov dword [ebp + 8], eax
mov byte [ebp - 0xd], 1
mov eax, dword [ecx + 0xc]
lea esi, [ecx + 4]
xorps xmm0, xmm0
mov dword [ebp - 0x58], 0
movups xmmword [ebp - 0x54], xmm0
mov ecx, esi
mov dword [ebp - 0x48], eax
call fcn.004073a0
mov eax, dword [ebp - 0x1c]
cmp byte [eax + 0x10], 0
je 0x42d7ae
mov ecx, esi
mov dword [ebp - 4], 1
call fcn.004073b0
mov dword [ebp - 4], 0xffffffff
push 0xd0
push str.._sourceSocketStream.cpp
sub esp, 0x14
xorps xmm0, xmm0
mov eax, esp
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
movq qword [eax + 4], xmm0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax], vtable.ni::dsc::exception::ConnectionFailure.0
lea eax, [ebp - 0x80]
push eax
call fcn.0041851c
add esp, 0x20
lea eax, [ebp - 0x80]
push 0x475724
jmp 0x42d909
mov eax, dword [eax + 8]
mov dword [ebp - 0x18], eax
mov ecx, esi
mov dword [ebp - 4], 2
call fcn.004073b0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
cmp eax, 0xffffffff
je 0x42d760
test eax, eax
je 0x42d760
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x2c], eax
cmp byte [eax + 0x1c], 0
lea ecx, [eax + 0x14]
mov dword [ebp - 4], 3
je 0x42d806
xorps xmm0, xmm0
lea edx, [ebp - 0x20]
movq qword [ebp - 0x28], xmm0
xor ecx, ecx
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x1c], eax
jmp 0x42d814
mov eax, dword [ecx]
lea edx, [ebp - 0x28]
mov dword [ebp - 0x28], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x24], eax
mov eax, dword [edx]
mov dword [ebp - 0x34], eax
mov eax, dword [edx + 4]
lea edx, [ebp - 0x34]
mov dword [ebp - 0x30], eax
xor eax, eax
test ecx, ecx
cmove edx, eax
mov dword [ebp - 0x24], edx
test edi, edi
je 0x42d916
cmp dword [ebp - 0x14], edi
lea ecx, [ebp + 0xc]
lea eax, [ebp - 0x14]
cmovae eax, ecx
lea ecx, [ebp - 0x44]
push edx
mov esi, dword [eax]
call fcn.0042bb30
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x1c]
push eax
push esi
mov esi, dword [ebp + 8]
push esi
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x42d895
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x42d90f
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x58]
push eax
push dword [ebp - 0x18]
call fcn.0042d320
add esp, 0x10
test eax, eax
je 0x42d8c0
cmp byte [ebp - 0xd], 0
mov eax, dword [ebp - 0x1c]
jne 0x42d8a3
add esi, eax
mov dword [ebp + 8], esi
sub edi, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x44]
mov dword [ebp + 0xc], edi
call fcn.0042bbb0
test edi, edi
je 0x42d916
mov edx, dword [ebp - 0x24]
jmp 0x42d834
push 0xf7
push str.._sourceSocketStream.cpp
sub esp, 0x14
xorps xmm0, xmm0
mov eax, esp
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
movq qword [eax + 4], xmm0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax], vtable.ni::dsc::exception::ConnectionFailure.0
lea eax, [ebp - 0x6c]
push eax
call fcn.0041851c
add esp, 0x20
lea eax, [ebp - 0x6c]
push 0x475724
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
push 0xfd
jmp 0x42d8c5
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 8