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

Disassembly:
mov rax, rsp
push rbp
push rbx
push rdi
push r12
push r13
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 [0x1401550c0]
xor rax, rsp
mov qword [rsp + 0x78], rax
cmp byte [rcx + 0xee], 0
mov r12, rdx
movss xmm9, dword [rbp + 0x70]
mov rdi, rcx
mov rbx, qword [0x1402b5e38]
mov r15d, dword [rcx + 0x14]
movss xmm13, dword [rcx + 0x88]
movss xmm8, dword [rcx + 0x8c]
mov byte [rsp + 0x32], r9b
movzx r13d, r8b
mov byte [rcx + 0xf0], 0
je 0x14004102e
movss xmm6, dword [rbx + 0x3928]
movss dword [rbx + 0x3928], xmm8
test r8b, r8b
je 0x140040fc6
cmp byte [rbx + 0x4aa6], 0
mov eax, 0xb0
je 0x140040fcb
mov eax, 0xc0
movups xmm0, xmmword [rax + rbx + 0x39bc]
lea rcx, [rsp + 0x68]
movups xmmword [rsp + 0x68], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rbx + 0x38e0]
movss dword [rsp + 0x74], xmm0
call fcn.140037cf0
mov rdx, qword [r12 + 8]
mov r8d, eax
mov rcx, qword [r12]
or r8d, 0xff000000
cmp byte [rdi + 0xea], 0
mov r9b, 1
movss dword [rsp + 0x20], xmm13
cmove r8d, eax
call fcn.140039660
movss dword [rbx + 0x3928], xmm6
jmp 0x140041982
mov qword [rsp + 0x150], rsi
mov esi, 1
mov qword [rsp + 0x100], r14
movaps xmmword [rsp + 0x90], xmm12
xorps xmm12, xmm12
test r15b, r15b
js 0x1400412d2
xor r14b, r14b
cmp byte [rbx + 0x4c0c], r14b
je 0x1400410ad
mov eax, dword [rbx + 0x3f60]
sub eax, dword [rbx + 0x4c84]
cmp eax, esi
jg 0x1400410ad
cmp byte [rbx + 0x7b], r14b
je 0x1400410ad
cmp dword [rbx + 0x4c34], 0xffffffff
je 0x1400410ad
lea rdx, [rbx + 0x4c38]
lea rcx, str._IMWINDOW
call fcn.1400fd350
test eax, eax
jne 0x1400410ad
mov rax, qword [rbx + 0x4c20]
movzx r14d, r14b
cmp qword [rax], rdi
cmove r14d, esi
test r15d, 0x6000000
je 0x1400410bd
mov ecx, 0x11c
jmp 0x1400410d7
bt r15d, 0x18
jae 0x1400410d2
mov ecx, 0x10c
test byte [rdi + 0x41d], sil
je 0x1400410d7
mov ecx, 0xfc
mov rax, qword [0x1402b5e38]
movups xmm0, xmmword [rcx + rax + 0x38e0]
lea rcx, [rsp + 0x68]
movups xmmword [rsp + 0x68], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x38e0]
movss dword [rsp + 0x74], xmm0
call fcn.140037cf0
cmp byte [rdi + 0xea], 0
mov esi, eax
je 0x14004113f
or esi, 0xff000000
test r14b, r14b
je 0x1400411a1
mov rcx, qword [rdi + 0x38]
movss xmm0, dword [rcx + 0x80]
mulss xmm0, dword [0x14013ee5c]
movss dword [rcx + 0x80], xmm0
jmp 0x1400411a1
mov eax, dword [rbx + 0x48e0]
movss xmm0, dword [0x14013eea4]
movaps xmm1, xmm0
and eax, 0x40
je 0x14004115d
movss xmm1, dword [rbx + 0x4940]
movss xmm2, dword [0x14013ee5c]
test r14b, r14b
je 0x140041170
mulss xmm1, xmm2
jmp 0x140041174
test eax, eax
je 0x1400411a1
comiss xmm12, xmm1
jbe 0x14004117f
xorps xmm0, xmm0
jmp 0x140041183
minss xmm0, xmm1
mulss xmm0, dword [0x14013efa4]
mov eax, esi
and eax, 0xffffff
addss xmm0, xmm2
cvttss2si ecx, xmm0
shl ecx, 0x18
mov esi, ecx
or esi, eax
test byte [rdi + 0x41d], 1
je 0x1400411d7
mov rax, qword [rdi + 0x438]
mov dword [rax + 0x80], esi
test byte [rdi + 0x41d], 1
je 0x1400411d7
mov rax, qword [rdi + 0x438]
mov rcx, qword [rax + 0x88]
mov r14, qword [rcx + 0x2d8]
jmp 0x1400411e5
mov r14, qword [rdi + 0x2d8]
bt r15d, 0x1d
jae 0x1400411f7
lea rcx, [r14 + 0xa8]
xor r8d, r8d
mov rdx, r14
call fcn.140066860
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 + 0x48], xmm0
movss dword [rsp + 0x4c], xmm1
je 0x14004122b
xorps xmm1, xmm1
jmp 0x140041267
movss xmm0, dword [rdi + 0x2c8]
mulss xmm0, dword [rcx + 0x3d44]
mov rax, qword [rdi + 0x3a8]
mulss xmm0, dword [rdi + 0x2cc]
test rax, rax
je 0x140041257
mulss xmm0, dword [rax + 0x2c8]
movss xmm1, dword [rcx + 0x3920]
addss xmm1, xmm1
addss xmm1, xmm0
addss xmm2, xmm12
mov eax, 0xc0
addss xmm3, xmm1
mov ecx, 0
test r15b, 1
lea r8, [rsp + 0x48]
mov r9d, esi
lea rdx, [rsp + 0x38]
cmovne eax, ecx
mov rcx, r14
mov dword [rsp + 0x28], eax
movss dword [rsp + 0x38], xmm2
movss dword [rsp + 0x3c], xmm3
movss dword [rsp + 0x20], xmm13
call fcn.140065ed0
test byte [rdi + 0x41d], 1
jne 0x1400412bd
bt r15d, 0x1d
jae 0x1400412d2
lea rcx, [r14 + 0xa8]
mov r8d, 1
mov rdx, r14
call fcn.140066860
movzx eax, byte [rdi + 0x41d]
test al, 1
je 0x1400412f2
mov rax, qword [rdi + 0x438]
or byte [rax + 0xc8], 4
movzx eax, byte [rdi + 0x41d]
mov esi, r15d
and esi, 1
jne 0x14004135a
test al, 1
jne 0x14004135a
mov rcx, qword [0x1402b5e38]
mov rax, r13
add rax, rax
movups xmm0, xmmword [rcx + rax*8 + 0x3a5c]
movups xmmword [rsp + 0x68], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rcx + 0x38e0]
lea rcx, [rsp + 0x68]
movss dword [rsp + 0x74], xmm0
call fcn.140037cf0
mov rcx, qword [rdi + 0x2d8]
lea r8, [r12 + 8]
mov r9d, eax
mov dword [rsp + 0x28], 0x30
mov rdx, r12
movss dword [rsp + 0x20], xmm13
call fcn.140065ed0
movaps xmmword [rsp + 0xe0], xmm7
movaps xmmword [rsp + 0xb0], xmm10
bt r15d, 0xa
jae 0x1400414f4
lea rdx, [rsp + 0x68]
movaps xmmword [rsp + 0xa0], xmm11
mov rcx, rdi
call fcn.140036c10
movss xmm0, dword [rdi + 0x54]
movss xmm4, dword [rdi + 0x50]
movss xmm2, dword [rsp + 0x6c]
movss xmm10, dword [rsp + 0x68]
maxss xmm2, xmm0
movss xmm6, dword [rsp + 0x74]
maxss xmm10, xmm4
movss xmm11, dword [rsp + 0x70]
addss xmm0, dword [rdi + 0x5c]
addss xmm4, dword [rdi + 0x58]
minss xmm6, xmm0
minss xmm11, xmm4
test esi, esi
je 0x1400413d6
movaps xmm7, xmm13
jmp 0x1400413d9
xorps xmm7, xmm7
mov rax, qword [0x1402b5e38]
addss xmm2, xmm12
movaps xmm1, xmm6
lea rcx, [rsp + 0x68]
subss xmm1, xmm12
movups xmm0, xmmword [rax + 0x3a8c]
movss dword [rsp + 0x4c], xmm2
movups xmmword [rsp + 0x68], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x38e0]
movss dword [rsp + 0x3c], xmm1
movss dword [rsp + 0x74], xmm0
movaps xmm0, xmm11
subss xmm0, xmm8
movss dword [rsp + 0x38], xmm0
movaps xmm0, xmm10
addss xmm0, xmm8
movss dword [rsp + 0x48], xmm0
call fcn.140037cf0
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.140065ed0
movss xmm7, dword [rbx + 0x3928]
comiss xmm7, xmm12
jbe 0x1400414eb
movss xmm0, dword [rdi + 0x54]
addss xmm0, dword [rdi + 0x5c]
comiss xmm0, xmm6
jbe 0x1400414eb
mov rax, qword [0x1402b5e38]
lea rcx, [rsp + 0x48]
movss dword [rsp + 0x38], xmm10
movss dword [rsp + 0x3c], xmm6
movups xmm0, xmmword [rax + 0x3a0c]
movups xmmword [rsp + 0x48], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x38e0]
movss dword [rsp + 0x54], xmm0
movaps xmm0, xmm11
unpcklps xmm0, xmm6
movsd qword [rsp + 0x68], xmm0
call fcn.140037cf0
mov rcx, qword [rdi + 0x2d8]
lea rdx, [rsp + 0x38]
mov r9d, eax
movss dword [rsp + 0x20], xmm7
lea r8, [rsp + 0x68]
call fcn.140065c60
movaps xmm11, xmmword [rsp + 0xa0]
test byte [rdi + 0x41d], 1
mov rsi, qword [rdi + 0x438]
je 0x140041711
mov ecx, dword [rsi + 0x10]
mov eax, ecx
shr eax, 0xd
test al, 1
je 0x140041711
shr ecx, 0xc
test cl, 1
jne 0x140041711
movss xmm1, dword [rbx + 0x3d40]
lea rcx, str.UNHIDE
movss xmm6, dword [rsi + 0x48]
movaps xmm0, xmm1
mulss xmm1, dword [0x14013ee60]
xor edx, edx
mov r8, qword [rdi + 0x130]
mulss xmm0, dword [0x14013ee70]
movss xmm7, dword [rsi + 0x4c]
cvttss2si eax, xmm0
movd xmm10, eax
cvttss2si eax, xmm1
movaps xmm1, xmm6
unpcklps xmm1, xmm7
cvtdq2ps xmm10, xmm10
movd xmm3, eax
movsxd rax, dword [rdi + 0x128]
cvtdq2ps xmm3, xmm3
mov r8d, dword [r8 + rax*4 - 4]
movsd qword [rsp + 0x68], 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.140037830
mov rcx, qword [rdi]
mov ebx, eax
cmp dword [rcx + 0x4050], eax
jne 0x1400415cb
lea r8, str.UNHIDE
mov edx, 0xb
mov ecx, eax
call fcn.14005a650
mov rcx, qword [0x1402b5e38]
cmp dword [rcx + 0x4068], ebx
jne 0x1400415e0
mov dword [rcx + 0x406c], ebx
cmp dword [rcx + 0x4098], ebx
jne 0x1400415ef
mov byte [rcx + 0x409c], 1
lea r9, [rsp + 0x31]
mov dword [rsp + 0x20], 0x800
lea r8, [rsp + 0x30]
mov edx, ebx
lea rcx, [rsp + 0x38]
call fcn.140071e50
movzx ebx, byte [rsp + 0x30]
movzx r14d, byte [rsp + 0x31]
test al, al
je 0x140041625
or byte [rsi + 0xc9], 4
jmp 0x140041663
test r14b, r14b
je 0x14004166c
mov rax, qword [0x1402b5e38]
cmp byte [rax + 0xe18], 0
je 0x140041663
movss xmm1, dword [rax + 0x38]
movss xmm0, dword [rax + 0x37d8]
mulss xmm1, xmm1
comiss xmm0, xmm1
setae al
test al, al
je 0x140041663
mov r8b, 1
mov rdx, rsi
mov rcx, rdi
call fcn.14003b6f0
test r14b, r14b
je 0x14004166c
test bl, bl
jne 0x140041679
test byte [rsi + 0xc8], 2
je 0x140041680
test bl, bl
jne 0x140041680
mov ecx, 0x17
jmp 0x14004168d
xor eax, eax
test bl, bl
mov ecx, eax
setne cl
add rcx, 0x15
mov rax, qword [0x1402b5e38]
add rcx, rcx
movups xmm0, xmmword [rax + rcx*8 + 0x39bc]
lea rcx, [rsp + 0x58]
movups xmmword [rsp + 0x58], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x38e0]
movss dword [rsp + 0x64], xmm0
movaps xmm0, xmm6
addss xmm0, xmm12
addss xmm6, xmm10
movss dword [rsp + 0x38], xmm0
movaps xmm0, xmm7
addss xmm0, xmm10
movss dword [rsp + 0x48], xmm6
addss xmm7, xmm12
movss dword [rsp + 0x3c], xmm0
movss dword [rsp + 0x4c], xmm7
call fcn.140037cf0
mov rcx, qword [rdi + 0x2d8]
lea rdx, [rsp + 0x68]
lea r9, [rsp + 0x38]
mov dword [rsp + 0x20], eax
lea r8, [rsp + 0x48]
call fcn.140066080
cmp byte [rdi + 0xe8], 0
movaps xmm12, xmmword [rsp + 0x90]
movaps xmm10, xmmword [rsp + 0xb0]
je 0x140041733
xor ecx, ecx
call fcn.1400730e0
cmp byte [rdi + 0xe9], 0
je 0x140041746
mov ecx, 1
call fcn.1400730e0
cmp byte [rsp + 0x32], 0
je 0x14004196a
test r15b, 2
jne 0x140041958
xor eax, eax
mov r14d, eax
mov eax, dword [rbp + 0x60]
test eax, eax
jle 0x140041958
mov r15, qword [rbp + 0x68]
lea rsi, [0x140131198]
nop word [rax + rax]
mov r13d, dword [r15]
test r13d, 0xff000000
je 0x140041944
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 0x1400417de
movaps xmm0, xmm8
movaps xmm1, xmm9
jmp 0x1400417e6
movaps xmm0, xmm9
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 0x140041838
inc ecx
test r8d, r8d
je 0x140041823
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x140041828
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
lea rcx, [rbx + 0x78]
call fcn.140028b10
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 0x140041865
movaps xmm0, xmm9
movaps xmm1, xmm8
jmp 0x14004186d
movaps xmm0, xmm8
movaps xmm1, xmm9
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 0x1400418bf
inc ecx
test r8d, r8d
je 0x1400418aa
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x1400418af
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
lea rcx, [rbx + 0x78]
call fcn.140028b10
movsxd rdx, dword [rbx + 0x78]
movaps xmm1, xmm8
mov rcx, qword [rbx + 0x80]
addss xmm1, xmm13
mov rax, qword [rsp + 0x48]
movaps xmm2, xmm13
mov qword [rcx + rdx*8], rax
lea rdx, [rsp + 0x68]
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 + 0x68], xmm0
movss dword [rsp + 0x6c], xmm1
call fcn.140065220
mov rbx, qword [rdi + 0x2d8]
mov r9d, r13d
mov rcx, rbx
mov r8d, dword [rbx + 0x78]
mov rdx, qword [rbx + 0x80]
call fcn.140064820
xor eax, eax
mov dword [rbx + 0x78], eax
mov eax, dword [rbp + 0x60]
inc r14d
add r15, 4
add rsi, 0x18
cmp r14d, eax
jl 0x140041780
cmp qword [rdi + 0x440], 0
jne 0x14004196a
mov rcx, rdi
call fcn.140040b20
movaps xmm7, xmmword [rsp + 0xe0]
mov rsi, qword [rsp + 0x150]
mov r14, qword [rsp + 0x100]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400cc9e0
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 r13
pop r12
pop rdi
pop rbx
pop rbp
ret