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

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbx
push rsi
sub rsp, 0x68
mov rsi, rdx
test rdx, rdx
jne 0x140125417
mov rdx, r8
cmp rdx, 0xffffffffffffffff
je 0x140125614
mov rbx, rcx
mov rcx, qword [rcx + 0xd8]
call fcn.1401278a0
test rax, rax
je 0x140125614
mov rcx, rax
call fcn.1401270e0
mov r8, qword [rsp + 0x98]
mov rdx, rax
mov rcx, rbx
cmp dword [rax + 0x10], esi
je 0x14012540c
add rsp, 0x68
pop rsi
pop rbx
jmp 0x140125620
add rsp, 0x68
pop rsi
pop rbx
jmp 0x140125820
mov rax, qword [0x140212a78]
mov ecx, 0x80
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x40], r14
lea r14d, [rcx - 0x70]
mov qword [rsp + 0x38], r15
call qword [case.0x1400cc851.0]
xor edi, edi
mov qword [rsp + 0x20], rax
mov r15, rax
test rax, rax
je 0x140125571
mov r13, qword [rsp + 0x80]
xor r12d, r12d
cmp qword [r13 + 0xa0], rdi
jbe 0x140125519
xor r15d, r15d
nop dword [rax]
mov rcx, qword [r13 + 0x98]
mov rcx, qword [r15 + rcx + 0x20]
call fcn.1401270e0
mov rbx, rax
test rax, rax
je 0x140125500
nop dword [rax]
mov rcx, rbx
call fcn.1401270e0
mov rbp, qword [rax + 8]
cmp rbp, 0xffffffffffffffff
je 0x1401254f0
cmp rdi, r14
jb 0x1401254e4
mov rax, qword [0x140212a80]
lea rcx, [rsp + 0x20]
add r14, r14
lea rdx, [r14*8]
call qword [case.0x1400cc851.0]
test rax, rax
je 0x14012555f
mov qword [rsp + 0x20], rax
jmp 0x1401254e9
mov rax, qword [rsp + 0x20]
mov qword [rax + rdi*8], rbp
inc rdi
mov rcx, rbx
call fcn.140127100
mov rbx, rax
test rax, rax
jne 0x1401254a0
inc r12
add r15, 0x50
cmp r12, qword [r13 + 0xa0]
jb 0x140125480
mov r15, qword [rsp + 0x20]
xor ebx, ebx
test rdi, rdi
je 0x1401255e6
mov rbp, qword [rsp + 0x98]
nop dword [rax]
mov rcx, qword [r15 + rbx*8]
mov rdx, rsi
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x1401255da
mov edx, dword [rsi]
xor eax, eax
test edx, edx
je 0x1401255a2
mov r8, qword [r15 + rbx*8]
cmp qword [rsi + rax*8 + 8], r8
je 0x140125576
inc eax
cmp eax, edx
jb 0x140125550
jmp 0x1401255a2
mov rcx, qword [rsp + 0x20]
mov rax, qword [0x140212a88]
call qword [case.0x1400cc851.0]
xor r15d, r15d
jmp 0x1401255e6
lea ecx, [rdx - 1]
cmp eax, ecx
jae 0x14012559d
nop dword [rax]
mov edx, eax
lea r8d, [rax + 1]
mov rax, qword [rsi + r8*8 + 8]
mov qword [rsi + rdx*8 + 8], rax
mov eax, r8d
mov edx, dword [rsi]
lea ecx, [rdx - 1]
cmp r8d, ecx
jb 0x140125580
lea eax, [rdx - 1]
mov dword [rsi], eax
mov rdx, qword [r15 + rbx*8]
mov rcx, qword [r13 + 0xd8]
call fcn.1401278a0
test rax, rax
je 0x1401255f6
mov rcx, rax
call fcn.1401270e0
mov r8, rbp
mov rdx, rax
mov rcx, r13
cmp dword [rax + 0x10], 0
je 0x1401255d5
call 0x140125620
jmp 0x1401255da
call 0x140125820
inc rbx
cmp rbx, rdi
jb 0x140125530
mov rax, qword [0x140212a88]
mov rcx, r15
call qword [case.0x1400cc851.0]
mov r14, qword [rsp + 0x40]
mov r13, qword [rsp + 0x48]
mov r12, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov r15, qword [rsp + 0x38]
add rsp, 0x68
pop rsi
pop rbx
ret
mov rax, rsp
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbx
push rdi
sub rsp, 0x78
mov rbx, qword [rdx]
mov rdi, rdx
mov qword [rax - 0x38], 0x200
lea rdx, [rax - 0x38]
mov rcx, qword [rbx + 0x30]
call fcn.140127ae0
mov rcx, rax
test rax, rax
jne 0x14012566f
mov rdx, qword [rsp + 0xa0]
mov rcx, rdi
call fcn.140124860
add rsp, 0x78
pop rdi
pop rbx
ret
mov r10, qword [rdi + 8]
mov qword [rsp + 0x70], rbp
mov rbp, qword [rsp + 0x90]
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x60], r14
xor r14d, r14d
mov rax, qword [rbp + 0x110]
test rax, rax
je 0x1401256d1
mov rax, qword [rax + 0x18]
test rax, rax
je 0x1401256d1
mov rdx, qword [rbp + 0x118]
xor r9d, r9d
mov r8, qword [rsp + 0x50]
mov qword [rsp + 0x30], rdx
mov rdx, rcx
mov rcx, r10
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
call qword [case.0x1400cc851.0]
mov rsi, rax
jmp 0x1401256e8
mov r8d, dword [rsp + 0x50]
mov rdx, rcx
mov rcx, r10
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_recv]
movsxd rsi, eax
mov rcx, qword [rbx + 0x30]
test rsi, rsi
jg 0x14012572d
xor edx, edx
call fcn.140127ac0
cmp rsi, 0xffffffffffffffff
jne 0x140125718
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0xb
je 0x1401257f7
cmp eax, 0x2733
je 0x1401257f7
mov rdx, qword [rsp + 0xa0]
mov rcx, rdi
call fcn.140124860
jmp 0x1401257f7
mov rdx, rsi
call fcn.140127ac0
mov rcx, qword [rbx + 0x30]
mov word [rsp + 0x40], r14w
mov qword [rsp + 0x48], r14
call fcn.140128fc0
mov rcx, qword [rbx + 0x30]
lea rdx, [rsp + 0x40]
call fcn.140127db0
test eax, eax
jne 0x1401257ee
mov rsi, qword [rsp + 0xa0]
nop word [rax + rax]
movzx edx, word [rsp + 0x40]
mov rcx, qword [rbx + 0x30]
call fcn.140127b50
mov rcx, qword [rbx + 0x30]
test eax, eax
jne 0x1401257f2
lea rdx, [rsp + 0x48]
call fcn.140129010
test rax, rax
je 0x14012580d
mov r8, qword [rsp + 0x48]
lea rdx, [rax + 2]
sub r8, 2
mov qword [rsp + 0x28], rsi
mov r9, rdi
mov qword [rsp + 0x48], r8
mov rcx, rbp
mov dword [rsp + 0x20], 1
call fcn.140124ed0
mov rcx, qword [rbx + 0x30]
call fcn.140128fe0
mov rcx, qword [rbx + 0x30]
mov word [rsp + 0x40], r14w
mov qword [rsp + 0x48], r14
call fcn.140128fc0
mov rcx, qword [rbx + 0x30]
lea rdx, [rsp + 0x40]
call fcn.140127db0
test eax, eax
je 0x140125770
mov rcx, qword [rbx + 0x30]
call fcn.140129050
mov rsi, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
mov r14, qword [rsp + 0x60]
add rsp, 0x78
pop rdi
pop rbx
ret
mov rcx, qword [rbx + 0x30]
call fcn.140128fe0
jmp 0x1401257f7
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r14
push r15
mov eax, 0x1098
call fcn.1401340b0
sub rsp, rax
mov rax, qword [0x140212c80]
xor rax, rsp
mov qword [rsp + 0x1080], rax
mov rdi, qword [rsp + 0x10d8]
xor eax, eax
mov rsi, qword [rsp + 0x10d0]
xorps xmm0, xmm0
mov rbp, qword [rsp + 0x10e0]
xor r15d, r15d
movups xmmword [rsp + 0x48], xmm0
mov r14, qword [rdi + 8]
lea r12d, [rax + 0x1c]
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x60], eax
mov qword [rsp + 0x1090], rbx
mov r10, qword [rdi + 8]
cmp r10, 0xffffffffffffffff
jne 0x1401258a7
mov rbx, r10
jmp 0x140125944
mov rax, qword [rdi]
mov ecx, reloc.WS2_32.dll_recv
cmp dword [rax + 8], 2
mov rax, qword [rsi + 0x110]
cmovne ecx, r12d
mov dword [rsp + 0x40], ecx
test rax, rax
je 0x14012590f
mov r11, qword [rax + 0x18]
test r11, r11
je 0x14012590f
mov rax, qword [rsi + 0x118]
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x30], rax
xor r9d, r9d
lea rax, [rsp + 0x40]
mov r8d, 0x1001
mov qword [rsp + 0x28], rax
mov rcx, r10
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov rax, r11
call qword [case.0x1400cc851.0]
mov rbx, rax
jmp 0x14012593d
lea rax, [rsp + 0x40]
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x70]
lea rax, [rsp + 0x48]
mov r8d, 0x1001
mov rcx, r10
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_recvfrom]
movsxd rbx, eax
test rbx, rbx
je 0x14012595d
jns 0x140125979
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0xb
je 0x1401259db
cmp eax, 0x2733
jne 0x1401259d0
test rbx, rbx
js 0x1401259db
mov rcx, qword [rsi + 0xd8]
mov rdx, r14
call fcn.1401278a0
test rax, rax
jne 0x140125895
jmp 0x1401259db
mov rax, qword [rdi]
movzx ecx, word [rsp + 0x48]
mov edx, dword [rax + 8]
cmp ecx, edx
jne 0x14012595f
cmp edx, 2
je 0x1401259a8
cmp edx, 0x17
jne 0x14012595f
mov rcx, qword [rax + 0xc]
cmp rcx, qword [rsp + 0x50]
jne 0x14012595f
mov rcx, qword [rax + 0x14]
cmp rcx, qword [rsp + 0x58]
jmp 0x1401259af
mov ecx, dword [rax + 0xc]
cmp ecx, dword [rsp + 0x4c]
jne 0x14012595f
mov qword [rsp + 0x28], rbp
lea rdx, [rsp + 0x70]
mov r9, rdi
mov dword [rsp + 0x20], r15d
mov r8, rbx
mov rcx, rsi
call fcn.140124ed0
jmp 0x14012595f
mov rdx, rbp
mov rcx, rdi
call fcn.140124860
mov rbx, qword [rsp + 0x1090]
mov rcx, qword [rsp + 0x1080]
xor rcx, rsp
call fcn.140133600
add rsp, 0x1098
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
ret