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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x378]
sub rsp, 0x450
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
movaps xmmword [rax - 0x78], xmm10
movaps xmmword [rax - 0x88], xmm11
movaps xmmword [rax - 0x98], xmm12
movaps xmmword [rax - 0xa8], xmm13
movaps xmmword [rax - 0xb8], xmm14
movaps xmmword [rax - 0xc8], xmm15
mov rax, qword [0x1400663f8]
xor rax, rsp
mov qword [rbp + 0x2a8], rax
mov rsi, qword [0x140066448]
mov rcx, qword [0x14009c828]
or dword [rcx + 0x49b8], 1
xor r14d, r14d
mov qword [rcx + 0x49c8], r14
mov qword [rcx + 0x49d0], r14
mov dword [rcx + 0x49bc], 1
movd xmm1, dword [rsi + 0xc4]
cvtdq2ps xmm1, xmm1
movd xmm0, dword [rsi + 0xc0]
cvtdq2ps xmm0, xmm0
or dword [rcx + 0x49b8], 2
movss dword [rcx + 0x49d8], xmm0
movss dword [rcx + 0x49dc], xmm1
mov dword [rcx + 0x49c0], 1
xor edx, edx
mov r8d, 0xc028f
lea rcx, str.BF4_ESP
call fcn.14000ccb0
mov rdx, qword [rsi + 0x68]
mov rcx, qword [rsi + 0x60]
call fcn.1400445d0
mov rax, qword [rsi + 0x60]
mov qword [rsi + 0x68], rax
mov qword [rbp + 0x188], r14
mov qword [rsp + 0x20], r14
lea r9d, [r14 + 8]
lea r8, [rbp + 0x188]
movabs rdx, 0x142670d80
mov rcx, qword [0x14009c858]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rdx, qword [rbp + 0x188]
add rdx, 0x60
mov qword [rbp + 0x1a0], r14
mov qword [rsp + 0x20], r14
lea r9d, [r14 + 8]
lea r8, [rbp + 0x1a0]
mov rcx, qword [0x14009c858]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rbx, qword [rbp + 0x1a0]
lea rdx, [rbx + 0x548]
mov qword [rbp + 0x270], r14
mov qword [rsp + 0x20], r14
lea r9d, [r14 + 8]
lea r8, [rbp + 0x270]
mov rcx, qword [0x14009c858]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rdi, qword [rbp + 0x270]
mov qword [rsp + 0x50], rdi
lea rdx, [rbx + 0x540]
mov qword [rbp + 0x188], r14
mov qword [rsp + 0x20], r14
lea r9d, [r14 + 8]
lea r8, [rbp + 0x188]
mov rcx, qword [0x14009c858]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rcx, qword [0x140066450]
mov rax, qword [rbp + 0x188]
mov qword [rcx], rax
call fcn.140044f30
mov r13d, r14d
xorps xmm15, xmm15
movss xmm10, dword [0x14005ba10]
movss xmm9, dword [0x14005b8f8]
mov rbx, qword [0x140066450]
movss xmm6, dword [0x14005b930]
mov rax, qword [rbx + 0x60]
comiss xmm15, dword [rax + 0x20]
jb 0x140046567
mov qword [rbp - 0x48], 0
mov dword [rbp - 0x40], 0
movss xmm0, dword [rbx + 0x70]
movsd xmm4, qword [rbx + 0x68]
movlhps xmm4, xmm0
movss xmm0, dword [rbp - 0x40]
movsd xmm3, qword [rbp - 0x48]
movlhps xmm3, xmm0
cmpeqps xmm4, xmm3
movmskps eax, xmm4
and eax, 7
cmp al, 7
jne 0x140046567
cmp qword [rbx + 0x10], 0
je 0x140047988
lea eax, [r13*8]
movsxd rdx, eax
add rdx, rdi
mov qword [rbp + 0x190], r14
mov qword [rsp + 0x20], r14
mov r9d, 8
lea r8, [rbp + 0x190]
mov rcx, qword [0x14009c858]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rcx, qword [0x140066458]
mov rax, qword [rbp + 0x190]
mov qword [rcx], rax
call fcn.140044f30
mov rax, qword [0x140066458]
mov rdx, qword [rax]
add rdx, 0x13c9
mov byte [rbp + 0x180], 0
mov qword [rsp + 0x20], r14
mov r9d, 1
lea r8, [rbp + 0x180]
mov rcx, qword [0x14009c858]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
cmp byte [rbp + 0x180], 0
je 0x1400468d4
mov qword [rbp + 0x210], r14
mov qword [rbp + 0x220], r14
mov qword [rbp + 0x228], 0xf
mov byte [rbp + 0x210], 0
mov r8d, 0x14
lea rdx, str.__Spectator_found___
lea rcx, [rbp + 0x210]
call fcn.140048ac0
nop
lea rcx, [rbp + 0x210]
cmp qword [rbp + 0x228], 0x10
cmovae rcx, qword [rbp + 0x210]
mov rax, qword [0x14009c828]
test rcx, rcx
jne 0x140046658
movaps xmm6, xmm15
jmp 0x1400466aa
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], rcx
movss xmm0, dword [0x14005ba38]
movss dword [rsp + 0x20], xmm0
movaps xmm3, xmm10
movss xmm2, dword [rax + 0x3d40]
lea rdx, [rbp - 0x10]
mov rcx, qword [rax + 0x3d38]
call fcn.14002a350
movss xmm0, dword [rbp - 0x10]
addss xmm0, xmm6
cvttss2si eax, xmm0
movd xmm6, eax
cvtdq2ps xmm6, xmm6
movss dword [rbp - 0x10], xmm6
mov rax, qword [0x140066458]
mov rdx, qword [rax]
add rdx, 0x1836
mov qword [rsp + 0x20], r14
mov r9d, 0x10
lea r8, [rbp + 0x298]
mov rcx, qword [0x14009c858]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], 0xf
mov byte [rsp + 0x60], 0
lea rax, [rbp + 0x298]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x140046700
lea rdx, [rbp + 0x298]
lea rcx, [rsp + 0x60]
call fcn.140048ac0
nop
mov rdx, qword [rsi + 0x68]
cmp rdx, qword [rsi + 0x70]
je 0x140046748
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rsp + 0x70]
movups xmmword [rdx + 0x10], xmm1
mov edx, 0xf
mov byte [rsp + 0x60], 0
add qword [rsi + 0x68], 0x20
jmp 0x14004675b
lea r8, [rsp + 0x60]
lea rcx, [rsi + 0x60]
call fcn.140048c20
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x140046793
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004678e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400479fa
call fcn.1400509ac
lea r11, [rbp + 0x210]
cmp qword [rbp + 0x228], 0x10
cmovae r11, qword [rbp + 0x210]
movd xmm0, dword [rsi + 0xc0]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm9
mulss xmm6, xmm9
subss xmm0, xmm6
movss dword [rbp - 8], xmm0
mov dword [rbp - 4], 0
movaps xmm0, xmmword [0x14005bf40]
movaps xmmword [rbp + 0x230], xmm0
mov r9, 0xffffffffffffffff
inc r9
cmp byte [r11 + r9], 0
jne 0x1400467e4
add r9, r11
movsd xmm0, qword [rbp - 8]
movsd qword [rbp + 0x190], xmm0
mov r8, qword [0x14009c828]
mov rax, qword [r8 + 0x4008]
mov byte [rax + 0xb8], 1
mov rax, qword [r8 + 0x4008]
mov r10, qword [rax + 0x298]
lea rcx, [rbp + 0x230]
call fcn.140003570
mov qword [rsp + 0x40], r14
movss xmm0, dword [0x14005b9d0]
movss dword [rsp + 0x38], xmm0
mov qword [rsp + 0x30], r9
mov qword [rsp + 0x28], r11
mov dword [rsp + 0x20], eax
lea r9, [rbp + 0x190]
movss xmm2, dword [r8 + 0x3d40]
mov rdx, qword [r8 + 0x3d38]
mov rcx, r10
call fcn.140026850
nop
mov rdx, qword [rbp + 0x228]
cmp rdx, 0x10
jb 0x1400468af
inc rdx
mov rcx, qword [rbp + 0x210]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400468aa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140047a01
call fcn.1400509ac
mov qword [rbp + 0x220], r14
mov qword [rbp + 0x228], 0xf
mov byte [rbp + 0x210], 0
mov rbx, qword [0x140066450]
jmp 0x14004797b
mov rdi, qword [0x140066458]
mov rax, qword [rdi]
test rax, rax
je 0x140046c1a
mov rbx, qword [0x140066450]
cmp rax, qword [rbx]
je 0x140047976
mov r14, qword [rdi + 0x10]
mov rax, qword [rbx + 0x10]
cmp r14, rax
jne 0x140046912
test rax, rax
je 0x140046912
test r14, r14
jne 0x140047973
movsd xmm1, qword [rdi + 0x68]
mov eax, dword [rdi + 0x70]
mov dword [rbp + 0x68], eax
mov eax, dword [rbx + 0x70]
mov dword [rbp + 0x78], eax
movsd xmm3, qword [rbx + 0x68]
subss xmm3, xmm1
movss xmm2, dword [rbx + 0x6c]
movaps xmm0, xmm1
shufps xmm0, xmm0, 0x55
subss xmm2, xmm0
movss xmm1, dword [rbp + 0x78]
subss xmm1, dword [rbp + 0x68]
mulss xmm3, xmm3
mulss xmm2, xmm2
addss xmm3, xmm2
mulss xmm1, xmm1
addss xmm3, xmm1
xorps xmm0, xmm0
ucomiss xmm0, xmm3
ja 0x14004696d
xorps xmm14, xmm14
sqrtss xmm14, xmm3
jmp 0x140046979
movaps xmm0, xmm3
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movaps xmm14, xmm0
comiss xmm14, dword [rsi + 0xc]
ja 0x140047973
cmp byte [rsi], 0
je 0x140046d2e
test r14, r14
je 0x140046d37
cmp byte [rsi + 1], 0
jne 0x1400469a8
mov eax, dword [rbx + 0x18]
cmp dword [rdi + 0x18], eax
je 0x140047973
mov ecx, 0x3c
mov eax, dword [rbx + 0x18]
cmp dword [rdi + 0x18], eax
mov eax, 0x1c
cmovne ecx, eax
movups xmm0, xmmword [rcx + rsi]
movaps xmmword [rbp + 0x230], xmm0
movups xmm1, xmmword [rdi + 0x78]
movaps xmmword [rbp + 0x120], xmm1
movups xmm0, xmmword [rdi + 0x88]
movaps xmmword [rbp + 0x130], xmm0
movups xmm1, xmmword [rdi + 0x98]
movaps xmmword [rbp + 0x140], xmm1
movups xmm0, xmmword [rdi + 0xa8]
movaps xmmword [rbp + 0x150], xmm0
movups xmm1, xmmword [rdi + 0xd8]
movaps xmmword [rbp + 0xa0], xmm1
movups xmm0, xmmword [rdi + 0xe8]
movaps xmmword [rbp + 0xb0], xmm0
lea r9, [rbp + 0x230]
lea r8, [rbp + 0x120]
lea rdx, [rbp + 0xa0]
call fcn.140047db0
cmp byte [rsi + 8], 0
je 0x140047967
cvttss2si edx, xmm14
lea rcx, [rsp + 0x60]
call fcn.140044820
mov rcx, rax
mov rdx, qword [rax + 0x10]
mov r8, qword [rax + 0x18]
mov rax, r8
sub rax, rdx
cmp rax, 1
jb 0x140046a7d
lea rax, [rdx + 1]
mov qword [rcx + 0x10], rax
mov rax, rcx
cmp r8, 0x10
jb 0x140046a75
mov rax, qword [rcx]
mov word [rax + rdx], 0x6d
jmp 0x140046a93
mov qword [rsp + 0x20], 1
mov edx, 1
call fcn.140048eb0
mov rcx, rax
xor r14d, r14d
mov qword [rbp + 0x1b8], r14
mov qword [rbp + 0x1c8], r14
mov qword [rbp + 0x1d0], r14
movups xmm0, xmmword [rcx]
movups xmmword [rbp + 0x1b8], xmm0
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rbp + 0x1c8], xmm1
mov qword [rcx + 0x10], r14
mov qword [rcx + 0x18], 0xf
mov byte [rcx], r14b
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x140046b0c
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140046b07
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140047a08
call fcn.1400509ac
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], 0xf
mov byte [rsp + 0x60], 0
lea rcx, [rbp + 0x1b8]
cmp qword [rbp + 0x1d0], 0x10
cmovae rcx, qword [rbp + 0x1b8]
mov rax, qword [0x14009c828]
test rcx, rcx
jne 0x140046b48
movaps xmm6, xmm15
jmp 0x140046b9a
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], rcx
movss xmm0, dword [0x14005ba38]
movss dword [rsp + 0x20], xmm0
movaps xmm3, xmm10
movss xmm2, dword [rax + 0x3d40]
lea rdx, [rbp]
mov rcx, qword [rax + 0x3d38]
call fcn.14002a350
movss xmm0, dword [rbp]
addss xmm0, xmm6
cvttss2si eax, xmm0
movd xmm6, eax
cvtdq2ps xmm6, xmm6
movss dword [rbp], xmm6
mov qword [rbp + 0x170], 0
mov rcx, qword [0x140066458]
add rcx, 0x68
lea rdx, [rbp + 0x170]
call fcn.140045360
test al, al
jne 0x140046c26
mov rdx, qword [rbp + 0x1d0]
cmp rdx, 0x10
jb 0x140046c01
inc rdx
mov rcx, qword [rbp + 0x1b8]
cmp rdx, 0x1000
mov rax, rcx
jb 0x140046bfc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140047a0f
call fcn.1400509ac
mov qword [rbp + 0x1c8], r14
mov qword [rbp + 0x1d0], 0xf
mov byte [rbp + 0x1b8], 0
mov rbx, qword [0x140066450]
jmp 0x140047976
mov qword [rbp - 0x6c], 0
movsd xmm3, qword [rbp + 0x170]
movsd xmm2, qword [rbp - 0x6c]
cmpeqps xmm3, xmm2
movmskps eax, xmm3
and eax, 3
cmp al, 3
je 0x140046bc0
lea r11, [rbp + 0x1b8]
cmp qword [rbp + 0x1d0], 0x10
cmovae r11, qword [rbp + 0x1b8]
mulss xmm6, xmm9
movss xmm0, dword [rbp + 0x170]
subss xmm0, xmm6
movss dword [rbp - 0x30], xmm0
movss xmm0, dword [rbp + 0x174]
movss dword [rbp - 0x2c], xmm0
movaps xmm1, xmmword [0x14005c160]
movaps xmmword [rbp + 0x230], xmm1
mov r9, 0xffffffffffffffff
nop dword [rax]
inc r9
cmp byte [r11 + r9], 0
jne 0x140046ca0
add r9, r11
movsd xmm0, qword [rbp - 0x30]
movsd qword [rbp + 0x190], xmm0
mov r8, qword [0x14009c828]
mov rax, qword [r8 + 0x4008]
mov byte [rax + 0xb8], 1
mov rax, qword [r8 + 0x4008]
mov r10, qword [rax + 0x298]
lea rcx, [rbp + 0x230]
call fcn.140003570
mov qword [rsp + 0x40], r14
movss xmm0, dword [0x14005b9d0]
movss dword [rsp + 0x38], xmm0
mov qword [rsp + 0x30], r9
mov qword [rsp + 0x28], r11
mov dword [rsp + 0x20], eax
lea r9, [rbp + 0x190]
movss xmm2, dword [r8 + 0x3d40]
mov rdx, qword [r8 + 0x3d38]
mov rcx, r10
call fcn.140026850
jmp 0x140046bc0
test r14, r14
jne 0x140047973
mov rax, qword [rdi + 0x60]
comiss xmm15, dword [rax + 0x20]
jb 0x140046d7d
mov qword [rbp - 0x54], 0
mov dword [rbp - 0x4c], 0
movss xmm0, dword [rdi + 0x70]
movsd xmm4, qword [rdi + 0x68]
movlhps xmm4, xmm0
movss xmm0, dword [rbp - 0x4c]
movsd xmm3, qword [rbp - 0x54]
movlhps xmm3, xmm0
cmpeqps xmm4, xmm3
movmskps eax, xmm4
and eax, 7
cmp al, 7
je 0x140047973
test r14, r14
jne 0x140047973
cmp byte [rsi + 1], r14b
jne 0x140046d98
mov eax, dword [rbx + 0x18]
cmp dword [rdi + 0x18], eax
je 0x140047973
mov qword [rbp + 0x168], 0
lea rdx, [rbp + 0x168]
lea rcx, [rdi + 0x68]
call fcn.140045360
test al, al
je 0x140047967
mov qword [rbp - 0x64], 0
movsd xmm3, qword [rbp + 0x168]
movsd xmm2, qword [rbp - 0x64]
cmpeqps xmm2, xmm3
movmskps eax, xmm2
and eax, 3
cmp al, 3
je 0x14004794f
mov rdx, qword [0x140066458]
cmp byte [rdx + 0x74], 0
lea rax, [rsi + 0x2c]
je 0x140046df7
lea rax, [rsi + 0x1c]
movups xmm6, xmmword [rax]
movups xmmword [rbp + 0x230], xmm6
cmp byte [rsi + 1], 0
je 0x140046e21
mov rax, qword [0x140066450]
mov ecx, dword [rax + 0x18]
cmp dword [rdx + 0x18], ecx
jne 0x140046e21
movups xmm6, xmmword [rsi + 0x3c]
movups xmmword [rbp + 0x230], xmm6
xorps xmm0, xmm0
movups xmmword [rbp + 0x40], xmm0
mov rdx, qword [rdx + 8]
add rdx, 0x4f0
xor r14d, r14d
mov dword [rbp + 0x190], r14d
mov qword [rsp + 0x20], r14
lea r9d, [r14 + 4]
lea r8, [rbp + 0x190]
mov rcx, qword [0x14009c858]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov ecx, dword [rbp + 0x190]
test ecx, ecx
je 0x140046e80
sub ecx, 1
je 0x140046e77
cmp ecx, 1
jne 0x140046e95
mov dword [rbp + 0x44], 0x3ecccccd
jmp 0x140046e87
mov dword [rbp + 0x44], 0x3f933333
jmp 0x140046e87
mov dword [rbp + 0x44], 0x3fd9999a
mov dword [rbp + 0x40], 0x3eb33333
mov dword [rbp + 0x48], 0x3eb33333
mov rdx, qword [0x140066458]
movss xmm0, dword [rdx + 0x70]
movsd xmm3, qword [rdx + 0x68]
movlhps xmm3, xmm0
movups xmm0, xmmword [rbp + 0x40]
addps xmm3, xmm0
movaps xmm1, xmm3
shufps xmm1, xmm3, 0x55
movaps xmm0, xmm3
shufps xmm0, xmm3, 0xaa
movss dword [rbp + 0x278], xmm3
movss dword [rbp + 0x27c], xmm1
movss dword [rbp + 0x280], xmm0
xorps xmm7, xmm7
movups xmmword [rbp + 0x80], xmm7
mov rdx, qword [rdx + 8]
add rdx, 0x4f0
mov dword [rbp + 0x190], r14d
mov qword [rsp + 0x20], r14
mov r9d, 4
lea r8, [rbp + 0x190]
mov rcx, qword [0x14009c858]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov ecx, dword [rbp + 0x190]
test ecx, ecx
je 0x140046f25
sub ecx, 1
je 0x140046f25
cmp ecx, 1
jne 0x140046f40
mov dword [rbp + 0x80], 0xbeb33333
mov dword [rbp + 0x88], 0xbeb33333
movups xmm7, xmmword [rbp + 0x80]
mov rax, qword [0x140066458]
movss xmm0, dword [rax + 0x70]
movsd xmm3, qword [rax + 0x68]
movlhps xmm3, xmm0
addps xmm3, xmm7
movaps xmm1, xmm3
shufps xmm1, xmm3, 0x55
movaps xmm0, xmm3
shufps xmm0, xmm3, 0xaa
movss dword [rbp + 0x288], xmm3
movss dword [rbp + 0x28c], xmm1
movss dword [rbp + 0x290], xmm0
mov qword [rbp + 0x1a8], r14
mov qword [rbp + 0x1b0], r14
lea rdx, [rbp + 0x1a8]
lea rcx, [rbp + 0x278]
call fcn.140045360
test al, al
je 0x140046c1a
lea rdx, [rbp + 0x1b0]
lea rcx, [rbp + 0x288]
call fcn.140045360
test al, al
je 0x140046c1a
mov qword [rbp - 0x5c], r14
movsd xmm3, qword [rbp + 0x1a8]
movsd xmm2, qword [rbp - 0x5c]
cmpeqps xmm2, xmm3
movmskps eax, xmm2
and eax, 3
cmp al, 3
je 0x140046c1a
mov qword [rbp - 0x80], r14
movsd xmm3, qword [rbp + 0x1b0]
movsd xmm2, qword [rbp - 0x80]
cmpeqps xmm2, xmm3
movmskps eax, xmm2
and eax, 3
cmp al, 3
je 0x140046c1a
movss xmm11, dword [rbp + 0x1b4]
subss xmm11, dword [rbp + 0x1ac]
movaps xmm7, xmm11
mulss xmm7, dword [0x14005b8e4]
movss xmm13, dword [rbp + 0x16c]
movss xmm12, dword [rbp + 0x168]
cmp byte [rsi + 3], r14b
je 0x140047139
movaps xmm0, xmmword [0x14005bcd0]
movaps xmmword [rbp + 0x1e0], xmm0
movdqa xmmword [rbp + 0x190], xmm6
movaps xmm1, xmm11
xorps xmm1, xmmword [0x14005c190]
cvttss2si eax, xmm1
movaps xmm0, xmm11
mulss xmm0, xmm9
cvttss2si r9d, xmm0
cvttss2si r8d, xmm13
movaps xmm1, xmm12
subss xmm1, xmm7
cvttss2si edx, xmm1
lea rcx, [rbp + 0x1e0]
mov qword [rsp + 0x30], rcx
lea rcx, [rbp + 0x190]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], eax
call fcn.140044900
cmp byte [rsi + 4], r14b
je 0x140047139
mov rax, qword [0x14009c828]
mov rax, qword [rax + 0x4ad0]
lea r8, str.Background
xor edx, edx
mov rcx, qword [rax]
call fcn.140006e20
mov r10, rax
movaps xmm0, xmmword [0x14005bc60]
movups xmmword [rbp + 0x1e0], xmm0
lea rcx, [rbp + 0x1e0]
call fcn.140003570
movaps xmm1, xmm13
subss xmm1, xmm11
movaps xmm0, xmm7
addss xmm0, xmm12
movss dword [rbp + 8], xmm0
movss dword [rbp + 0xc], xmm1
movaps xmm1, xmm12
subss xmm1, xmm7
movss dword [rbp + 0x10], xmm1
movss dword [rbp + 0x14], xmm13
mov dword [rsp + 0x28], r14d
movss dword [rsp + 0x20], xmm15
mov r9d, eax
lea r8, [rbp + 8]
lea rdx, [rbp + 0x10]
mov rcx, r10
call fcn.1400262a0
cmp byte [rsi + 5], r14b
je 0x1400471d9
movd xmm2, dword [rsi + 0xc4]
cvtdq2ps xmm2, xmm2
mov eax, dword [rsi + 0xc0]
cdq
sub eax, edx
sar eax, 1
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movdqa xmmword [rsp + 0x60], xmm6
movaps xmm0, xmm12
unpcklps xmm0, xmm13
movsd qword [rbp + 0x190], xmm0
unpcklps xmm1, xmm2
movsd qword [rbp + 0x1e0], xmm1
mov rcx, qword [0x14009c828]
mov rax, qword [rcx + 0x4008]
mov byte [rax + 0xb8], 1
mov rax, qword [rcx + 0x4008]
mov r10, qword [rax + 0x298]
lea rcx, [rsp + 0x60]
call fcn.140003570
movss xmm8, dword [0x14005b938]
movss dword [rsp + 0x20], xmm8
mov r9d, eax
lea r8, [rbp + 0x190]
lea rdx, [rbp + 0x1e0]
mov rcx, r10
call fcn.1400260c0
jmp 0x1400471e2
movss xmm8, dword [0x14005b938]
cmp byte [rsi + 6], r14b
je 0x140047476
movdqa xmm0, xmmword [0x14005bb30]
movdqu xmmword [rbp + 0xc0], xmm0
movdqa xmm1, xmmword [0x14005bb40]
movdqu xmmword [rbp + 0xd0], xmm1
movdqa xmm0, xmmword [0x14005bb50]
movdqu xmmword [rbp + 0xe0], xmm0
movdqa xmm1, xmmword [0x14005bb10]
movdqu xmmword [rbp + 0xf0], xmm1
movdqa xmm0, xmmword [0x14005bb60]
movdqu xmmword [rbp + 0x100], xmm0
movdqa xmm1, xmmword [0x14005bb70]
movdqu xmmword [rbp + 0x110], xmm1
mov rbx, r14
mov qword [rbp - 0x3c], rbx
mov dword [rbp - 0x34], ebx
movss xmm0, dword [rbp - 0x34]
movsd xmm6, qword [rbp - 0x3c]
movlhps xmm6, xmm0
nop dword [rax]
nop word [rax + rax]
mov r8d, dword [rbp + rbx*8 + 0xc0]
mov rdx, qword [0x140066458]
mov rdx, qword [rdx + 8]
lea rcx, [rbp + 0x250]
call fcn.140045260
mov r8d, dword [rbp + rbx*8 + 0xc4]
mov rdx, qword [0x140066458]
mov rdx, qword [rdx + 8]
lea rcx, [rbp + 0x260]
call fcn.140045260
movss xmm0, dword [rbp + 0x258]
movsd xmm3, qword [rbp + 0x250]
movlhps xmm3, xmm0
cmpeqps xmm3, xmm6
movmskps eax, xmm3
and eax, 7
cmp al, 7
je 0x140047476
mov qword [rbp - 0x78], r14
mov dword [rbp - 0x70], r14d
movss xmm0, dword [rbp + 0x268]
movsd xmm4, qword [rbp + 0x260]
movlhps xmm4, xmm0
movss xmm0, dword [rbp - 0x70]
movsd xmm3, qword [rbp - 0x78]
movlhps xmm3, xmm0
cmpeqps xmm4, xmm3
movmskps eax, xmm4
and eax, 7
cmp al, 7
je 0x140047476
mov qword [rbp + 0x160], r14
mov qword [rbp + 0x178], r14
lea rdx, [rbp + 0x160]
lea rcx, [rbp + 0x250]
call fcn.140045360
test al, al
je 0x140047469
lea rdx, [rbp + 0x178]
lea rcx, [rbp + 0x260]
call fcn.140045360
test al, al
je 0x140047469
movd xmm0, dword [rsi + 0xc0]
cvtdq2ps xmm0, xmm0
movss xmm4, dword [rbp + 0x160]
comiss xmm4, xmm0
ja 0x140047476
movd xmm0, dword [rsi + 0xb8]
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm4
ja 0x140047476
mov qword [rbp + 0x1a0], r14
movsd xmm3, qword [rbp + 0x160]
movsd xmm2, qword [rbp + 0x1a0]
cmpeqps xmm2, xmm3
movmskps eax, xmm2
and eax, 3
cmp al, 3
jne 0x1400473cf
mov qword [rbp + 0x188], r14
movsd xmm3, qword [rbp + 0x178]
movsd xmm2, qword [rbp + 0x188]
cmpeqps xmm2, xmm3
movmskps eax, xmm2
and eax, 3
cmp al, 3
je 0x140047469
cmp dword [0x14009c840], r14d
lea rax, [rbp + 0x230]
je 0x1400473e3
lea rax, [rsi + 0x4c]
movss xmm2, dword [rbp + 0x17c]
movss xmm3, dword [rbp + 0x164]
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x60], xmm0
movss xmm1, dword [rbp + 0x178]
unpcklps xmm1, xmm2
movsd qword [rbp + 0x1e0], xmm1
movaps xmm0, xmm4
unpcklps xmm0, xmm3
movsd qword [rbp + 0x190], xmm0
mov rcx, qword [0x14009c828]
mov rax, qword [rcx + 0x4008]
mov byte [rax + 0xb8], 1
mov rax, qword [rcx + 0x4008]
mov r10, qword [rax + 0x298]
lea rcx, [rsp + 0x60]
call fcn.140003570
movss dword [rsp + 0x20], xmm8
mov r9d, eax
lea r8, [rbp + 0x1e0]
lea rdx, [rbp + 0x190]
mov rcx, r10
call fcn.1400260c0
inc rbx
cmp rbx, 0xc
jl 0x140047270
cmp byte [rsi + 7], r14b
je 0x14004769a
mov rax, qword [0x140066458]
mov rcx, qword [rax + 0x60]
cvttss2si edi, dword [rcx + 0x24]
cvttss2si ebx, dword [rcx + 0x20]
xorps xmm11, xmmword [0x14005c190]
subss xmm11, xmm8
movaps xmm10, xmm13
addss xmm10, xmm8
movaps xmm9, xmm12
subss xmm9, xmm7
subss xmm9, dword [0x14005b978]
imul ecx, ebx, 0x1fe
cmp ecx, 0x639c
jge 0x1400474e0
mov eax, 0x51eb851f
imul ecx
mov ecx, edx
sar ecx, 5
mov eax, ecx
shr eax, 0x1f
add ecx, eax
jmp 0x1400474e5
mov ecx, 0xff
mov eax, edi
sub eax, ebx
imul edx, eax, 0x1fe
cmp edx, 0x639c
jge 0x14004750a
mov eax, 0x51eb851f
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
jmp 0x14004750f
mov edx, 0xff
movd xmm7, edx
cvtdq2ps xmm7, xmm7
mulss xmm7, dword [0x14005b8b8]
movd xmm6, ecx
cvtdq2ps xmm6, xmm6
mulss xmm6, dword [0x14005b8b8]
movd xmm0, ebx
cvtdq2ps xmm0, xmm0
comiss xmm15, xmm0
cmova ebx, r14d
movaps xmm0, xmmword [0x14005bd90]
movaps xmmword [rsp + 0x60], xmm0
mov rcx, qword [0x14009c828]
mov rax, qword [rcx + 0x4008]
mov byte [rax + 0xb8], 1
mov rax, qword [rcx + 0x4008]
mov r10, qword [rax + 0x298]
lea rcx, [rsp + 0x60]
call fcn.140003570
movaps xmm8, xmm9
addss xmm8, dword [0x14005b958]
movaps xmm0, xmm8
movss xmm2, dword [0x14005b938]
addss xmm0, xmm2
movss dword [rbp + 0x18], xmm0
movaps xmm1, xmm10
addss xmm1, xmm11
subss xmm1, xmm2
movss dword [rbp + 0x1c], xmm1
movaps xmm0, xmm9
subss xmm0, xmm2
movss dword [rbp + 0x20], xmm0
movaps xmm1, xmm10
addss xmm1, xmm2
movss dword [rbp + 0x24], xmm1
mov dword [rsp + 0x28], r14d
movss dword [rsp + 0x20], xmm15
mov r9d, eax
lea r8, [rbp + 0x18]
lea rdx, [rbp + 0x20]
mov rcx, r10
call fcn.1400262a0
movss dword [rbp + 0x50], xmm7
movss dword [rbp + 0x54], xmm6
mov dword [rbp + 0x58], 0x3dc8c8ca
mov dword [rbp + 0x5c], 0x3f800000
movd xmm0, ebx
cvtdq2ps xmm0, xmm0
comiss xmm15, xmm0
cmovae ebx, r14d
movd xmm6, ebx
cvtdq2ps xmm6, xmm6
movd xmm0, edi
cvtdq2ps xmm0, xmm0
divss xmm11, xmm0
mulss xmm6, xmm11
addss xmm6, xmm10
mov rcx, qword [0x14009c828]
mov rax, qword [rcx + 0x4008]
mov byte [rax + 0xb8], 1
mov rax, qword [rcx + 0x4008]
mov r10, qword [rax + 0x298]
lea rcx, [rbp + 0x50]
call fcn.140003570
movss dword [rbp + 0x28], xmm8
movss dword [rbp + 0x2c], xmm6
movss dword [rbp - 0x28], xmm9
movss dword [rbp - 0x24], xmm10
mov dword [rsp + 0x28], r14d
movss dword [rsp + 0x20], xmm15
mov r9d, eax
lea r8, [rbp + 0x28]
lea rdx, [rbp - 0x28]
mov rcx, r10
call fcn.1400262a0
movss xmm9, dword [0x14005b8f8]
movss xmm10, dword [0x14005ba10]
cmp byte [rsi + 8], r14b
je 0x140047952
cvttss2si edx, xmm14
lea rcx, [rbp + 0x230]
call fcn.140044820
mov rcx, rax
mov rdx, qword [rax + 0x10]
mov r8, qword [rax + 0x18]
mov rax, r8
sub rax, rdx
cmp rax, 1
jb 0x1400476e8
lea rax, [rdx + 1]
mov qword [rcx + 0x10], rax
mov rax, rcx
cmp r8, 0x10
jb 0x1400476e0
mov rax, qword [rcx]
mov word [rax + rdx], 0x6d
jmp 0x1400476fe
mov qword [rsp + 0x20], 1
mov edx, 1
call fcn.140048eb0
mov rcx, rax
mov qword [rbp + 0x1f0], r14
mov qword [rbp + 0x200], r14
mov qword [rbp + 0x208], r14
movups xmm0, xmmword [rcx]
movups xmmword [rbp + 0x1f0], xmm0
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rbp + 0x200], xmm1
mov qword [rcx + 0x10], r14
mov qword [rcx + 0x18], 0xf
mov byte [rcx], 0
mov rdx, qword [rbp + 0x248]
cmp rdx, 0x10
jb 0x140047778
inc rdx
mov rcx, qword [rbp + 0x230]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140047773
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140047a16
call fcn.1400509ac
mov qword [rbp + 0x240], r14
mov qword [rbp + 0x248], 0xf
mov byte [rbp + 0x230], 0
lea rax, [rbp + 0x1f0]
mov rcx, qword [rbp + 0x1f0]
mov rdx, qword [rbp + 0x208]
cmp rdx, 0x10
cmovae rax, rcx
mov rbx, qword [0x14009c828]
test rax, rax
jne 0x1400477c0
movaps xmm0, xmm15
jmp 0x140047824
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], rax
movss xmm0, dword [0x14005ba38]
movss dword [rsp + 0x20], xmm0
movaps xmm3, xmm10
movss xmm2, dword [rbx + 0x3d40]
lea rdx, [rbp - 0x18]
mov rcx, qword [rbx + 0x3d38]
call fcn.14002a350
movss xmm0, dword [rbp - 0x18]
addss xmm0, dword [0x14005b930]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbp - 0x18], xmm0
mov rdx, qword [rbp + 0x208]
mov rcx, qword [rbp + 0x1f0]
lea r10, [rbp + 0x1f0]
cmp rdx, 0x10
cmovae r10, rcx
mulss xmm0, xmm9
subss xmm12, xmm0
movss dword [rbp - 0x20], xmm12
movss dword [rbp - 0x1c], xmm13
movaps xmm0, xmmword [0x14005c160]
movaps xmmword [rsp + 0x60], xmm0
mov r9, 0xffffffffffffffff
nop dword [rax]
inc r9
cmp byte [r10 + r9], 0
jne 0x140047860
add r9, r10
movsd xmm0, qword [rbp - 0x20]
movsd qword [rbp + 0x1e0], xmm0
mov rax, qword [rbx + 0x4008]
mov byte [rax + 0xb8], 1
mov rax, qword [rbx + 0x4008]
mov r8, qword [rax + 0x298]
lea rcx, [rsp + 0x60]
call fcn.140003570
mov qword [rsp + 0x40], r14
movss xmm0, dword [0x14005b9d0]
movss dword [rsp + 0x38], xmm0
mov qword [rsp + 0x30], r9
mov qword [rsp + 0x28], r10
mov dword [rsp + 0x20], eax
lea r9, [rbp + 0x1e0]
movss xmm2, dword [rbx + 0x3d40]
mov rdx, qword [rbx + 0x3d38]
mov rcx, r8
call fcn.140026850
nop
mov rdx, qword [rbp + 0x208]
cmp rdx, 0x10
jb 0x140047921
inc rdx
mov rcx, qword [rbp + 0x1f0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004791c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140047a1d
call fcn.1400509ac
mov qword [rbp + 0x200], r14
mov qword [rbp + 0x208], 0xf
mov byte [rbp + 0x1f0], 0
xor ecx, ecx
mov rax, qword [0x140066458]
mov qword [rax], rcx
mov rbx, qword [0x140066450]
jmp 0x140047976
xor r14d, r14d
xor ecx, ecx
mov rax, qword [0x140066458]
mov qword [rax], rcx
mov rbx, qword [0x140066450]
jmp 0x140047976
xor r14d, r14d
mov rbx, qword [0x140066450]
jmp 0x140047976
xor r14d, r14d
mov rdi, qword [rsp + 0x50]
inc r13d
cmp r13d, 0x48
jl 0x140046512
xor eax, eax
mov qword [rbx], rax
call fcn.14000eec0
mov rcx, qword [rbp + 0x2a8]
xor rcx, rsp
call fcn.140050810
lea r11, [rsp + 0x450]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm11, xmmword [r11 - 0x60]
movaps xmm12, xmmword [r11 - 0x70]
movaps xmm13, xmmword [r11 - 0x80]
movaps xmm14, xmmword [r11 - 0x90]
movaps xmm15, xmmword [r11 - 0xa0]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3