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

Disassembly:
mov r11, rsp
push rbp
push rdi
sub rsp, 0x88
mov rax, qword [0x140147140]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rbp, qword [0x140147ef0]
mov rdi, rbp
mov eax, dword [rbp + 0x3f60]
cmp dword [rbp + 0x3f64], eax
je 0x14003873d
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
xor esi, esi
mov ebx, esi
mov qword [r11 + 0x18], r12
mov qword [r11 + 0x20], r14
mov qword [r11 - 0x18], r15
movaps xmmword [rsp + 0x70], xmm6
cmp dword [rbp + 0x55b0], esi
jle 0x140038034
mov ebp, esi
nop
mov rax, qword [rdi + 0x55b8]
cmp dword [rax + rbp + 4], 2
jne 0x14003801f
movsxd rdx, ebx
mov rcx, rdi
shl rdx, 5
add rdx, rax
call qword [rax + rbp + reloc.WS2_32.dll_recv]
inc ebx
add rbp, 0x20
cmp ebx, dword [rdi + 0x55b0]
jl 0x140038000
mov rbp, qword [0x140147ef0]
cmp dword [rbp + 0x3fb0], 2
jl 0x140038055
nop dword [rax]
call fcn.140037890
cmp dword [rbp + 0x3fb0], 1
jg 0x140038040
mov rbp, qword [0x140147ef0]
mov r14, qword [rdi + 0xc8]
test r14, r14
je 0x1400380a8
mov rax, qword [rdi + 0x5508]
cmp rax, qword [rdi + 0x5518]
jne 0x140038081
mov rax, qword [rdi + 0x5510]
cmp rax, qword [rdi + 0x5520]
je 0x1400380a8
mov ecx, dword [rdi + 0x5528]
call fcn.140039830
test rax, rax
jne 0x14003809b
mov rax, qword [rbp + 0x4210]
mov rax, qword [rax]
lea rdx, [rdi + 0x5508]
mov rcx, rax
call r14
mov rax, qword [rdi + 0x3fe0]
mov byte [rdi + 0x3f71], sil
test rax, rax
je 0x1400380cb
cmp byte [rax + 0xcd], sil
jne 0x1400380cb
mov byte [rax + 0xcb], sil
call fcn.140037890
mov rcx, qword [0x140147ef0]
mov rbx, rcx
cmp qword [rcx + 0x43d0], rsi
je 0x1400380ef
call fcn.140040a80
mov rcx, qword [0x140147ef0]
cmp qword [rbx + 0x4268], rsi
je 0x14003812b
cmp byte [rcx + 0x42c5], sil
je 0x14003812b
cmp dword [rcx + 0x4318], esi
jne 0x14003812b
cmp dword [rcx + 0x4378], esi
jne 0x14003812b
mov eax, dword [rbx + 0x42c8]
test al, 0xf
je 0x14003812b
test al, al
js 0x14003812b
call fcn.14003fbd0
mov rcx, qword [0x140147ef0]
mov r14d, esi
xorps xmm6, xmm6
cmp dword [rdi + 0x5530], esi
jle 0x1400382af
movaps xmmword [rsp + 0x60], xmm7
mov r15, rsi
movss xmm7, dword [0x1400f483c]
nop dword [rax]
mov rax, qword [rdi + 0x5538]
mov rbp, qword [rax + r15 + 8]
test rbp, rbp
je 0x140038296
mov eax, dword [rdi + 0x3f60]
cmp dword [rbp + 0xb0], eax
jne 0x140038296
movzx eax, byte [rbp + 0xc8]
test al, 1
je 0x140038296
mov rdx, qword [rbp + 0x88]
test rdx, rdx
je 0x140038296
cmp qword [rbp + 0x20], rsi
jne 0x140038296
test al, 4
jne 0x140038296
movss xmm0, dword [rcx + 0x3948]
movss xmm3, dword [rbp + 0x48]
addss xmm0, xmm0
movss xmm1, dword [rbp + 0x4c]
movaps xmm4, xmm3
addss xmm4, dword [rbp + 0x50]
movaps xmm2, xmm1
addss xmm3, xmm6
addss xmm2, dword [rbp + 0x54]
addss xmm0, dword [rcx + 0x3d50]
lea rcx, [rsp + 0x40]
movss dword [rsp + 0x48], xmm4
movss dword [rsp + 0x40], xmm3
movss dword [rsp + 0x4c], xmm2
addss xmm0, xmm1
movss dword [rsp + 0x44], xmm0
movss xmm2, dword [rdx + 0x4c]
movss xmm0, dword [rdx + 0x48]
movaps xmm3, xmm2
addss xmm3, dword [rdx + 0x54]
movaps xmm1, xmm0
addss xmm1, dword [rdx + 0x50]
movss dword [rsp + 0x34], xmm2
lea rdx, [rsp + 0x30]
movaps xmm2, xmm7
movss dword [rsp + 0x30], xmm0
movss dword [rsp + 0x3c], xmm3
movss dword [rsp + 0x38], xmm1
call fcn.140051780
mov rcx, qword [rbp + 0x88]
xor r8d, r8d
mov ebx, eax
mov rdx, qword [rcx + 0x2c0]
lea rcx, [rdx + 0xa8]
call fcn.140056c00
mov rcx, qword [rbp + 0x88]
lea r8, [rsp + 0x48]
mov r9d, dword [rbp + 0x80]
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x28], ebx
movss xmm0, dword [rcx + 0x80]
mov rcx, qword [rcx + 0x2c0]
movss dword [rsp + 0x20], xmm0
call fcn.140050ee0
mov rcx, qword [0x140147ef0]
inc r14d
add r15, 0x10
cmp r14d, dword [rdi + 0x5530]
jl 0x140038150
movaps xmm7, xmmword [rsp + 0x60]
cmp qword [rcx + 0x4220], rsi
je 0x1400382d0
mov dword [rcx + 0x4218], 0x3f800000
mov qword [rcx + 0x4220], rsi
mov rcx, qword [0x140147ef0]
cmp byte [rdi + 0x43fc], sil
je 0x140038355
mov eax, dword [rdi + 0x4424]
inc eax
cmp eax, dword [rdi + 0x3f60]
jge 0x140038307
test byte [rdi + 0x4400], 0x20
jne 0x140038303
movsxd rax, dword [rdi + 0x4408]
cmp byte [rax + rcx + 0xda4], sil
jne 0x140038307
mov al, 1
jmp 0x140038309
xor al, al
cmp byte [rdi + 0x444a], sil
jne 0x140038316
test al, al
je 0x14003831b
call fcn.14002e9d0
cmp byte [rdi + 0x43fc], sil
je 0x140038355
mov eax, dword [rdi + 0x3f60]
cmp dword [rdi + 0x4404], eax
jge 0x140038355
test byte [rdi + 0x4400], 1
jne 0x140038355
lea rcx, [0x1400f3cd0]
mov byte [rdi + 0x43fd], 1
call fcn.140047800
mov byte [rdi + 0x43fd], sil
mov eax, dword [rdi + 0x3f60]
mov dword [rdi + 0x3f64], eax
mov byte [rdi + 0x3f70], sil
mov rbx, qword [0x140147ef0]
cmp dword [rbx + 0x4034], esi
jne 0x140038496
cmp dword [rbx + 0x4020], esi
jne 0x140038496
mov r14, qword [rbx + 0x4268]
test r14, r14
je 0x1400383a0
cmp byte [r14 + 0xd1], sil
jne 0x140038496
cmp byte [rbx + 0x36c0], sil
je 0x140038458
mov r15, qword [rbx + 0x3fe8]
test r15, r15
je 0x1400383e4
mov rbp, qword [r15 + 0x3a0]
test rbp, rbp
je 0x140038442
test dword [rbp + 0xc], 0x4000000
je 0x1400383e7
mov ecx, dword [rbp + 0xe0]
mov edx, 0x100
call fcn.14003c340
test al, al
jne 0x1400383e7
jmp 0x140038458
mov rbp, rsi
test rbp, rbp
je 0x140038442
mov rcx, r15
call fcn.140048530
cmp byte [rbx + 0x7e], sil
je 0x140038430
test byte [rbp + 0xc], 1
je 0x140038409
test byte [rbp + 0x401], 1
je 0x140038430
lea rdx, [rsp + 0x30]
mov rcx, rbp
call fcn.140048830
lea rdx, [rbx + 0x366c]
mov rcx, rax
call fcn.14002ee80
test al, al
jne 0x140038430
mov qword [rbx + 0x4000], rsi
cmp byte [rbx + 0x402b], sil
je 0x140038458
mov qword [rbx + 0x4000], rsi
jmp 0x140038458
test r14, r14
je 0x140038458
call fcn.14003ab60
test rax, rax
jne 0x140038458
xor ecx, ecx
call fcn.140039b50
cmp byte [rbx + 0x36c1], sil
je 0x140038496
call fcn.14003ab60
mov rbx, qword [rbx + 0x3fe8]
mov rbp, rax
test rbx, rbx
je 0x140038489
test rax, rax
je 0x14003848c
mov rdx, rax
mov rcx, rbx
call fcn.14003c3c0
test al, al
jne 0x14003848c
mov rbx, rbp
mov dl, 1
mov rcx, rbx
call fcn.14002ecc0
mov r15, qword [0x140147ef0]
lea r14, [r15 + 0x38d8]
mov ecx, dword [r14 + 4]
test ecx, ecx
jns 0x1400384c4
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
mov rcx, r14
test eax, eax
cmovg edx, eax
call fcn.14004dc80
mov dword [r14], esi
mov r12d, esi
cmp dword [r15 + 0x4208], esi
jle 0x140038586
mov rbp, rsi
nop word [rax + rax]
mov rax, qword [r15 + 0x4210]
mov rbx, qword [rax + rbp*8]
movsd xmm0, qword [rbx + 8]
movsd qword [rbx + 0x70], xmm0
mov eax, dword [r15 + 0x3f60]
cmp dword [rbx + 0x64], eax
jl 0x14003850d
comiss xmm6, dword [rbx + 0x10]
jae 0x14003850d
comiss xmm6, dword [rbx + 0x14]
jb 0x140038512
test rbp, rbp
jg 0x140038573
mov rax, qword [rbx + 0x88]
test rax, rax
je 0x140038530
cmp byte [rax + 0xcb], sil
je 0x140038573
cmp byte [rax + 0xd2], sil
jne 0x140038573
mov r8d, dword [r14]
mov ecx, dword [r14 + 4]
cmp r8d, ecx
jne 0x140038565
inc r8d
test ecx, ecx
je 0x14003854e
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x140038553
mov eax, 8
cmp eax, r8d
mov rcx, r14
cmovg r8d, eax
mov edx, r8d
call fcn.14004dc80
movsxd rcx, dword [r14]
mov rax, qword [r14 + 8]
mov qword [rax + rcx*8], rbx
inc dword [r14]
inc r12d
inc rbp
cmp r12d, dword [r15 + 0x4208]
jl 0x1400384e0
mov rax, qword [r15 + 0x4210]
movaps xmm6, xmmword [rsp + 0x70]
mov r15, qword [rsp + 0x80]
mov r12, qword [rsp + 0xb0]
mov rcx, qword [rax]
mov word [rcx + 0x58], si
mov byte [rcx + 0x5a], sil
mov ecx, dword [rdi + 0x3fa4]
test ecx, ecx
jns 0x1400385d3
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x3fa0]
test eax, eax
cmovg edx, eax
call fcn.14004dc80
mov dword [rdi + 0x3fa0], esi
lea rcx, [rdi + 0x3fa0]
mov edx, dword [rdi + 0x3f80]
call fcn.14004dc80
mov ecx, dword [rdi + 0x3f80]
mov ebp, esi
test ecx, ecx
je 0x140038639
mov rbx, rsi
nop word [rax + rax]
mov rax, qword [rdi + 0x3f88]
mov rdx, qword [rbx + rax]
cmp byte [rdx + 0xcb], sil
je 0x14003861d
test dword [rdx + 0xc], 0x1000000
jne 0x140038629
lea rcx, [rdi + 0x3fa0]
call fcn.1400296a0
mov ecx, dword [rdi + 0x3f80]
inc ebp
add rbx, 8
cmp ebp, ecx
jne 0x140038600
mov eax, dword [rdi + 0x3fa0]
mov r14, qword [rsp + 0xb8]
mov dword [rdi + 0x3f80], eax
mov eax, dword [rdi + 0x3f84]
mov dword [rdi + 0x3fa0], ecx
mov ecx, dword [rdi + 0x3fa4]
mov dword [rdi + 0x3fa4], eax
mov rax, qword [rdi + 0x3f88]
mov dword [rdi + 0x3f84], ecx
mov rcx, qword [rdi + 0x3fa8]
mov qword [rdi + 0x3fa8], rax
mov eax, dword [rdi + 0x3fd0]
mov dword [rdi + 0xf0], eax
mov rax, qword [rdi + 0x50]
mov qword [rdi + 0x3f88], rcx
mov byte [rax + 0x18], sil
mov qword [rdi + 0xdac], rsi
mov ecx, dword [rdi + 0x3804]
test ecx, ecx
jns 0x1400386c8
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x3800]
test eax, eax
cmovg edx, eax
call fcn.14004db40
mov dword [rdi + 0x3800], esi
xorps xmm0, xmm0
movups xmmword [rdi + 0xdbc], xmm0
movups xmmword [rdi + 0xdcc], xmm0
movups xmmword [rdi + 0xddc], xmm0
movups xmmword [rdi + 0xdec], xmm0
movups xmmword [rdi + 0xdfc], xmm0
cmp dword [rdi + 0x55b0], esi
jle 0x14003872d
mov rbx, rsi
nop
mov rax, qword [rdi + 0x55b8]
cmp dword [rax + rbx + 4], 3
jne 0x14003871f
movsxd rdx, esi
mov rcx, rdi
shl rdx, 5
add rdx, rax
call qword [rax + rbx + reloc.WS2_32.dll_recv]
inc esi
add rbx, 0x20
cmp esi, dword [rdi + 0x55b0]
jl 0x140038700
mov rbx, qword [rsp + 0xa0]
mov rsi, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400edb20
add rsp, 0x88
pop rdi
pop rbp
ret