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

Disassembly:
mov rax, rsp
push rbp
push rbx
push rdi
push r13
push r14
push r15
lea rbp, [rax - 0x38]
sub rsp, 0x108
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x68], xmm8
movaps xmmword [rax - 0x78], xmm9
movaps xmmword [rax - 0xb8], xmm13
mov rax, qword [0x14007f040]
xor rax, rsp
mov qword [rsp + 0x70], rax
cmp byte [rcx + 0x102], 0
movzx r14d, r9b
movss xmm9, dword [rbp + 0x70]
mov r13, rdx
mov rbx, qword [0x14007fbe0]
mov rdi, rcx
mov r15d, dword [rcx + 0x14]
movss xmm13, dword [rcx + 0x90]
movss xmm8, dword [rcx + 0x94]
mov byte [rsp + 0x59], r9b
mov byte [rsp + 0x58], r8b
mov byte [rcx + 0x104], 0
je 0x140021c52
movss xmm6, dword [rbx + 0x3a40]
movss dword [rbx + 0x3a40], xmm8
test r8b, r8b
je 0x140021beb
cmp byte [rbx + 0x4d72], 0
mov eax, 0x1a0
je 0x140021bf0
mov eax, 0x1b0
movups xmm0, xmmword [rbx + rax + 0x39f8]
lea rcx, [rsp + 0x60]
movups xmmword [rsp + 0x60], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rbx + 0x39f8]
movss dword [rsp + 0x6c], xmm0
call fcn.1400168b0
mov rdx, qword [r13 + 8]
mov r8d, eax
mov rcx, qword [r13]
or r8d, 0xff000000
cmp byte [rdi + 0xfe], 0
mov r9b, 1
movss dword [rsp + 0x20], xmm13
cmove r8d, eax
call fcn.140018780
movss dword [rbx + 0x3a40], xmm6
jmp 0x140022589
mov qword [rsp + 0x150], rsi
mov qword [rsp + 0x100], r12
mov r12d, 1
movaps xmmword [rsp + 0x90], xmm12
xorps xmm12, xmm12
test r15b, r15b
js 0x140021ed2
xor sil, sil
cmp byte [rbx + 0x4f1c], sil
je 0x140021cd3
mov eax, dword [rbx + 0x40a8]
sub eax, dword [rbx + 0x4fa4]
cmp eax, r12d
jg 0x140021cd3
cmp byte [rbx + 0x5b], sil
je 0x140021cd3
cmp dword [rbx + 0x4f44], 0xffffffff
je 0x140021cd3
lea rdx, [rbx + 0x4f48]
lea rcx, str._IMWINDOW
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x140021cd3
mov rax, qword [rbx + 0x4f30]
movzx esi, sil
cmp qword [rax], rdi
cmove esi, r12d
test r15d, 0x6000000
je 0x140021ce3
mov ecx, 0x130
jmp 0x140021cfd
bt r15d, 0x18
jae 0x140021cf8
mov ecx, 0x120
test byte [rdi + 0x445], r12b
je 0x140021cfd
mov ecx, 0x110
mov rax, qword [0x14007fbe0]
movups xmm0, xmmword [rax + rcx + 0x39f8]
lea rcx, [rsp + 0x60]
movups xmmword [rsp + 0x60], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x39f8]
movss dword [rsp + 0x6c], xmm0
call fcn.1400168b0
cmp byte [rdi + 0xfe], 0
mov r14d, eax
je 0x140021d67
or r14d, 0xff000000
test sil, sil
je 0x140021dcc
mov rcx, qword [rdi + 0x40]
movss xmm0, dword [rcx + 0x80]
mulss xmm0, dword [0x1400756a4]
movss dword [rcx + 0x80], xmm0
jmp 0x140021dcc
mov eax, dword [rbx + 0x4b58]
movss xmm0, dword [0x1400756ec]
movaps xmm1, xmm0
and eax, 0x40
je 0x140021d85
movss xmm1, dword [rbx + 0x4bc0]
movss xmm2, dword [0x1400756a4]
test sil, sil
je 0x140021d98
mulss xmm1, xmm2
jmp 0x140021d9c
test eax, eax
je 0x140021dcc
comiss xmm12, xmm1
jbe 0x140021da7
xorps xmm0, xmm0
jmp 0x140021dab
minss xmm0, xmm1
mulss xmm0, dword [0x140075818]
mov eax, r14d
and eax, 0xffffff
addss xmm0, xmm2
cvttss2si ecx, xmm0
shl ecx, 0x18
mov r14d, ecx
or r14d, eax
test byte [rdi + 0x445], r12b
je 0x140021e03
mov rax, qword [rdi + 0x460]
mov dword [rax + 0x84], r14d
test byte [rdi + 0x445], r12b
je 0x140021e03
mov rax, qword [rdi + 0x460]
mov rcx, qword [rax + 0x88]
mov rsi, qword [rcx + 0x2e8]
jmp 0x140021e11
mov rsi, qword [rdi + 0x2e8]
bt r15d, 0x1d
jae 0x140021e28
lea r12, [rsi + 0x80]
xor r8d, r8d
mov rcx, r12
mov rdx, rsi
call fcn.14004b8b0
jmp 0x140021e2f
lea r12, [rsi + 0x80]
movss xmm3, dword [rdi + 0x58]
lea r8, [rsp + 0x38]
movss xmm2, dword [rdi + 0x5c]
lea rdx, [rsp + 0x30]
movaps xmm0, xmm3
movaps xmm1, xmm2
addss xmm0, dword [rdi + 0x60]
addss xmm1, dword [rdi + 0x64]
addss xmm2, dword [rdi + 0x98]
addss xmm3, xmm12
mov eax, 0xc0
mov ecx, 0
test r15b, 1
mov r9d, r14d
movss dword [rsp + 0x38], xmm0
cmovne eax, ecx
movss dword [rsp + 0x3c], xmm1
mov dword [rsp + 0x28], eax
mov rcx, rsi
movss dword [rsp + 0x30], xmm3
movss dword [rsp + 0x34], xmm2
movss dword [rsp + 0x20], xmm13
call fcn.14004afe0
test byte [rdi + 0x445], 1
jne 0x140021eaf
bt r15d, 0x1d
jae 0x140021ec0
mov r8d, 1
mov rdx, rsi
mov rcx, r12
call fcn.14004b8b0
movzx r14d, byte [rsp + 0x59]
mov r12d, 1
movzx r8d, byte [rsp + 0x58]
movzx eax, byte [rdi + 0x445]
test al, 1
je 0x140021ef2
mov rax, qword [rdi + 0x460]
or byte [rax + 0xcc], 4
movzx eax, byte [rdi + 0x445]
mov esi, r15d
and esi, 1
jne 0x140021f70
test al, 1
jne 0x140021f70
mov rcx, qword [0x14007fbe0]
movzx eax, r8b
add rax, 0x19
add rax, rax
movups xmm0, xmmword [rcx + rax*8 + 0x39f8]
movups xmmword [rsp + 0x60], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rcx + 0x39f8]
lea rcx, [rsp + 0x60]
movss dword [rsp + 0x6c], xmm0
call fcn.1400168b0
mov rcx, qword [rdi + 0x2e8]
lea r8, [r13 + 8]
mov r9d, eax
mov dword [rsp + 0x28], 0x30
or r9d, 0xff000000
movss dword [rsp + 0x20], xmm13
cmp byte [rdi + 0xfe], sil
mov rdx, r13
cmove r9d, eax
call fcn.14004afe0
movaps xmmword [rsp + 0xe0], xmm7
movaps xmmword [rsp + 0xb0], xmm10
bt r15d, 0xa
jae 0x140022106
movss xmm1, dword [rdi + 0x58]
movss xmm0, dword [rdi + 0x5c]
movaps xmm7, xmm1
movaps xmmword [rsp + 0xa0], xmm11
movaps xmm6, xmm0
movaps xmm11, xmm1
maxss xmm11, xmm1
addss xmm6, dword [rdi + 0x98]
addss xmm7, dword [rdi + 0x68]
addss xmm1, dword [rdi + 0x60]
movaps xmm2, xmm6
maxss xmm2, xmm0
minss xmm7, xmm1
addss xmm0, dword [rdi + 0x64]
addss xmm6, dword [rdi + 0x9c]
minss xmm6, xmm0
test esi, esi
je 0x140021fe6
movaps xmm10, xmm13
jmp 0x140021fea
xorps xmm10, xmm10
mov rax, qword [0x14007fbe0]
addss xmm2, xmm12
movaps xmm1, xmm6
lea rcx, [rsp + 0x60]
subss xmm1, xmm12
movups xmm0, xmmword [rax + 0x3bb8]
movss dword [rsp + 0x3c], xmm2
movups xmmword [rsp + 0x60], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x39f8]
movss dword [rsp + 0x34], xmm1
movss dword [rsp + 0x6c], xmm0
movaps xmm0, xmm7
subss xmm0, xmm8
movss dword [rsp + 0x30], xmm0
movaps xmm0, xmm11
addss xmm0, xmm8
movss dword [rsp + 0x38], xmm0
call fcn.1400168b0
mov rcx, qword [rdi + 0x2e8]
lea rdx, [rsp + 0x38]
mov r9d, eax
mov dword [rsp + 0x28], 0x30
lea r8, [rsp + 0x30]
movss dword [rsp + 0x20], xmm10
call fcn.14004afe0
movss xmm10, dword [rbx + 0x3a40]
comiss xmm10, xmm12
jbe 0x1400220fd
movss xmm0, dword [rdi + 0x64]
addss xmm0, dword [rdi + 0x5c]
comiss xmm0, xmm6
jbe 0x1400220fd
mov rax, qword [0x14007fbe0]
lea rcx, [rsp + 0x60]
movaps xmm0, xmm7
movss dword [rsp + 0x30], xmm11
unpcklps xmm0, xmm6
movsd qword [rsp + 0x40], xmm0
movups xmm0, xmmword [rax + 0x3b38]
movss dword [rsp + 0x34], xmm6
movups xmmword [rsp + 0x60], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x39f8]
movss dword [rsp + 0x6c], xmm0
call fcn.1400168b0
mov rcx, qword [rdi + 0x2e8]
lea rdx, [rsp + 0x30]
mov r9d, eax
movss dword [rsp + 0x20], xmm10
lea r8, [rsp + 0x40]
call fcn.14004ad80
movaps xmm11, xmmword [rsp + 0xa0]
test byte [rdi + 0x445], 1
mov rsi, qword [rdi + 0x460]
je 0x14002232f
mov ecx, dword [rsi + 0x10]
mov eax, ecx
shr eax, 0xd
test al, 1
je 0x14002232f
shr ecx, 0xc
test cl, 1
jne 0x14002232f
movss xmm1, dword [rbx + 0x3e80]
lea rcx, str.UNHIDE
movss xmm6, dword [rsi + 0x48]
movaps xmm0, xmm1
mulss xmm0, dword [0x1400756b8]
movaps xmm3, xmm6
xor edx, edx
mov r8, qword [rdi + 0x140]
mulss xmm1, dword [0x1400756a8]
movss xmm7, dword [rsi + 0x4c]
cvttss2si eax, xmm0
movaps xmm2, xmm7
movd xmm10, eax
cvttss2si eax, xmm1
movaps xmm1, xmm6
unpcklps xmm1, xmm7
movsd qword [rsp + 0x60], xmm1
cvtdq2ps xmm10, xmm10
movd xmm0, eax
movsxd rax, dword [rdi + 0x138]
cvtdq2ps xmm0, xmm0
movsd qword [rsp + 0x40], xmm1
addss xmm3, xmm0
addss xmm2, xmm0
movss dword [rsp + 0x68], xmm3
movss dword [rsp + 0x6c], xmm2
mov r8d, dword [r8 + rax*4 - 4]
call fcn.140016250
mov rcx, qword [rdi]
mov ebx, eax
cmp dword [rcx + 0x419c], eax
jne 0x1400221e0
lea r8, str.UNHIDE
mov edx, 0xb
mov ecx, eax
call fcn.14003de60
mov rax, qword [0x14007fbe0]
cmp dword [rax + 0x41b4], ebx
jne 0x1400221f5
mov dword [rax + 0x41b8], ebx
cmp dword [rax + 0x41e4], ebx
jne 0x140022204
mov byte [rax + 0x41e8], 1
lea r9, [rsp + 0x59]
mov dword [rsp + 0x20], 0x800
lea r8, [rsp + 0x58]
mov edx, ebx
lea rcx, [rsp + 0x60]
call fcn.140057120
test al, al
je 0x14002222f
or byte [rsi + 0xcd], 4
jmp 0x14002226f
cmp byte [rsp + 0x59], 0
je 0x140022281
mov rax, qword [0x14007fbe0]
cmp byte [rax + 0x108], 0
je 0x14002226f
movss xmm1, dword [rax + 0x74]
movss xmm0, dword [rax + 0x2ba8]
mulss xmm1, xmm1
comiss xmm0, xmm1
setae al
test al, al
je 0x14002226f
mov r8b, 1
mov rdx, rsi
mov rcx, rdi
call fcn.14001b7e0
cmp byte [rsp + 0x59], 0
movzx eax, byte [rsp + 0x58]
je 0x140022286
test al, al
jne 0x140022293
jmp 0x140022286
movzx eax, byte [rsp + 0x58]
test byte [rsi + 0xcc], 2
je 0x14002229a
test al, al
jne 0x14002229a
mov edx, 0x17
jmp 0x1400222a7
xor ecx, ecx
test al, al
mov edx, ecx
setne dl
add rdx, 0x15
mov rcx, qword [0x14007fbe0]
lea rax, [rdx + 0xf]
add rax, rax
movups xmm0, xmmword [rcx + rax*8 + 0x39f8]
movups xmmword [rsp + 0x48], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rcx + 0x39f8]
lea rcx, [rsp + 0x48]
movss dword [rsp + 0x54], xmm0
movaps xmm0, xmm6
addss xmm0, xmm12
addss xmm6, xmm10
movss dword [rsp + 0x30], xmm0
movaps xmm0, xmm7
addss xmm0, xmm10
movss dword [rsp + 0x38], xmm6
addss xmm7, xmm12
movss dword [rsp + 0x34], xmm0
movss dword [rsp + 0x3c], xmm7
call fcn.1400168b0
mov rcx, qword [rdi + 0x2e8]
lea rdx, [rsp + 0x40]
lea r9, [rsp + 0x30]
mov dword [rsp + 0x20], eax
lea r8, [rsp + 0x38]
call fcn.14004b190
cmp byte [rdi + 0xfc], 0
movaps xmm12, xmmword [rsp + 0x90]
movaps xmm10, xmmword [rsp + 0xb0]
je 0x140022351
xor ecx, ecx
call fcn.1400587e0
cmp byte [rdi + 0xfd], 0
je 0x140022362
mov ecx, r12d
call fcn.1400587e0
test r14b, r14b
je 0x140022571
test r15b, 2
jne 0x14002255f
xor eax, eax
mov r14d, eax
mov eax, dword [rbp + 0x60]
test eax, eax
jle 0x14002255f
mov r15, qword [rbp + 0x68]
lea rsi, [0x14006db78]
mov r13d, dword [r15]
test r13d, 0xff000000
je 0x14002254b
movss xmm0, dword [rdi + 0x58]
mov r12d, r14d
movss xmm1, dword [rdi + 0x5c]
movaps xmm6, xmm0
movaps xmm7, xmm1
addss xmm6, dword [rdi + 0x60]
addss xmm7, dword [rdi + 0x64]
subss xmm6, xmm0
subss xmm7, xmm1
mulss xmm6, dword [rsi - 8]
mulss xmm7, dword [rsi - 4]
addss xmm6, xmm0
addss xmm7, xmm1
and r12d, 1
je 0x1400223e7
movaps xmm0, xmm8
movaps xmm1, xmm9
jmp 0x1400223ef
movaps xmm0, xmm9
movaps xmm1, xmm8
mov rbx, qword [rdi + 0x2e8]
mulss xmm0, dword [rsi]
mulss xmm1, dword [rsi + 4]
mov ecx, dword [rbx + 0x50]
mov r8d, dword [rbx + 0x54]
addss xmm0, xmm6
addss xmm1, xmm7
movss dword [rsp + 0x30], xmm0
movss dword [rsp + 0x34], xmm1
cmp ecx, r8d
jne 0x140022448
inc ecx
test r8d, r8d
je 0x140022433
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x140022438
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
lea rcx, [rbx + 0x50]
call fcn.14003ed00
movsxd rdx, dword [rbx + 0x50]
mov rcx, qword [rbx + 0x58]
mov rax, qword [rsp + 0x30]
mov qword [rcx + rdx*8], rax
inc dword [rbx + 0x50]
test r12d, r12d
je 0x14002246b
movaps xmm0, xmm9
movaps xmm1, xmm8
jmp 0x140022473
movaps xmm0, xmm8
movaps xmm1, xmm9
mov rbx, qword [rdi + 0x2e8]
mulss xmm0, dword [rsi]
mulss xmm1, dword [rsi + 4]
mov ecx, dword [rbx + 0x50]
mov r8d, dword [rbx + 0x54]
addss xmm0, xmm6
addss xmm1, xmm7
movss dword [rsp + 0x38], xmm0
movss dword [rsp + 0x3c], xmm1
cmp ecx, r8d
jne 0x1400224cc
inc ecx
test r8d, r8d
je 0x1400224b7
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x1400224bc
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
lea rcx, [rbx + 0x50]
call fcn.14003ed00
movsxd rdx, dword [rbx + 0x50]
movaps xmm1, xmm8
mov rcx, qword [rbx + 0x58]
addss xmm1, xmm13
mov rax, qword [rsp + 0x38]
movaps xmm2, xmm13
mov qword [rcx + rdx*8], rax
lea rdx, [rsp + 0x40]
inc dword [rbx + 0x50]
movaps xmm0, xmm1
mulss xmm0, dword [rsi]
mov eax, dword [rsi + 0xc]
mulss xmm1, dword [rsi + 4]
mov r9d, dword [rsi + 8]
mov rcx, qword [rdi + 0x2e8]
addss xmm0, xmm6
mov dword [rsp + 0x20], eax
addss xmm1, xmm7
movss dword [rsp + 0x40], xmm0
movss dword [rsp + 0x44], xmm1
call fcn.14004a390
mov rbx, qword [rdi + 0x2e8]
mov r9d, r13d
mov rcx, rbx
mov r8d, dword [rbx + 0x50]
mov rdx, qword [rbx + 0x58]
call fcn.140049990
xor eax, eax
mov dword [rbx + 0x50], eax
mov eax, dword [rbp + 0x60]
inc r14d
add r15, 4
add rsi, 0x18
cmp r14d, eax
jl 0x140022390
cmp qword [rdi + 0x468], 0
jne 0x140022571
mov rcx, rdi
call fcn.1400218f0
movaps xmm7, xmmword [rsp + 0xe0]
mov rsi, qword [rsp + 0x150]
mov r12, qword [rsp + 0x100]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140068d90
lea r11, [rsp + 0x108]
movaps xmm6, xmmword [r11 - 0x18]
movaps xmm8, xmmword [r11 - 0x38]
movaps xmm9, xmmword [r11 - 0x48]
movaps xmm13, xmmword [r11 - 0x88]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rbx
pop rbp
ret