Function at 0x140037ba0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x238
mov rax, qword [0x1401fc100]
xor rax, rsp
mov qword [rsp + 0x220], rax
call fcn.1400592e0
movzx eax, al
test eax, eax
je 0x1400382ef
mov dword [rsp + 0xe0], 1
mov dword [rsp + 0xe4], 8
mov rdx, qword [rsp + 0x258]
mov rcx, qword [rsp + 0x250]
call fcn.140056b90
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0x10
ja 0x140037e7b
xor edx, edx
mov rax, qword [rsp + 0x50]
mov ecx, 2
div rcx
mov dword [rsp + 0x28], eax
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x250]
lea rcx, [rsp + 0x1e0]
call fcn.1400039e5
nop
movdqa xmm0, xmmword [rsp + 0x1e0]
movdqa xmmword [rsp + 0x160], xmm0
movdqa xmm0, xmmword [rsp + 0x160]
movdqa xmmword [rsp + 0xb0], xmm0
mov rdx, qword [rsp + 0x248]
mov rcx, qword [rsp + 0x240]
call fcn.140056b90
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0x240]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0xa0]
and rax, 0xfffffffffffffff0
mov rdx, rax
lea rcx, [rsp + 0x98]
call fcn.1400343e0
nop
mov rax, qword [rsp + 0x98]
cmp qword [rsp + 0x240], rax
je 0x140037d80
mov rax, qword [rsp + 0x240]
movdqu xmm0, xmmword [rax]
movdqa xmmword [rsp + 0x170], xmm0
movdqa xmm0, xmmword [rsp + 0x170]
movdqa xmmword [rsp + 0xf0], xmm0
mov eax, dword [rsp + 0x28]
mov edx, 8
movdqa xmm0, xmmword [rsp + 0xb0]
pcmpestri xmm0, xmmword [rsp + 0xf0], 1
mov eax, 1
mov ecx, 0
cmovb ecx, eax
test ecx, ecx
je 0x140037d68
mov eax, dword [rsp + 0x28]
mov edx, 8
movdqa xmm0, xmmword [rsp + 0xb0]
pcmpestri xmm0, xmmword [rsp + 0xf0], 1
mov eax, ecx
mov dword [rsp + 0x60], eax
movsxd rax, dword [rsp + 0x60]
shl rax, 1
mov rdx, rax
lea rcx, [rsp + 0x240]
call fcn.1400343e0
mov rax, qword [rsp + 0x240]
jmp 0x140038314
mov edx, recvfrom
lea rcx, [rsp + 0x240]
call fcn.140034350
nop
jmp 0x140037cb5
mov rax, qword [rsp + 0xa0]
and rax, 0xf
mov qword [rsp + 0x68], rax
xor edx, edx
mov rax, qword [rsp + 0x68]
mov ecx, 2
div rcx
mov dword [rsp + 0x34], eax
mov r8, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x240]
lea rcx, [rsp + 0x1f0]
call fcn.1400039e5
nop
movdqa xmm0, xmmword [rsp + 0x1f0]
movdqa xmmword [rsp + 0x180], xmm0
movdqa xmm0, xmmword [rsp + 0x180]
movdqa xmmword [rsp + 0x100], xmm0
mov eax, dword [rsp + 0x28]
mov edx, dword [rsp + 0x34]
movdqa xmm0, xmmword [rsp + 0xb0]
pcmpestri xmm0, xmmword [rsp + 0x100], 1
mov eax, 1
mov ecx, 0
cmovb ecx, eax
test ecx, ecx
je 0x140037e57
mov eax, dword [rsp + 0x28]
mov edx, dword [rsp + 0x34]
movdqa xmm0, xmmword [rsp + 0xb0]
pcmpestri xmm0, xmmword [rsp + 0x100], 1
mov eax, ecx
mov dword [rsp + 0x64], eax
movsxd rax, dword [rsp + 0x64]
shl rax, 1
mov rdx, rax
lea rcx, [rsp + 0x240]
call fcn.1400343e0
mov rax, qword [rsp + 0x240]
jmp 0x140038314
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x240]
call fcn.1400343e0
mov rax, qword [rsp + 0x240]
jmp 0x140038314
mov rax, qword [rsp + 0x250]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x50]
and rax, 0xfffffffffffffff0
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.1400343e0
mov rax, qword [rsp + 0x50]
and rax, 0xf
mov dword [rsp + 0x38], eax
movsxd rax, dword [rsp + 0x38]
mov r8, rax
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x210]
call fcn.1400039e5
nop
movdqa xmm0, xmmword [rsp + 0x210]
movdqa xmmword [rsp + 0x1a0], xmm0
movdqa xmm0, xmmword [rsp + 0x1a0]
movdqa xmmword [rsp + 0x140], xmm0
movsxd rax, dword [rsp + 0x38]
xor edx, edx
mov ecx, 2
div rcx
mov dword [rsp + 0x48], eax
mov dword [rsp + 0xe8], setsockopt
mov dword [rsp + 0x20], setsockopt
mov rdx, qword [rsp + 0x248]
mov rcx, qword [rsp + 0x240]
call fcn.140056b90
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x240]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x88]
and rax, 0xfffffffffffffff0
mov rdx, rax
lea rcx, [rsp + 0x80]
call fcn.1400343e0
nop
mov rax, qword [rsp + 0x80]
cmp qword [rsp + 0x240], rax
je 0x14003811c
mov rax, qword [rsp + 0x240]
movdqu xmm0, xmmword [rax]
movdqa xmmword [rsp + 0x1b0], xmm0
movdqa xmm0, xmmword [rsp + 0x1b0]
movdqa xmmword [rsp + 0xc0], xmm0
mov rax, qword [rsp + 0x250]
mov qword [rsp + 0x70], rax
jmp 0x140037fb6
mov edx, recvfrom
lea rcx, [rsp + 0x70]
call fcn.140034350
nop
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x70], rax
je 0x140038054
mov rax, qword [rsp + 0x70]
movdqu xmm0, xmmword [rax]
movdqa xmmword [rsp + 0x1c0], xmm0
movdqa xmm0, xmmword [rsp + 0x1c0]
movdqa xmmword [rsp + 0x110], xmm0
mov eax, 8
mov edx, 8
movdqa xmm0, xmmword [rsp + 0x110]
pcmpestri xmm0, xmmword [rsp + 0xc0], 1
mov eax, 1
mov ecx, 0
cmovb ecx, eax
test ecx, ecx
je 0x14003804f
mov eax, 8
mov edx, 8
movdqa xmm0, xmmword [rsp + 0x110]
pcmpestri xmm0, xmmword [rsp + 0xc0], 1
mov eax, ecx
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x20]
cmp dword [rsp + 0x3c], eax
jge 0x14003804f
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x20], eax
jmp 0x140037fa6
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x2c], eax
cmp dword [rsp + 0x2c], 0
je 0x1400380d8
movdqa xmm0, xmmword [rsp + 0x140]
movdqa xmmword [rsp + 0x120], xmm0
mov eax, dword [rsp + 0x2c]
mov edx, 8
movdqa xmm0, xmmword [rsp + 0x120]
pcmpestri xmm0, xmmword [rsp + 0xc0], 1
mov eax, 1
mov ecx, 0
cmovb ecx, eax
test ecx, ecx
je 0x1400380d8
mov eax, dword [rsp + 0x2c]
mov edx, 8
movdqa xmm0, xmmword [rsp + 0x120]
pcmpestri xmm0, xmmword [rsp + 0xc0], 1
mov eax, ecx
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x20]
cmp dword [rsp + 0x40], eax
jge 0x1400380d8
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0x10
je 0x140038104
movsxd rax, dword [rsp + 0x20]
shl rax, 1
mov rdx, rax
lea rcx, [rsp + 0x240]
call fcn.1400343e0
mov rax, qword [rsp + 0x240]
jmp 0x140038314
mov edx, recvfrom
lea rcx, [rsp + 0x240]
call fcn.140034350
nop
jmp 0x140037f5a
mov rax, qword [rsp + 0x88]
and rax, 0xf
mov qword [rsp + 0x90], rax
xor edx, edx
mov rax, qword [rsp + 0x90]
mov ecx, 2
div rcx
mov dword [rsp + 0x24], eax
mov r8, qword [rsp + 0x90]
mov rdx, qword [rsp + 0x240]
lea rcx, [rsp + 0x200]
call fcn.1400039e5
nop
movdqa xmm0, xmmword [rsp + 0x200]
movdqa xmmword [rsp + 0x1d0], xmm0
movdqa xmm0, xmmword [rsp + 0x1d0]
movdqa xmmword [rsp + 0xd0], xmm0
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x250]
mov qword [rsp + 0x78], rax
jmp 0x1400381af
mov edx, recvfrom
lea rcx, [rsp + 0x78]
call fcn.140034350
nop
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x78], rax
je 0x14003824b
mov rax, qword [rsp + 0x78]
movdqu xmm0, xmmword [rax]
movdqa xmmword [rsp + 0x190], xmm0
movdqa xmm0, xmmword [rsp + 0x190]
movdqa xmmword [rsp + 0x130], xmm0
mov eax, 8
mov edx, dword [rsp + 0x24]
movdqa xmm0, xmmword [rsp + 0x130]
pcmpestri xmm0, xmmword [rsp + 0xd0], 1
mov eax, 1
mov ecx, 0
cmovb ecx, eax
test ecx, ecx
je 0x140038246
mov eax, 8
mov edx, dword [rsp + 0x24]
movdqa xmm0, xmmword [rsp + 0x130]
pcmpestri xmm0, xmmword [rsp + 0xd0], 1
mov eax, ecx
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x20]
cmp dword [rsp + 0x44], eax
jge 0x140038246
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x20], eax
jmp 0x14003819f
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x1400382cd
movdqa xmm0, xmmword [rsp + 0x140]
movdqa xmmword [rsp + 0x150], xmm0
mov eax, dword [rsp + 0x30]
mov edx, dword [rsp + 0x24]
movdqa xmm0, xmmword [rsp + 0x150]
pcmpestri xmm0, xmmword [rsp + 0xd0], 1
mov eax, 1
mov ecx, 0
cmovb ecx, eax
test ecx, ecx
je 0x1400382cd
mov eax, dword [rsp + 0x30]
mov edx, dword [rsp + 0x24]
movdqa xmm0, xmmword [rsp + 0x150]
pcmpestri xmm0, xmmword [rsp + 0xd0], 1
mov eax, ecx
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x20]
cmp dword [rsp + 0x4c], eax
jge 0x1400382cd
mov eax, dword [rsp + 0x4c]
mov dword [rsp + 0x20], eax
movsxd rax, dword [rsp + 0x20]
shl rax, 1
mov rdx, rax
lea rcx, [rsp + 0x240]
call fcn.1400343e0
mov rax, qword [rsp + 0x240]
jmp 0x140038314
mov r9, qword [rsp + 0x258]
mov r8, qword [rsp + 0x250]
mov rdx, qword [rsp + 0x248]
mov rcx, qword [rsp + 0x240]
call fcn.140034d80
mov rcx, qword [rsp + 0x220]
xor rcx, rsp
call fcn.1400039c2
add rsp, 0x238
ret