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

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x1d8
mov rax, qword [0x140178340]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
mov rax, qword [0x14023cd20]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
mov rax, qword [rax + 0x3ef8]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x1f0]
cmp dword [rax + 0x74], 0xffffffff
je 0x14009880e
mov rcx, qword [rsp + 0x1f0]
call fcn.140099480
mov rax, qword [rsp + 0xa8]
movzx eax, byte [rax + 0x5ca0]
test eax, eax
je 0x140098832
xor r8d, r8d
lea rdx, [0x140156530]
xor ecx, ecx
call fcn.14006c5f0
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x1f0]
movss xmm0, dword [rcx + 0x80]
movss dword [rax + 0x104], xmm0
mov rax, qword [rsp + 0x1f0]
movss xmm0, dword [rax + 0x7c]
movss dword [rsp + 0x3c], xmm0
mov rax, qword [rsp + 0x1f0]
movss xmm0, dword [rax + 0x80]
movss dword [rsp + 0x40], xmm0
mov rax, qword [rsp + 0x1f0]
mov eax, dword [rax + 0x70]
inc eax
mov rcx, qword [rsp + 0x1f0]
movsx ecx, word [rcx + 0x214]
cmp eax, ecx
jne 0x14009889f
mov byte [rsp + 0x30], 1
jmp 0x1400988a4
mov byte [rsp + 0x30], 0
movzx eax, byte [rsp + 0x30]
mov byte [rsp + 0x36], al
mov rax, qword [rsp + 0x1f0]
mov eax, dword [rax + 0x70]
inc eax
mov rcx, qword [rsp + 0x1f0]
movsx ecx, word [rcx + 0x212]
cmp eax, ecx
jne 0x1400988d4
mov byte [rsp + 0x31], 1
jmp 0x1400988d9
mov byte [rsp + 0x31], 0
movzx eax, byte [rsp + 0x31]
mov byte [rsp + 0x38], al
mov rax, qword [rsp + 0x1f0]
cmp dword [rax + 0x70], 0
jne 0x14009892e
movss xmm0, dword [rsp + 0x40]
subss xmm0, dword [rsp + 0x3c]
movss dword [rsp + 0x84], xmm0
mov rax, qword [rsp + 0x1f0]
movsx eax, word [rax + 0x78]
mov edx, eax
mov rcx, qword [rsp + 0x1f0]
call fcn.140045fa0
movss xmm0, dword [rsp + 0x84]
movss dword [rax + 8], xmm0
mov rax, qword [rsp + 0x1f0]
movss xmm0, dword [rsp + 0x40]
comiss xmm0, dword [rax + 0x11c]
jb 0x140098963
mov rax, qword [rsp + 0x1f0]
movss xmm0, dword [rsp + 0x3c]
comiss xmm0, dword [rax + 0x124]
ja 0x140098963
mov byte [rsp + 0x32], 1
jmp 0x140098968
mov byte [rsp + 0x32], 0
movzx eax, byte [rsp + 0x32]
mov byte [rsp + 0x37], al
movzx eax, byte [rsp + 0x37]
test eax, eax
je 0x14009909a
mov dword [rsp + 0x50], 0
mov dword [rsp + 0x54], 0
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x1f0]
cmp dword [rcx + rax + 0x98], 0x1000000
je 0x1400989ca
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x1f0]
mov eax, dword [rcx + rax + 0x98]
mov dword [rsp + 0x50], eax
jmp 0x140098a18
mov rax, qword [rsp + 0x1f0]
mov eax, dword [rax + 4]
and eax, 0x40
test eax, eax
je 0x140098a18
mov rax, qword [rsp + 0x1f0]
mov eax, dword [rax + 0x94]
and eax, 1
test eax, eax
je 0x1400989fb
mov dword [rsp + 0x70], 0x2e
jmp 0x140098a03
mov dword [rsp + 0x70], 0x2d
movss xmm1, dword [0x140165e0c]
mov ecx, dword [rsp + 0x70]
call fcn.14004b910
mov dword [rsp + 0x50], eax
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0x1f0]
cmp dword [rcx + rax + 0x98], 0x1000000
je 0x140098a52
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0x1f0]
mov eax, dword [rcx + rax + 0x98]
mov dword [rsp + 0x54], eax
mov dword [rsp + 0x58], 0
movss xmm0, dword [0x140165e0c]
movss dword [rsp + 0xb0], xmm0
mov rax, qword [rsp + 0x1f0]
cmp dword [rax + 0x70], 0
jg 0x140098a99
mov rax, qword [rsp + 0x1f0]
mov rcx, qword [rsp + 0x1f0]
mov rcx, qword [rcx + 0x178]
cmp qword [rax + 0x180], rcx
jne 0x140098af6
mov rax, qword [rsp + 0x1f0]
mov eax, dword [rax + 4]
and eax, 0x80
test eax, eax
je 0x140098af6
mov rax, qword [rsp + 0x1f0]
mov eax, dword [rax + 0x90]
shl eax, 0
sar eax, 0x10
and eax, 1
test eax, eax
je 0x140098adc
mov rax, qword [rsp + 0x1f0]
mov eax, dword [rax + 0xa0]
mov dword [rsp + 0x74], eax
jmp 0x140098aee
mov rax, qword [rsp + 0x1f0]
mov eax, dword [rax + 0xa4]
mov dword [rsp + 0x74], eax
mov eax, dword [rsp + 0x74]
mov dword [rsp + 0x58], eax
mov rax, qword [rsp + 0x1f0]
movsx eax, word [rax + 0x21a]
test eax, eax
jl 0x140098b10
mov byte [rsp + 0x33], 1
jmp 0x140098b15
mov byte [rsp + 0x33], 0
movzx eax, byte [rsp + 0x33]
mov byte [rsp + 0x34], al
movzx eax, byte [rsp + 0x36]
mov byte [rsp + 0x35], al
mov eax, dword [rsp + 0x54]
mov ecx, dword [rsp + 0x50]
or ecx, eax
mov eax, ecx
or eax, dword [rsp + 0x58]
test eax, eax
jne 0x140098b51
movzx eax, byte [rsp + 0x35]
test eax, eax
jne 0x140098b51
movzx eax, byte [rsp + 0x34]
test eax, eax
je 0x140098bfd
mov rax, qword [rsp + 0x1f0]
mov eax, dword [rax + 4]
and eax, 0x100000
test eax, eax
jne 0x140098bca
mov rax, qword [rsp + 0x1f0]
add rax, 0x138
mov qword [rsp + 0xb8], rax
lea rdx, [rsp + 0x190]
mov rcx, qword [rsp + 0xb8]
call fcn.140043400
lea rcx, [rsp + 0x180]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x48]
mov rax, qword [rax + 0x298]
lea rcx, [rsp + 0x180]
lea rdi, [rax + 0x88]
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x1f0]
mov rax, qword [rax + 0x198]
mov qword [rsp + 0xc0], rax
xor r8d, r8d
mov rax, qword [rsp + 0x48]
mov rdx, qword [rax + 0x298]
mov rcx, qword [rsp + 0xc0]
call fcn.140089230
cmp dword [rsp + 0x50], 0
jne 0x140098c0f
cmp dword [rsp + 0x54], 0
je 0x140098d2e
movss xmm0, dword [rsp + 0x40]
movss dword [rsp + 0x20], xmm0
mov rax, qword [rsp + 0x1f0]
movss xmm3, dword [rax + 0x110]
movss xmm2, dword [rsp + 0x3c]
mov rax, qword [rsp + 0x1f0]
movss xmm1, dword [rax + 0x108]
lea rcx, [rsp + 0x1a0]
call fcn.140042cc0
mov rax, qword [rsp + 0x1f0]
add rax, 0x128
mov rdx, rax
lea rcx, [rsp + 0x1a0]
call fcn.1400432c0
cmp dword [rsp + 0x50], 0
je 0x140098ccd
movss xmm0, dword [rsp + 0x1a4]
comiss xmm0, dword [rsp + 0x1ac]
jae 0x140098ccd
mov rax, qword [rsp + 0x48]
mov rax, qword [rax + 0x298]
mov qword [rsp + 0xc8], rax
mov dword [rsp + 0x28], 0
xorps xmm0, xmm0
movss dword [rsp + 0x20], xmm0
mov r9d, dword [rsp + 0x50]
lea r8, [rsp + 0x1a8]
lea rdx, [rsp + 0x1a0]
mov rcx, qword [rsp + 0xc8]
call fcn.140085010
cmp dword [rsp + 0x54], 0
je 0x140098d2e
movss xmm0, dword [rsp + 0x1a4]
comiss xmm0, dword [rsp + 0x1ac]
jae 0x140098d2e
mov rax, qword [rsp + 0x48]
mov rax, qword [rax + 0x298]
mov qword [rsp + 0xd0], rax
mov dword [rsp + 0x28], 0
xorps xmm0, xmm0
movss dword [rsp + 0x20], xmm0
mov r9d, dword [rsp + 0x54]
lea r8, [rsp + 0x1a8]
lea rdx, [rsp + 0x1a0]
mov rcx, qword [rsp + 0xd0]
call fcn.140085010
movzx eax, byte [rsp + 0x34]
test eax, eax
je 0x140098eca
mov rax, qword [rsp + 0x1f0]
add rax, 0x38
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0x1f0]
movsx eax, word [rax + 0x21a]
mov edx, eax
mov rcx, qword [rsp + 0xd8]
call fcn.14009c090
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0x1f0]
add rax, 0x38
mov qword [rsp + 0xe0], rax
xor edx, edx
mov rcx, qword [rsp + 0xe0]
call fcn.14009c090
mov qword [rsp + 0x68], rax
jmp 0x140098dad
mov rax, qword [rsp + 0x68]
add rax, 8
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0xe8]
cmp qword [rsp + 0x68], rax
ja 0x140098eca
mov rax, qword [rsp + 0x1f0]
add rax, 0x18
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0x68]
movsx eax, word [rax + 4]
mov edx, eax
mov rcx, qword [rsp + 0xf0]
call fcn.14006ed90
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0x68]
movsx eax, word [rax + 4]
mov r8d, eax
mov rdx, qword [rsp + 0x1f0]
lea rcx, [rsp + 0x1b0]
call fcn.1400986e0
mov rax, qword [rsp + 0x1f0]
add rax, 0x128
mov rdx, rax
lea rcx, [rsp + 0x1b0]
call fcn.1400432c0
mov rax, qword [rsp + 0xa0]
movss xmm1, dword [rax + 0x20]
movss xmm0, dword [rsp + 0x1b0]
call fcn.140071570
movss dword [rsp + 0x1b0], xmm0
mov rax, qword [rsp + 0xa0]
movss xmm1, dword [rax + 0xc]
movss xmm0, dword [rsp + 0x1b8]
call fcn.140071530
movss dword [rsp + 0x1b8], xmm0
mov rax, qword [rsp + 0x48]
mov rax, qword [rax + 0x298]
mov qword [rsp + 0xf8], rax
mov dword [rsp + 0x28], 0
xorps xmm0, xmm0
movss dword [rsp + 0x20], xmm0
mov rax, qword [rsp + 0x68]
mov r9d, dword [rax]
lea r8, [rsp + 0x1b8]
lea rdx, [rsp + 0x1b0]
mov rcx, qword [rsp + 0xf8]
call fcn.140085010
jmp 0x140098d9f
cmp dword [rsp + 0x58], 0
je 0x140098fa5
mov rax, qword [rsp + 0x1f0]
movss xmm0, dword [rsp + 0x3c]
comiss xmm0, dword [rax + 0x12c]
jb 0x140098fa5
mov rax, qword [rsp + 0x1f0]
movss xmm0, dword [rsp + 0x3c]
comiss xmm0, dword [rax + 0x134]
jae 0x140098fa5
mov rax, qword [rsp + 0x48]
mov rax, qword [rax + 0x298]
mov qword [rsp + 0x110], rax
movss xmm2, dword [rsp + 0x3c]
mov rax, qword [rsp + 0x1f0]
movss xmm1, dword [rax + 0xac]
lea rcx, [rsp + 0x160]
call fcn.14000cca0
mov qword [rsp + 0x100], rax
movss xmm2, dword [rsp + 0x3c]
mov rax, qword [rsp + 0x1f0]
movss xmm1, dword [rax + 0xa8]
lea rcx, [rsp + 0x168]
call fcn.14000cca0
mov qword [rsp + 0x108], rax
movss xmm0, dword [0x140165e0c]
movss dword [rsp + 0x20], xmm0
mov r9d, dword [rsp + 0x58]
mov r8, qword [rsp + 0x100]
mov rdx, qword [rsp + 0x108]
mov rcx, qword [rsp + 0x110]
call fcn.140084da0
movzx eax, byte [rsp + 0x35]
test eax, eax
je 0x14009909a
mov rax, qword [rsp + 0x1f0]
movss xmm0, dword [rsp + 0x40]
comiss xmm0, dword [rax + 0x12c]
jb 0x14009909a
mov rax, qword [rsp + 0x1f0]
movss xmm0, dword [rsp + 0x40]
comiss xmm0, dword [rax + 0x134]
jae 0x14009909a
mov rax, qword [rsp + 0x48]
mov rax, qword [rax + 0x298]
mov qword [rsp + 0x128], rax
mov rax, qword [rsp + 0x1f0]
mov eax, dword [rax + 0xa0]
mov dword [rsp + 0x88], eax
movss xmm2, dword [rsp + 0x40]
mov rax, qword [rsp + 0x1f0]
movss xmm1, dword [rax + 0xac]
lea rcx, [rsp + 0x170]
call fcn.14000cca0
mov qword [rsp + 0x118], rax
movss xmm2, dword [rsp + 0x40]
mov rax, qword [rsp + 0x1f0]
movss xmm1, dword [rax + 0xa8]
lea rcx, [rsp + 0x178]
call fcn.14000cca0
mov qword [rsp + 0x120], rax
movss xmm0, dword [0x140165e0c]
movss dword [rsp + 0x20], xmm0
mov r9d, dword [rsp + 0x88]
mov r8, qword [rsp + 0x118]
mov rdx, qword [rsp + 0x120]
mov rcx, qword [rsp + 0x128]
call fcn.140084da0
movzx eax, byte [rsp + 0x38]
test eax, eax
je 0x1400990f3
mov dword [rsp + 0x5c], 0
jmp 0x1400990b7
mov eax, dword [rsp + 0x5c]
inc eax
mov dword [rsp + 0x5c], eax
mov rax, qword [rsp + 0x1f0]
mov eax, dword [rax + 0x6c]
cmp dword [rsp + 0x5c], eax
jge 0x1400990f3
mov rax, qword [rsp + 0x1f0]
add rax, 0x18
mov qword [rsp + 0x130], rax
mov edx, dword [rsp + 0x5c]
mov rcx, qword [rsp + 0x130]
call fcn.14006ed90
mov byte [rax + 0x6a], 0
jmp 0x1400990ad
movzx eax, byte [rsp + 0x36]
test eax, eax
je 0x140099413
mov rax, qword [rsp + 0x1f0]
movss xmm0, dword [rax + 0x80]
addss xmm0, dword [0x140165e0c]
mov rax, qword [rsp + 0x48]
movss xmm1, dword [rax + 0x20c]
call fcn.140071570
movss dword [rsp + 0x78], xmm0
mov rax, qword [rsp + 0x1f0]
mov byte [rax + 0x22d], 1
mov rax, qword [rsp + 0x1f0]
movss xmm0, dword [rsp + 0x78]
subss xmm0, dword [rax + 0xec]
movss dword [rsp + 0x8c], xmm0
mov rax, qword [rsp + 0x1f0]
movsx eax, word [rax + 0x78]
mov edx, eax
mov rcx, qword [rsp + 0x1f0]
call fcn.140045fa0
movss xmm0, dword [rsp + 0x8c]
movss dword [rax + 0xc], xmm0
mov rax, qword [rsp + 0x48]
movss xmm1, dword [rax + 0x214]
movss xmm0, dword [rsp + 0x78]
call fcn.140071530
movss dword [rsp + 0x7c], xmm0
mov rax, qword [rsp + 0x1f0]
movss xmm0, dword [rsp + 0x7c]
movss dword [rax + 0x14c], xmm0
mov rax, qword [rsp + 0x1f0]
movss xmm0, dword [rsp + 0x7c]
movss dword [rax + 0x12c], xmm0
mov rax, qword [rsp + 0x1f0]
mov rcx, qword [rsp + 0x48]
movss xmm0, dword [rcx + 0x214]
movss dword [rax + 0x154], xmm0
mov rax, qword [rsp + 0x1f0]
mov rcx, qword [rsp + 0x1f0]
movss xmm0, dword [rcx + 0x154]
movss dword [rax + 0x134], xmm0
mov rax, qword [rsp + 0x1f0]
mov rcx, qword [rsp + 0x1f0]
movzx ecx, word [rcx + 0x220]
mov word [rax + 0x21e], cx
mov rax, qword [rsp + 0x1f0]
mov rcx, qword [rsp + 0x1f0]
movss xmm0, dword [rax + 0x80]
subss xmm0, dword [rcx + 0x7c]
movss dword [rsp + 0x90], xmm0
mov rax, qword [rsp + 0x1f0]
mov rcx, qword [rsp + 0x1f0]
movss xmm0, dword [rax + 0x10c]
addss xmm0, dword [rcx + 0x80]
mov rax, qword [rsp + 0x1f0]
subss xmm0, dword [rax + 0xec]
movss dword [rsp + 0x80], xmm0
mov rax, qword [rsp + 0x48]
movss xmm0, dword [rsp + 0x80]
movss dword [rax + 0x104], xmm0
mov rax, qword [rsp + 0x1f0]
movss xmm0, dword [rsp + 0x80]
movss dword [rax + 0x80], xmm0
mov rax, qword [rsp + 0x1f0]
movss xmm0, dword [rax + 0x80]
subss xmm0, dword [rsp + 0x90]
mov rax, qword [rsp + 0x1f0]
movss dword [rax + 0x7c], xmm0
mov dword [rsp + 0x60], 0
jmp 0x1400992f4
mov eax, dword [rsp + 0x60]
inc eax
mov dword [rsp + 0x60], eax
mov rax, qword [rsp + 0x1f0]
mov eax, dword [rax + 0x6c]
cmp dword [rsp + 0x60], eax
jge 0x140099369
mov rax, qword [rsp + 0x1f0]
add rax, 0x18
mov qword [rsp + 0x138], rax
mov edx, dword [rsp + 0x60]
mov rcx, qword [rsp + 0x138]
call fcn.14006ed90
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x98]
movzx ecx, word [rcx + 0x60]
mov word [rax + 0x5c], cx
mov rax, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x1f0]
movss xmm0, dword [rcx + 0x14c]
movss dword [rax + 0x24], xmm0
jmp 0x1400992ea
mov rax, qword [rsp + 0x1f0]
add rax, 0x18
mov qword [rsp + 0x140], rax
xor edx, edx
mov rcx, qword [rsp + 0x140]
call fcn.14006ed90
add rax, 0x20
mov rdx, rax
mov rcx, qword [rsp + 0x48]
call fcn.14009a770
mov rax, qword [rsp + 0x1f0]
mov rax, qword [rax + 0x198]
mov qword [rsp + 0x158], rax
mov rax, qword [rsp + 0x1f0]
add rax, 0x18
mov qword [rsp + 0x148], rax
xor edx, edx
mov rcx, qword [rsp + 0x148]
call fcn.14006ed90
movzx eax, word [rax + 0x5c]
mov dword [rsp + 0x94], eax
mov rax, qword [rsp + 0x48]
mov rax, qword [rax + 0x298]
mov qword [rsp + 0x150], rax
mov r8d, dword [rsp + 0x94]
mov rdx, qword [rsp + 0x150]
mov rcx, qword [rsp + 0x158]
call fcn.140089230
mov rax, qword [rsp + 0x1f0]
mov eax, dword [rax + 0x90]
shl eax, 0x10
sar eax, 0x10
and eax, 1
test eax, eax
jne 0x14009944c
mov rax, qword [rsp + 0x1f0]
mov eax, dword [rax + 0x94]
inc eax
mov rcx, qword [rsp + 0x1f0]
mov dword [rcx + 0x94], eax
mov rax, qword [rsp + 0x1f0]
mov byte [rax + 0x223], 0
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.140125230
add rsp, 0x1d8
pop rdi
pop rsi
ret