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

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x2e8
mov rax, qword [0x180333438]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x3dd8]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0x30]
movss xmm0, dword [rax + 0x3768]
mulss xmm0, dword [0x1802ae2b4]
mov rax, qword [rsp + 0x30]
movss xmm1, dword [rax + 0x3b48]
addss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rsp + 0xc8], xmm0
mov rax, qword [rsp + 0x30]
movss xmm0, dword [rax + 0x3b48]
subss xmm0, dword [0x1802ae2b4]
movss dword [rsp + 0xc0], xmm0
movss xmm0, dword [rsp + 0xc0]
movss dword [rsp + 0x98], xmm0
movss xmm0, dword [rsp + 0xc8]
movss dword [rsp + 0x9c], xmm0
movss xmm0, dword [rsp + 0x98]
mulss xmm0, dword [0x1802ae2b4]
movss dword [rsp + 0x84], xmm0
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax + 0xd8]
mov qword [rsp + 0x1b8], rax
mov dword [rsp + 0x2c], 0
mov eax, 0x10
imul rax, rax, 0
lea rcx, [rsp + 0x1c0]
mov rdx, qword [rsp + 0x30]
mov rdi, rcx
lea rsi, [rdx + rax + 0x37f0]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
movss xmm0, dword [rsp + 0x1cc]
mulss xmm0, dword [0x1802aed5c]
movss dword [rsp + 0x1cc], xmm0
lea rdx, [rsp + 0x1c0]
xor ecx, ecx
call fcn.18016d980
xorps xmm0, xmm0
movss dword [rsp + 0x140], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x144], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x148], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x14c], xmm0
lea rdx, [rsp + 0x140]
mov ecx, 0x15
call fcn.18016d980
mov rax, qword [rsp + 0x30]
movss xmm0, dword [rax + 0x3c]
movss dword [rsp + 0xbc], xmm0
mov rax, qword [rsp + 0x30]
movss xmm0, dword [rax + 0x40]
movss dword [rsp + 0xb8], xmm0
mov rax, qword [rsp + 0x30]
movss xmm0, dword [0x1802b1fd4]
movss dword [rax + 0x3c], xmm0
mov rax, qword [rsp + 0x30]
movss xmm0, dword [0x1802ae2b0]
movss dword [rax + 0x40], xmm0
mov rax, qword [rsp + 0x300]
movss xmm0, dword [rax + 0x34]
subss xmm0, dword [rsp + 0x84]
movss dword [rsp + 0x90], xmm0
mov rax, qword [rsp + 0x300]
movss xmm0, dword [rax + 0x2c]
movss dword [rsp + 0x88], xmm0
movss xmm0, dword [rsp + 0x88]
comiss xmm0, dword [rsp + 0x90]
jb 0x18022c721
movss xmm0, dword [rsp + 0x88]
movss dword [rsp + 0x78], xmm0
jmp 0x18022c730
movss xmm0, dword [rsp + 0x90]
movss dword [rsp + 0x78], xmm0
movss xmm0, dword [rsp + 0x78]
movss dword [rsp + 0x7c], xmm0
mov rax, qword [rsp + 0x300]
movss xmm0, dword [rax + 0x30]
movss dword [rsp + 0xd0], xmm0
movss xmm0, dword [rsp + 0x7c]
movss dword [rsp + 0x130], xmm0
movss xmm0, dword [rsp + 0xd0]
movss dword [rsp + 0x134], xmm0
mov rax, qword [rsp + 0x130]
mov rcx, qword [rsp + 0xa0]
mov qword [rcx + 0xd8], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x160], rax
lea rax, [rsp + 0x20]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x21]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x22]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx eax, byte [rsp + 0x20]
mov byte [rsp + 0x40], al
movzx eax, byte [rsp + 0x21]
mov byte [rsp + 0x48], al
movzx eax, byte [rsp + 0x22]
mov byte [rsp + 0x50], al
movabs rax, 0x25cf1ea13bd6d2c6
mov qword [rsp + 0x1d0], rax
mov rax, qword [rsp + 0x1d0]
mov qword [rsp + 0xe0], rax
movabs rax, 0xff11301096ddc8fa
mov qword [rsp + 0x1d8], rax
mov rax, qword [rsp + 0x1d8]
mov qword [rsp + 0xe8], rax
movabs rax, 0x25cf1ea13beaf1e5
mov qword [rsp + 0x150], rax
mov rax, qword [rsp + 0x150]
mov qword [rsp + 0x200], rax
movabs rax, 0xff11301096ddc8fa
mov qword [rsp + 0x158], rax
mov rax, qword [rsp + 0x158]
mov qword [rsp + 0x208], rax
xor eax, eax
test eax, eax
je 0x18022c878
jmp 0x18022c8c8
movdqa xmm0, xmmword [rsp + 0x200]
movdqa xmmword [rsp + 0x230], xmm0
movdqa xmm0, xmmword [rsp + 0xe0]
movdqa xmmword [rsp + 0x220], xmm0
movdqa xmm0, xmmword [rsp + 0x220]
xorps xmm0, xmmword [rsp + 0x230]
movdqa xmmword [rsp + 0x240], xmm0
movdqa xmm0, xmmword [rsp + 0x240]
movdqa xmmword [rsp + 0xe0], xmm0
xor eax, eax
cmp eax, 1
je 0x18022c8d1
jmp 0x18022c92a
lea rax, [rsp + 0x210]
movdqu xmm0, xmmword [rax]
movdqa xmmword [rsp + 0x260], xmm0
lea rax, [rsp + 0xf0]
movdqu xmm0, xmmword [rax]
movdqa xmmword [rsp + 0x250], xmm0
movdqa xmm0, xmmword [rsp + 0x250]
xorps xmm0, xmmword [rsp + 0x260]
movdqa xmmword [rsp + 0x270], xmm0
lea rax, [rsp + 0xf0]
movdqa xmm0, xmmword [rsp + 0x270]
movdqu xmmword [rax], xmm0
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x168], rax
mov r9d, 0x410
mov r8, qword [rsp + 0x160]
xor edx, edx
mov rcx, qword [rsp + 0x168]
call fcn.1801ea600
movzx eax, al
test eax, eax
je 0x18022c966
mov dword [rsp + 0x2c], 0xffffffff
mov rax, qword [rsp + 0x300]
movss xmm0, dword [rax + 0x30]
movss dword [rsp + 0xb0], xmm0
movss xmm0, dword [rsp + 0x7c]
addss xmm0, dword [rsp + 0x98]
movss dword [rsp + 0xa8], xmm0
movss xmm0, dword [rsp + 0xa8]
movss dword [rsp + 0x138], xmm0
movss xmm0, dword [rsp + 0xb0]
movss dword [rsp + 0x13c], xmm0
mov rax, qword [rsp + 0x138]
mov rcx, qword [rsp + 0xa0]
mov qword [rcx + 0xd8], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x190], rax
lea rax, [rsp + 0x23]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x24]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x25]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx eax, byte [rsp + 0x23]
mov byte [rsp + 0x58], al
movzx eax, byte [rsp + 0x24]
mov byte [rsp + 0x60], al
movzx eax, byte [rsp + 0x25]
mov byte [rsp + 0x68], al
movabs rax, 0x25cf1ea13bd4d2c6
mov qword [rsp + 0x170], rax
mov rax, qword [rsp + 0x170]
mov qword [rsp + 0x100], rax
movabs rax, 0xff11301096ddc8fa
mov qword [rsp + 0x178], rax
mov rax, qword [rsp + 0x178]
mov qword [rsp + 0x108], rax
movabs rax, 0x25cf1ea13beaf1e5
mov qword [rsp + 0x180], rax
mov rax, qword [rsp + 0x180]
mov qword [rsp + 0x1e0], rax
movabs rax, 0xff11301096ddc8fa
mov qword [rsp + 0x188], rax
mov rax, qword [rsp + 0x188]
mov qword [rsp + 0x1e8], rax
xor eax, eax
test eax, eax
je 0x18022cabd
jmp 0x18022cb0d
movdqa xmm0, xmmword [rsp + 0x1e0]
movdqa xmmword [rsp + 0x2d0], xmm0
movdqa xmm0, xmmword [rsp + 0x100]
movdqa xmmword [rsp + 0x280], xmm0
movdqa xmm0, xmmword [rsp + 0x280]
xorps xmm0, xmmword [rsp + 0x2d0]
movdqa xmmword [rsp + 0x290], xmm0
movdqa xmm0, xmmword [rsp + 0x290]
movdqa xmmword [rsp + 0x100], xmm0
xor eax, eax
cmp eax, 1
je 0x18022cb16
jmp 0x18022cb6f
lea rax, [rsp + 0x1f0]
movdqu xmm0, xmmword [rax]
movdqa xmmword [rsp + 0x2b0], xmm0
lea rax, [rsp + 0x110]
movdqu xmm0, xmmword [rax]
movdqa xmmword [rsp + 0x2a0], xmm0
movdqa xmm0, xmmword [rsp + 0x2a0]
xorps xmm0, xmmword [rsp + 0x2b0]
movdqa xmmword [rsp + 0x2c0], xmm0
lea rax, [rsp + 0x110]
movdqa xmm0, xmmword [rsp + 0x2c0]
movdqu xmmword [rax], xmm0
lea rax, [rsp + 0x100]
mov qword [rsp + 0x198], rax
mov r9d, 0x410
mov r8, qword [rsp + 0x190]
mov edx, 1
mov rcx, qword [rsp + 0x198]
call fcn.1801ea600
movzx eax, al
test eax, eax
je 0x18022cbae
mov dword [rsp + 0x2c], 1
mov ecx, 2
call fcn.18016cf60
mov rax, qword [rsp + 0x30]
movss xmm0, dword [rsp + 0xb8]
movss dword [rax + 0x40], xmm0
mov rax, qword [rsp + 0x30]
movss xmm0, dword [rsp + 0xbc]
movss dword [rax + 0x3c], xmm0
mov qword [rsp + 0x70], 0
cmp dword [rsp + 0x2c], 0
je 0x18022cd55
mov rax, qword [rsp + 0x300]
mov edx, dword [rax + 0x18]
mov rcx, qword [rsp + 0x300]
call fcn.18022a240
mov qword [rsp + 0x120], rax
cmp qword [rsp + 0x120], 0
je 0x18022cd55
mov rax, qword [rsp + 0x300]
mov qword [rsp + 0x1a0], rax
mov rax, qword [rsp + 0x1a0]
mov rax, qword [rax + 8]
mov rcx, qword [rsp + 0x120]
sub rcx, rax
mov rax, rcx
cqo
mov ecx, 0x28
idiv rcx
mov qword [rsp + 0x1a8], rax
mov eax, dword [rsp + 0x1a8]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x2c]
mov ecx, dword [rsp + 0x38]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x28], eax
cmp qword [rsp + 0x70], 0
jne 0x18022cd55
mov rax, qword [rsp + 0x300]
mov qword [rsp + 0x1b0], rax
cmp dword [rsp + 0x28], 0
jl 0x18022ccb8
mov rax, qword [rsp + 0x300]
mov eax, dword [rax]
cmp dword [rsp + 0x28], eax
jge 0x18022ccb8
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x80], eax
jmp 0x18022ccc3
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x80], eax
movsxd rax, dword [rsp + 0x80]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x1b0]
add rax, qword [rcx + 8]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 4]
and eax, 0x200000
test eax, eax
je 0x18022cd50
mov eax, dword [rsp + 0x2c]
mov ecx, dword [rsp + 0x28]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x2c]
mov ecx, dword [rsp + 0x38]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x28], 0
jl 0x18022cd36
mov rax, qword [rsp + 0x300]
mov eax, dword [rax]
cmp dword [rsp + 0x28], eax
jge 0x18022cd36
mov qword [rsp + 0x128], 0
jmp 0x18022cd43
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x128], rax
mov rax, qword [rsp + 0x128]
mov qword [rsp + 0x70], rax
jmp 0x18022cc78
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x1b8]
mov qword [rax + 0xd8], rcx
movss xmm0, dword [rsp + 0x84]
addss xmm0, dword [0x1802ae230]
mov rax, qword [rsp + 0x300]
movss xmm1, dword [rax + 0x34]
subss xmm1, xmm0
movaps xmm0, xmm1
mov rax, qword [rsp + 0x300]
movss dword [rax + 0x34], xmm0
mov rax, qword [rsp + 0x70]
add rsp, 0x2e8
pop rdi
pop rsi
ret