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

Disassembly:
mov r11, rsp
push rbx
push rsi
push rdi
push r12
sub rsp, 0x88
mov rax, qword [0x18007e010]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rbx, qword [0x18007f050]
mov qword [r11 + 8], rbp
mov qword [r11 + 0x10], r13
mov r13d, 3
mov qword [r11 + 0x18], r14
test byte [rbx + 8], 2
mov byte [rbx + 0xdb], 0
je 0x180016315
test byte [rbx + 0xc], 1
je 0x180016315
movdqa xmm0, xmmword [0x180072230]
lea r9, [r11 - 0x58]
movdqa xmm1, xmmword [0x180072240]
mov r12b, 1
movdqu xmmword [rsp + 0x50], xmm0
movdqu xmmword [rsp + 0x60], xmm1
nop dword [rax]
mov r10d, dword [r9]
mov ecx, r10d
call fcn.1800118e0
cmp byte [rax], 0
je 0x180016305
xor edx, edx
mov ecx, r10d
call fcn.1800126e0
test al, al
je 0x180016305
mov dword [rbx + 0x48a0], r13d
add r9, 4
lea rax, [rsp + 0x70]
cmp r9, rax
jne 0x1800162e0
jmp 0x180016318
xor r12b, r12b
movzx r14d, byte [rbx + 8]
movdqa xmm0, xmmword [0x180072220]
and r14b, 1
mov byte [rsp + 0x20], r14b
movdqu xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x40], 0x201
mov dword [rsp + 0x44], 0x203
mov dword [rsp + 0x48], 0x204
je 0x180016389
lea r9, [rsp + 0x30]
mov r10d, dword [r9]
mov ecx, r10d
call fcn.1800118e0
cmp byte [rax], 0
je 0x18001637b
xor edx, edx
mov ecx, r10d
call fcn.1800126e0
test al, al
je 0x18001637b
mov dword [rbx + 0x48a0], 2
add r9, 4
lea rax, [rsp + 0x4c]
cmp r9, rax
jne 0x180016353
cmp dword [rbx + 0x48b0], 0
je 0x180016397
call fcn.180016b30
xor edi, edi
mov word [rbx + 0x48ad], 0
mov dword [rbx + 0x48b0], edi
mov dword [rbx + 0x488c], edi
cmp byte [rbx + 0x48c4], dil
je 0x1800163bc
call fcn.1800177e0
xor al, al
mov dword [rbx + 0x4908], edi
mov ecx, 1
mov word [rbx + 0x48c4], di
mov dword [rsp + 0x24], eax
cmp byte [rbx + 0x48a9], dil
je 0x180016409
cmp byte [rbx + 0x48a8], dil
je 0x180016409
cmp byte [rbx + 0x48aa], dil
jne 0x180016409
cmp byte [rbx + 0x48ab], dil
je 0x180016409
cmp qword [rbx + 0x4868], rdi
movzx eax, al
cmovne eax, ecx
mov dword [rsp + 0x24], eax
mov rcx, qword [rbx + 0x4868]
mov byte [rbx + 0x48a9], dil
test rcx, rcx
je 0x18001644c
mov rax, rcx
nop
cmp qword [rax + 0x358], rax
je 0x180016440
test dword [rax + 0xc], 0x14000000
jne 0x180016440
mov rax, qword [rax + 0x348]
test rax, rax
jne 0x180016420
jmp 0x18001644c
cmp rax, rcx
je 0x18001644c
mov qword [rax + 0x378], rcx
mov rax, qword [rbx + 0x4868]
test rax, rax
je 0x180016470
cmp qword [rax + 0x378], rdi
je 0x180016470
cmp dword [rbx + 0x48a4], edi
jne 0x180016470
mov qword [rax + 0x378], rdi
mov qword [rsp + 0x80], r15
call fcn.1800186e0
test r14b, r14b
jne 0x18001648b
test r12b, r12b
je 0x1800165be
mov rax, qword [rbx + 0x4868]
test rax, rax
je 0x1800165be
test dword [rax + 0xc], 0x40000
jne 0x1800165be
mov byte [rbx + 0xdd], 1
cmp dword [rbx + 0x4870], edi
je 0x1800165c5
lea rdi, [rbx + 0x48aa]
cmp byte [rdi], 0
jne 0x1800165c5
lea r15, [rbx + 0x49d8]
mov al, 1
mov byte [rbx + 0xde], al
call fcn.180017cc0
mov ebp, dword [rbx + 0x4870]
xor esi, esi
mov qword [rbx + 0x4880], rsi
mov qword [rbx + 0x4878], rsi
mov dword [rbx + 0x4888], esi
test ebp, ebp
je 0x1800166e5
lea rsi, [rbx + 0x48aa]
cmp byte [rsi], 0
mov rdi, rsi
jne 0x1800166e3
cmp qword [r15], 0
jne 0x1800166e3
mov rax, qword [rbx + 0x4868]
test rax, rax
je 0x1800166e3
test dword [rax + 0xc], 0x40000
jne 0x1800166e3
test r14b, r14b
je 0x180016561
mov ecx, 0x20c
call fcn.1800118e0
cmp byte [rax], 0
je 0x180016561
xor edx, edx
mov ecx, 0x20c
call fcn.1800126e0
test al, al
jne 0x180016585
test r12b, r12b
je 0x1800165e4
mov ecx, 0x26e
call fcn.1800118e0
cmp byte [rax], 0
je 0x1800165e4
xor edx, edx
mov ecx, 0x26e
call fcn.1800126e0
test al, al
je 0x1800165e4
mov dil, 1
test r14b, r14b
je 0x1800165a0
xor r8d, r8d
xor edx, edx
mov ecx, 0x20c
call fcn.180011c60
test al, al
jne 0x1800165b8
test r12b, r12b
je 0x1800165e7
xor r8d, r8d
xor edx, edx
mov ecx, 0x26e
call fcn.180011c60
test al, al
je 0x1800165e7
movzx r14d, dil
jmp 0x1800165ea
mov byte [rbx + 0xdd], dil
lea r15, [rbx + 0x49d8]
cmp qword [r15], 0
lea rdi, [rbx + 0x48aa]
jne 0x1800164d2
xor al, al
jmp 0x1800164d4
xor dil, dil
xor r14b, r14b
movzx r9d, byte [rsp + 0x20]
test r9b, r9b
je 0x180016614
mov ecx, 0x20d
call fcn.1800118e0
cmp byte [rax], 0
je 0x180016614
xor edx, edx
mov ecx, 0x20d
call fcn.1800126e0
test al, al
jne 0x18001663d
test r12b, r12b
je 0x18001666c
mov ecx, 0x26d
call fcn.1800118e0
cmp byte [rax], 0
je 0x18001666c
xor edx, edx
mov ecx, 0x26d
call fcn.1800126e0
test al, al
je 0x18001666c
test r9b, r9b
je 0x180016650
xor r8d, r8d
xor edx, edx
mov ecx, 0x20d
call fcn.180011c60
test al, al
jne 0x180016668
test r12b, r12b
je 0x18001666c
xor r8d, r8d
xor edx, edx
mov ecx, 0x26d
call fcn.180011c60
test al, al
je 0x18001666c
mov cl, 1
jmp 0x18001666e
xor cl, cl
mov eax, dword [rbx + 0x3eec]
test eax, eax
jne 0x18001668f
test r14b, r14b
je 0x180016693
mov dword [rbx + 0x4878], ebp
mov dword [rbx + 0x4888], 2
jmp 0x180016693
cmp eax, ebp
jne 0x1800166be
test cl, cl
je 0x1800166a7
mov dword [rbx + 0x4884], ebp
mov dword [rbx + 0x4888], 1
test eax, eax
je 0x1800166af
cmp eax, ebp
jne 0x1800166be
test dil, dil
je 0x1800166ba
mov dword [rbx + 0x487c], ebp
test eax, eax
je 0x1800166c5
mov rdi, rsi
cmp eax, ebp
jne 0x1800166dd
mov rdi, rsi
xor esi, esi
test r14b, r14b
movzx r14d, byte [rsp + 0x20]
je 0x1800166e5
mov dword [rbx + 0x4880], ebp
jmp 0x1800166e5
movzx r14d, byte [rsp + 0x20]
xor esi, esi
mov rax, qword [rbx + 0x4868]
mov rbp, qword [rsp + 0xb0]
test rax, rax
je 0x180016705
test dword [rax + 0xc], 0x40000
je 0x180016705
mov byte [rdi], 1
mov eax, dword [rbx + 0x4898]
test eax, eax
je 0x18001673a
mov ecx, dword [rbx + 0x489c]
test cl, 1
je 0x180016722
mov dword [rbx + 0x4884], eax
jmp 0x180016734
mov dword [rbx + 0x4880], eax
mov dword [rbx + 0x487c], eax
mov dword [rbx + 0x4878], eax
mov dword [rbx + 0x4888], ecx
mov dword [rbx + 0x4898], esi
call fcn.180016da0
cmp dword [rbx + 0x48d4], 0xffffffff
xorps xmm5, xmm5
mov r11, qword [0x18007f050]
jne 0x180016852
mov r9, qword [r11 + 0x4868]
test r9, r9
je 0x180016852
cmp qword [r11 + 0x49d8], 0
jne 0x180016852
test dword [r9 + 0xc], 0x40000
jne 0x180016852
mov ecx, 0x200
call fcn.1800118e0
cmp byte [rax], 0
je 0x180016852
movss xmm0, dword [rax + 4]
comiss xmm5, xmm0
ja 0x180016852
ucomiss xmm0, xmm5
jp 0x1800167b0
je 0x1800167d3
movss xmm1, dword [r11 + 0x3c]
comiss xmm0, xmm1
jbe 0x180016852
movss xmm2, dword [r11 + 0x40]
mov ecx, 0x200
call fcn.180011a50
test eax, eax
jle 0x180016852
mov edx, 0xffffffff
mov ecx, 0x200
call fcn.1800126e0
test al, al
je 0x180016852
cmp byte [r11 + 0xe14], 0
jne 0x180016852
cmp byte [r11 + 0xe16], 0
jne 0x180016852
cmp byte [r11 + 0xe15], 0
je 0x18001680b
mov edx, 0xffffffff
jmp 0x180016818
cmp dword [r11 + 0x3eec], 0
mov edx, esi
setne dl
mov dword [r11 + 0x4904], edx
mov eax, 0x21
cmp byte [r9 + 0x9c], 0
mov r8d, 0x400
cmovne r13d, eax
sar edx, 0x1f
add edx, 3
lea ecx, [rax - 0x22]
mov r9d, r13d
call fcn.180015930
mov dword [r11 + 0x4908], 0xffffffff
cmp byte [r11 + 0x48c5], 0
mov r13, qword [rsp + 0xb8]
jne 0x180016872
cmp byte [r11 + 0x48ad], 0
jne 0x180016872
xor al, al
jmp 0x180016874
mov al, 1
mov byte [r11 + 0x48ac], al
mov r10, qword [rbx + 0x4868]
mov byte [rbx + 0x48a8], 0
test r10, r10
je 0x180016a9d
test dword [r10 + 0xc], 0x40000
jne 0x180016a9d
cmp qword [r15], 0
jne 0x180016a9d
mov rax, qword [r10 + 0x348]
movss xmm0, dword [r11 + 0x3c04]
mulss xmm0, dword [r10 + 0x270]
test rax, rax
je 0x1800168d0
mulss xmm0, dword [rax + 0x270]
cmp word [r10 + 0x13c], 0
mulss xmm0, dword [0x1800720fc]
mov ecx, dword [rbx + 0x48d4]
movss xmm2, dword [0x180072070]
mulss xmm0, dword [rbx + 0x18]
addss xmm0, dword [0x18007203c]
cvttss2si eax, xmm0
movd xmm3, eax
cvtdq2ps xmm3, xmm3
jne 0x180016991
cmp byte [r10 + 0x141], 0
je 0x180016991
cmp ecx, 0xffffffff
je 0x180016991
movss xmm1, dword [0x180072148]
test ecx, ecx
je 0x180016932
cmp ecx, 1
jne 0x18001695b
movaps xmm0, xmm2
jmp 0x180016935
movaps xmm0, xmm1
mulss xmm0, xmm3
mov dword [r10 + 0x7c], esi
mov dword [r10 + 0x84], esi
addss xmm0, dword [r10 + 0x64]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [r10 + 0x74], xmm0
cmp ecx, 2
je 0x180016968
cmp ecx, 3
jne 0x180016991
movaps xmm1, xmm2
mulss xmm1, xmm3
mov dword [r10 + 0x80], esi
mov dword [r10 + 0x88], esi
addss xmm1, dword [r10 + 0x68]
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [r10 + 0x78], xmm0
test r12b, r12b
je 0x180016a9d
mov ecx, 0x27a
call fcn.1800118e0
mov ecx, 0x279
mov r9, rax
call fcn.1800118e0
movss xmm0, dword [r9 + 0xc]
mov ecx, 0x27c
subss xmm0, dword [rax + 0xc]
call fcn.1800118e0
mov ecx, 0x27b
mov r9, rax
call fcn.1800118e0
movss xmm1, dword [r9 + 0xc]
mov ecx, 0x273
subss xmm1, dword [rax + 0xc]
call fcn.1800118e0
cmp byte [rax], 0
je 0x180016a07
xor edx, edx
mov ecx, 0x273
call fcn.1800126e0
test al, al
je 0x180016a07
movss xmm2, dword [0x18007201c]
jmp 0x180016a2e
mov ecx, 0x274
call fcn.1800118e0
cmp byte [rax], 0
je 0x180016a2e
xor edx, edx
mov ecx, 0x274
call fcn.1800126e0
test al, al
je 0x180016a2e
movss xmm2, dword [0x1800720e0]
ucomiss xmm0, xmm5
jp 0x180016a35
je 0x180016a69
cmp byte [r10 + 0x94], 0
je 0x180016a69
mulss xmm0, xmm3
mov dword [r10 + 0x7c], esi
mov dword [r10 + 0x84], esi
mulss xmm0, xmm2
addss xmm0, dword [r10 + 0x64]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [r10 + 0x74], xmm0
ucomiss xmm1, xmm5
jp 0x180016a70
je 0x180016a9d
mulss xmm1, xmm3
mov dword [r10 + 0x80], esi
mov dword [r10 + 0x88], esi
mulss xmm1, xmm2
addss xmm1, dword [r10 + 0x68]
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [r10 + 0x78], xmm0
mov r15, qword [rsp + 0x80]
test r14b, r14b
mov r14, qword [rsp + 0xc0]
jne 0x180016ac3
test r12b, r12b
jne 0x180016ac3
mov byte [rdi], 1
mov byte [rbx + 0x48ab], r12b
jmp 0x180016b10
cmp byte [rsp + 0x24], 0
je 0x180016b10
test byte [rbx + 8], 4
je 0x180016b10
test byte [rbx + 0xc], 4
je 0x180016b10
lea rcx, [rsp + 0x24]
call fcn.180015f60
movss xmm0, dword [rax]
movss xmm1, dword [rax + 4]
movss dword [rbx + 0x36e0], xmm0
movss dword [rbx + 0x36e4], xmm1
movss dword [rbx + 0xdfc], xmm0
movss dword [rbx + 0xe00], xmm1
mov byte [rbx + 0xdb], 1
mov dword [rbx + 0x4900], esi
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.18006ba20
add rsp, 0x88
pop r12
pop rdi
pop rsi
pop rbx
ret