Function at 0x140036484
Capabilities:
Log keystrokes via polling

Disassembly:
push rsi
push rdi
sub rsp, 0x5d8
mov rax, qword [0x140050b80]
xor rax, rsp
mov qword [rsp + 0x5c0], rax
mov eax, 0x10
mov eax, eax
mov ecx, dword [0x140051a70]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
mov eax, dword [rax + rcx]
cmp dword [0x1400519e0], eax
jle 0x1400364f6
lea rcx, [0x1400519e0]
call fcn.140041c74
cmp dword [0x1400519e0], 0xffffffff
jne 0x1400364f6
call fcn.14000916c
mov rax, qword [rax + 8]
mov qword [0x1400519d8], rax
lea rcx, [0x1400519e0]
call fcn.140041c08
mov eax, 0x10
mov eax, eax
mov ecx, dword [0x140051a70]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
mov eax, dword [rax + rcx]
cmp dword [0x1400519f0], eax
jle 0x14003656c
lea rcx, [0x1400519f0]
call fcn.140041c74
cmp dword [0x1400519f0], 0xffffffff
jne 0x14003656c
movss xmm0, dword [0x1400519dc]
divss xmm0, dword [0x140044a8c]
movss xmm1, dword [0x1400519d8]
divss xmm1, dword [0x140044a8c]
movaps xmm2, xmm0
lea rcx, [0x1400519e8]
call fcn.14003516c
nop
lea rcx, [0x1400519f0]
call fcn.140041c08
movzx eax, byte [0x140051160]
test eax, eax
je 0x140036688
call fcn.1400094c0
mov qword [rsp + 0x1c8], rax
mov eax, 4
imul rax, rax, 2
lea rcx, [0x14004f358]
movss xmm0, dword [rcx + rax]
mulss xmm0, dword [0x140044ac0]
cvttss2si eax, xmm0
mov ecx, 4
imul rcx, rcx, 1
lea rdx, [0x14004f358]
movss xmm0, dword [rdx + rcx]
mulss xmm0, dword [0x140044ac0]
cvttss2si ecx, xmm0
mov edx, 4
imul rdx, rdx, 0
lea r8, [0x14004f358]
movss xmm0, dword [r8 + rdx]
mulss xmm0, dword [0x140044ac0]
cvttss2si edx, xmm0
mov dword [rsp + 0x118], edx
mov r8d, eax
mov edx, ecx
mov eax, dword [rsp + 0x118]
mov ecx, eax
call fcn.14003a7f4
mov dword [rsp + 0x12c], eax
movss xmm0, dword [0x14004f2c0]
movss dword [rsp + 0x130], xmm0
mov eax, dword [0x140051328]
cvtsi2ss xmm0, rax
mov eax, dword [0x140051314]
cvtsi2ss xmm1, rax
movaps xmm2, xmm0
lea rcx, [rsp + 0x340]
call fcn.14003516c
mov qword [rsp + 0x1c0], rax
movss xmm0, dword [0x140048b60]
movss dword [rsp + 0x28], xmm0
mov dword [rsp + 0x20], 0x64
mov r9d, dword [rsp + 0x12c]
movss xmm2, dword [rsp + 0x130]
mov rdx, qword [rsp + 0x1c0]
mov rcx, qword [rsp + 0x1c8]
call fcn.1400129d4
movzx eax, byte [0x140051161]
test eax, eax
je 0x1400367c8
call fcn.1400094c0
mov qword [rsp + 0x1d8], rax
mov dword [rsp + 0x20], 0xff
xor r9d, r9d
mov r8d, 0xff
mov edx, 0xff
lea rcx, [rsp + 0x558]
call fcn.140035064
mov rcx, rax
call fcn.140035958
mov dword [rsp + 0x138], eax
movss xmm0, dword [0x14004f2c0]
movss dword [rsp + 0xa8], xmm0
mov eax, dword [0x140051328]
cvtsi2ss xmm0, rax
mov eax, dword [0x140051314]
cvtsi2ss xmm1, rax
movaps xmm2, xmm0
lea rcx, [rsp + 0x348]
call fcn.14003516c
mov qword [rsp + 0x1d0], rax
movss xmm0, dword [0x140048b60]
movss dword [rsp + 0x28], xmm0
mov dword [rsp + 0x20], 0x64
mov r9d, dword [rsp + 0x138]
movss xmm2, dword [rsp + 0xa8]
mov rdx, qword [rsp + 0x1d0]
mov rcx, qword [rsp + 0x1d8]
call fcn.1400129d4
call fcn.1400094c0
mov qword [rsp + 0x1e0], rax
mov dword [rsp + 0x20], 0x6e
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x568]
call fcn.140035064
mov rcx, rax
call fcn.140035958
mov dword [rsp + 0xac], eax
movss xmm0, dword [0x14004f2c0]
movss dword [rsp + 0xb0], xmm0
mov dword [rsp + 0x20], 0x64
mov r9d, dword [rsp + 0xac]
movss xmm2, dword [rsp + 0xb0]
lea rdx, [0x1400519e8]
mov rcx, qword [rsp + 0x1e0]
call fcn.140012a7c
cmp dword [0x14005117c], 0
jne 0x1400367e0
mov dword [0x140051184], 0x6e
jmp 0x140036a15
cmp dword [0x14005117c], 1
jne 0x1400367f8
mov dword [0x140051184], 0x42
jmp 0x140036a15
cmp dword [0x14005117c], 2
jne 0x140036810
mov dword [0x140051184], 0x25
jmp 0x140036a15
cmp dword [0x14005117c], 3
jne 0x140036828
mov dword [0x140051184], 2
jmp 0x140036a15
cmp dword [0x14005117c], 4
jne 0x140036a15
cmp dword [0x14004f2b4], 0
jne 0x14003684d
mov dword [0x140051180], 1
jmp 0x140036a15
cmp dword [0x14004f2b4], 1
jne 0x140036865
mov dword [0x140051180], 2
jmp 0x140036a15
cmp dword [0x14004f2b4], 2
jne 0x14003687d
mov dword [0x140051180], 4
jmp 0x140036a15
cmp dword [0x14004f2b4], 3
jne 0x140036895
mov dword [0x140051180], 5
jmp 0x140036a15
cmp dword [0x14004f2b4], 4
jne 0x1400368ad
mov dword [0x140051180], 6
jmp 0x140036a15
cmp dword [0x14004f2b4], 5
jne 0x1400368c5
mov dword [0x140051180], 3
jmp 0x140036a15
cmp dword [0x14004f2b4], 6
jne 0x1400368dd
mov dword [0x140051180], 8
jmp 0x140036a15
cmp dword [0x14004f2b4], 7
jne 0x1400368f5
mov dword [0x140051180], 9
jmp 0x140036a15
cmp dword [0x14004f2b4], 8
jne 0x14003690d
mov dword [0x140051180], 0xc
jmp 0x140036a15
cmp dword [0x14004f2b4], 9
jne 0x14003691b
jmp 0x140036a15
cmp dword [0x14004f2b4], 0xa
jne 0x140036933
mov dword [0x140051180], 0x10
jmp 0x140036a15
cmp dword [0x14004f2b4], 0xb
jne 0x14003694b
mov dword [0x140051180], 0x11
jmp 0x140036a15
cmp dword [0x14004f2b4], 0xc
jne 0x140036959
jmp 0x140036a15
cmp dword [0x14004f2b4], 0xd
jne 0x140036967
jmp 0x140036a15
cmp dword [0x14004f2b4], 0xe
jne 0x140036975
jmp 0x140036a15
cmp dword [0x14004f2b4], 0xf
jne 0x140036983
jmp 0x140036a15
cmp dword [0x14004f2b4], 0x10
jne 0x140036991
jmp 0x140036a15
cmp dword [0x14004f2b4], 0x11
jne 0x14003699c
jmp 0x140036a15
cmp dword [0x14004f2b4], 0x12
jne 0x1400369a7
jmp 0x140036a15
cmp dword [0x14004f2b4], 0x13
jne 0x1400369b2
jmp 0x140036a15
cmp dword [0x14004f2b4], 0x14
jne 0x1400369bd
jmp 0x140036a15
cmp dword [0x14004f2b4], 0x15
jne 0x1400369c8
jmp 0x140036a15
cmp dword [0x14004f2b4], 0x16
jne 0x1400369d3
jmp 0x140036a15
cmp dword [0x14004f2b4], 0x17
jne 0x1400369de
jmp 0x140036a15
cmp dword [0x14004f2b4], 0x18
jne 0x1400369e9
jmp 0x140036a15
cmp dword [0x14004f2b4], 0x19
jne 0x1400369f4
jmp 0x140036a15
cmp dword [0x14004f2b4], 0x1a
jne 0x1400369ff
jmp 0x140036a15
cmp dword [0x14004f2b4], 0x1b
jne 0x140036a0a
jmp 0x140036a15
cmp dword [0x14004f2b4], 0x1c
jne 0x140036a15
jmp 0x140036a15
lea rdx, [0x140051900]
lea rcx, [rsp + 0x380]
call fcn.140034e4c
nop
movss xmm0, dword [0x140044ad4]
movss dword [rsp + 0x80], xmm0
mov qword [rsp + 0x88], 0
mov rax, qword [0x14004f168]
mov rcx, qword [0x1400511a0]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.1400321fc
mov qword [0x140051268], rax
mov rax, qword [0x14004f170]
mov rcx, qword [0x140051268]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.1400321fc
mov qword [rsp + 0x1e8], rax
mov rax, qword [0x14004f178]
mov rcx, qword [rsp + 0x1e8]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.1400321fc
mov qword [rsp + 0x1f0], rax
mov rcx, qword [rsp + 0x1f0]
call fcn.1400321fc
mov qword [0x140051280], rax
mov rax, qword [0x14004f180]
mov rcx, qword [0x140051280]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.1400321fc
mov qword [0x140051290], rax
mov rax, qword [0x14004f188]
mov rcx, qword [0x140051290]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.1400321fc
mov qword [0x140051270], rax
mov rax, qword [0x140051290]
add rax, 0x338
mov rcx, rax
call fcn.1400321fc
mov qword [rsp + 0x350], rax
mov rax, qword [0x14004f190]
mov rcx, qword [0x140051270]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.1400321fc
mov qword [0x140051278], rax
mov rax, qword [0x14004f1c8]
mov rcx, qword [0x140051290]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.1400321fc
mov qword [rsp + 0x170], rax
mov rax, qword [rsp + 0x170]
mov rcx, qword [0x140051270]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.1400321fc
mov qword [rsp + 0x170], rax
mov rax, qword [0x14004f198]
mov rcx, qword [0x140051270]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.1400321fc
mov qword [0x140051288], rax
mov rax, qword [0x14004f1a8]
mov rcx, qword [0x140051268]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.1400321fc
mov qword [0x140051298], rax
mov rax, qword [0x140051270]
add rax, 0x948
mov rcx, rax
call fcn.1400321fc
mov qword [rsp + 0x358], rax
mov rax, qword [0x14004f1c0]
mov rcx, qword [0x140051298]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.14003209c
mov dword [rsp + 0x1b0], eax
mov rax, qword [0x14004f1d0]
mov rcx, qword [0x140051298]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.1400321fc
mov qword [rsp + 0x360], rax
mov rax, qword [0x14004f1a0]
mov rcx, qword [0x140051268]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.1400321fc
mov qword [rsp + 0x158], rax
mov rax, qword [0x14004f238]
mov rcx, qword [rsp + 0x158]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.1400321fc
mov qword [rsp + 0x1f8], rax
mov rax, qword [0x140051270]
add rax, 0x2590
mov rcx, rax
call fcn.1400321fc
mov qword [rsp + 0x2e8], rax
mov byte [rsp + 0x44], 0
cmp qword [0x140051270], 0
je 0x140036cba
mov byte [rsp + 0x44], 1
mov rax, qword [rsp + 0x158]
mov rcx, qword [0x14004f238]
lea rax, [rax + rcx + 8]
mov rcx, rax
call fcn.14003209c
mov dword [rsp + 0xb4], eax
mov dword [rsp + 0x54], 0
jmp 0x140036cf1
mov eax, dword [rsp + 0x54]
inc eax
mov dword [rsp + 0x54], eax
mov eax, dword [rsp + 0xb4]
cmp dword [rsp + 0x54], eax
jae 0x14003801e
mov eax, dword [rsp + 0x54]
shl eax, 3
mov eax, eax
mov rcx, qword [rsp + 0x1f8]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.1400321fc
mov qword [rsp + 0x200], rax
mov rax, qword [0x14004f230]
mov rcx, qword [rsp + 0x200]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.1400321fc
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x70], 0
jne 0x140036d55
jmp 0x140036ce7
mov rax, qword [0x14004f1e0]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.1400321fc
mov qword [rsp + 0x48], rax
mov rax, qword [0x14004f1f0]
mov rcx, qword [0x140051278]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.14003209c
mov dword [rsp + 0xbc], eax
mov rax, qword [rsp + 0x70]
add rax, 0x290
mov rcx, rax
call fcn.1400321fc
mov qword [rsp + 0x208], rax
mov rax, qword [0x14004f1f0]
mov rcx, qword [rsp + 0x208]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.14003209c
mov dword [rsp + 0xb8], eax
mov rax, qword [rsp + 0x70]
add rax, 0x7c2
mov rcx, rax
call fcn.140032068
movsx eax, al
sar eax, 4
and eax, 1
mov dword [rsp + 0x1ac], eax
lea rdx, [0x140051900]
lea rcx, [rsp + 0x2a0]
call fcn.140034e4c
nop
mov eax, dword [rsp + 0xb8]
cmp dword [rsp + 0xbc], eax
jne 0x140036e30
lea rcx, [rsp + 0x2a0]
call fcn.140035678
jmp 0x140036ce7
cmp qword [0x140051270], 0
je 0x140036e3c
jmp 0x140036e46
mov dword [0x14004f2bc], 0x960
movzx eax, byte [0x140051165]
test eax, eax
je 0x140036e65
lea rcx, [rsp + 0x2a0]
call fcn.140035678
jmp 0x140036ce7
mov rax, qword [0x140051270]
cmp qword [rsp + 0x70], rax
jne 0x140036e85
lea rcx, [rsp + 0x2a0]
call fcn.140035678
jmp 0x140036ce7
mov rax, qword [0x140051270]
cmp qword [rsp + 0x70], rax
jne 0x140036ea5
lea rcx, [rsp + 0x2a0]
call fcn.140035678
jmp 0x140036ce7
mov r8d, 0x43
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x140]
call fcn.1400386e4
nop
mov r8d, 0x44
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x368]
call fcn.1400386e4
nop
xor r8d, r8d
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x2b8]
call fcn.1400386e4
nop
mov rax, qword [0x14004f208]
mov rcx, qword [0x140051288]
add rcx, rax
mov rax, rcx
mov rdx, rax
lea rcx, [rsp + 0x398]
call fcn.1400321a4
mov qword [rsp + 0x210], rax
lea rax, [0x140051858]
mov rdi, rax
mov rsi, qword [rsp + 0x210]
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
lea rcx, [rsp + 0x398]
call fcn.1400318ac
lea rax, [rsp + 0x3b0]
lea rcx, [rsp + 0x140]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x3b0]
lea rcx, [rsp + 0x540]
call fcn.14003a2c4
nop
lea rax, [rsp + 0x3d0]
lea rcx, [rsp + 0x140]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x3d0]
lea rcx, [0x140051858]
call fcn.140035cf8
divss xmm0, dword [0x14004f2b0]
movss dword [rsp + 0x78], xmm0
mov r8d, 0x32
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x328]
call fcn.1400386e4
nop
lea rax, [rsp + 0x3f0]
lea rcx, [rsp + 0x328]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x3f0]
lea rcx, [rsp + 0x528]
call fcn.14003a2c4
nop
xor r8d, r8d
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x310]
call fcn.1400386e4
nop
lea rax, [rsp + 0x410]
lea rcx, [rsp + 0x310]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x410]
lea rcx, [rsp + 0x178]
call fcn.14003a2c4
nop
movsd xmm0, qword [rsp + 0x150]
addsd xmm0, qword [0x14004a478]
movaps xmm3, xmm0
movsd xmm2, qword [rsp + 0x148]
movsd xmm1, qword [rsp + 0x140]
lea rcx, [rsp + 0x450]
call fcn.140035200
mov qword [rsp + 0x218], rax
mov rax, qword [rsp + 0x218]
mov qword [rsp + 0x220], rax
lea rax, [rsp + 0x430]
mov rdi, rax
mov rsi, qword [rsp + 0x220]
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x430]
lea rcx, [rsp + 0x90]
call fcn.14003a2c4
nop
lea rcx, [rsp + 0x450]
call fcn.1400318ac
movsd xmm3, qword [rsp + 0x150]
movsd xmm2, qword [rsp + 0x148]
movsd xmm1, qword [rsp + 0x140]
lea rcx, [rsp + 0x490]
call fcn.140035200
mov qword [rsp + 0x228], rax
mov rax, qword [rsp + 0x228]
mov qword [rsp + 0x230], rax
lea rax, [rsp + 0x470]
mov rdi, rax
mov rsi, qword [rsp + 0x230]
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x470]
lea rcx, [rsp + 0x288]
call fcn.14003a2c4
nop
lea rcx, [rsp + 0x490]
call fcn.1400318ac
movsd xmm3, qword [rsp + 0x2c8]
movsd xmm2, qword [rsp + 0x2c0]
movsd xmm1, qword [rsp + 0x2b8]
lea rcx, [rsp + 0x4d0]
call fcn.140035200
mov qword [rsp + 0x238], rax
mov rax, qword [rsp + 0x238]
mov qword [rsp + 0x240], rax
lea rax, [rsp + 0x4b0]
mov rdi, rax
mov rsi, qword [rsp + 0x240]
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x4b0]
lea rcx, [rsp + 0x510]
call fcn.14003a2c4
nop
lea rcx, [rsp + 0x4d0]
call fcn.1400318ac
lea rax, [rsp + 0x4f0]
lea rcx, [rsp + 0x140]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x4f0]
lea rcx, [rsp + 0x2d0]
call fcn.14003a2c4
nop
movsd xmm0, qword [rsp + 0x98]
subsd xmm0, qword [rsp + 0x180]
cvtsd2ss xmm0, xmm0
movss dword [rsp + 0xc0], xmm0
movss xmm0, dword [rsp + 0xc0]
mulss xmm0, dword [0x140044a60]
movss dword [rsp + 0xc4], xmm0
cvtsd2ss xmm0, qword [rsp + 0x90]
movss xmm1, dword [rsp + 0xc4]
divss xmm1, dword [0x140044a84]
subss xmm0, xmm1
movss dword [rsp + 0x1b4], xmm0
cvtsd2ss xmm0, qword [rsp + 0x180]
movss dword [rsp + 0x1b8], xmm0
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
cdq
sub eax, edx
sar eax, 1
sub eax, 3
mov dword [rsp + 0x1bc], eax
mov ecx, 1
call qword [sym.imp.USER32.dll_GetSystemMetrics]
cdq
sub eax, edx
sar eax, 1
sub eax, 3
mov dword [rsp + 0x278], eax
cvtss2sd xmm0, dword [0x14004f2c0]
movzx eax, byte [0x140051160]
sub eax, 0x50
cvtsi2sd xmm1, eax
mulsd xmm1, qword [0x14004a468]
subsd xmm0, xmm1
cvttsd2si eax, xmm0
mov dword [rsp + 0x27c], eax
movsd xmm0, qword [rsp + 0x98]
subsd xmm0, qword [rsp + 0x180]
call fcn.14003b998
cvtsd2ss xmm0, xmm0
movss dword [rsp + 0x50], xmm0
movss xmm0, dword [rsp + 0x50]
mulss xmm0, dword [0x14004f2ac]
movss dword [rsp + 0x40], xmm0
cvtsi2ss xmm0, dword [0x14004f2bc]
comiss xmm0, dword [rsp + 0x78]
jbe 0x140037e85
movzx eax, byte [0x140051164]
test eax, eax
je 0x140037e85
movzx eax, byte [0x140051166]
test eax, eax
je 0x140037729
mov rcx, qword [rsp + 0x48]
call fcn.140038fb4
movzx eax, al
test eax, eax
je 0x14003752d
call fcn.140009620
cvtsd2ss xmm0, xmm0
movss dword [rsp + 0x60], xmm0
movss xmm0, dword [0x140044a84]
movss dword [rsp + 0x5c], xmm0
movss xmm0, dword [0x140048b98]
movss dword [rsp + 0x280], xmm0
movss xmm0, dword [rsp + 0x5c]
mulss xmm0, dword [rsp + 0x60]
call fcn.14003becc
movss xmm1, dword [0x140048b98]
mulss xmm1, xmm0
movaps xmm0, xmm1
movss xmm1, dword [0x140048b98]
addss xmm1, xmm0
movaps xmm0, xmm1
cvttss2si eax, xmm0
mov dword [rsp + 0x190], eax
movss xmm0, dword [rsp + 0x5c]
mulss xmm0, dword [rsp + 0x60]
addss xmm0, dword [0x140044a8c]
call fcn.14003becc
movss xmm1, dword [0x140048b98]
mulss xmm1, xmm0
movaps xmm0, xmm1
movss xmm1, dword [0x140048b98]
addss xmm1, xmm0
movaps xmm0, xmm1
cvttss2si eax, xmm0
mov dword [rsp + 0x194], eax
movss xmm0, dword [rsp + 0x5c]
mulss xmm0, dword [rsp + 0x60]
addss xmm0, dword [0x140044a9c]
call fcn.14003becc
movss xmm1, dword [0x140048b98]
mulss xmm1, xmm0
movaps xmm0, xmm1
movss xmm1, dword [0x140048b98]
addss xmm1, xmm0
movaps xmm0, xmm1
cvttss2si eax, xmm0
mov dword [rsp + 0x198], eax
cvttss2si eax, dword [0x14004f2cc]
mov dword [rsp + 0xcc], eax
mov eax, 4
imul rax, rax, 2
lea rcx, [0x14004f2f8]
movss xmm0, dword [rcx + rax]
mulss xmm0, dword [0x140044ac0]
cvttss2si eax, xmm0
mov ecx, 4
imul rcx, rcx, 1
lea rdx, [0x14004f2f8]
movss xmm0, dword [rdx + rcx]
mulss xmm0, dword [0x140044ac0]
cvttss2si ecx, xmm0
mov edx, 4
imul rdx, rdx, 0
lea rdi, [0x14004f2f8]
movss xmm0, dword [rdi + rdx]
mulss xmm0, dword [0x140044ac0]
cvttss2si edx, xmm0
mov dword [rsp + 0xc8], edx
mov r8d, eax
mov edx, ecx
mov eax, dword [rsp + 0xc8]
mov ecx, eax
call fcn.14003a7f4
mov dword [rsp + 0xd0], eax
cvttss2si eax, dword [rsp + 0x50]
cvttss2si ecx, dword [rsp + 0x40]
cvttsd2si edx, qword [rsp + 0x98]
movss xmm0, dword [rsp + 0x40]
divss xmm0, dword [0x140044a8c]
cvtss2sd xmm0, xmm0
movsd xmm1, qword [rsp + 0x90]
subsd xmm1, xmm0
movaps xmm0, xmm1
cvttsd2si edi, xmm0
mov dword [rsp + 0x30], 0
mov esi, dword [rsp + 0xcc]
mov dword [rsp + 0x28], esi
lea rsi, [rsp + 0xd0]
mov qword [rsp + 0x20], rsi
mov r9d, eax
mov r8d, ecx
mov ecx, edi
call fcn.140039c18
mov rcx, qword [rsp + 0x48]
call fcn.140038fb4
movzx eax, al
test eax, eax
jne 0x140037729
call fcn.140009620
cvtsd2ss xmm0, xmm0
movss dword [rsp + 0x68], xmm0
movss xmm0, dword [0x140044a84]
movss dword [rsp + 0x64], xmm0
movss xmm0, dword [0x140048b98]
movss dword [rsp + 0x19c], xmm0
movss xmm0, dword [rsp + 0x64]
mulss xmm0, dword [rsp + 0x68]
call fcn.14003becc
movss xmm1, dword [0x140048b98]
mulss xmm1, xmm0
movaps xmm0, xmm1
movss xmm1, dword [0x140048b98]
addss xmm1, xmm0
movaps xmm0, xmm1
cvttss2si eax, xmm0
mov dword [rsp + 0x1a0], eax
movss xmm0, dword [rsp + 0x64]
mulss xmm0, dword [rsp + 0x68]
addss xmm0, dword [0x140044a8c]
call fcn.14003becc
movss xmm1, dword [0x140048b98]
mulss xmm1, xmm0
movaps xmm0, xmm1
movss xmm1, dword [0x140048b98]
addss xmm1, xmm0
movaps xmm0, xmm1
cvttss2si eax, xmm0
mov dword [rsp + 0x1a4], eax
movss xmm0, dword [rsp + 0x64]
mulss xmm0, dword [rsp + 0x68]
addss xmm0, dword [0x140044a9c]
call fcn.14003becc
movss xmm1, dword [0x140048b98]
mulss xmm1, xmm0
movaps xmm0, xmm1
movss xmm1, dword [0x140048b98]
addss xmm1, xmm0
movaps xmm0, xmm1
cvttss2si eax, xmm0
mov dword [rsp + 0x1a8], eax
cvttss2si eax, dword [0x14004f2cc]
mov dword [rsp + 0xd8], eax
mov eax, 4
imul rax, rax, 2
lea rcx, [0x14004f308]
movss xmm0, dword [rcx + rax]
mulss xmm0, dword [0x140044ac0]
cvttss2si eax, xmm0
mov ecx, 4
imul rcx, rcx, 1
lea rdx, [0x14004f308]
movss xmm0, dword [rdx + rcx]
mulss xmm0, dword [0x140044ac0]
cvttss2si ecx, xmm0
mov edx, 4
imul rdx, rdx, 0
lea rdi, [0x14004f308]
movss xmm0, dword [rdi + rdx]
mulss xmm0, dword [0x140044ac0]
cvttss2si edx, xmm0
mov dword [rsp + 0xd4], edx
mov r8d, eax
mov edx, ecx
mov eax, dword [rsp + 0xd4]
mov ecx, eax
call fcn.14003a7f4
mov dword [rsp + 0xdc], eax
cvttss2si eax, dword [rsp + 0x50]
cvttss2si ecx, dword [rsp + 0x40]
cvttsd2si edx, qword [rsp + 0x98]
movss xmm0, dword [rsp + 0x40]
divss xmm0, dword [0x140044a8c]
cvtss2sd xmm0, xmm0
movsd xmm1, qword [rsp + 0x90]
subsd xmm1, xmm0
movaps xmm0, xmm1
cvttsd2si edi, xmm0
mov dword [rsp + 0x30], 0
mov esi, dword [rsp + 0xd8]
mov dword [rsp + 0x28], esi
lea rsi, [rsp + 0xdc]
mov qword [rsp + 0x20], rsi
mov r9d, eax
mov r8d, ecx
mov ecx, edi
call fcn.140039c18
movzx eax, byte [0x140051168]
test eax, eax
je 0x140037948
mov rcx, qword [rsp + 0x48]
call fcn.140038fb4
movzx eax, al
test eax, eax
je 0x140037840
cvttss2si eax, dword [0x14004f2d0]
mov dword [rsp + 0xe4], eax
mov eax, 4
imul rax, rax, 2
lea rcx, [0x14004f318]
movss xmm0, dword [rcx + rax]
mulss xmm0, dword [0x140044ac0]
cvttss2si eax, xmm0
mov ecx, 4
imul rcx, rcx, 1
lea rdx, [0x14004f318]
movss xmm0, dword [rdx + rcx]
mulss xmm0, dword [0x140044ac0]
cvttss2si ecx, xmm0
mov edx, 4
imul rdx, rdx, 0
lea rdi, [0x14004f318]
movss xmm0, dword [rdi + rdx]
mulss xmm0, dword [0x140044ac0]
cvttss2si edx, xmm0
mov dword [rsp + 0xe0], edx
mov r8d, eax
mov edx, ecx
mov eax, dword [rsp + 0xe0]
mov ecx, eax
call fcn.14003a7f4
mov dword [rsp + 0xe8], eax
cvttss2si eax, dword [rsp + 0x50]
cvttss2si ecx, dword [rsp + 0x40]
cvttsd2si edx, qword [rsp + 0x98]
movss xmm0, dword [rsp + 0x40]
divss xmm0, dword [0x140044a8c]
cvtss2sd xmm0, xmm0
movsd xmm1, qword [rsp + 0x90]
subsd xmm1, xmm0
movaps xmm0, xmm1
cvttsd2si edi, xmm0
mov esi, dword [rsp + 0xe4]
mov dword [rsp + 0x28], esi
lea rsi, [rsp + 0xe8]
mov qword [rsp + 0x20], rsi
mov r9d, eax
mov r8d, ecx
mov ecx, edi
call fcn.140035e24
mov rcx, qword [rsp + 0x48]
call fcn.140038fb4
movzx eax, al
test eax, eax
jne 0x140037948
cvttss2si eax, dword [0x14004f2d0]
mov dword [rsp + 0xf0], eax
mov eax, 4
imul rax, rax, 2
lea rcx, [0x14004f328]
movss xmm0, dword [rcx + rax]
mulss xmm0, dword [0x140044ac0]
cvttss2si eax, xmm0
mov ecx, 4
imul rcx, rcx, 1
lea rdx, [0x14004f328]
movss xmm0, dword [rdx + rcx]
mulss xmm0, dword [0x140044ac0]
cvttss2si ecx, xmm0
mov edx, 4
imul rdx, rdx, 0
lea rdi, [0x14004f328]
movss xmm0, dword [rdi + rdx]
mulss xmm0, dword [0x140044ac0]
cvttss2si edx, xmm0
mov dword [rsp + 0xec], edx
mov r8d, eax
mov edx, ecx
mov eax, dword [rsp + 0xec]
mov ecx, eax
call fcn.14003a7f4
mov dword [rsp + 0xf4], eax
cvttss2si eax, dword [rsp + 0x50]
cvttss2si ecx, dword [rsp + 0x40]
cvttsd2si edx, qword [rsp + 0x98]
movss xmm0, dword [rsp + 0x40]
divss xmm0, dword [0x140044a8c]
cvtss2sd xmm0, xmm0
movsd xmm1, qword [rsp + 0x90]
subsd xmm1, xmm0
movaps xmm0, xmm1
cvttsd2si edi, xmm0
mov esi, dword [rsp + 0xf0]
mov dword [rsp + 0x28], esi
lea rsi, [rsp + 0xf4]
mov qword [rsp + 0x20], rsi
mov r9d, eax
mov r8d, ecx
mov ecx, edi
call fcn.140035e24
movzx eax, byte [0x140051169]
test eax, eax
je 0x1400379a3
cvttss2si eax, dword [rsp + 0x50]
cvttss2si ecx, dword [rsp + 0x40]
cvttsd2si edx, qword [rsp + 0x98]
movss xmm0, dword [rsp + 0x40]
divss xmm0, dword [0x140044a8c]
cvtss2sd xmm0, xmm0
movsd xmm1, qword [rsp + 0x90]
subsd xmm1, xmm0
movaps xmm0, xmm1
cvttsd2si edi, xmm0
mov dword [rsp + 0x20], 0x64646464
mov r9d, eax
mov r8d, ecx
mov ecx, edi
call fcn.1400380f8
movzx eax, byte [0x140051176]
test eax, eax
je 0x140037c3a
mov rcx, qword [rsp + 0x48]
call fcn.140038fb4
movzx eax, al
test eax, eax
je 0x140037af6
call fcn.1400094c0
mov qword [rsp + 0x258], rax
movss xmm0, dword [0x14004f2d4]
movss dword [rsp + 0xfc], xmm0
mov eax, 4
imul rax, rax, 2
lea rcx, [0x14004f338]
movss xmm0, dword [rcx + rax]
mulss xmm0, dword [0x140044ac0]
cvttss2si eax, xmm0
mov ecx, 4
imul rcx, rcx, 1
lea rdx, [0x14004f338]
movss xmm0, dword [rdx + rcx]
mulss xmm0, dword [0x140044ac0]
cvttss2si ecx, xmm0
mov edx, 4
imul rdx, rdx, 0
lea rdi, [0x14004f338]
movss xmm0, dword [rdi + rdx]
mulss xmm0, dword [0x140044ac0]
cvttss2si edx, xmm0
mov dword [rsp + 0xf8], edx
mov r8d, eax
mov edx, ecx
mov eax, dword [rsp + 0xf8]
mov ecx, eax
call fcn.14003a7f4
mov dword [rsp + 0x100], eax
cvtsd2ss xmm0, qword [rsp + 0x180]
cvtsd2ss xmm1, qword [rsp + 0x178]
movaps xmm2, xmm0
lea rcx, [rsp + 0x2f0]
call fcn.14003516c
mov qword [rsp + 0x248], rax
cvtsi2ss xmm0, dword [0x1400511b0]
mov eax, dword [0x14005119c]
cdq
sub eax, edx
sar eax, 1
cvtsi2ss xmm1, eax
movaps xmm2, xmm0
lea rcx, [rsp + 0x2f8]
call fcn.14003516c
mov qword [rsp + 0x250], rax
movss xmm0, dword [rsp + 0xfc]
movss dword [rsp + 0x20], xmm0
mov r9d, dword [rsp + 0x100]
mov r8, qword [rsp + 0x248]
mov rdx, qword [rsp + 0x250]
mov rcx, qword [rsp + 0x258]
call fcn.140013c68
mov rcx, qword [rsp + 0x48]
call fcn.140038fb4
movzx eax, al
test eax, eax
jne 0x140037c3a
call fcn.1400094c0
mov qword [rsp + 0x270], rax
movss xmm0, dword [0x14004f2d4]
movss dword [rsp + 0x108], xmm0
mov eax, 4
imul rax, rax, 2
lea rcx, [0x14004f348]
movss xmm0, dword [rcx + rax]
mulss xmm0, dword [0x140044ac0]
cvttss2si eax, xmm0
mov ecx, 4
imul rcx, rcx, 1
lea rdx, [0x14004f348]
movss xmm0, dword [rdx + rcx]
mulss xmm0, dword [0x140044ac0]
cvttss2si ecx, xmm0
mov edx, 4
imul rdx, rdx, 0
lea rdi, [0x14004f348]
movss xmm0, dword [rdi + rdx]
mulss xmm0, dword [0x140044ac0]
cvttss2si edx, xmm0
mov dword [rsp + 0x104], edx
mov r8d, eax
mov edx, ecx
mov eax, dword [rsp + 0x104]
mov ecx, eax
call fcn.14003a7f4
mov dword [rsp + 0x10c], eax
cvtsd2ss xmm0, qword [rsp + 0x180]
cvtsd2ss xmm1, qword [rsp + 0x178]
movaps xmm2, xmm0
lea rcx, [rsp + 0x300]
call fcn.14003516c
mov qword [rsp + 0x260], rax
cvtsi2ss xmm0, dword [0x1400511b0]
mov eax, dword [0x14005119c]
cdq
sub eax, edx
sar eax, 1
cvtsi2ss xmm1, eax
movaps xmm2, xmm0
lea rcx, [rsp + 0x308]
call fcn.14003516c
mov qword [rsp + 0x268], rax
movss xmm0, dword [rsp + 0x108]
movss dword [rsp + 0x20], xmm0
mov r9d, dword [rsp + 0x10c]
mov r8, qword [rsp + 0x260]
mov rdx, qword [rsp + 0x268]
mov rcx, qword [rsp + 0x270]
call fcn.140013c68
movzx eax, byte [0x140051178]
test eax, eax
je 0x140037d39
mov rcx, qword [rsp + 0x48]
call fcn.140038fb4
movzx eax, al
test eax, eax
je 0x140037cc1
cvttsd2si eax, qword [rsp + 0x290]
mov dword [rsp + 0x110], eax
cvttsd2si ecx, qword [rsp + 0x288]
mov eax, dword [0x1400511b0]
cdq
sub eax, edx
sar eax, 1
mov dword [rsp + 0x114], eax
mov eax, dword [0x14005119c]
cdq
sub eax, edx
sar eax, 1
mov dword [rsp + 0x28], 2
lea rdx, [0x14004f3c0]
mov qword [rsp + 0x20], rdx
mov edx, dword [rsp + 0x110]
mov r9d, edx
mov r8d, ecx
mov ecx, dword [rsp + 0x114]
mov edx, ecx
mov ecx, eax
call fcn.1400381a0
mov rcx, qword [rsp + 0x48]
call fcn.140038fb4
movzx eax, al
test eax, eax
jne 0x140037d39
cvttsd2si eax, qword [rsp + 0x290]
mov dword [rsp + 0x134], eax
cvttsd2si ecx, qword [rsp + 0x288]
mov eax, dword [0x1400511b0]
cdq
sub eax, edx
sar eax, 1
mov dword [rsp + 0x11c], eax
mov eax, dword [0x14005119c]
cdq
sub eax, edx
sar eax, 1
mov dword [rsp + 0x28], 2
lea rdx, [0x14004f370]
mov qword [rsp + 0x20], rdx
mov edx, dword [rsp + 0x134]
mov r9d, edx
mov r8d, ecx
mov ecx, dword [rsp + 0x11c]
mov edx, ecx
mov ecx, eax
call fcn.1400381a0
movzx eax, byte [0x14005116c]
test eax, eax
je 0x140037d4e
mov rcx, qword [rsp + 0x48]
call fcn.14003d434
movzx eax, byte [0x140051179]
test eax, eax
je 0x140037d6d
mov edx, 0x11
mov rcx, qword [0x1400519c0]
call qword [sym.imp.USER32.dll_SetWindowDisplayAffinity]
jmp 0x140037d7c
xor edx, edx
mov rcx, qword [0x1400519c0]
call qword [sym.imp.USER32.dll_SetWindowDisplayAffinity]
movzx eax, byte [0x14005116a]
test eax, eax
je 0x140037dfb
cvtss2sd xmm0, dword [rsp + 0x78]
movaps xmm2, xmm0
movq r8, xmm2
lea rdx, str._2.fm
lea rcx, [rsp + 0x580]
call fcn.140032274
movsd xmm0, qword [rsp + 0x98]
subsd xmm0, qword [0x14004a478]
cvttsd2si eax, xmm0
cvttsd2si ecx, qword [rsp + 0x90]
lea rdx, [rsp + 0x580]
mov qword [rsp + 0x30], rdx
mov byte [rsp + 0x28], 1
mov byte [rsp + 0x20], 1
lea r9, [0x14004f3a0]
mov r8d, eax
mov edx, ecx
movss xmm0, dword [0x140044ab0]
movd ecx, xmm0
call fcn.1400382d4
movzx eax, byte [0x140051170]
test eax, eax
je 0x140037e85
mov rax, qword [0x14004f1b0]
mov rcx, qword [0x14004f1e0]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.1400320d4
movss dword [rsp + 0x124], xmm0
mov rax, qword [0x14004f1b8]
mov rcx, qword [0x14004f1e0]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.1400320d4
movss dword [rsp + 0x120], xmm0
movss xmm0, dword [rsp + 0x120]
addss xmm0, dword [0x14004a328]
comiss xmm0, dword [rsp + 0x124]
jb 0x140037e75
mov dword [rsp + 0x7c], 1
jmp 0x140037e7d
mov dword [rsp + 0x7c], 0
mov al, byte [rsp + 0x7c]
mov byte [rsp + 0x58], al
mov eax, dword [0x14005119c]
cdq
sub eax, edx
sar eax, 1
cvtsi2sd xmm0, eax
movsd xmm1, qword [rsp + 0x2d0]
subsd xmm1, xmm0
movaps xmm0, xmm1
movsd qword [rsp + 0x160], xmm0
mov eax, dword [0x1400511b0]
cdq
sub eax, edx
sar eax, 1
cvtsi2sd xmm0, eax
movsd xmm1, qword [rsp + 0x2d8]
subsd xmm1, xmm0
movaps xmm0, xmm1
movsd qword [rsp + 0x168], xmm0
movsd xmm0, qword [rsp + 0x160]
mulsd xmm0, qword [rsp + 0x160]
movsd xmm1, qword [rsp + 0x168]
mulsd xmm1, qword [rsp + 0x168]
addsd xmm0, xmm1
cvtsd2ss xmm0, xmm0
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_sqrtf]
movss dword [rsp + 0x6c], xmm0
mov rcx, qword [rsp + 0x48]
call fcn.140038fb4
movzx eax, al
test eax, eax
jne 0x140037f29
movzx eax, byte [0x140051170]
test eax, eax
jne 0x140037f64
movss xmm0, dword [0x14004f2c0]
comiss xmm0, dword [rsp + 0x6c]
jbe 0x140037f64
movss xmm0, dword [rsp + 0x80]
comiss xmm0, dword [rsp + 0x6c]
jbe 0x140037f64
movss xmm0, dword [rsp + 0x6c]
movss dword [rsp + 0x80], xmm0
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x88], rax
lea rcx, [rsp + 0x2d0]
call fcn.1400318ac
nop
lea rcx, [rsp + 0x510]
call fcn.1400318ac
nop
lea rcx, [rsp + 0x288]
call fcn.1400318ac
nop
lea rcx, [rsp + 0x90]
call fcn.1400318ac
nop
lea rcx, [rsp + 0x178]
call fcn.1400318ac
nop
lea rcx, [rsp + 0x310]
call fcn.1400318ac
nop
lea rcx, [rsp + 0x528]
call fcn.1400318ac
nop
lea rcx, [rsp + 0x328]
call fcn.1400318ac
nop
lea rcx, [rsp + 0x540]
call fcn.1400318ac
nop
lea rcx, [rsp + 0x2b8]
call fcn.1400318ac
nop
lea rcx, [rsp + 0x368]
call fcn.1400318ac
nop
lea rcx, [rsp + 0x140]
call fcn.1400318ac
nop
lea rcx, [rsp + 0x2a0]
call fcn.140035678
jmp 0x140036ce7
movzx eax, byte [0x14005115e]
test eax, eax
je 0x1400380d1
movzx eax, byte [0x140051162]
test eax, eax
je 0x14003809c
movzx eax, byte [0x14005115e]
test eax, eax
je 0x14003809c
cmp qword [rsp + 0x88], 0
je 0x14003809c
mov ecx, dword [0x140051144]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
jge 0x14003809c
xor ecx, ecx
call fcn.14004178c
mov ecx, eax
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]
cdq
mov ecx, 3
idiv ecx
mov eax, edx
mov dword [rsp + 0x128], eax
cmp dword [rsp + 0x128], 2
jge 0x14003809c
mov rcx, qword [rsp + 0x88]
call fcn.140035ba8
movzx eax, byte [0x14005115e]
test eax, eax
je 0x1400380d1
cmp qword [rsp + 0x88], 0
je 0x1400380d1
mov ecx, dword [0x140051144]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
jge 0x1400380d1
mov rcx, qword [rsp + 0x88]
call fcn.140035ba8
nop
lea rcx, [rsp + 0x380]
call fcn.140035678
mov rcx, qword [rsp + 0x5c0]
xor rcx, rsp
call fcn.140041d80
add rsp, 0x5d8
pop rdi
pop rsi
ret