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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xff88]
mov eax, 0x10060
call fcn.180016020
sub rsp, rax
xor eax, eax
xor ebx, ebx
mov rsi, rcx
mov qword [rsp + 0x21], rax
mov qword [rsp + 0x29], rax
mov qword [rsp + 0x31], rax
mov dword [rsp + 0x39], eax
mov word [rsp + 0x3d], ax
mov byte [rsp + 0x3f], al
mov rax, qword [rcx + 0x10]
mov rcx, qword [rcx + 0x30]
mov byte [rsp + 0x20], bl
mov r15, qword [rax + 0x60]
mov r12, rdx
xor edi, edi
mov qword [rbp + 0xff90], r15
lea r14d, [rbx + 1]
call fcn.180009590
lea r13d, [rbx + 0x20]
movsxd r14, r14d
test r14, r14
je 0x180004fc0
mov rcx, qword [r15]
mov r8d, r13d
mov eax, ebx
lea rdx, [rsp + 0x20]
xor r9d, r9d
sub r8d, ebx
add rdx, rax
call qword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x1800050e4
add ebx, eax
cmp ebx, r13d
jne 0x180004f8b
xor r14d, r14d
jmp 0x180004f88
cmp ebx, r13d
jne 0x180005178
cmp byte [rsp + 0x23], dil
jne 0x180005038
mov ebx, dword [rsp + 0x20]
add ebx, 0xffffffe4
test ebx, ebx
jle 0x180005023
mov r14d, 0xffff
mov rcx, qword [r15]
movsxd rax, ebx
mov r8d, ebx
cmp rax, r14
lea rdx, [rsp + 0x60]
cmova r8d, r14d
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_recv]
test eax, eax
jns 0x180005030
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2733
je 0x180005032
mov ecx, 0x490
call qword [sym.imp.KERNEL32.dll_SetLastError]
test ebx, ebx
jg 0x180005178
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x180005159
sub ebx, eax
test ebx, ebx
jle 0x180005023
jmp 0x180004fe1
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x40]
mov r8, r13
call fcn.1800142b0
lea rdx, [rsp + 0x24]
lea rcx, [rsp + 0x20]
mov r8d, 0x1c
call fcn.180009fe0
mov ecx, dword [rsp + 0x38]
call qword [sym.imp.WS2_32.dll_ntohl]
lea ebx, [rax - 8]
lea r15d, [rbx + 0x20]
mov ecx, r15d
call fcn.1800141b8
mov rdi, rax
test rax, rax
jne 0x180005088
lea ecx, [rax + 8]
jmp 0x180005172
lea r8, [rsp + 0x40]
mov r9, r13
mov rdx, r13
mov rcx, rax
call fcn.1800150c8
lea rcx, [rdi + 0x20]
test ebx, ebx
je 0x180005104
mov r13d, ebx
mov eax, ebx
mov rdx, r13
xor r9d, r9d
sub rdx, rax
mov rax, qword [rbp + 0xff90]
mov r8d, ebx
add rdx, rcx
mov rcx, qword [rax]
call qword [sym.imp.WS2_32.dll_recv]
mov r14d, eax
test eax, eax
jg 0x1800050ee
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2733
je 0x1800050f0
test r14d, r14d
jns 0x180005178
mov ecx, 0x490
jmp 0x180005172
sub ebx, eax
test ebx, ebx
je 0x1800050fa
lea rcx, [rdi + 0x20]
jmp 0x1800050a6
mov r13d, 0x20
test ebx, ebx
jne 0x180005178
lea rcx, [rsp + 0x24]
call fcn.18000a008
test eax, eax
jne 0x18000515f
mov rcx, qword [rsi + 0x28]
lea r8d, [rax + 0x10]
lea rdx, [rsp + 0x24]
add rcx, r13
call fcn.180015000
test eax, eax
je 0x18000515f
mov rcx, qword [rsi + 0x98]
lea rdx, [rsp + 0x24]
call fcn.18000ab04
test rax, rax
je 0x180005178
mov r8d, r15d
mov rdx, rdi
mov rcx, rax
call fcn.18000ad9c
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor edi, edi
and qword [r12], rdi
jmp 0x180005178
mov r9d, r15d
mov r8, rdi
mov rdx, r12
mov rcx, rsi
call fcn.18000a114
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test rdi, rdi
je 0x18000518d
mov rcx, rdi
call fcn.180014178
mov rcx, qword [rsi + 0x30]
call fcn.1800095b0
lea r11, [rsp + 0x10060]
mov eax, ebx
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret