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

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x18]
sub rsp, 0x118
mov rax, qword [0x180350010]
xor rax, rsp
mov qword [rbp], rax
mov rbx, r9
mov qword [rbp - 0x60], rbx
mov qword [rbp - 0x68], r8
mov qword [rsp + 0x30], rdx
mov r12, rcx
lea rsi, [rcx + 0xb0]
mov qword [rbp - 0x50], rsi
mov rcx, rsi
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x180117e4e
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov eax, dword [rsi + 0x4c]
cmp eax, 0x7fffffff
jne 0x180117e69
dec eax
mov dword [rsi + 0x4c], eax
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
lea rdi, [r12 + 0x60]
mov qword [rbp - 0x58], rdi
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
jne 0x18011834a
lea r13, [rdi + 0x4c]
mov eax, dword [r13]
cmp eax, 0x7fffffff
je 0x18011828c
mov byte [r12 + 0x10c], 0
lea r15, [r12 + 0x50]
mov r14, qword [r15]
cmp r14, 0xffffffffffffffff
je 0x180117f55
xor r8d, r8d
xor edx, edx
mov rcx, r14
call fcn.180112100
test rax, rax
je 0x180117ff8
jns 0x180117ed4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [rax], 9
je 0x180117f1b
lea rsi, [rbp - 8]
nop dword [rax + rax]
mov r9d, 2
lea r8d, [r9 - 1]
mov rdx, rsi
mov rcx, r14
call qword [sym.imp.WS2_32.dll_recv]
mov ebx, eax
test eax, eax
jns 0x180117f07
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [rax], 4
je 0x180117ee0
test ebx, ebx
lea rsi, [r12 + 0xb0]
jg 0x180117ff8
mov rbx, qword [rbp - 0x60]
mov rax, qword [r12]
xor r8d, r8d
mov rdx, r15
mov rcx, r12
call qword [rax + 0x18]
mov rcx, qword [r15]
cmp rcx, 0xffffffffffffffff
je 0x180117f3f
mov edx, 2
call qword [sym.imp.WS2_32.dll_shutdown]
mov rcx, qword [r15]
cmp rcx, 0xffffffffffffffff
je 0x180117f55
call qword [sym.imp.WS2_32.dll_closesocket]
mov qword [r15], 0xffffffffffffffff
mov rax, qword [r12]
mov r8, rbx
mov rdx, r15
mov rcx, r12
call qword [rax + reloc.WS2_32.dll_recv]
test al, al
je 0x18011812c
mov rax, qword [r12]
mov rcx, r12
call qword [rax + 0x28]
test al, al
je 0x180117ff8
cmp qword [r12 + 0x2c8], 0
je 0x180117fba
cmp dword [r12 + 0x2d8], 0xffffffff
je 0x180117fba
mov byte [rbp - 8], 0
mov qword [rsp + 0x20], rbx
lea r9, [rbp - 8]
mov r8, qword [rbp - 0x68]
mov rdx, r15
mov rcx, r12
call fcn.18011bdd0
test al, al
jne 0x180117fba
movzx ebx, byte [rbp - 8]
jmp 0x18011812e
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], r15
lea r8, [r12 + 0x418]
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x60]
mov rdx, qword [r12 + 0x410]
mov rcx, qword [r15]
call fcn.1801211c0
test rax, rax
je 0x180118102
mov qword [r15 + 8], rax
inc qword [r12 + 0x100]
call qword [sym.imp.MSVCP140.dll__Thrd_id]
mov dword [r12 + 0x108], eax
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
mov rbx, qword [r12 + 0x120]
mov rbx, qword [rbx]
cmp byte [rbx + 0x19], 0
jne 0x1801181f2
mov r14, qword [rsp + 0x30]
add r14, 0x40
nop word [rax + rax]
lea rdx, [rbx + 0x20]
mov rcx, r14
call fcn.180121d20
mov r15, qword [r14]
cmp rax, r15
jne 0x18011818e
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], 0
mov ecx, 0x60
call fcn.18012c300
mov qword [rbp - 0x70], rax
mov qword [rsp + 0x68], rax
lea r14, [rax + 0x20]
add rax, 0x20
mov qword [rbp - 0x58], rax
mov qword [rsp + 0x40], r14
lea rdx, [rbx + 0x20]
mov rcx, r14
call fcn.180086870
nop
lea rcx, [r14 + 0x20]
lea rdx, [rbx + 0x40]
call fcn.180086870
nop
mov rcx, qword [rbp - 0x70]
mov qword [rcx], r15
mov qword [rcx + 8], r15
mov qword [rcx + 0x10], r15
mov word [rcx + 0x18], 0
mov r13, qword [rsp + 0x30]
mov rax, qword [r13 + 0x40]
mov r14, qword [rax + 8]
mov qword [rsp + 0x40], r14
mov dword [rsp + 0x48], 0
cmp byte [r14 + 0x19], 0
jne 0x180118153
mov r15, qword [rbp - 0x58]
nop
mov qword [rsp + 0x40], r14
lea r8, [r14 + 0x20]
mov rdx, r15
call fcn.180110b80
test al, al
je 0x18011813c
mov dword [rsp + 0x48], 1
mov r14, qword [r14]
jmp 0x180118148
mov rcx, qword [r15]
cmp rcx, 0xffffffffffffffff
je 0x180118116
mov edx, 2
call qword [sym.imp.WS2_32.dll_shutdown]
mov rcx, qword [r15]
cmp rcx, 0xffffffffffffffff
je 0x18011812c
call qword [sym.imp.WS2_32.dll_closesocket]
mov qword [r15], 0xffffffffffffffff
xor bl, bl
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
jmp 0x18011831e
mov dword [rsp + 0x48], 0
mov r14, qword [r14 + 0x10]
cmp byte [r14 + 0x19], 0
je 0x1801180e0
mov rcx, qword [rbp - 0x70]
lea r14, [r13 + 0x40]
movabs rax, 0x2aaaaaaaaaaaaaa
cmp qword [r14 + 8], rax
je 0x180118356
mov qword [rsp + 0x68], 0
movups xmm0, xmmword [rsp + 0x40]
movaps xmmword [rsp + 0x40], xmm0
mov r8, rcx
lea rdx, [rsp + 0x40]
mov rcx, r14
call fcn.180092f20
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
je 0x1801181ba
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x1801181b5
cmp rbx, qword [rax + 0x10]
jne 0x1801181b5
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x1801181a2
mov rbx, rax
jmp 0x1801181df
mov rbx, rax
mov rcx, qword [rax]
cmp byte [rcx + 0x19], 0
jne 0x1801181df
nop word [rax + rax]
mov rbx, rcx
mov rax, qword [rcx]
mov rcx, rax
cmp byte [rax + 0x19], 0
je 0x1801181d0
cmp byte [rbx + 0x19], 0
je 0x180118040
lea r15, [r12 + 0x50]
lea r13, [rdi + 0x4c]
cmp byte [r12 + 0x240], 0
sete byte [rbp - 7]
mov rax, qword [r12]
mov qword [rsp + 0x60], r12
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x68], rcx
mov rcx, qword [rbp - 0x68]
mov qword [rsp + 0x70], rcx
lea rcx, [rbp - 7]
mov qword [rsp + 0x78], rcx
mov r14, qword [rbp - 0x60]
mov qword [rbp - 0x80], r14
lea rcx, [0x18032a5a0]
mov qword [rbp - 0x48], rcx
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rbp - 0x40], xmm0
movups xmm1, xmmword [rsp + 0x70]
movups xmmword [rbp - 0x30], xmm1
movsd xmm0, qword [rbp - 0x80]
movsd qword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x48]
mov qword [rbp - 0x10], rcx
lea r8, [rbp - 0x48]
mov rdx, r15
mov rcx, r12
call qword [rax + 0x20]
movzx ebx, al
mov qword [rsp + 0x40], rdi
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
jne 0x18011834a
mov eax, dword [r13]
cmp eax, 0x7fffffff
jne 0x18011829e
dec eax
mov dword [r13], eax
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
sub qword [r12 + 0x100], 1
jne 0x1801182b5
mov dword [r12 + 0x108], 0
cmp byte [r12 + 0x10c], 0
jne 0x1801182ca
cmp byte [rbp - 7], 0
jne 0x1801182ca
test bl, bl
jne 0x180118304
mov rax, qword [r12]
mov r8b, 1
mov rdx, r15
mov rcx, r12
call qword [rax + 0x18]
mov rcx, qword [r15]
cmp rcx, 0xffffffffffffffff
je 0x1801182ee
mov edx, 2
call qword [sym.imp.WS2_32.dll_shutdown]
mov rcx, qword [r15]
cmp rcx, 0xffffffffffffffff
je 0x180118304
call qword [sym.imp.WS2_32.dll_closesocket]
mov qword [r15], 0xffffffffffffffff
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
test bl, bl
jne 0x18011831e
cmp dword [r14], 0
jne 0x18011831e
mov dword [r14], 1
mov rcx, rsi
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
movzx eax, bl
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.18012c2e0
add rsp, 0x118
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
call fcn.180089f40
int3