Function at 0x42dc30
Capabilities:
Read file on windows
Receive data
Receive data on socket

Disassembly:
push rbp
sub rsp, 0x90
lea rbp, [rsp + 0x80]
movsd xmm0, qword [rbp + 0x40]
mov rax, qword [0x00442300]
mov rax, qword [rax]
xor rax, rbp
mov qword [rbp + 8], rax
mov qword [rbp - 0x30], rcx
mov qword [rbp - 0x38], rdx
mov qword [rbp - 0x40], r8
mov dword [rbp - 0x44], r9d
mov dword [rbp - 0x4c], 0
cmp qword [rbp - 0x30], 0
je 0x42dce5
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__fileno]
mov ecx, eax
mov rdx, qword [rbp - 0x40]
movsxd rax, dword [rbp - 0x44]
mov r8d, eax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__read]
mov dword [rbp - 0x48], eax
cmp dword [rbp - 0x48], 0
jge 0x42dcb0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp - 0x58], eax
jmp 0x42dcba
xor eax, eax
mov dword [rbp - 0x58], eax
jmp 0x42dcba
mov eax, dword [rbp - 0x58]
mov dword [rbp - 0x4c], eax
cmp dword [rbp - 0x48], 0
jne 0x42dce0
cmp dword [rbp - 0x44], 0
jle 0x42dce0
mov dword [rbp - 0x24], 0xfffffffe
jmp 0x42df08
jmp 0x42de3f
mov dword [rbp - 0x54], 1
mov rax, qword [rbp - 0x38]
mov rax, qword [rax + 0x8f8]
mov qword [rbp - 0x20], rax
mov word [rbp - 0x18], 1
mov rax, qword [rbp - 0x38]
mov rax, qword [rax + 0x8e0]
cmp dword [rax], 1
jne 0x42dd59
mov rax, qword [rbp - 0x38]
mov rax, qword [rax + 0x8e0]
movsxd rcx, dword [rax + 0x7cd4]
mov eax, dword [rbp - 0x54]
mov edx, eax
lea rax, [rbp - 0x20]
shl rdx, 4
add rax, rdx
mov qword [rax], rcx
mov eax, dword [rbp - 0x54]
mov ecx, eax
lea rax, [rbp - 0x20]
shl rcx, 4
add rax, rcx
mov word [rax + 8], 1
mov eax, dword [rbp - 0x54]
add eax, 1
mov dword [rbp - 0x54], eax
lea rcx, [rbp - 0x20]
mov edx, dword [rbp - 0x54]
movsd xmm0, qword [0x00445db0]
mulsd xmm0, qword [rbp + 0x40]
cvttsd2si r8d, xmm0
mov rax, qword [rbp - 0x38]
mov r9, qword [rax + 0x8e0]
add r9, 0x28
call fcn.0042e280
mov dword [rbp - 0x50], eax
mov rax, qword [rbp - 0x38]
mov rax, qword [rax + 0x8e0]
mov eax, dword [rax + 0x28]
cmp eax, 0
je 0x42ddac
mov dword [rbp - 0x24], 0xfffffffe
jmp 0x42df08
cmp dword [rbp - 0x50], 0
jle 0x42de18
mov rax, qword [rbp - 0x38]
mov rcx, qword [rax + 0x8f8]
mov rdx, qword [rbp - 0x40]
mov r8d, dword [rbp - 0x44]
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_recv]
mov dword [rbp - 0x48], eax
cmp dword [rbp - 0x48], 0
jge 0x42dded
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp - 0x5c], eax
jmp 0x42ddf7
xor eax, eax
mov dword [rbp - 0x5c], eax
jmp 0x42ddf7
mov eax, dword [rbp - 0x5c]
mov dword [rbp - 0x4c], eax
cmp dword [rbp - 0x48], 0
jg 0x42de13
mov dword [rbp - 0x24], 0xfffffffe
jmp 0x42df08
jmp 0x42de3a
cmp dword [rbp - 0x50], 0
jge 0x42de2e
mov dword [rbp - 0x24], 0xfffffffe
jmp 0x42df08
mov dword [rbp - 0x48], 0
jmp 0x42de3a
jmp 0x42de3f
cmp qword [rbp - 0x38], 0
je 0x42de6d
mov rax, qword [rbp - 0x38]
mov rax, qword [rax + 0x8e0]
mov eax, dword [rax + 0x28]
cmp eax, 0
je 0x42de6d
mov dword [rbp - 0x24], 0xfffffffe
jmp 0x42df08
cmp dword [rbp - 0x48], 0
jg 0x42de8b
cmp dword [rbp - 0x48], 0
jne 0x42de96
cmp dword [rbp - 0x44], 0
jne 0x42de96
mov eax, dword [rbp - 0x48]
mov dword [rbp - 0x24], eax
jmp 0x42df08
cmp dword [rbp - 0x48], 0
jge 0x42df01
cmp dword [rbp - 0x4c], 0x2733
jne 0x42deb9
mov dword [rbp - 0x24], 0xfffffffe
jmp 0x42df08
cmp dword [rbp - 0x4c], 0x274c
jne 0x42ded2
mov dword [rbp - 0x24], 0
jmp 0x42df08
cmp dword [rbp - 0x4c], 0x2745
jne 0x42deeb
mov dword [rbp - 0x24], 0xfffffffe
jmp 0x42df08
jmp 0x42def0
jmp 0x42def5
mov dword [rbp - 0x24], 0xfffffffe
jmp 0x42df08
mov dword [rbp - 0x24], 0xffffffff
mov eax, dword [rbp - 0x24]
mov dword [rbp - 0x60], eax
mov rcx, qword [rbp + 8]
xor rcx, rbp
mov rax, qword [0x00442300]
mov rax, qword [rax]
sub rax, rcx
jne 0x42df2d
jmp 0x42df32
call fcn.0041bf30
mov eax, dword [rbp - 0x60]
add rsp, 0x90
pop rbp
ret