Function at 0x1400425b0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbp
push rdi
push r14
sub rsp, 0x830
mov rax, qword [0x1402581e0]
xor rax, rsp
mov qword [rsp + 0x820], rax
movsxd r14, dword [0x140258b78]
mov rdi, rcx
mov rcx, qword [rcx + 0x128]
xor ebp, ebp
test rcx, rcx
jne 0x1400425ed
xor eax, eax
jmp 0x14004283e
mov qword [rsp + 0x858], rbx
lea rdx, reloc.WS2_32.dll_ioctlsocket
mov qword [rsp + 0x860], rsi
mov qword [rsp + 0x868], r15
call qword [sym.imp.MSVCR120.dll_strstr]
or rsi, 0xffffffffffffffff
test rax, rax
jne 0x140042782
xor ecx, ecx
call qword [sym.imp.MSVCR120.dll__time64]
mov rcx, qword [rdi + 0x118]
mov edx, r14d
mov r15, rax
call fcn.140042540
test eax, eax
jne 0x140042650
lea rdx, str.stratum_recv_line_timed_out
xor ecx, ecx
call fcn.140040950
jmp 0x140042823
lea rcx, [rsp + 0x20]
xor edx, edx
mov r8d, 0x800
call sub.MSVCR120.dll_memset
mov rcx, qword [rdi + 0x118]
lea rdx, [rsp + 0x20]
xor r9d, r9d
mov r8d, 0x7fc
call qword [sym.imp.WS2_32.dll_recv]
test eax, eax
je 0x1400426a9
jns 0x1400426c8
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x1400426a9
mov rcx, qword [rdi + 0x118]
mov edx, 1
call fcn.140042540
test eax, eax
jne 0x140042752
cmp dword [0x1402c7bbc], ebp
je 0x140042823
lea rdx, str.stratum_recv_line_failed
xor ecx, ecx
call fcn.140040950
jmp 0x140042823
mov rcx, qword [rdi + 0x128]
mov rbx, rsi
inc rbx
cmp byte [rcx + rbx], bpl
jne 0x1400426d2
lea rdx, [rsp + 0x20]
mov rax, rsi
inc rax
cmp byte [rdx + rax], bpl
jne 0x1400426e3
lea rdx, [rbx + 1]
add rdx, rax
cmp rdx, qword [rdi + 0x120]
jb 0x140042722
mov rax, rdx
and eax, 0x7ff
sub rdx, rax
add rdx, 0x800
mov qword [rdi + 0x120], rdx
call qword [sym.imp.MSVCR120.dll_realloc]
mov qword [rdi + 0x128], rax
mov rax, qword [rdi + 0x128]
lea rdx, [rsp + 0x20]
add rax, rbx
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [rdx]
lea rax, [rax + 1]
lea rdx, [rdx + 1]
mov byte [rax - 1], cl
test cl, cl
jne 0x140042740
xor ecx, ecx
call qword [sym.imp.MSVCR120.dll__time64]
mov rcx, rax
sub rcx, r15
cmp rcx, r14
jge 0x140042782
mov rcx, qword [rdi + 0x128]
lea rdx, reloc.WS2_32.dll_ioctlsocket
call qword [sym.imp.MSVCR120.dll_strstr]
test rax, rax
je 0x140042650
mov rcx, qword [rdi + 0x128]
mov rbx, rsi
nop dword [rax]
inc rbx
cmp byte [rcx + rbx], bpl
jne 0x140042790
lea rdx, reloc.WS2_32.dll_ioctlsocket
call qword [sym.imp.MSVCR120.dll_strtok]
test rax, rax
jne 0x1400427bb
lea rdx, str.stratum_recv_line_failed_to_parse_a_newline_terminated_string
xor ecx, ecx
call fcn.140040950
jmp 0x140042823
mov rcx, rax
call qword [sym.imp.MSVCR120.dll__strdup]
mov rbp, rax
inc rsi
cmp byte [rsi + rax], 0
jne 0x1400427c7
lea eax, [rsi + 1]
cmp ebx, eax
jle 0x1400427f7
mov rcx, qword [rdi + 0x128]
sub ebx, esi
movsxd rax, esi
lea rdx, [rcx + 1]
inc ebx
add rdx, rax
movsxd r8, ebx
call qword [sym.imp.MSVCR120.dll_memmove]
jmp 0x140042801
mov rax, qword [rdi + 0x128]
mov byte [rax], 0
test rbp, rbp
je 0x140042823
cmp dword [0x1402c7ad4], 0
je 0x140042823
lea rdx, str.___s
mov r8, rbp
mov ecx, 4
call fcn.140040950
mov r15, qword [rsp + 0x868]
mov rsi, qword [rsp + 0x860]
mov rbx, qword [rsp + 0x858]
mov rax, rbp
mov rcx, qword [rsp + 0x820]
xor rcx, rsp
call fcn.1401bddc0
add rsp, 0x830
pop r14
pop rdi
pop rbp
ret