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

Disassembly:
mov qword [rsp + 8], rcx
push r14
sub rsp, 0xa0
cmp dword [rcx + 0x37f90], 0
mov r14, rcx
jne 0x140169e99
mov eax, 1
add rsp, 0xa0
pop r14
ret
cmp dword [rcx + 0x380c8], 0
je 0x140169e8a
mov qword [rsp + 0x98], rbx
movsxd rbx, dword [rcx + 0x380d4]
mov qword [rsp + 0x90], rbp
mov qword [rsp + 0x88], rsi
mov qword [rsp + 0x80], rdi
mov qword [rsp + 0x78], r12
imul rbx, rbx, 0x1034
add rbx, qword [rcx + 0x380d8]
mov qword [rsp + 0x70], r13
lea rdx, [r14 + 0x24cc0]
lea rcx, [rbx + 0xec0]
mov qword [rsp + 0x68], r15
mov qword [rsp + 0xc8], rbx
movaps xmmword [rsp + 0x50], xmm6
call fcn.14024f090
mov r11d, dword [r14 + 0x37b6c]
mov r8d, 4
mov dword [rbx], r11d
mov eax, dword [r14 + 0x37b94]
lea rcx, [rbx + 0x110]
mov dword [rbx + 0xf14], eax
mov eax, dword [r14 + 0x37b98]
lea rdx, [r14 + 0x38008]
mov dword [rbx + 0xf18], eax
mov eax, dword [r14 + 0x37b9c]
mov qword [rsp + 0xb8], r8
mov dword [rbx + 0xf1c], eax
mov eax, dword [r14 + 0x23be0]
mov dword [rbx + 4], eax
mov eax, dword [r14 + 0x24234]
mov dword [rbx + 8], eax
mov eax, dword [r14 + 0x24d68]
mov dword [rbx + 0x30], eax
mov eax, dword [r14 + 0x23c70]
mov dword [rbx + 0x34], eax
mov eax, dword [r14 + 0x24d70]
mov dword [rbx + 0x38], eax
mov eax, dword [r14 + 0x23ca0]
mov dword [rbx + 0x3c], eax
mov eax, dword [r14 + 0x24dc0]
mov dword [rbx + 0x40], eax
movd xmm0, dword [r14 + 0x24dc4]
cvtps2pd xmm0, xmm0
mulsd xmm0, qword [0x140339538]
cvtsd2ss xmm0, xmm0
movss dword [rbx + 0x44], xmm0
mov eax, dword [r14 + 0x24984]
mov dword [rbx + 0x48], eax
mov eax, dword [r14 + 0x24988]
mov dword [rbx + 0x4c], eax
mov eax, dword [r14 + 0x37fb4]
mov dword [rbx + 0xc], eax
mov eax, dword [r14 + 0x37fb8]
mov dword [rbx + 0x10], eax
mov eax, dword [r14 + 0x37fbc]
mov dword [rbx + 0x14], eax
mov eax, dword [r14 + 0x37fc0]
mov dword [rbx + 0x18], eax
mov eax, dword [r14 + 0x37fc4]
mov dword [rbx + 0x1c], eax
mov eax, dword [r14 + 0x37fc8]
mov dword [rbx + 0x20], eax
mov eax, dword [r14 + 0x37fcc]
mov dword [rbx + 0x24], eax
mov eax, dword [r14 + 0x37fd0]
mov dword [rbx + 0x28], eax
mov eax, dword [r14 + 0x37fd4]
mov dword [rbx + 0x2c], eax
nop word [rax + rax]
mov eax, dword [rdx - 0x30]
add rcx, 0xc
add rdx, 0xc
sub r8, 1
mov dword [rcx - 0x3c], eax
mov eax, dword [rdx - 0x38]
mov dword [rcx - 0x38], eax
mov eax, dword [rdx - 0x34]
mov dword [rcx - 0x34], eax
mov eax, dword [rdx - 0xc]
mov dword [rcx - 0xc], eax
mov eax, dword [rdx - 8]
mov dword [rcx - 8], eax
mov eax, dword [rdx - 4]
mov dword [rcx - 4], eax
mov eax, dword [rdx + 0x24]
mov dword [rcx - 0x6c], eax
mov eax, dword [rdx + 0x28]
mov dword [rcx - 0x68], eax
mov eax, dword [rdx + 0x2c]
mov dword [rcx - 0x64], eax
mov eax, dword [rdx + 0x54]
mov dword [rcx - 0xcc], eax
mov eax, dword [rdx + 0x58]
mov dword [rcx - 0xc8], eax
mov eax, dword [rdx + 0x5c]
mov dword [rcx - 0xc4], eax
mov eax, dword [rdx + 0x84]
mov dword [rcx - 0x9c], eax
mov eax, dword [rdx + 0x88]
mov dword [rcx - 0x98], eax
mov eax, dword [rdx + 0x8c]
mov dword [rcx - 0x94], eax
jne 0x14016a030
xorps xmm6, xmm6
lea rax, [r14 + 0x25540]
lea r12, [r14 + 0x25bfc]
lea rbp, [rbx + 0x184]
lea r15, [rbx + 0x1d0]
mov r14, rax
nop dword [rax]
lea rcx, [r15 - 0x90]
mov rdx, r14
call fcn.14024f090
mov r11d, dword [r12 - 0x14]
lea rdi, [rbp + 0x3c]
mov dword [rbp - 4], r11d
mov eax, dword [r12]
lea rbx, [r12 - 0x630]
mov dword [rbp], eax
mov eax, dword [r12 + 4]
mov rsi, r15
mov dword [rbp + 4], eax
mov eax, dword [r12 + 0xc]
mov r13d, reloc.WS2_32.dll_ntohs
mov dword [rbp + 8], eax
mov eax, dword [r12 + 0x94]
mov dword [rbp + 0x20], eax
cvtsd2ss xmm0, qword [r12 + 0x2c]
movss dword [rbp + 0x24], xmm0
cvtsd2ss xmm1, qword [r12 + 0x34]
movss dword [rbp + 0x28], xmm1
mov eax, dword [r12 + 0x20]
mov dword [rbp + 0x2c], eax
nop
mov eax, dword [rbx - 0xc]
mov dword [rdi - 0xc], eax
mov eax, dword [rbx - 8]
mov dword [rdi - 8], eax
mov eax, dword [rbx - 4]
mov dword [rdi - 4], eax
comiss xmm6, dword [rbx]
jbe 0x14016a16f
mov dword [rdi], 1
jmp 0x14016a175
mov dword [rdi], 0
movss xmm3, dword [rbx + 0xc]
movss xmm2, dword [rbx + 8]
movss xmm1, dword [rbx + 4]
lea rcx, [rsi - 0xc]
call fcn.140250780
mov rcx, rsi
movss xmm3, dword [rbx + 0x18]
movss xmm2, dword [rbx + 0x14]
movss xmm1, dword [rbx + 0x10]
call fcn.140250780
add rsi, 0x28
add rdi, 0x28
add rbx, 0x60
sub r13, 1
jne 0x14016a150
mov eax, dword [r12 + 0x178]
add rbp, 0x2f4
add r14, 0x868
mov dword [rbp - 0x6c], eax
mov eax, dword [r12 - 0x88]
add r15, 0x2f4
mov dword [rbp - 0x68], eax
mov eax, dword [r12 - 0x84]
add r12, 0x868
sub qword [rsp + 0xb8], 1
mov dword [rbp - 0x64], eax
mov eax, dword [r12 - 0x8e8]
mov dword [rbp - 0x60], eax
mov eax, dword [r12 - 0x8fc]
mov dword [rbp - 0x5c], eax
mov eax, dword [r12 - 0x8f8]
mov dword [rbp - 0x58], eax
mov eax, dword [r12 - 0x8f4]
mov dword [rbp - 0x54], eax
mov eax, dword [r12 - 0x8bc]
mov dword [rbp - 0x50], eax
mov eax, dword [r12 - 0x8b8]
mov dword [rbp - 0x4c], eax
mov eax, dword [r12 - 0x8b4]
mov dword [rbp - 0x48], eax
jne 0x14016a0e0
mov rbp, qword [rsp + 0xc8]
mov r14, qword [rsp + 0xb0]
movaps xmm6, xmmword [rsp + 0x50]
mov r15, qword [rsp + 0x68]
mov r12, qword [rsp + 0x78]
lea esi, [r13 + 2]
mov r13, qword [rsp + 0x70]
lea rbx, [rbp + 0xd10]
lea rdi, [r14 + 0x25358]
mov rdx, rdi
mov rcx, rbx
call fcn.14024f090
add rdi, 0xcc
add rbx, 0x6c
sub rsi, 1
jne 0x14016a285
movss xmm0, dword [r14 + 0x26450]
lea r8, [r14 + 0x24b08]
lea rdx, [r14 + 0x24cc0]
addss xmm0, dword [r14 + 0x25be8]
lea rcx, [rbp + 0xf00]
addss xmm0, dword [r14 + 0x26cb8]
addss xmm0, dword [r14 + 0x27520]
movss dword [rbp + 0xf20], xmm0
call fcn.14024f820
lea rdx, [r14 + 0x37b50]
lea rcx, [rbp + 0xf00]
call fcn.140251710
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x30]
movss xmm2, dword [0x140339240]
lea rcx, [rsp + 0x40]
movss dword [rbp + 0xf0c], xmm0
movss xmm1, dword [r14 + 0x26410]
movss xmm0, dword [r14 + 0x26414]
addss xmm1, dword [r14 + 0x25ba8]
addss xmm0, dword [r14 + 0x25bac]
mulss xmm1, xmm2
mulss xmm0, xmm2
movss dword [rsp + 0x30], xmm1
movss xmm1, dword [r14 + 0x26418]
movss dword [rsp + 0x34], xmm0
addss xmm1, dword [r14 + 0x25bb0]
movss xmm0, dword [r14 + 0x274e0]
addss xmm0, dword [r14 + 0x26c78]
mulss xmm1, xmm2
movss dword [rsp + 0x38], xmm1
movss xmm1, dword [r14 + 0x274e4]
mulss xmm0, xmm2
addss xmm1, dword [r14 + 0x26c7c]
movss dword [rsp + 0x20], xmm0
movss xmm0, dword [r14 + 0x274e8]
mulss xmm1, xmm2
addss xmm0, dword [r14 + 0x26c80]
movss dword [rsp + 0x24], xmm1
mulss xmm0, xmm2
movss dword [rsp + 0x28], xmm0
call fcn.140250750
lea rcx, [rbp + 0xf10]
lea rdx, [rsp + 0x40]
call fcn.140250620
lea rdx, [r14 + 0x24a78]
lea rcx, [rbp + 0xf24]
call fcn.14024f090
lea rbx, [rbp + 0xf64]
lea rdi, [r14 + 0x24b58]
mov esi, 3
nop dword [rax]
mov rdx, rdi
mov rcx, rbx
call fcn.14024f090
add rdi, 0x40
add rbx, 0x40
sub rsi, 1
jne 0x14016a400
mov eax, dword [r14 + 0x24c58]
mov rdi, qword [rsp + 0x80]
mov rsi, qword [rsp + 0x88]
mov rbx, qword [rsp + 0x98]
mov dword [rbp + 0x1024], eax
mov eax, dword [r14 + 0x24c60]
mov dword [rbp + 0x102c], eax
mov eax, dword [r14 + 0x24c5c]
mov dword [rbp + 0x1028], eax
mov eax, dword [r14 + 0x24c64]
mov dword [rbp + 0x1030], eax
mov eax, dword [r14 + 0x380d4]
mov ecx, dword [r14 + 0x380cc]
inc dword [r14 + 0x380d0]
mov rbp, qword [rsp + 0x90]
inc eax
cdq
idiv ecx
cmp dword [r14 + 0x380d0], ecx
mov dword [r14 + 0x380d4], edx
jle 0x14016a49e
mov dword [r14 + 0x380d0], ecx
xor eax, eax
add rsp, 0xa0
pop r14
ret