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

Disassembly:
mov rax, rsp
push rbp
push rbx
push rdi
push r13
push r15
lea rbp, [rax - 0x47]
sub rsp, 0x100
cmp byte [rcx + 0xee], 0
movzx r15d, r9b
mov rbx, qword [0x14010d498]
mov r10, rdx
mov r13d, dword [rcx + 0x14]
mov rdi, rcx
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x68], xmm8
movss xmm8, dword [rcx + 0x8c]
movaps xmmword [rax - 0x88], xmm10
movss xmm10, dword [rbp + 0x7f]
movaps xmmword [rax - 0xa8], xmm12
movss xmm12, dword [rcx + 0x88]
mov byte [rsp + 0x31], r9b
mov byte [rsp + 0x30], r8b
mov qword [rsp + 0x38], rdx
mov byte [rcx + 0xf0], 0
je 0x1400167c8
movss xmm6, dword [rbx + 0x3920]
movss dword [rbx + 0x3920], xmm8
test r8b, r8b
je 0x140016762
cmp byte [rbx + 0x4ad6], 0
mov eax, 0x190
je 0x140016767
mov eax, 0x1a0
movups xmm0, xmmword [rax + rbx + 0x38d8]
lea rcx, [rsp + 0x38]
movups xmmword [rsp + 0x38], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rbx + 0x38d8]
movss dword [rsp + 0x44], xmm0
call fcn.14000b160
mov rdx, qword [r10 + 8]
mov r8d, eax
mov rcx, qword [r10]
or r8d, 0xff000000
cmp byte [rdi + 0xea], 0
mov r9b, 1
movss dword [rsp + 0x20], xmm12
cmove r8d, eax
call fcn.14000db20
movss dword [rbx + 0x3920], xmm6
jmp 0x1400171da
mov qword [rsp + 0x140], rsi
mov qword [rsp + 0xf8], r12
mov r12d, 1
mov qword [rsp + 0xf0], r14
movaps xmmword [rsp + 0x90], xmm11
xorps xmm11, xmm11
test r13b, r13b
js 0x140016aa5
xor sil, sil
cmp byte [rbx + 0x4c58], sil
je 0x140016851
mov eax, dword [rbx + 0x3f70]
sub eax, dword [rbx + 0x4ccc]
cmp eax, r12d
jg 0x140016851
cmp byte [rbx + 0x5b], sil
je 0x140016851
cmp dword [rbx + 0x4c7c], 0xffffffff
je 0x140016851
lea rdx, [rbx + 0x4c80]
lea rcx, str._IMWINDOW
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x140016851
mov rax, qword [rbx + 0x4c68]
movzx esi, sil
cmp qword [rax], rdi
cmove esi, r12d
test r13d, 0x6000000
je 0x140016861
mov ecx, 0x120
jmp 0x14001687b
bt r13d, 0x18
jae 0x140016876
mov ecx, 0x110
test byte [rdi + 0x42d], r12b
je 0x14001687b
mov ecx, 0x100
mov rax, qword [0x14010d498]
movups xmm0, xmmword [rcx + rax + 0x38d8]
lea rcx, [rsp + 0x48]
movups xmmword [rsp + 0x48], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x38d8]
movss dword [rsp + 0x54], xmm0
call fcn.14000b160
cmp byte [rdi + 0xea], 0
mov r15d, eax
je 0x1400168e5
or r15d, 0xff000000
test sil, sil
je 0x14001694a
mov rcx, qword [rdi + 0x38]
movss xmm0, dword [rcx + 0x80]
mulss xmm0, dword [0x1400cf77c]
movss dword [rcx + 0x80], xmm0
jmp 0x14001694a
mov eax, dword [rbx + 0x48f8]
movss xmm0, dword [0x1400cf7c8]
movaps xmm1, xmm0
and eax, 0x40
je 0x140016903
movss xmm1, dword [rbx + 0x4958]
movss xmm2, dword [0x1400cf77c]
test sil, sil
je 0x140016916
mulss xmm1, xmm2
jmp 0x14001691a
test eax, eax
je 0x14001694a
comiss xmm11, xmm1
jbe 0x140016925
xorps xmm0, xmm0
jmp 0x140016929
minss xmm0, xmm1
mulss xmm0, dword [0x1400cf884]
mov eax, r15d
and eax, 0xffffff
addss xmm0, xmm2
cvttss2si ecx, xmm0
shl ecx, 0x18
mov r15d, ecx
or r15d, eax
test byte [rdi + 0x42d], r12b
je 0x14001698a
mov rax, qword [rdi + 0x448]
mov dword [rax + 0x80], r15d
test byte [rdi + 0x42d], r12b
je 0x14001698a
mov rax, qword [rdi + 0x448]
mov esi, r13d
and esi, 0x20000000
mov rcx, qword [rax + 0x88]
mov r14, qword [rcx + 0x2d8]
jmp 0x14001699c
mov r14, qword [rdi + 0x2d8]
mov esi, r13d
and esi, 0x20000000
je 0x1400169b3
lea r12, [r14 + 0xa8]
xor r8d, r8d
mov rcx, r12
mov rdx, r14
call fcn.1400682a0
jmp 0x1400169ba
lea r12, [r14 + 0xa8]
test byte [rdi + 0x14], 1
movss xmm2, dword [rdi + 0x50]
movss xmm3, dword [rdi + 0x54]
movaps xmm0, xmm2
addss xmm0, dword [rdi + 0x58]
mov rcx, qword [rdi]
movaps xmm1, xmm3
addss xmm1, dword [rdi + 0x5c]
movss dword [rsp + 0x58], xmm0
movss dword [rsp + 0x5c], xmm1
je 0x1400169ee
xorps xmm1, xmm1
jmp 0x140016a2a
movss xmm0, dword [rdi + 0x2c8]
mulss xmm0, dword [rcx + 0x3d54]
mov rax, qword [rdi + 0x3a8]
mulss xmm0, dword [rdi + 0x2cc]
test rax, rax
je 0x140016a1a
mulss xmm0, dword [rax + 0x2c8]
movss xmm1, dword [rcx + 0x3918]
addss xmm1, xmm1
addss xmm1, xmm0
addss xmm2, xmm11
mov eax, 0xc0
addss xmm3, xmm1
mov ecx, 0
test r13b, 1
lea r8, [rsp + 0x58]
mov r9d, r15d
lea rdx, [rsp + 0x48]
cmovne eax, ecx
mov rcx, r14
mov dword [rsp + 0x28], eax
movss dword [rsp + 0x48], xmm2
movss dword [rsp + 0x4c], xmm3
movss dword [rsp + 0x20], xmm12
call fcn.1400678c0
test byte [rdi + 0x42d], 1
jne 0x140016a7d
test esi, esi
je 0x140016a8e
mov r8d, 1
mov rdx, r14
mov rcx, r12
call fcn.1400682a0
movzx r15d, byte [rsp + 0x31]
mov r12d, 1
movzx r8d, byte [rsp + 0x30]
mov r10, qword [rsp + 0x38]
movzx eax, byte [rdi + 0x42d]
test al, 1
je 0x140016ac5
mov rax, qword [rdi + 0x448]
or byte [rax + 0xcc], 4
movzx eax, byte [rdi + 0x42d]
mov esi, r13d
and esi, 1
jne 0x140016b31
test al, 1
jne 0x140016b31
mov rcx, qword [0x14010d498]
movzx eax, r8b
add rax, 0x18
add rax, rax
movups xmm0, xmmword [rcx + rax*8 + 0x38d8]
movups xmmword [rsp + 0x38], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rcx + 0x38d8]
lea rcx, [rsp + 0x38]
movss dword [rsp + 0x44], xmm0
call fcn.14000b160
mov rcx, qword [rdi + 0x2d8]
lea r8, [r10 + 8]
mov r9d, eax
mov dword [rsp + 0x28], 0x30
mov rdx, r10
movss dword [rsp + 0x20], xmm12
call fcn.1400678c0
movaps xmmword [rsp + 0xd0], xmm7
movaps xmmword [rsp + 0xb0], xmm9
bt r13d, 0xa
jae 0x140016d4b
mov r8d, dword [rdi + 0x14]
mov rcx, qword [rdi]
test r8b, 1
je 0x140016b5f
xorps xmm1, xmm1
jmp 0x140016b9b
movss xmm0, dword [rcx + 0x3d54]
mulss xmm0, dword [rdi + 0x2c8]
mov rdx, qword [rdi + 0x3a8]
mulss xmm0, dword [rdi + 0x2cc]
test rdx, rdx
je 0x140016b8b
mulss xmm0, dword [rdx + 0x2c8]
movss xmm1, dword [rcx + 0x3918]
addss xmm1, xmm1
addss xmm1, xmm0
movss xmm2, dword [rdi + 0x54]
movaps xmm3, xmm2
addss xmm3, xmm1
bt r8d, 0xa
jae 0x140016bf4
movss xmm6, dword [rdi + 0x2c8]
mulss xmm6, dword [rcx + 0x3d54]
mov rax, qword [rdi + 0x3a8]
mulss xmm6, dword [rdi + 0x2cc]
test rax, rax
je 0x140016bda
mulss xmm6, dword [rax + 0x2c8]
movss xmm0, dword [rcx + 0x3918]
addss xmm6, dword [rdi + 0x1a0]
addss xmm0, xmm0
addss xmm6, xmm0
jmp 0x140016bf7
xorps xmm6, xmm6
movss xmm0, dword [rdi + 0x50]
movaps xmm4, xmm3
maxss xmm4, xmm2
movaps xmm9, xmm0
maxss xmm9, xmm0
movaps xmm1, xmm0
addss xmm6, xmm3
addss xmm0, dword [rdi + 0x58]
addss xmm2, dword [rdi + 0x5c]
addss xmm1, dword [rdi + 0x60]
minss xmm6, xmm2
minss xmm1, xmm0
movss dword [rbp - 0x6d], xmm6
movss dword [rbp - 0x71], xmm1
test esi, esi
je 0x140016c3e
movaps xmm7, xmm12
jmp 0x140016c41
xorps xmm7, xmm7
mov rax, qword [0x14010d498]
subss xmm1, xmm8
addss xmm4, xmm11
lea rcx, [rsp + 0x58]
movups xmm0, xmmword [rax + 0x3a88]
movss dword [rsp + 0x38], xmm1
movups xmmword [rsp + 0x58], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x38d8]
movss dword [rsp + 0x4c], xmm4
movss dword [rbp - 0x7d], xmm0
movaps xmm0, xmm6
subss xmm0, xmm11
movss dword [rsp + 0x3c], xmm0
movaps xmm0, xmm9
addss xmm0, xmm8
movss dword [rsp + 0x48], xmm0
call fcn.14000b160
mov rcx, qword [rdi + 0x2d8]
lea rdx, [rsp + 0x48]
mov r9d, eax
mov dword [rsp + 0x28], 0x30
lea r8, [rsp + 0x38]
movss dword [rsp + 0x20], xmm7
call fcn.1400678c0
movss xmm7, dword [rbx + 0x3920]
comiss xmm7, xmm11
jbe 0x140016d4b
movss xmm0, dword [rdi + 0x5c]
addss xmm0, dword [rdi + 0x54]
comiss xmm0, xmm6
jbe 0x140016d4b
mov rax, qword [0x14010d498]
lea rcx, [rsp + 0x58]
movss dword [rsp + 0x38], xmm9
movss dword [rsp + 0x3c], xmm6
movups xmm0, xmmword [rax + 0x3a08]
movups xmmword [rsp + 0x58], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x38d8]
movss dword [rbp - 0x7d], xmm0
movsd xmm0, qword [rbp - 0x71]
movsd qword [rsp + 0x48], xmm0
call fcn.14000b160
mov rcx, qword [rdi + 0x2d8]
lea rdx, [rsp + 0x38]
mov r9d, eax
movss dword [rsp + 0x20], xmm7
lea r8, [rsp + 0x48]
call fcn.140067650
test byte [rdi + 0x42d], 1
mov rsi, qword [rdi + 0x448]
je 0x140016f67
mov ecx, dword [rsi + 0x10]
mov eax, ecx
shr eax, 0xd
test al, 1
je 0x140016f67
shr ecx, 0xc
test cl, 1
jne 0x140016f67
movss xmm1, dword [rbx + 0x3d50]
xor edx, edx
movss xmm6, dword [rsi + 0x48]
movaps xmm0, xmm1
mulss xmm1, dword [0x1400cf780]
movsxd rcx, dword [rdi + 0x128]
mulss xmm0, dword [0x1400cf790]
movss xmm7, dword [rsi + 0x4c]
cvttss2si eax, xmm0
movd xmm9, eax
cvttss2si eax, xmm1
movaps xmm1, xmm6
unpcklps xmm1, xmm7
cvtdq2ps xmm9, xmm9
movd xmm3, eax
mov rax, qword [rdi + 0x130]
cvtdq2ps xmm3, xmm3
mov r8d, dword [rax + rcx*4 - 4]
lea rcx, str.UNHIDE
movsd qword [rsp + 0x58], xmm1
movaps xmm2, xmm3
movsd qword [rsp + 0x38], xmm1
addss xmm2, xmm6
addss xmm3, xmm7
movss dword [rsp + 0x40], xmm2
movss dword [rsp + 0x44], xmm3
call fcn.14000abc0
mov rcx, qword [rdi]
mov ebx, eax
cmp dword [rcx + 0x4060], eax
jne 0x140016e22
lea r8, str.UNHIDE
mov edx, 0xb
mov ecx, eax
call fcn.140031c80
mov rax, qword [0x14010d498]
cmp dword [rax + 0x4078], ebx
jne 0x140016e37
mov dword [rax + 0x407c], ebx
cmp dword [rax + 0x40a8], ebx
jne 0x140016e46
mov byte [rax + 0x40ac], 1
lea r9, [rsp + 0x30]
mov dword [rsp + 0x20], 0x800
lea r8, [rsp + 0x31]
mov edx, ebx
lea rcx, [rsp + 0x38]
call fcn.14007a500
movzx ebx, byte [rsp + 0x31]
movzx r14d, byte [rsp + 0x30]
test al, al
je 0x140016e7c
or byte [rsi + 0xcd], 4
jmp 0x140016eba
test r14b, r14b
je 0x140016ec3
mov rax, qword [0x14010d498]
cmp byte [rax + 0xe10], 0
je 0x140016eba
movss xmm1, dword [rax + 0x74]
movss xmm0, dword [rax + 0x37d0]
mulss xmm1, xmm1
comiss xmm0, xmm1
setae al
test al, al
je 0x140016eba
mov r8b, 1
mov rdx, rsi
mov rcx, rdi
call fcn.140010970
test r14b, r14b
je 0x140016ec3
test bl, bl
jne 0x140016ed0
test byte [rsi + 0xcc], 2
je 0x140016ed7
test bl, bl
jne 0x140016ed7
mov eax, 0x17
jmp 0x140016ee2
xor eax, eax
test bl, bl
setne al
add rax, 0x15
mov rcx, qword [0x14010d498]
add rax, 0xe
add rax, rax
movups xmm0, xmmword [rcx + rax*8 + 0x38d8]
movups xmmword [rbp - 0x79], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rcx + 0x38d8]
lea rcx, [rbp - 0x79]
movss dword [rbp - 0x6d], xmm0
movaps xmm0, xmm6
addss xmm0, xmm11
addss xmm6, xmm9
movss dword [rsp + 0x38], xmm0
movaps xmm0, xmm7
addss xmm0, xmm9
movss dword [rsp + 0x48], xmm6
addss xmm7, xmm11
movss dword [rsp + 0x3c], xmm0
movss dword [rsp + 0x4c], xmm7
call fcn.14000b160
mov rcx, qword [rdi + 0x2d8]
lea rdx, [rsp + 0x58]
lea r9, [rsp + 0x38]
mov dword [rsp + 0x20], eax
lea r8, [rsp + 0x48]
call fcn.140067a70
cmp byte [rdi + 0xe8], 0
movaps xmm11, xmmword [rsp + 0x90]
movaps xmm9, xmmword [rsp + 0xb0]
je 0x140016f89
xor ecx, ecx
call fcn.14007bb00
cmp byte [rdi + 0xe9], 0
je 0x140016f9a
mov ecx, r12d
call fcn.14007bb00
test r15b, r15b
je 0x1400171ba
test r13b, 2
jne 0x1400171a8
xor eax, eax
mov r14d, eax
mov eax, dword [rbp + 0x6f]
test eax, eax
jle 0x1400171a8
mov r15, qword [rbp + 0x77]
lea rsi, [0x1400c49f8]
nop dword [rax + rax]
mov r13d, dword [r15]
test r13d, 0xff000000
je 0x140017194
movss xmm0, dword [rdi + 0x50]
mov r12d, r14d
movss xmm1, dword [rdi + 0x54]
movaps xmm6, xmm0
mov rbx, qword [rdi + 0x2d8]
movaps xmm7, xmm1
addss xmm6, dword [rdi + 0x58]
addss xmm7, dword [rdi + 0x5c]
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 0x14001702e
movaps xmm0, xmm8
movaps xmm1, xmm10
jmp 0x140017036
movaps xmm0, xmm10
movaps xmm1, xmm8
mulss xmm0, dword [rsi]
mov ecx, dword [rbx + 0x78]
mulss xmm1, dword [rsi + 4]
mov r8d, dword [rbx + 0x7c]
addss xmm0, xmm6
addss xmm1, xmm7
movss dword [rsp + 0x38], xmm0
movss dword [rsp + 0x3c], xmm1
cmp ecx, r8d
jne 0x140017088
inc ecx
test r8d, r8d
je 0x140017073
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x140017078
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
lea rcx, [rbx + 0x78]
call fcn.140033090
movsxd rdx, dword [rbx + 0x78]
mov rcx, qword [rbx + 0x80]
mov rax, qword [rsp + 0x38]
mov qword [rcx + rdx*8], rax
inc dword [rbx + 0x78]
mov rbx, qword [rdi + 0x2d8]
test r12d, r12d
je 0x1400170b5
movaps xmm0, xmm10
movaps xmm1, xmm8
jmp 0x1400170bd
movaps xmm0, xmm8
movaps xmm1, xmm10
mulss xmm0, dword [rsi]
mov ecx, dword [rbx + 0x78]
mulss xmm1, dword [rsi + 4]
mov r8d, dword [rbx + 0x7c]
addss xmm0, xmm6
addss xmm1, xmm7
movss dword [rsp + 0x48], xmm0
movss dword [rsp + 0x4c], xmm1
cmp ecx, r8d
jne 0x14001710f
inc ecx
test r8d, r8d
je 0x1400170fa
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x1400170ff
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
lea rcx, [rbx + 0x78]
call fcn.140033090
movsxd rdx, dword [rbx + 0x78]
movaps xmm1, xmm8
mov rcx, qword [rbx + 0x80]
addss xmm1, xmm12
mov rax, qword [rsp + 0x48]
movaps xmm2, xmm12
mov qword [rcx + rdx*8], rax
lea rdx, [rsp + 0x58]
inc dword [rbx + 0x78]
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 + 0x2d8]
addss xmm0, xmm6
mov dword [rsp + 0x20], eax
addss xmm1, xmm7
movss dword [rsp + 0x58], xmm0
movss dword [rsp + 0x5c], xmm1
call fcn.140066c10
mov rbx, qword [rdi + 0x2d8]
mov r9d, r13d
mov rcx, rbx
mov r8d, dword [rbx + 0x78]
mov rdx, qword [rbx + 0x80]
call fcn.1400661c0
xor eax, eax
mov dword [rbx + 0x78], eax
mov eax, dword [rbp + 0x6f]
inc r14d
add r15, 4
add rsi, 0x18
cmp r14d, eax
jl 0x140016fd0
cmp qword [rdi + 0x450], 0
jne 0x1400171ba
mov rcx, rdi
call fcn.1400162c0
movaps xmm7, xmmword [rsp + 0xd0]
mov r12, qword [rsp + 0xf8]
mov rsi, qword [rsp + 0x140]
mov r14, qword [rsp + 0xf0]
lea r11, [rsp + 0x100]
movaps xmm6, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x60]
movaps xmm12, xmmword [r11 - 0x80]
mov rsp, r11
pop r15
pop r13
pop rdi
pop rbx
pop rbp
ret