Function at 0x1400388b0
Capabilities:
Encode data using xor
Log keystrokes via polling

Disassembly:
mov rax, rsp
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rax - 0x9a8]
sub rsp, 0xa80
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
mov rax, qword [0x140050010]
xor rax, rsp
mov qword [rbp + 0x8d0], rax
mov rcx, qword [0x14021eb98]
xor dil, dil
movss xmm0, dword [0x140047f84]
xorps xmm8, xmm8
xorps xmm6, xmm6
movss dword [rbp + 0x780], xmm0
add rcx, 0xffd830
movss dword [rsp + 0x54], xmm8
movss dword [rsp + 0x50], xmm6
xorps xmm11, xmm11
mov qword [rbp - 0x24], 0
mov dword [rbp - 0x28], 0
mov qword [rbp - 0x34], 0
mov dword [rbp - 0x38], 0
mov byte [rbp + 0x760], dil
call fcn.14003e9f0
movss xmm12, dword [0x140047f14]
xor r14d, r14d
mov dword [rbp + 0x788], eax
mov ebx, eax
test eax, eax
je 0x140039ab6
mov qword [rsp + 0xab0], r12
mov esi, r14d
movaps xmmword [rsp + 0xa00], xmm13
movss xmm13, dword [0x140047f98]
mov qword [rsp + 0xab8], r13
mov qword [rsp + 0xac0], r15
mov dword [rbp + 0x768], r14d
mov r14d, 5
movaps xmmword [rsp + 0x9f0], xmm14
movaps xmmword [rsp + 0x9e0], xmm15
lea r12d, [r14 + 0x5f]
nop
mov ecx, dword [0x140047988]
add rcx, qword [0x14021eb98]
call fcn.14003e9f0
mov ecx, dword [0x140047990]
mov edi, eax
add rcx, qword [0x14021eb98]
call fcn.14003e9f0
mov ecx, dword [0x14004798c]
mov ebx, eax
add rcx, qword [0x14021eb98]
call fcn.14003e9f0
sub eax, ebx
lea ecx, [rax + 0x28540]
add ecx, edi
call fcn.14003e9f0
cmp byte [0x14021ed91], 0
jne 0x140038a2c
xor eax, esi
test al, 1
je 0x140039a51
mov rcx, qword [0x14021eb98]
add rcx, 0xff4000
call fcn.14003e9f0
mov rcx, qword [0x14021eb98]
mov ebx, eax
add rcx, 0xff4014
call fcn.14003e9f0
cmp esi, 0x11
ja 0x140039a51
add eax, ebx
mov edx, esi
add rax, 0x137c
lea rcx, [rax + rdx*4]
call fcn.14003e9f0
mov edi, eax
test eax, eax
je 0x140039a51
lea ecx, [rax + 0x14]
call fcn.14003e9f0
lea ecx, [rdi + 0x30]
mov ebx, eax
call fcn.14003e9f0
mov r15d, eax
xor r15d, ebx
je 0x140039a51
lea ecx, [r15 + 0xddc]
call fcn.14003e9f0
test eax, eax
je 0x140039a51
lea ecx, [rax + 0x34]
call fcn.14003ea90
cvttss2si r13d, xmm0
test r13d, r13d
je 0x140039a51
cmp byte [0x14021ebb1], 0
jne 0x140038ad8
cmp byte [0x14021ed51], 0
je 0x140038b84
mov rcx, qword [0x14021eb98]
add rcx, 0xff3aec
call fcn.14003e9f0
mov rcx, qword [0x14021eb98]
mov edi, eax
add rcx, 0xff3adc
call fcn.14003e9f0
mov rcx, qword [0x14021eb98]
mov ebx, eax
add rcx, 0xff3ad8
call fcn.14003e9f0
lea ecx, [rsi*4 + 0x284f8]
sub ecx, ebx
add ecx, eax
add ecx, edi
call fcn.14003e9f0
xor edx, edx
lea rcx, [rbp + 0x100]
mov r8d, 0x108
lea ebx, [rax + 8]
call sub.VCRUNTIME140.dll_memset
mov eax, dword [0x14021eda8]
test eax, eax
je 0x140038b84
test rbx, rbx
je 0x140038b84
mov dword [rbp + 0x10c], eax
lea rdx, [rbp + 0x100]
lea rax, [rbp + 0x810]
mov qword [rbp + 0x110], rbx
mov ecx, 8
mov qword [rbp + 0x118], rax
mov qword [rbp + 0x120], 0x40
call fcn.14002f050
mov r8d, r14d
lea rcx, [rbp + 0xe0]
mov edx, r15d
call fcn.1400343a0
movaps xmm7, xmm11
movss dword [rbp - 0x80], xmm11
lea ecx, [r15 + 0xbb8]
movss dword [rbp + 0x778], xmm7
movss dword [rbp - 0x7c], xmm11
movaps xmm10, xmm11
movsd xmm0, qword [rax]
movaps xmm12, xmm11
mov edi, dword [rax + 8]
movsd qword [rbp + 0x70], xmm0
call fcn.14003e9f0
test eax, eax
je 0x140038c8a
lea ecx, [rax + 0x50]
call fcn.14003e9f0
test eax, eax
je 0x140038c8a
xor edx, edx
movss dword [rbp + 0x778], xmm7
mov r8d, 0x108
movss dword [rbp + 0xc], xmm7
lea rcx, [rbp + 0x210]
movss dword [rbp - 0x80], xmm11
movss dword [rbp + 8], xmm11
lea ebx, [rax + 0x40]
movss dword [rbp - 0x7c], xmm11
movss dword [rbp + 4], xmm11
call sub.VCRUNTIME140.dll_memset
mov eax, dword [0x14021eda8]
test eax, eax
je 0x140038c8a
test rbx, rbx
je 0x140038c8a
mov dword [rbp + 0x21c], eax
lea rdx, [rbp + 0x210]
lea rax, [rbp + 4]
mov qword [rbp + 0x220], rbx
mov ecx, 8
mov qword [rbp + 0x228], rax
mov qword [rbp + 0x230], 0xc
call fcn.14002f050
movss xmm7, dword [rbp + 0xc]
movss xmm10, dword [rbp + 8]
movss xmm12, dword [rbp + 4]
movss dword [rbp + 0x778], xmm7
movss dword [rbp - 0x80], xmm10
movss dword [rbp - 0x7c], xmm12
mov rcx, qword [0x14021eb98]
movaps xmm14, xmm11
add rcx, 0xffd830
movaps xmm9, xmm11
movaps xmm15, xmm11
call fcn.14003e9f0
test eax, eax
je 0x140038d65
lea ecx, [rax + 0x948]
call fcn.14003e9f0
test eax, eax
je 0x140038d65
lea ecx, [rax + 0x38]
call fcn.14003e9f0
test eax, eax
je 0x140038d65
lea ecx, [rax + 0x20]
call fcn.14003e9f0
test eax, eax
je 0x140038d65
xor edx, edx
movss dword [rbp], xmm11
mov r8d, 0x108
movss dword [rbp - 4], xmm11
lea rcx, [rbp + 0x320]
movss dword [rbp - 8], xmm11
lea ebx, [rax + 0xe8]
call sub.VCRUNTIME140.dll_memset
mov eax, dword [0x14021eda8]
test eax, eax
je 0x140038d65
test rbx, rbx
je 0x140038d65
mov dword [rbp + 0x32c], eax
lea rdx, [rbp + 0x320]
lea rax, [rbp - 8]
mov qword [rbp + 0x330], rbx
mov ecx, 8
mov qword [rbp + 0x338], rax
mov qword [rbp + 0x340], 0xc
call fcn.14002f050
movss xmm14, dword [rbp]
movss xmm9, dword [rbp - 4]
movss xmm15, dword [rbp - 8]
movsd xmm0, qword [rbp + 0x70]
lea rdx, [rbp - 0x28]
movss xmm1, dword [rbp + 0x74]
lea rcx, [rbp + 0xc0]
addss xmm1, dword [0x140047e78]
mov r9d, dword [0x14021eda0]
cmp r13d, 0x64
mov r8d, dword [0x14021eba0]
mov esi, r13d
shufps xmm0, xmm0, 0xe1
cmovge esi, r12d
mov dword [rbp + 0xc8], edi
movss xmm0, xmm1
shufps xmm0, xmm0, 0xe1
movsd qword [rbp + 0x70], xmm0
movsd qword [rbp + 0xc0], xmm0
call fcn.1400340a0
test al, al
je 0x140039a51
mov r9d, dword [0x14021eda0]
lea rdx, [rbp - 0x38]
mov r8d, dword [0x14021eba0]
lea rcx, [rbp + 0x60]
movss dword [rbp + 0x60], xmm12
movss dword [rbp + 0x64], xmm10
movss dword [rbp + 0x68], xmm7
call fcn.1400340a0
test al, al
je 0x140039a51
movaps xmm2, xmm13
mov ecx, r15d
call fcn.1400347f0
test al, al
jne 0x140038f2a
cmp byte [0x14021ebc7], al
je 0x140038e35
movups xmm0, xmmword [0x14013ae30]
lea rcx, [rbp - 0x78]
movups xmmword [rbp - 0x78], xmm0
call fcn.140002dd0
mov edx, eax
mov ecx, r15d
call fcn.1400345f0
cmp byte [0x14021eb8b], 0
movss xmm8, dword [rbp - 0x24]
movss xmm13, dword [rbp - 0x28]
movss xmm6, dword [rbp - 0x34]
je 0x140038eb4
movups xmm0, xmmword [0x14013ae60]
lea rcx, [rbp - 0x78]
movups xmmword [rbp - 0x78], xmm0
call fcn.140002dd0
movaps xmm0, xmm8
mov dword [rbp + 0x770], eax
subss xmm0, xmm6
comiss xmm11, xmm0
jbe 0x140038e7f
mulss xmm0, dword [0x140047f94]
cvttss2si r9d, xmm0
cvttss2si ecx, xmm13
mov eax, r9d
cdq
sub eax, edx
sar eax, 1
mov r8d, eax
cdq
sub eax, edx
sar eax, 1
cvttss2si r10d, xmm8
sub ecx, eax
lea rax, [rbp + 0x770]
mov qword [rsp + 0x20], rax
mov edx, r10d
call fcn.140031250
cmp byte [0x14021ebb4], 0
je 0x140039065
cvttss2si eax, dword [rbp - 0x38]
lea rcx, [rbp - 0x78]
movups xmm0, xmmword [0x14013ae10]
movups xmmword [rbp - 0x78], xmm0
movd xmm1, eax
cvtdq2ps xmm1, xmm1
cvttss2si eax, xmm6
movss dword [rbp + 0x58], xmm1
movd xmm1, dword [0x14021eda0]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
mov eax, dword [0x14021eba0]
cvtdq2ps xmm0, xmm0
cdq
sub eax, edx
sar eax, 1
movss dword [rbp + 0x3c], xmm1
movss dword [rbp + 0x5c], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbp + 0x38], xmm0
call fcn.140002dd0
lea rdx, [rbp + 0x38]
lea r8, [rbp + 0x58]
jmp 0x140039041
cmp byte [0x14021ebc7], 0
je 0x140038f51
movups xmm0, xmmword [0x14013ae20]
lea rcx, [rbp - 0x78]
movups xmmword [rbp - 0x78], xmm0
call fcn.140002dd0
mov edx, eax
mov ecx, r15d
call fcn.1400345f0
cmp byte [0x14021eb8b], 0
movss xmm8, dword [rbp - 0x24]
movss xmm13, dword [rbp - 0x28]
movss xmm6, dword [rbp - 0x34]
je 0x140038fd0
movups xmm0, xmmword [0x14013ae20]
lea rcx, [rbp - 0x78]
movups xmmword [rbp - 0x78], xmm0
call fcn.140002dd0
movaps xmm0, xmm8
mov dword [rbp + 0x770], eax
subss xmm0, xmm6
comiss xmm11, xmm0
jbe 0x140038f9b
mulss xmm0, dword [0x140047f94]
cvttss2si r9d, xmm0
cvttss2si ecx, xmm13
mov eax, r9d
cdq
sub eax, edx
sar eax, 1
mov r8d, eax
cdq
sub eax, edx
sar eax, 1
cvttss2si r10d, xmm8
sub ecx, eax
lea rax, [rbp + 0x770]
mov qword [rsp + 0x20], rax
mov edx, r10d
call fcn.140031250
cmp byte [0x14021ebb4], 0
je 0x140039065
cvttss2si eax, dword [rbp - 0x38]
lea rcx, [rbp - 0x78]
movups xmm0, xmmword [0x14013ae20]
movups xmmword [rbp - 0x78], xmm0
movd xmm1, eax
cvtdq2ps xmm1, xmm1
cvttss2si eax, xmm6
movss dword [rbp + 0x30], xmm1
movd xmm1, dword [0x14021eda0]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
mov eax, dword [0x14021eba0]
cvtdq2ps xmm0, xmm0
cdq
sub eax, edx
sar eax, 1
movss dword [rbp + 0x44], xmm1
movss dword [rbp + 0x34], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbp + 0x40], xmm0
call fcn.140002dd0
lea rdx, [rbp + 0x40]
lea r8, [rbp + 0x30]
mov rcx, qword [0x14021eb90]
mov r9d, eax
movss xmm0, dword [0x140047eac]
add rcx, 0x1cc8
movss dword [rsp + 0x20], xmm0
call fcn.14001d300
movss xmm2, dword [0x140047f94]
movaps xmm0, xmm8
subss xmm0, xmm6
comiss xmm11, xmm0
movaps xmm1, xmm0
jbe 0x140039082
mulss xmm1, xmm2
cvttss2si eax, xmm1
cvttss2si ebx, xmm13
test eax, eax
jns 0x140039091
inc eax
sar eax, 1
cmp byte [0x14021ebb6], 0
cvttss2si r14d, xmm8
lea r12d, [rax + rbx]
je 0x140039178
xor ecx, ecx
test si, si
cmovne cx, si
comiss xmm11, xmm0
jbe 0x1400390bc
mulss xmm0, xmm2
cvttss2si r9d, xmm0
subss xmm6, xmm8
mov eax, r9d
cdq
and edx, 3
add eax, edx
sar eax, 2
sub ebx, eax
movzx eax, cx
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm6
divss xmm0, dword [0x140047f48]
cvttss2si rdi, xmm0
cmp cx, 0x64
ja 0x140039113
cmp cx, 0x4b
ja 0x140039113
cmp cx, 0x28
jbe 0x14003910a
movaps xmm0, xmmword [0x14013aac0]
jmp 0x14003911a
movaps xmm0, xmmword [0x14013a9d0]
jmp 0x14003911a
movaps xmm0, xmmword [0x14013aa10]
lea rax, [0x14013ab70]
add r9d, 2
lea edx, [r14 - 1]
mov qword [rsp + 0x20], rax
lea ecx, [rbx - 6]
mov r8d, 5
movups xmmword [rbp - 0x78], xmm0
call fcn.1400319e0
mov eax, edi
lea ecx, [rbx - 5]
xorps xmm0, xmm0
movd xmm1, r14d
cvtdq2ps xmm1, xmm1
mov r9d, edi
mov r8d, 3
cvtsi2ss xmm0, rax
lea rax, [rbp - 0x78]
mov qword [rsp + 0x20], rax
subss xmm6, xmm0
addss xmm6, xmm1
cvttss2si edx, xmm6
call fcn.1400319e0
cmp byte [0x14021ebb1], 0
je 0x14003963c
lea rax, [rbp + 0x80]
mov dword [rbp + 0x80], 9
movaps xmm12, xmm13
mov dword [rbp + 0x84], 9
subss xmm12, dword [0x140047f44]
movaps xmm10, xmm8
mov dword [rbp + 0x88], 9
subss xmm10, dword [0x140047f40]
mov r9d, 0x1a
mov dword [rbp + 0x8c], 0xff
mov r8d, 0x9b
mov dword [rbp + 0x90], 0x1c
cvttss2si edi, xmm12
mov dword [rbp + 0x94], 0x36
mov dword [rbp + 0x98], 0x3a
mov dword [rbp + 0x9c], 0xff
mov qword [rsp + 0x20], rax
cvttss2si ebx, xmm10
mov ecx, edi
mov edx, ebx
call fcn.1400319e0
mov r9d, 0x19
lea rax, [rbp + 0x90]
mov edx, ebx
mov qword [rsp + 0x20], rax
mov ecx, edi
lea r8d, [r9 + 5]
call fcn.1400319e0
movaps xmm0, xmm14
movaps xmm1, xmm15
subss xmm1, dword [rbp - 0x7c]
subss xmm0, xmm7
movaps xmm2, xmm9
subss xmm2, dword [rbp - 0x80]
mulss xmm1, xmm1
mulss xmm2, xmm2
mulss xmm0, xmm0
addss xmm2, xmm1
addss xmm2, xmm0
xorps xmm0, xmm0
ucomiss xmm0, xmm2
ja 0x140039278
xorps xmm0, xmm0
sqrtss xmm0, xmm2
jmp 0x140039280
movaps xmm0, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
mov dword [rsp + 0x58], 0xda958a9c
xor ecx, ecx
mov word [rsp + 0x5c], 0x100
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 0x47]
xor byte [rsp + rcx + 0x58], al
inc rcx
cmp rcx, 4
jb 0x1400392a0
xorps xmm2, xmm2
mov byte [rsp + 0x5d], 0
cvtss2sd xmm2, xmm0
lea rdx, [rsp + 0x58]
lea rcx, [rbp + 0x7f0]
movq r8, xmm2
call fcn.140013570
movss xmm7, dword [0x140047efc]
lea rax, [rbp + 0x7f0]
movss xmm6, dword [0x140047f20]
lea r9, [rbp + 0x48]
movaps xmm0, xmm10
mov qword [rsp + 0x30], rax
addss xmm0, xmm7
mov byte [rsp + 0x28], 0
movaps xmm1, xmm12
mov dword [rbp + 0x48], 0
addss xmm1, dword [0x140047f14]
mov dword [rbp + 0x4c], 0xcb
mov dword [rbp + 0x50], 0xff
cvttss2si ebx, xmm0
mov dword [rbp + 0x54], 0xff
mov byte [rsp + 0x20], 0
movaps xmm0, xmm6
cvttss2si edx, xmm1
mov r8d, ebx
movd ecx, xmm0
call fcn.14002f350
xor ecx, ecx
mov dword [rsp + 0x68], 0xf4b1d39c
mov word [rsp + 0x6c], 0xed
mov byte [rsp + 0x6e], 1
nop dword [rax]
lea eax, [rcx - 0x47]
xor byte [rsp + rcx + 0x68], al
inc rcx
cmp rcx, 5
jb 0x140039360
mov r8d, r13d
mov byte [rsp + 0x6e], 0
lea rdx, [rsp + 0x68]
lea rcx, [rbp + 0x790]
call fcn.14003f090
movaps xmm0, xmm10
lea rax, [rbp + 0x790]
subss xmm0, xmm7
mov qword [rsp + 0x30], rax
movaps xmm1, xmm12
mov byte [rsp + 0x28], 0
addss xmm1, dword [0x140047f5c]
lea r9, [rbp + 0x48]
mov byte [rsp + 0x20], 0
cvttss2si r8d, xmm0
movaps xmm0, xmm6
cvttss2si edx, xmm1
movd ecx, xmm0
call fcn.14002f350
xor eax, eax
mov dword [rbp - 0x48], 0x21d6219c
mov ecx, eax
mov dword [rbp - 0x44], 0x21c8
mov byte [rbp - 0x40], 1
mov edx, 0x21b9
nop word [rax + rax]
lea eax, [rdx + rcx]
xor word [rbp + rcx*2 - 0x48], ax
inc rcx
cmp rcx, 3
jb 0x1400393f0
lea r9, [rbp + 0x810]
mov byte [rbp - 0x40], 0
lea r8, [rbp - 0x48]
mov edx, 0x20
lea rcx, [rbp + 0x850]
call fcn.14002bff0
movaps xmm0, xmm12
mov dword [rbp + 0xa0], 0xc9
addss xmm0, dword [0x140047f3c]
lea rax, [rbp + 0x850]
mov dword [rbp + 0xa4], 0x10
mov qword [rsp + 0x30], rax
lea r9, [rbp + 0xa0]
mov byte [rsp + 0x28], 0
mov r8d, ebx
mov dword [rbp + 0xa8], 0x10
cvttss2si edx, xmm0
mov dword [rbp + 0xac], 0xff
mov byte [rsp + 0x20], 0
movaps xmm0, xmm6
movd ecx, xmm0
call fcn.14002fb70
movss xmm2, dword [0x140047eac]
lea rcx, [rbp + 0xb0]
movss xmm0, dword [0x140047e58]
movaps xmm7, xmm12
addss xmm10, dword [0x140047f34]
addss xmm7, dword [0x140047f68]
movss dword [rbp + 0xb0], xmm0
movaps xmm1, xmm12
movss dword [rbp + 0xb4], xmm0
addss xmm1, xmm2
movss dword [rbp + 0xb8], xmm0
movaps xmm6, xmm10
movss dword [rbp + 0xbc], xmm2
addss xmm6, dword [0x140047f08]
movaps xmm0, xmm7
subss xmm0, xmm2
movss dword [rbp + 0x20], xmm1
movss dword [rbp + 0x28], xmm0
movaps xmm0, xmm6
subss xmm0, xmm2
movss dword [rbp + 0x2c], xmm0
movaps xmm0, xmm10
addss xmm0, xmm2
movss dword [rbp + 0x24], xmm0
call fcn.140002dd0
movss xmm0, dword [0x140047eac]
lea r8, [rbp + 0x28]
mov rcx, qword [0x14021eb90]
lea rdx, [rbp + 0x20]
movss dword [rsp + 0x30], xmm0
mov r9d, eax
mov dword [rsp + 0x28], 0xf
add rcx, 0x1cc8
movss dword [rsp + 0x20], xmm11
call fcn.14001d480
movss xmm0, dword [0x140047e58]
lea rcx, [rbp - 0x18]
movss dword [rbp - 0x18], xmm0
movss dword [rbp - 0x14], xmm0
movss dword [rbp - 0x10], xmm0
movss xmm0, dword [0x140047eac]
movss dword [rbp - 0xc], xmm0
movss dword [rsp + 0x48], xmm7
movss dword [rsp + 0x4c], xmm6
movss dword [rsp + 0x40], xmm12
movss dword [rsp + 0x44], xmm10
call fcn.140002dd0
movss xmm0, dword [0x140047eac]
lea r8, [rsp + 0x48]
mov rcx, qword [0x14021eb90]
lea rdx, [rsp + 0x40]
movss dword [rsp + 0x30], xmm0
mov r9d, eax
mov dword [rsp + 0x28], 0xf
add rcx, 0x1cc8
movss dword [rsp + 0x20], xmm11
call fcn.14001d480
lea rdx, [0x14013a9f0]
cmp esi, 0x32
lea rax, [0x14013aa10]
mov ecx, edi
cmovge rdx, rax
lea r9, [0x14013a9d0]
cmp esi, 0x14
mov eax, esi
cmovge r9, rdx
cdq
sub eax, edx
mov qword [rsp + 0x20], r9
sar eax, 1
mov r9d, 6
cvttss2si edx, xmm10
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x140047ecc]
cvttss2si r8d, xmm0
call fcn.1400319e0
movss xmm7, dword [rbp + 0x778]
movss xmm10, dword [rbp - 0x80]
movss xmm12, dword [rbp - 0x7c]
xor ebx, ebx
cmp byte [0x14021ed51], bl
je 0x1400396ff
mov dword [rbp - 0x58], 0x21d6219c
mov ecx, ebx
mov dword [rbp - 0x54], 0x21c8
mov edx, 0x21b9
mov byte [rbp - 0x50], 1
nop dword [rax]
nop word [rax + rax]
lea eax, [rdx + rcx]
xor word [rbp + rcx*2 - 0x58], ax
inc rcx
cmp rcx, 3
jb 0x140039670
lea r9, [rbp + 0x810]
mov byte [rbp - 0x50], bl
lea r8, [rbp - 0x58]
mov edx, 0x20
lea rcx, [rbp + 0x890]
call fcn.14002bff0
movups xmm0, xmmword [0x14013ae40]
lea rcx, [rbp - 0x78]
movups xmmword [rbp - 0x78], xmm0
call fcn.140002dd0
subss xmm8, dword [0x140047f28]
subss xmm13, dword [0x140047f34]
mov r9d, eax
lea rax, [rbp + 0x890]
mov qword [rsp + 0x30], rax
mov byte [rsp + 0x28], bl
cvttss2si r8d, xmm8
mov byte [rsp + 0x20], bl
movss xmm8, dword [0x140047f20]
movaps xmm0, xmm8
cvttss2si edx, xmm13
movd ecx, xmm0
call fcn.140030ae0
jmp 0x140039708
movss xmm8, dword [0x140047f20]
cmp byte [0x14021eda5], 0
je 0x140039799
mov dword [rsp + 0x60], 0xf49bd39c
mov rcx, rbx
mov word [rsp + 0x64], 0xed
mov byte [rsp + 0x66], 1
nop dword [rax]
lea eax, [rcx - 0x47]
xor byte [rsp + rcx + 0x60], al
inc rcx
cmp rcx, 5
jb 0x140039730
mov r8d, r13d
mov byte [rsp + 0x66], 0
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x7b0]
call fcn.14003f090
movups xmm0, xmmword [str.L7_t_]
lea rcx, [rbp - 0x78]
movups xmmword [rbp - 0x78], xmm0
call fcn.140002dd0
mov r9d, eax
movaps xmm0, xmm8
lea rax, [rbp + 0x7b0]
movd ecx, xmm0
mov qword [rsp + 0x30], rax
mov r8d, r14d
mov byte [rsp + 0x28], 0
mov edx, r12d
mov byte [rsp + 0x20], 0
call fcn.140030360
cmp byte [0x14021ed90], 0
je 0x14003989d
subss xmm9, xmm10
xorps xmm0, xmm0
subss xmm15, xmm12
subss xmm14, xmm7
mulss xmm9, xmm9
mulss xmm15, xmm15
mulss xmm14, xmm14
addss xmm9, xmm15
addss xmm9, xmm14
ucomiss xmm0, xmm9
ja 0x1400397e1
xorps xmm0, xmm0
sqrtss xmm0, xmm9
jmp 0x1400397ea
movaps xmm0, xmm9
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
mov dword [rsp + 0x70], 0x928b9fe2
mov rcx, rbx
mov dword [rsp + 0x74], 0xe2d88d
mov byte [rsp + 0x78], 1
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 0x47]
xor byte [rsp + rcx + 0x70], al
inc rcx
cmp rcx, 7
jb 0x140039810
xorps xmm2, xmm2
mov byte [rsp + 0x78], 0
cvtss2sd xmm2, xmm0
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x7d0]
movq r8, xmm2
call fcn.140013570
cmp byte [0x14021eda5], 0
movd xmm6, r14d
cvtdq2ps xmm6, xmm6
je 0x14003985b
addss xmm6, dword [0x140047f24]
movups xmm0, xmmword [0x14013ae70]
lea rcx, [rbp - 0x78]
movups xmmword [rbp - 0x78], xmm0
call fcn.140002dd0
mov r9d, eax
movaps xmm0, xmm8
lea rax, [rbp + 0x7d0]
movd ecx, xmm0
mov qword [rsp + 0x30], rax
mov edx, r12d
cvttss2si r8d, xmm6
mov byte [rsp + 0x28], 0
mov byte [rsp + 0x20], 0
call fcn.140030360
cmp byte [0x14021ebb0], 0
movss xmm13, dword [0x140047f98]
je 0x140039a38
movaps xmm2, xmm13
mov ecx, r15d
call fcn.140034840
test al, al
jne 0x140039a38
mov ecx, dword [0x14021ee48]
mov r8d, ebx
mov qword [rbp + 0x14], 0
mov dword [rbp + 0x10], 0
test ecx, ecx
je 0x1400399d9
sub ecx, 1
je 0x14003992a
cmp ecx, 1
jne 0x140039930
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
and eax, 0x80000001
jge 0x140039916
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
mov r8d, 2
mov r14d, 5
cmove r8d, r14d
jmp 0x140039936
mov r8d, 2
mov r14d, 5
mov edx, r15d
lea rcx, [rbp + 0xec]
call fcn.1400343a0
mov r9d, dword [0x14021eda0]
lea rdx, [rbp + 0x10]
mov r8d, dword [0x14021eba0]
lea rcx, [rbp + 0xd0]
movsd xmm0, qword [rax]
mov eax, dword [rax + 8]
movsd qword [rbp + 0xd0], xmm0
mov dword [rbp + 0xd8], eax
call fcn.1400340a0
test al, al
je 0x140039a3e
movss xmm6, dword [rbp + 0x10]
movss xmm7, dword [rbp + 0x14]
mov eax, dword [0x14021eba0]
cdq
sub eax, edx
sar eax, 1
movd xmm0, eax
mov eax, dword [0x14021eda0]
cvtdq2ps xmm0, xmm0
cdq
sub eax, edx
sar eax, 1
subss xmm6, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm7, xmm0
movaps xmm0, xmm6
mulss xmm0, xmm6
movaps xmm1, xmm7
mulss xmm1, xmm7
addss xmm1, xmm0
xorps xmm0, xmm0
ucomiss xmm0, xmm1
ja 0x1400399e7
xorps xmm0, xmm0
sqrtss xmm0, xmm1
jmp 0x1400399ef
mov r14d, 5
mov r8d, r14d
jmp 0x140039936
movaps xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movss xmm9, dword [rbp + 0x780]
comiss xmm9, xmm0
jbe 0x140039a3e
movss xmm1, dword [0x14021e1bc]
mov r12d, 0x64
comiss xmm1, xmm0
jbe 0x140039a44
mov dil, 1
movss dword [rsp + 0x54], xmm6
movaps xmm8, xmm6
mov byte [rbp + 0x760], dil
movss dword [rbp + 0x780], xmm0
movaps xmm6, xmm7
movss dword [rsp + 0x50], xmm7
jmp 0x140039a58
mov r14d, 5
mov r12d, 0x64
movss xmm6, dword [rsp + 0x50]
movss xmm8, dword [rsp + 0x54]
movzx edi, byte [rbp + 0x760]
mov eax, dword [rbp + 0x768]
inc eax
mov dword [rbp + 0x768], eax
mov esi, eax
cmp eax, 0xf
jle 0x1400389d0
movss xmm12, dword [0x140047f14]
xor r14d, r14d
mov ebx, dword [rbp + 0x788]
movaps xmm15, xmmword [rsp + 0x9e0]
movaps xmm14, xmmword [rsp + 0x9f0]
movaps xmm13, xmmword [rsp + 0xa00]
mov r15, qword [rsp + 0xac0]
mov r13, qword [rsp + 0xab8]
mov r12, qword [rsp + 0xab0]
cmp byte [0x14021ebb0], 0
je 0x140039b5b
test dil, dil
je 0x140039b5b
movzx eax, byte [0x14021eda6]
mov dword [rbp - 0x78], 1
mov dword [rbp - 0x74], 2
mov dword [rbp - 0x70], 0x10
mov dword [rbp - 0x6c], 0x14
mov dword [rbp - 0x68], 9
mov dword [rbp - 0x64], 0x12
mov dword [rbp - 0x60], 0x11
cmp al, 1
je 0x140039b24
test al, al
jne 0x140039b5b
movsxd rax, dword [0x14021e280]
mov ecx, dword [rbp + rax*4 - 0x78]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
test al, 1
je 0x140039b5b
divss xmm8, dword [0x14021e284]
divss xmm6, dword [0x14021e284]
ucomiss xmm8, xmm11
jp 0x140039b41
je 0x14003a2f2
ucomiss xmm6, xmm11
jp 0x140039b4d
je 0x14003a2f2
cvttss2si edx, xmm6
cvttss2si ecx, xmm8
call fcn.140031f70
cmp byte [0x14021ed50], 0
movss xmm10, dword [0x140047e88]
je 0x140039bce
test ebx, ebx
jne 0x140039bd6
mov rcx, qword [0x14021eb98]
add rcx, 0xff3cb0
call fcn.14003e9f0
mov rcx, qword [0x14021eb98]
mov edi, eax
add rcx, 0xff3c3c
call fcn.14003e9f0
mov rcx, qword [0x14021eb98]
sub edi, eax
add rcx, 0xff3c38
call fcn.14003e9f0
add edi, eax
mov ebx, r14d
test edi, edi
je 0x140039bc2
lea ecx, [rdi + 0xc]
lea ecx, [rcx + rbx*4]
call fcn.14003f0f0
inc ebx
cmp ebx, 0xa
jl 0x140039bb3
jmp 0x140039ff3
test ebx, ebx
je 0x140039ff3
lea ecx, [rbx + 0xb88]
call fcn.14003e9f0
test eax, eax
je 0x140039c2e
mov ecx, eax
call fcn.14003e9f0
mov ebx, eax
test eax, eax
je 0x140039c2e
cmp byte [0x14021ed52], 0
je 0x140039c06
lea ecx, [rax + 0x160]
call fcn.14003f0f0
cmp byte [0x14021ebb3], 0
je 0x140039c1a
lea ecx, [rbx + 0x188]
call fcn.14003f0f0
cmp byte [0x14021ebc5], 0
je 0x140039c2e
lea ecx, [rbx + 0x120]
call fcn.14003f0f0
mov ecx, dword [0x140047988]
add rcx, qword [0x14021eb98]
call fcn.14003e9f0
mov ecx, dword [0x140047990]
mov esi, eax
add rcx, qword [0x14021eb98]
call fcn.14003e9f0
mov ecx, dword [0x14004798c]
mov ebx, eax
add rcx, qword [0x14021eb98]
call fcn.14003e9f0
mov rcx, qword [0x14021eb98]
sub esi, ebx
add rcx, 0xffd830
add esi, eax
call fcn.14003e9f0
lea ecx, [rsi + 0x28540]
call fcn.14003e9f0
cmp byte [0x14021ebc4], 0
mov edx, eax
je 0x140039c9e
mov byte [0x14021eb89], 1
jmp 0x140039cb3
movzx eax, byte [0x14021eb89]
cmp al, 1
mov ecx, eax
cmove ecx, r14d
mov byte [0x14021eb89], cl
cmp byte [0x14021ed53], 0
je 0x140039eb7
mov eax, dword [0x14013a974]
test eax, eax
jne 0x140039d3d
lea eax, [rdx*8 + 0xa09c]
mov dword [rbp + 0x788], 0x3e99999a
add eax, edx
lea rcx, [rbp + 0x320]
xor edx, edx
mov r8d, 0x108
lea ebx, [rsi + rax*4]
call sub.VCRUNTIME140.dll_memset
mov eax, dword [0x14021eda8]
test eax, eax
je 0x140039eab
test rbx, rbx
je 0x140039eab
mov dword [rbp + 0x348], eax
lea rdx, [rbp + 0x320]
lea rax, [rbp + 0x788]
mov qword [rbp + 0x350], rbx
mov qword [rbp + 0x358], rax
mov qword [rbp + 0x360], 4
jmp 0x140039ea1
cmp eax, 1
jne 0x140039dbb
movss xmm0, dword [0x140047e80]
lea eax, [rdx*8 + 0xa09c]
add eax, edx
movss dword [rbp + 0x770], xmm0
xor edx, edx
lea rcx, [rbp + 0x210]
mov r8d, 0x108
lea ebx, [rsi + rax*4]
call sub.VCRUNTIME140.dll_memset
mov eax, dword [0x14021eda8]
test eax, eax
je 0x140039eab
test rbx, rbx
je 0x140039eab
mov dword [rbp + 0x238], eax
lea rdx, [rbp + 0x210]
lea rax, [rbp + 0x770]
mov qword [rbp + 0x240], rbx
mov qword [rbp + 0x248], rax
mov qword [rbp + 0x250], 4
jmp 0x140039ea1
cmp eax, 2
jne 0x140039e30
lea eax, [rdx*8 + 0xa09c]
mov dword [rbp + 0x780], 0x3f000000
add eax, edx
lea rcx, [rbp + 0x100]
xor edx, edx
mov r8d, 0x108
lea ebx, [rsi + rax*4]
call sub.VCRUNTIME140.dll_memset
mov eax, dword [0x14021eda8]
test eax, eax
je 0x140039eab
test rbx, rbx
je 0x140039eab
mov dword [rbp + 0x128], eax
lea rdx, [rbp + 0x100]
lea rax, [rbp + 0x780]
mov qword [rbp + 0x130], rbx
mov qword [rbp + 0x138], rax
mov qword [rbp + 0x140], 4
jmp 0x140039ea1
cmp eax, 3
jne 0x140039eab
movss xmm0, dword [0x140047e8c]
lea eax, [rdx*8 + 0xa09c]
add eax, edx
movss dword [rbp + 0x768], xmm0
xor edx, edx
lea rcx, [rbp + 0x540]
mov r8d, 0x108
lea ebx, [rsi + rax*4]
call sub.VCRUNTIME140.dll_memset
mov eax, dword [0x14021eda8]
test eax, eax
je 0x140039eab
test rbx, rbx
je 0x140039eab
mov dword [rbp + 0x568], eax
lea rdx, [rbp + 0x540]
lea rax, [rbp + 0x768]
mov qword [rbp + 0x570], rbx
mov qword [rbp + 0x578], rax
mov qword [rbp + 0x580], 4
mov ecx, 0xb
call fcn.14002f050
mov byte [0x14021eda4], 1
jmp 0x140039f37
cmp byte [0x14021eda4], 1
jne 0x140039f37
lea eax, [rdx*8 + 0xa09c]
mov dword [rbp + 0x778], 0
add eax, edx
lea rcx, [rbp + 0x650]
xor edx, edx
mov r8d, 0x108
lea ebx, [rsi + rax*4]
call sub.VCRUNTIME140.dll_memset
mov eax, dword [0x14021eda8]
test eax, eax
je 0x140039f30
test rbx, rbx
je 0x140039f30
mov dword [rbp + 0x678], eax
lea rdx, [rbp + 0x650]
lea rax, [rbp + 0x778]
mov qword [rbp + 0x680], rbx
mov ecx, 0xb
mov qword [rbp + 0x688], rax
mov qword [rbp + 0x690], 4
call fcn.14002f050
mov byte [0x14021eda4], 0
cmp byte [0x14021ebb2], 0
je 0x140039f49
mov byte [0x14021ed93], 1
jmp 0x140039f5e
movzx eax, byte [0x14021ed93]
cmp al, 1
mov ecx, eax
cmove ecx, r14d
mov byte [0x14021ed93], cl
cmp byte [0x14021ebb5], 0
je 0x140039ff3
mov rcx, qword [0x14021eb98]
add rcx, 0xff3bdc
call fcn.14003e9f0
mov ecx, 0x79
mov ebx, eax
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x140039ff3
xor edx, edx
mov byte [rbp + 0x760], 4
mov r8d, 0x108
lea rcx, [rbp + 0x430]
add ebx, 0x3c
call sub.VCRUNTIME140.dll_memset
mov eax, dword [0x14021eda8]
test eax, eax
je 0x140039ff3
test rbx, rbx
je 0x140039ff3
mov dword [rbp + 0x458], eax
lea rdx, [rbp + 0x430]
lea rax, [rbp + 0x760]
mov qword [rbp + 0x460], rbx
mov ecx, 0xb
mov qword [rbp + 0x468], rax
mov qword [rbp + 0x470], 1
call fcn.14002f050
cmp byte [0x14021eb8a], 0
je 0x14003a1d2
mov rax, qword [0x14021eb90]
lea rcx, [rbp - 0x78]
movups xmm0, xmmword [0x14013ae50]
movss xmm8, dword [rax + 0x10]
lea rdi, [rax + 0x1cc8]
movss xmm9, dword [rax + 0x14]
mulss xmm8, xmm10
mulss xmm9, xmm10
movups xmmword [rbp - 0x78], xmm0
call fcn.140002dd0
movss xmm1, dword [0x140047e50]
xorps xmm0, xmm0
movzx ecx, al
mov r8d, eax
shr r8d, 0x18
movss dword [rsp + 0x4c], xmm9
cvtsi2ss xmm0, rcx
mov ecx, eax
shr ecx, 8
movzx ecx, cl
movss dword [rsp + 0x44], xmm9
mulss xmm0, xmm1
movss dword [rbp - 0x18], xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, rcx
mov ecx, eax
shr ecx, 0x10
movzx eax, cl
lea rcx, [rbp - 0x18]
mulss xmm0, xmm1
movss dword [rbp - 0x14], xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
mov eax, r8d
mulss xmm0, xmm1
movss dword [rbp - 0x10], xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
mulss xmm0, xmm1
movaps xmm1, xmm8
subss xmm1, xmm12
movss dword [rbp - 0xc], xmm0
movaps xmm0, xmm8
addss xmm0, xmm12
movss dword [rsp + 0x48], xmm1
movss dword [rsp + 0x40], xmm0
call fcn.140002dd0
movss xmm7, dword [0x140047e74]
lea rdx, [rsp + 0x48]
mov r9d, eax
movss dword [rsp + 0x20], xmm7
lea r8, [rsp + 0x40]
mov rcx, rdi
mov ebx, eax
call fcn.14001d300
movaps xmm0, xmm9
movss dword [rsp + 0x48], xmm8
movaps xmm1, xmm9
movss dword [rsp + 0x40], xmm8
subss xmm0, xmm12
movss dword [rsp + 0x20], xmm7
addss xmm1, xmm12
mov r9d, ebx
lea r8, [rsp + 0x40]
mov rcx, rdi
lea rdx, [rsp + 0x48]
movss dword [rsp + 0x4c], xmm0
movss dword [rsp + 0x44], xmm1
call fcn.14001d300
movss xmm6, dword [0x140047ec0]
lea r8, [rsp + 0x40]
movaps xmm0, xmm8
movss dword [rsp + 0x4c], xmm9
subss xmm0, xmm6
movss dword [rsp + 0x44], xmm9
movss dword [rsp + 0x20], xmm7
mov r9d, ebx
movss dword [rsp + 0x48], xmm0
movaps xmm0, xmm8
addss xmm0, xmm6
movss dword [rsp + 0x40], xmm0
lea rdx, [rsp + 0x48]
mov rcx, rdi
call fcn.14001d300
movaps xmm0, xmm9
movss dword [rsp + 0x48], xmm8
subss xmm0, xmm6
movss dword [rsp + 0x40], xmm8
addss xmm9, xmm6
movss dword [rsp + 0x20], xmm7
mov r9d, ebx
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x48]
mov rcx, rdi
movss dword [rsp + 0x4c], xmm0
movss dword [rsp + 0x44], xmm9
call fcn.14001d300
cmp byte [0x14021ebb7], 0
je 0x14003a2f2
movups xmm0, xmmword [0x140050050]
lea rcx, [rbp - 0x78]
movups xmmword [rbp - 0x78], xmm0
call fcn.140002dd0
movss xmm2, dword [0x14021e1bc]
mov esi, eax
mov eax, dword [0x14021eba0]
movaps xmm0, xmm2
mov rdi, qword [0x14021eb90]
cdq
sub eax, edx
mulss xmm0, xmm10
sar eax, 1
add rdi, 0x1cc8
cvttss2si ecx, xmm0
movd xmm0, eax
mov eax, dword [0x14021eda0]
cvtdq2ps xmm0, xmm0
cdq
sub eax, edx
sar eax, 1
movss dword [rsp + 0x40], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsp + 0x44], xmm0
test esi, 0xff000000
je 0x14003a2f2
movss xmm6, dword [0x140047eac]
lea rdx, [rsp + 0x40]
cvttss2si eax, xmm2
mov dword [rsp + 0x28], ecx
movd xmm0, ecx
movaps xmm3, xmm11
cvtdq2ps xmm0, xmm0
mov rcx, rdi
movd xmm2, eax
movaps xmm1, xmm0
subss xmm1, xmm6
cvtdq2ps xmm2, xmm2
mulss xmm1, dword [0x140047f0c]
subss xmm2, xmm10
divss xmm1, xmm0
movss dword [rsp + 0x20], xmm1
call fcn.14001cdc0
mov r8d, dword [rdi + 0x80]
mov r9d, esi
mov rdx, qword [rdi + 0x88]
mov rcx, rdi
movss dword [rsp + 0x28], xmm6
mov byte [rsp + 0x20], 1
call fcn.14001b6b0
mov ecx, dword [rdi + 0x84]
test ecx, ecx
jns 0x14003a2eb
mov eax, ecx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x80]
test eax, eax
cmovg edx, eax
call fcn.140012b40
mov dword [rdi + 0x80], r14d
mov rcx, qword [rbp + 0x8d0]
xor rcx, rsp
call fcn.1400403d0
lea r11, [rsp + 0xa80]
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]
mov rsp, r11
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret