Function at 0x18000b634
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.180014f40
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 + 8]
mov rcx, qword [rcx + 0x28]
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.18000d1ec
lea r13d, [rbx + 0x20]
movsxd r14, r14d
test r14, r14
je 0x18000b6e4
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 0x18000b808
add ebx, eax
cmp ebx, r13d
jne 0x18000b6af
xor r14d, r14d
jmp 0x18000b6ac
cmp ebx, r13d
jne 0x18000b89c
cmp byte [rsp + 0x23], dil
jne 0x18000b75c
mov ebx, dword [rsp + 0x20]
add ebx, 0xffffffe4
test ebx, ebx
jle 0x18000b747
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 0x18000b754
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2733
je 0x18000b756
mov ecx, 0x490
call qword [sym.imp.KERNEL32.dll_SetLastError]
test ebx, ebx
jg 0x18000b89c
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x18000b87d
sub ebx, eax
test ebx, ebx
jle 0x18000b747
jmp 0x18000b705
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x40]
mov r8, r13
call fcn.1800139e0
lea rdx, [rsp + 0x24]
lea rcx, [rsp + 0x20]
mov r8d, 0x1c
call fcn.1800068a8
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.180013918
mov rdi, rax
test rax, rax
jne 0x18000b7ac
lea ecx, [rax + 8]
jmp 0x18000b896
lea r8, [rsp + 0x40]
mov r9, r13
mov rdx, r13
mov rcx, rax
call fcn.180015538
lea rcx, [rdi + 0x20]
test ebx, ebx
je 0x18000b828
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 0x18000b812
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2733
je 0x18000b814
test r14d, r14d
jns 0x18000b89c
mov ecx, 0x490
jmp 0x18000b896
sub ebx, eax
test ebx, ebx
je 0x18000b81e
lea rcx, [rdi + 0x20]
jmp 0x18000b7ca
mov r13d, 0x20
test ebx, ebx
jne 0x18000b89c
lea rcx, [rsp + 0x24]
call fcn.1800068d0
test eax, eax
jne 0x18000b883
mov rcx, qword [rsi + 0x20]
lea r8d, [rax + 0x10]
lea rdx, [rsp + 0x24]
add rcx, r13
call fcn.180015290
test eax, eax
je 0x18000b883
mov rcx, qword [rsi + 0x90]
lea rdx, [rsp + 0x24]
call fcn.180007c2c
test rax, rax
je 0x18000b89c
mov r8d, r15d
mov rdx, rdi
mov rcx, rax
call fcn.180007a88
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor edi, edi
and qword [r12], rdi
jmp 0x18000b89c
mov r9d, r15d
mov r8, rdi
mov rdx, r12
mov rcx, rsi
call fcn.180007210
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test rdi, rdi
je 0x18000b8b1
mov rcx, rdi
call fcn.1800138d8
mov rcx, qword [rsi + 0x28]
call fcn.18000d20c
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