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

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], rbx
push rsi
push rdi
push r14
sub rsp, 0x50
mov rbx, qword [0x141281328]
xor r14d, r14d
mov qword [rax + 0x10], rbp
mov edi, r14d
mov qword [rax + 0x18], r15
xor bpl, bpl
movaps xmmword [rax - 0x28], xmm6
movsxd rax, dword [rbx + 0x1dd0]
test eax, eax
jle 0x140084680
mov r8, qword [rbx + 0x1dd8]
lea rdx, [rax - 1]
lea rcx, [rdx + rdx*2]
add r8, 8
shl rcx, 4
add r8, rcx
mov r9, qword [r8]
test r9, r9
je 0x140084676
test dword [r9 + 0x1c], 0x8000000
jne 0x1400846fc
sub r8, 0x30
sub rdx, 1
jns 0x140084660
mov r10, qword [rbx + 0x1f30]
mov r9, r14
xorps xmm6, xmm6
cmp qword [rbx + 0x1f38], rdi
je 0x1400846d5
test r10, r10
jne 0x1400846d5
comiss xmm6, dword [rbx + 0x1f7c]
movss xmm1, dword [rbx + 0x1f4c]
movss xmm0, dword [rbx + 0x18]
mulss xmm0, dword [0x140cc4088]
subss xmm1, xmm0
maxss xmm1, xmm6
movss dword [rbx + 0x1f4c], xmm1
jb 0x1400846d5
comiss xmm6, xmm1
jb 0x1400846d5
mov qword [rbx + 0x1f38], r14
mov r15d, 1
test r9, r9
jne 0x140084708
test r10, r10
jne 0x140084708
mov edx, r15d
lea ecx, [r15 + 2]
call fcn.140082430
comiss xmm0, xmm6
jbe 0x140084708
movzx r8d, dl
jmp 0x140084715
mov qword [rbx + 0x1f30], r14
mov r10, r14
jmp 0x14008468a
xor r8b, r8b
test r9, r9
jne 0x14008473a
test r10, r10
jne 0x14008473a
cmp byte [rbx + 0x140], dil
je 0x14008473a
mov ecx, dword [rbx + 0x3c]
test ecx, ecx
js 0x14008473a
call fcn.140079bd0
test al, al
je 0x14008473a
test byte [rbx + 8], r15b
je 0x14008473a
movzx r9d, r15b
jmp 0x14008473d
xor r9b, r9b
test r8b, r8b
jne 0x14008474b
test r9b, r9b
je 0x1400847f4
mov rax, qword [rbx + 0x1e00]
test rax, rax
jne 0x1400847c2
mov r8d, dword [rbx + 0x1bc0]
sub r8d, r15d
js 0x1400847f4
movsxd r10, dword [rbx + 0x1bc0]
movsxd rcx, r8d
cmp rcx, r10
jge 0x1400847f4
cmp rcx, 0xffffffff80000001
je 0x1400847f4
mov rax, qword [rbx + 0x1bc8]
mov rdx, qword [rax + rcx*8]
cmp byte [rdx + 0x9f], dil
je 0x1400847a5
cmp rdx, qword [rdx + 0x3a8]
jne 0x1400847a5
test dword [rdx + 0x1c], 0x80000
je 0x1400847af
dec r8d
sub rcx, r15
jns 0x140084771
jmp 0x1400847f4
mov rax, qword [rbx + 0x1bc8]
movsxd rcx, r8d
mov rax, qword [rax + rcx*8]
test rax, rax
je 0x1400847f4
mov rax, qword [rax + 0x3a8]
xor r9b, r15b
mov qword [rbx + 0x1f38], rax
mov qword [rbx + 0x1f30], rax
movzx eax, r9b
mov byte [rbx + 0x1f50], al
add eax, 2
mov dword [rbx + 0x1e34], eax
mov qword [rbx + 0x1f48], r14
movss xmm0, dword [rbx + 0x1f48]
mov r10, qword [rbx + 0x1f30]
movss xmm5, dword [0x140cc3f74]
mov r8, r10
movaps xmmword [rsp + 0x30], xmm7
addss xmm0, dword [rbx + 0x18]
movss dword [rbx + 0x1f48], xmm0
test r10, r10
je 0x1400848f4
cmp dword [rbx + 0x1e34], 3
jne 0x1400848f4
subss xmm0, dword [0x140cc3f0c]
divss xmm0, dword [0x140cc3eec]
comiss xmm6, xmm0
jbe 0x140084850
movaps xmm1, xmm6
jmp 0x140084857
movaps xmm1, xmm5
minss xmm1, xmm0
movss xmm7, dword [rbx + 0x1f4c]
mov edx, 4
maxss xmm7, xmm1
lea ecx, [rdx + 9]
movss dword [rbx + 0x1f4c], xmm7
call fcn.140082430
comiss xmm0, xmm6
mov r9d, r14d
lea ecx, [rdx + 8]
seta r9b
call fcn.140082430
comiss xmm0, xmm6
mov ecx, r14d
mov r8, r10
seta cl
sub ecx, r9d
je 0x1400848b4
call fcn.1400844c0
mov r8, qword [rbx + 0x1f30]
movaps xmm7, xmm5
mov dword [rbx + 0x1f4c], 0x3f800000
movss xmm0, dword [rbx + 0x350]
comiss xmm0, xmm6
ja 0x1400848f4
comiss xmm5, xmm7
seta al
and byte [rbx + 0x1f50], al
je 0x1400848e8
cmp qword [rbx + 0x1e00], rdi
je 0x1400848eb
movzx ebp, r15b
mov qword [rbx + 0x1f30], r14
jmp 0x140084973
mov rdi, r8
mov qword [rbx + 0x1f30], r14
jmp 0x140084973
test r8, r8
je 0x140084973
cmp dword [rbx + 0x1e34], 2
jne 0x140084973
movss xmm0, dword [rbx + 0x1f48]
subss xmm0, dword [0x140cc3f0c]
divss xmm0, dword [0x140cc3eec]
comiss xmm6, xmm0
jbe 0x140084924
movaps xmm5, xmm6
jmp 0x140084928
minss xmm5, xmm0
movss xmm0, dword [rbx + 0x1f4c]
maxss xmm0, xmm5
movss dword [rbx + 0x1f4c], xmm0
mov ecx, dword [rbx + 0x3c]
test ecx, ecx
js 0x140084968
call fcn.140079bd0
test al, al
je 0x140084968
cmp byte [rbx + 0x141], dil
mov ecx, 0xffffffff
cmovne ecx, r15d
call fcn.1400844c0
mov r8, qword [rbx + 0x1f30]
cmp byte [rbx + 0x140], dil
cmove rdi, r8
mov edx, r15d
mov ecx, reloc.WS2_32.dll_recv
call fcn.140082430
comiss xmm0, xmm6
movaps xmm7, xmmword [rsp + 0x30]
jbe 0x140084990
mov byte [rbx + 0x1f50], dl
cmp dword [rbx + 0x1c94], r14d
je 0x1400849a6
cmp byte [rbx + 0x1ca1], r14b
je 0x140084a33
cmp byte [rbx + 0x1f50], r14b
je 0x140084a33
mov edx, 2
lea ecx, [rdx + 0xe]
call fcn.140082430
comiss xmm0, xmm6
jbe 0x140084a33
lea rax, [rbx + 0x128]
test rax, rax
jne 0x1400849d8
lea rax, [rbx + 0x128]
movss xmm0, dword [rax]
movss xmm1, dword [0x140cc42bc]
comiss xmm0, xmm1
movss xmm2, dword [rax + 4]
jb 0x1400849f9
comiss xmm2, xmm1
jb 0x1400849f9
movzx ecx, r15b
jmp 0x1400849fb
xor cl, cl
lea rax, [rbx + 0x3c4]
test rax, rax
jne 0x140084a0e
lea rax, [rbx + 0x128]
movss xmm0, dword [rax]
comiss xmm0, xmm1
movss xmm2, dword [rax + 4]
jb 0x140084a27
comiss xmm2, xmm1
jb 0x140084a27
movzx eax, r15b
jmp 0x140084a29
xor al, al
cmp cl, al
movzx ebp, bpl
cmove ebp, r15d
mov rsi, qword [rbx + 0x1f30]
test rsi, rsi
je 0x140084b27
test byte [rsi + 0x1c], 4
jne 0x140084b27
mov eax, dword [rbx + 0x1e34]
cmp eax, 2
jne 0x140084a6a
cmp byte [rbx + 0x141], r14b
jne 0x140084b27
mov edx, r15d
jmp 0x140084a76
cmp eax, 3
jne 0x140084b27
lea edx, [rax + 1]
movaps xmm3, xmm6
movss dword [rsp + 0x20], xmm6
xor r8d, r8d
lea rcx, [rsp + 0x70]
call fcn.1400825b0
movss xmm3, dword [rax]
ucomiss xmm3, xmm6
movss xmm4, dword [rax + 4]
jp 0x140084aa7
jne 0x140084aa7
ucomiss xmm4, xmm6
jp 0x140084aa7
je 0x140084b27
movss xmm1, dword [rbx + 0xc0]
lea rdx, [rsp + 0x70]
movss xmm0, dword [rbx + 0x18]
mov r8d, r15d
minss xmm1, dword [rbx + 0xc4]
mov rcx, qword [rsi + 0x3a8]
mulss xmm0, dword [0x140cc4210]
mulss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm2, eax
cvtdq2ps xmm2, xmm2
mulss xmm3, xmm2
mulss xmm4, xmm2
addss xmm3, dword [rcx + 0x20]
addss xmm4, dword [rcx + 0x24]
movss dword [rsp + 0x70], xmm3
movss dword [rsp + 0x74], xmm4
call fcn.14007f3d0
test dword [rcx + 0x1c], 0x100
jne 0x140084b20
comiss xmm6, dword [rbx + 0x3064]
jb 0x140084b20
mov eax, dword [rbx + 0x1c]
mov dword [rbx + 0x3064], eax
mov byte [rbx + 0x1e57], r15b
movaps xmm6, xmmword [rsp + 0x40]
test rdi, rdi
je 0x140084c05
mov rax, qword [rbx + 0x1e00]
test rax, rax
je 0x140084b4e
cmp rdi, qword [rax + 0x3a8]
je 0x140084bfe
call fcn.140076170
mov word [rbx + 0x1e56], 0x100
mov rax, qword [rdi + 0x3c0]
test rax, rax
je 0x140084b73
cmp byte [rax + 0x9f], r14b
cmovne rdi, rax
xor edx, edx
mov rcx, rdi
call fcn.140080d90
mov rcx, rdi
call fcn.14007ee50
cmp dword [rdi + 0x3c8], r14d
jne 0x140084bee
mov eax, dword [rdi + 0x1c]
mov rdx, qword [0x141281328]
mov qword [rdx + 0x1e08], r14
and eax, 0x40000
jne 0x140084bee
movsxd rcx, dword [rdx + 0x1e4c]
xorps xmm0, xmm0
mov rax, qword [rdx + 0x1e00]
mov dword [rax + rcx*4 + 0x3c8], r14d
add rcx, 0x3d
mov rax, qword [rdx + 0x1e00]
add rcx, rcx
movups xmmword [rax + rcx*8], xmm0
mov word [rdx + 0x1e59], r15w
mov dword [rdx + 0x1e5c], r14d
movups xmmword [rdx + 0x1e60], xmm0
mov byte [rdx + 0x1e58], r15b
cmp dword [rdi + 0x160], 2
jne 0x140084bfe
mov dword [rbx + 0x1e4c], r15d
mov qword [rbx + 0x1f30], r14
mov r15, qword [rsp + 0x80]
test bpl, bpl
mov rbp, qword [rsp + 0x78]
je 0x140084cb3
mov rsi, qword [rbx + 0x1e00]
test rsi, rsi
je 0x140084cb3
lea rcx, [rsi + 0x3a0]
mov rdi, rsi
cmp qword [rcx], r14
je 0x140084c67
nop word [rax + rax]
test byte [rdi + 0x160], 2
jne 0x140084c67
mov eax, dword [rdi + 0x1c]
and eax, 0x15000000
cmp eax, 0x1000000
jne 0x140084c67
mov rdi, qword [rcx]
lea rcx, [rdi + 0x3a0]
cmp qword [rcx], r14
jne 0x140084c40
cmp rdi, rsi
je 0x140084c82
mov rcx, rdi
call fcn.14007ee50
mov qword [rdi + 0x3c0], rsi
mov rsi, qword [rbx + 0x1e00]
mov word [rbx + 0x1e56], 0x100
test byte [rsi + 0x160], 2
je 0x140084cab
mov ecx, dword [rbx + 0x1e4c]
xor ecx, 1
cmp ecx, 1
jne 0x140084cae
mov dword [rsi + 0x3cc], r14d
jmp 0x140084cae
mov ecx, r14d
call fcn.140082200
mov rbx, qword [rsp + 0x88]
add rsp, 0x50
pop r14
pop rdi
pop rsi
ret