Function at 0x42d4b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45f116
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6c
mov eax, dword [ebp + 8]
mov edx, ecx
mov dword [ebp - 0x20], edx
push esi
push edi
cmp eax, 0xffffffff
je 0x42d6c9
test eax, eax
je 0x42d6c9
mov edi, dword [edx + 0x30]
xorps xmm0, xmm0
test edi, edi
jne 0x42d530
push 0x187
push str.._sourceSocketStream.cpp
sub esp, 0x14
mov eax, esp
movups xmmword [eax], xmm0
mov dword [eax + 0x10], edi
movq qword [eax + 4], xmm0
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov dword [eax], vtable.ni::dsc::exception::InvalidArgument.0
lea eax, [ebp - 0x64]
push eax
call fcn.0040b070
add esp, 0x20
lea eax, [ebp - 0x64]
push 0x473d4c
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
mov eax, dword [edx + 0xc]
movups xmmword [ebp - 0x4c], xmm0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x24], edx
cmp byte [edx + 0x1c], 0
lea ecx, [edx + 0x14]
mov dword [ebp - 4], 0
je 0x42d56c
movq qword [ebp - 0x1c], xmm0
lea esi, [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
jmp 0x42d57a
mov eax, dword [ecx]
lea esi, [ebp - 0x1c]
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x18], eax
mov eax, dword [esi]
mov dword [ebp - 0x2c], eax
mov eax, dword [esi + 4]
mov esi, dword [edx + 0x38]
mov dword [ebp - 0x28], eax
xor eax, eax
test ecx, ecx
lea ecx, [ebp - 0x2c]
cmove ecx, eax
mov dword [ebp - 0x18], ecx
test esi, esi
je 0x42d6b0
nop dword [eax]
push ecx
lea ecx, [ebp - 0x3c]
call fcn.0042bb30
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x10]
push eax
push esi
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x42d5f0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x42d65e
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x50]
push eax
push dword [ebp + 8]
call fcn.0042d320
add esp, 0x10
test eax, eax
je 0x42d60f
add edi, dword [ebp - 0x10]
lea ecx, [ebp - 0x3c]
sub esi, dword [ebp - 0x10]
mov byte [ebp - 4], 0
call fcn.0042bbb0
test esi, esi
je 0x42d6ad
mov ecx, dword [ebp - 0x18]
jmp 0x42d5a0
push 0x1b7
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 - 0x64]
push eax
call fcn.0041851c
add esp, 0x20
lea eax, [ebp - 0x64]
push 0x475724
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
push 0x1bd
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 - 0x78]
push eax
call fcn.0041851c
add esp, 0x20
lea eax, [ebp - 0x78]
push 0x475724
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
mov edx, dword [ebp - 0x20]
mov dword [edx + 0x38], 0
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 4
push 0x183
jmp 0x42d614