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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
mov rax, qword [0x180195040]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rbx, qword [0x180197488]
mov ebp, 3
test byte [rbx + 8], 2
mov byte [rbx + 0xd5], 0
je 0x180021b95
test byte [rbx + 0xc], 1
je 0x180021b95
movdqa xmm0, xmmword [0x18017c100]
lea r10, [rsp + 0x48]
movdqa xmm1, xmmword [0x18017c110]
mov r15b, 1
movdqu xmmword [rsp + 0x48], xmm0
movdqu xmmword [rsp + 0x58], xmm1
nop word [rax + rax]
mov r9d, dword [r10]
mov rcx, rbx
mov edx, r9d
call fcn.180018e10
cmp byte [rax], 0
je 0x180021b85
lea eax, [r9 - 0x200]
cmp eax, 0x8b
jbe 0x180021b6e
cmp r9d, 0x1000
je 0x180021b6e
cmp r9d, 0x2000
je 0x180021b6e
cmp r9d, 0x4000
je 0x180021b6e
cmp r9d, 0x8000
je 0x180021b6e
cmp r9d, 0x800
jne 0x180021b7f
mov edx, r9d
mov rcx, rbx
call fcn.180004790
cmp byte [rax + 8], 0
jne 0x180021b85
mov dword [rbx + 0x4974], ebp
add r10, 4
lea rax, [rsp + 0x68]
cmp r10, rax
jne 0x180021b20
jmp 0x180021b98
xor r15b, r15b
movzx r13d, byte [rbx + 8]
movdqa xmm0, xmmword [0x18017c0f0]
mov dword [rsp + 0x38], 0x201
mov dword [rsp + 0x3c], 0x203
mov dword [rsp + 0x40], 0x204
movdqu xmmword [rsp + 0x28], xmm0
and r13b, 1
je 0x180021c47
lea r10, [rsp + 0x28]
nop
mov r9d, dword [r10]
mov rcx, rbx
mov edx, r9d
call fcn.180018e10
cmp byte [rax], 0
je 0x180021c39
lea eax, [r9 - 0x200]
cmp eax, 0x8b
jbe 0x180021c1e
cmp r9d, 0x1000
je 0x180021c1e
cmp r9d, 0x2000
je 0x180021c1e
cmp r9d, 0x4000
je 0x180021c1e
cmp r9d, 0x8000
je 0x180021c1e
cmp r9d, 0x800
jne 0x180021c2f
mov edx, r9d
mov rcx, rbx
call fcn.180004790
cmp byte [rax + 8], 0
jne 0x180021c39
mov dword [rbx + 0x4974], 2
add r10, 4
lea rax, [rsp + 0x44]
cmp r10, rax
jne 0x180021bd0
mov edx, dword [rbx + 0x4990]
xor r14d, r14d
mov dword [rbx + 0x4960], r14d
test edx, edx
je 0x180021d33
mov r8, qword [rbx + 0x4940]
test r8, r8
je 0x180021d33
cmp dword [rbx + 0x4948], edx
je 0x180021c90
mov dword [rbx + 0x4960], edx
mov eax, dword [rbx + 0x4994]
mov dword [rbx + 0x4964], eax
mov dword [rbx + 0x4968], r14d
mov ecx, dword [rbx + 0x4994]
movsxd rax, dword [rbx + 0x4978]
mov dword [rbx + 0x4978], eax
mov dword [rbx + 0x494c], ecx
mov rcx, rax
mov dword [rbx + 0x4948], edx
add rcx, rcx
mov dword [r8 + rax*4 + 0x3a0], edx
mov rax, qword [rbx + 0x4940]
movups xmm0, xmmword [rbx + 0x4998]
movups xmmword [rax + rcx*8 + 0x3a8], xmm0
mov rax, qword [rbx + 0x4940]
movsxd rdx, dword [rbx + 0x4978]
mov rcx, qword [rax + 0x390]
mov dword [rcx + rdx*8 + 0x3c8], 0x7f7fffff
mov rax, qword [rbx + 0x4940]
movsxd rdx, dword [rbx + 0x4978]
mov rcx, qword [rax + 0x390]
mov dword [rcx + rdx*8 + 0x3cc], 0x7f7fffff
mov byte [rbx + 0x497c], 1
cmp byte [rbx + 0x4982], r14b
je 0x180021d33
mov word [rbx + 0x497d], 1
mov byte [rbx + 0x497f], 1
mov word [rbx + 0x4981], r14w
mov dword [rbx + 0x4990], r14d
cmp byte [rbx + 0x49b8], r14b
je 0x180021d50
call fcn.180022f30
xor r12b, r12b
mov dword [rbx + 0x49fc], r14d
mov esi, 1
mov word [rbx + 0x49b8], r14w
cmp byte [rbx + 0x497d], r12b
je 0x180021d9a
cmp byte [rbx + 0x497c], r12b
je 0x180021d9a
cmp byte [rbx + 0x497e], r12b
jne 0x180021d9a
cmp byte [rbx + 0x497f], r12b
je 0x180021d9a
cmp qword [rbx + 0x4940], r14
movzx r12d, r12b
cmovne r12d, esi
mov rcx, qword [rbx + 0x4940]
mov byte [rbx + 0x497d], r14b
test rcx, rcx
je 0x180021ddc
mov rax, rcx
cmp qword [rax + 0x378], rax
je 0x180021dd0
test dword [rax + 0x14], 0x14000000
jne 0x180021dd0
mov rax, qword [rax + 0x368]
test rax, rax
jne 0x180021db0
jmp 0x180021ddc
cmp rax, rcx
je 0x180021ddc
mov qword [rax + 0x398], rcx
mov rax, qword [rbx + 0x4940]
test rax, rax
je 0x180021e01
cmp qword [rax + 0x398], r14
je 0x180021e01
cmp dword [rbx + 0x4978], r14d
jne 0x180021e01
mov qword [rax + 0x398], r14
call fcn.180023e00
test r13b, r13b
jne 0x180021e14
test r15b, r15b
je 0x180021f29
mov rax, qword [rbx + 0x4940]
test rax, rax
je 0x180021f29
test dword [rax + 0x14], 0x40000
jne 0x180021f29
mov byte [rbx + 0xd7], sil
cmp dword [rbx + 0x4948], r14d
je 0x180021f30
cmp byte [rbx + 0x497e], r14b
jne 0x180021f30
movzx eax, sil
mov byte [rbx + 0xd8], al
call fcn.180023340
mov qword [rbx + 0x4954], r14
mov dword [rbx + 0x4950], r14d
mov dword [rbx + 0x495c], r14d
cmp dword [rbx + 0x4948], r14d
je 0x18002204a
cmp byte [rbx + 0x497e], r14b
jne 0x18002204a
cmp qword [rbx + 0x4ac8], r14
jne 0x18002204a
mov rax, qword [rbx + 0x4940]
test rax, rax
je 0x18002204a
test dword [rax + 0x14], 0x40000
jne 0x18002204a
mov rdi, qword [0x180197488]
test r13b, r13b
je 0x180021ed8
cmp byte [rdi + 0x2ee4], r14b
je 0x180021ed8
cmp byte [rdi + 0x4088], r14b
je 0x180021eef
test r15b, r15b
je 0x180021f44
cmp byte [rdi + 0x3504], r14b
je 0x180021f44
cmp byte [rdi + 0x4520], r14b
jne 0x180021f44
movzx r14d, sil
test r13b, r13b
je 0x180021f0b
xor r8d, r8d
xor edx, edx
mov ecx, 0x20c
call fcn.180019480
test al, al
jne 0x180021f23
test r15b, r15b
je 0x180021f44
xor r8d, r8d
xor edx, edx
mov ecx, 0x26e
call fcn.180019480
test al, al
je 0x180021f44
movzx ebp, sil
jmp 0x180021f47
mov byte [rbx + 0xd7], r14b
cmp qword [rbx + 0x4ac8], r14
jne 0x180021e52
xor al, al
jmp 0x180021e56
xor bpl, bpl
test r13b, r13b
je 0x180021f5e
cmp byte [rdi + 0x2ef4], 0
je 0x180021f5e
cmp byte [rdi + 0x4094], 0
je 0x180021f75
test r15b, r15b
je 0x180021faf
cmp byte [rdi + 0x34f4], 0
je 0x180021faf
cmp byte [rdi + 0x4514], 0
jne 0x180021faf
movzx edi, sil
test r13b, r13b
je 0x180021f91
xor r8d, r8d
xor edx, edx
mov ecx, 0x20d
call fcn.180019480
test al, al
jne 0x180021fa9
test r15b, r15b
je 0x180021fb2
xor r8d, r8d
xor edx, edx
mov ecx, 0x26d
call fcn.180019480
test al, al
je 0x180021fb2
movzx edx, sil
jmp 0x180021fb4
xor dil, dil
xor dl, dl
mov ecx, dword [rbx + 0x3fa8]
test ecx, ecx
jne 0x180021fdb
test bpl, bpl
je 0x180021fe3
mov eax, dword [rbx + 0x4948]
mov dword [rbx + 0x4950], eax
mov dword [rbx + 0x495c], 2
jmp 0x180021fe3
cmp ecx, dword [rbx + 0x4948]
jne 0x18002201b
test dl, dl
je 0x180021ff9
mov eax, dword [rbx + 0x4948]
mov dword [rbx + 0x4950], eax
mov dword [rbx + 0x495c], esi
test ecx, ecx
je 0x180022005
cmp ecx, dword [rbx + 0x4948]
jne 0x18002201b
test r14b, r14b
jne 0x18002200f
test dil, dil
je 0x18002201b
mov eax, dword [rbx + 0x4948]
mov dword [rbx + 0x4954], eax
mov eax, dword [rbx + 0x3fa8]
test eax, eax
je 0x18002202d
cmp eax, dword [rbx + 0x4948]
jne 0x180022042
test bpl, bpl
jne 0x180022036
test dl, dl
je 0x180022042
mov eax, dword [rbx + 0x4948]
mov dword [rbx + 0x4958], eax
mov ebp, 3
xor r14d, r14d
mov rax, qword [rbx + 0x4940]
test rax, rax
je 0x180022066
test dword [rax + 0x14], 0x40000
je 0x180022066
mov byte [rbx + 0x497e], sil
mov eax, dword [rbx + 0x496c]
test eax, eax
je 0x18002208e
mov dword [rbx + 0x4958], eax
mov dword [rbx + 0x4954], eax
mov dword [rbx + 0x4950], eax
mov eax, dword [rbx + 0x4970]
mov dword [rbx + 0x495c], eax
mov dword [rbx + 0x496c], r14d
call fcn.1800224c0
cmp dword [rbx + 0x49c8], 0xffffffff
xorps xmm5, xmm5
mov r11, qword [0x180197488]
jne 0x1800221f4
mov rdi, qword [r11 + 0x4940]
test rdi, rdi
je 0x1800221f4
cmp qword [r11 + 0x4ac8], 0
jne 0x1800221f4
test dword [rdi + 0x14], 0x40000
jne 0x1800221f4
cmp byte [r11 + 0x2e24], 0
je 0x1800221f4
movss xmm0, dword [r11 + 0x2e28]
comiss xmm5, xmm0
ja 0x1800221f4
ucomiss xmm0, xmm5
mov r10, r11
jp 0x180022106
je 0x18002212d
movss xmm1, dword [r11 + 0x70]
comiss xmm0, xmm1
jbe 0x1800221f4
movss xmm2, dword [r11 + 0x74]
mov ecx, 0x200
call fcn.180018ea0
test eax, eax
jle 0x1800221f4
cmp byte [r10 + 0x47bc], 0
je 0x180022145
cmp dword [r10 + 0x3fa8], 0xffffffff
jne 0x1800221f4
cmp dword [r10 + 0x3ff0], 0xffffffff
jne 0x1800221f4
cmp byte [r11 + 0xe1c], 0
jne 0x1800221f4
cmp byte [r11 + 0xe1e], 0
jne 0x1800221f4
movzx eax, byte [r11 + 0xe1d]
test byte [r11 + 8], sil
je 0x1800221a0
test al, al
je 0x180022188
mov esi, 0xffffffff
jmp 0x1800221ba
cmp byte [r11 + 0x497e], sil
jne 0x1800221ba
cmp dword [r11 + 0x3fa8], 0
jne 0x1800221ba
mov esi, r14d
jmp 0x1800221ba
test al, al
je 0x1800221ab
mov esi, 0xffffffff
jmp 0x1800221ba
cmp dword [r11 + 0x3fa8], 0
mov esi, r14d
setne sil
mov dword [r11 + 0x49f8], esi
mov eax, 0x21
cmp byte [rdi + 0xbc], 0
mov ecx, 0xffffffff
mov r8d, 0x1400
cmovne ebp, eax
sar esi, 0x1f
mov r9d, ebp
lea edx, [rsi + 3]
call fcn.1800213b0
mov dword [r11 + 0x49fc], 0xffffffff
cmp byte [r11 + 0x49b9], 0
jne 0x18002220c
cmp byte [r11 + 0x4981], 0
jne 0x18002220c
xor al, al
jmp 0x18002220e
mov al, 1
mov byte [r11 + 0x4980], al
mov rcx, qword [rbx + 0x4940]
mov byte [rbx + 0x497c], 0
test rcx, rcx
je 0x180022420
test dword [rcx + 0x14], 0x40000
jne 0x180022420
cmp qword [rbx + 0x4ac8], 0
jne 0x180022420
mov rax, qword [rcx]
movss xmm0, dword [rax + 0x3c74]
mov rax, qword [rcx + 0x368]
mulss xmm0, dword [rcx + 0x290]
test rax, rax
je 0x18002226e
mulss xmm0, dword [rax + 0x290]
cmp word [rcx + 0x15c], 0
mulss xmm0, dword [0x18017bf2c]
mov edx, dword [rbx + 0x49c8]
movss xmm2, dword [0x18017be00]
mulss xmm0, dword [rbx + 0x18]
addss xmm0, dword [0x18017bdb0]
cvttss2si eax, xmm0
movd xmm3, eax
cvtdq2ps xmm3, xmm3
jne 0x180022340
cmp byte [rcx + 0x162], 0
je 0x180022340
cmp edx, 0xffffffff
je 0x180022340
movss xmm1, dword [0x18017bfe8]
test edx, edx
je 0x1800222d6
cmp edx, 1
jne 0x180022306
movaps xmm0, xmm2
jmp 0x1800222d9
movaps xmm0, xmm1
mulss xmm0, xmm3
mov dword [rcx + 0x9c], r14d
mov dword [rcx + 0xa4], r14d
addss xmm0, dword [rcx + 0x84]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rcx + 0x94], xmm0
cmp edx, 2
je 0x180022313
cmp edx, 3
jne 0x180022340
movaps xmm1, xmm2
mulss xmm1, xmm3
mov dword [rcx + 0xa0], r14d
mov dword [rcx + 0xa8], r14d
addss xmm1, dword [rcx + 0x88]
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rcx + 0x98], xmm0
test r15b, r15b
je 0x180022420
cmp byte [r11 + 0x3554], 0
movss xmm1, dword [r11 + 0x35f0]
movss xmm0, dword [r11 + 0x35d0]
subss xmm1, dword [r11 + 0x35e0]
subss xmm0, dword [r11 + 0x35c0]
je 0x18002238b
cmp byte [r11 + 0x455c], 0
jne 0x18002238b
movss xmm2, dword [0x18017bd78]
jmp 0x1800223a7
cmp byte [r11 + 0x3564], 0
je 0x1800223a7
cmp byte [r11 + 0x4568], 0
jne 0x1800223a7
movss xmm2, dword [0x18017bec0]
ucomiss xmm0, xmm5
jp 0x1800223ae
je 0x1800223e8
cmp byte [rcx + 0xb4], 0
je 0x1800223e8
mulss xmm0, xmm3
mov dword [rcx + 0x9c], r14d
mov dword [rcx + 0xa4], r14d
mulss xmm0, xmm2
addss xmm0, dword [rcx + 0x84]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rcx + 0x94], xmm0
ucomiss xmm1, xmm5
jp 0x1800223ef
je 0x180022420
mulss xmm1, xmm3
mov dword [rcx + 0xa0], r14d
mov dword [rcx + 0xa8], r14d
mulss xmm1, xmm2
addss xmm1, dword [rcx + 0x88]
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rcx + 0x98], xmm0
test r13b, r13b
jne 0x180022435
test r15b, r15b
jne 0x180022435
mov word [rbx + 0x497e], 1
jmp 0x180022480
test r12b, r12b
je 0x180022480
test byte [rbx + 8], 4
je 0x180022480
test byte [rbx + 0xc], 4
je 0x180022480
lea rcx, [rsp + 0x20]
call fcn.1800217b0
movss xmm0, dword [rax]
movss xmm1, dword [rax + 4]
movss dword [rbx + 0x36e8], xmm0
movss dword [rbx + 0x36ec], xmm1
movss dword [rbx + 0xe00], xmm0
movss dword [rbx + 0xe04], xmm1
mov byte [rbx + 0xd5], 1
mov dword [rbx + 0x49f4], r14d
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1800f1520
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret