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

Disassembly:
push rbx
push rbp
push rdi
push r12
push r13
mov eax, 0x10090
call fcn.03229130
sub rsp, rax
mov rax, qword [0x03260b88]
xor rax, rsp
mov qword [rsp + 0x10070], rax
mov rax, qword [rcx + 8]
xorps xmm0, xmm0
mov r12, rcx
mov qword [rsp + 0x20], rdx
mov rcx, qword [rcx + 0x28]
xor ebx, ebx
movups xmmword [rsp + 0x48], xmm0
xor r13d, r13d
mov rbp, rdx
movups xmmword [rsp + 0x58], xmm0
mov rdi, qword [rax + 0x60]
call fcn.0320d3d0
mov eax, 1
nop word [rax + rax]
test rax, rax
je 0x320b63b
mov rcx, qword [rdi]
lea rdx, [rsp + 0x48]
mov r8d, 0x20
mov eax, ebx
sub r8d, ebx
add rdx, rax
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x320b623
add ebx, eax
cmp ebx, 0x20
jne 0x320b5f5
xor eax, eax
jmp 0x320b5f0
mov ecx, 0x490
call qword [sym.imp.KERNEL32.dll_SetLastError]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x320b869
mov qword [rsp + 0x100d0], rsi
mov qword [rsp + 0x10088], r14
mov qword [rsp + 0x10080], r15
cmp ebx, 0x20
jne 0x320b83c
cmp byte [rsp + 0x4b], r13b
jne 0x320b6e9
mov ebx, dword [rsp + 0x48]
add ebx, 0xffffffe4
test ebx, ebx
jle 0x320b6c1
mov r14d, 0xffff
nop dword [rax + rax]
mov rcx, qword [rdi]
lea rdx, [rsp + 0x70]
mov esi, ebx
cmp rsi, r14
mov r8d, ebx
cmova r8, r14
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_recv]
test eax, eax
jns 0x320b6d2
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2733
je 0x320b6d4
mov ecx, 0x490
call qword [sym.imp.KERNEL32.dll_SetLastError]
test ebx, ebx
jne 0x320b83c
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov qword [rbp], r13
jmp 0x320b83c
sub ebx, eax
test ebx, ebx
jg 0x320b680
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov qword [rbp], r13
jmp 0x320b83c
movups xmm0, xmmword [rsp + 0x48]
mov r8d, 0x1c
lea rdx, [rsp + 0x4c]
lea rcx, [rsp + 0x48]
movups xmmword [rsp + 0x28], xmm0
movups xmm0, xmmword [rsp + 0x58]
movups xmmword [rsp + 0x38], xmm0
call fcn.03207410
mov ecx, dword [rsp + 0x60]
call qword [sym.imp.WS2_32.dll_ntohl]
lea ebx, [rax - 8]
lea r15d, [rbx + 0x20]
mov ecx, r15d
call fcn.0322fc58
mov r13, rax
test rax, rax
jne 0x320b749
lea ecx, [rax + 8]
call qword [sym.imp.KERNEL32.dll_SetLastError]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x320b851
lea r14, [rax + 0x20]
movups xmm0, xmmword [rsp + 0x28]
movups xmm1, xmmword [rsp + 0x38]
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm1
test ebx, ebx
je 0x320b7c4
mov ebp, ebx
nop dword [rax]
nop dword [rax + rax]
mov rcx, qword [rdi]
mov rdx, rbp
mov eax, ebx
xor r9d, r9d
sub rdx, rax
mov r8d, ebx
add rdx, r14
call qword [sym.imp.WS2_32.dll_recv]
mov esi, eax
test eax, eax
jg 0x320b7b9
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2733
je 0x320b7bb
test esi, esi
jns 0x320b7ac
mov ecx, 0x490
call qword [sym.imp.KERNEL32.dll_SetLastError]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x320b849
sub ebx, esi
test ebx, ebx
jne 0x320b770
mov rbp, qword [rsp + 0x20]
lea rcx, [rsp + 0x4c]
call fcn.03207290
test eax, eax
jne 0x320b823
mov rcx, qword [r12 + 0x20]
mov rax, qword [rcx + 0x20]
cmp rax, qword [rsp + 0x4c]
jne 0x320b7ed
mov rax, qword [rcx + 0x28]
cmp rax, qword [rsp + 0x54]
je 0x320b823
mov rcx, qword [r12 + 0x90]
lea rdx, [rsp + 0x4c]
call fcn.03208590
test rax, rax
je 0x320b83c
mov r8d, r15d
mov rdx, r13
mov rcx, rax
call fcn.03208380
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor r13d, r13d
mov qword [rbp], r13
jmp 0x320b83c
mov r9d, r15d
mov r8, r13
mov rdx, rbp
mov rcx, r12
call fcn.032078b0
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test r13, r13
je 0x320b851
mov rcx, r13
call fcn.0322fc44
mov r14, qword [rsp + 0x10088]
mov rsi, qword [rsp + 0x100d0]
mov r15, qword [rsp + 0x10080]
mov rcx, qword [r12 + 0x28]
call fcn.0320d460
mov eax, ebx
mov rcx, qword [rsp + 0x10070]
xor rcx, rsp
call fcn.03229100
add rsp, 0x10090
pop r13
pop r12
pop rdi
pop rbp
pop rbx
ret