Function at 0x14002e3dc
Capabilities:
Log keystrokes via polling

Disassembly:
push rsi
push rdi
sub rsp, 0x468
mov eax, 0x13b0
mov eax, eax
mov ecx, dword [0x1400455a8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
mov eax, dword [rax + rcx]
cmp dword [0x140045528], eax
jle 0x14002e43c
lea rcx, [0x140045528]
call fcn.140034900
cmp dword [0x140045528], 0xffffffff
jne 0x14002e43c
call fcn.140008730
mov rax, qword [rax + 8]
mov qword [0x140045520], rax
lea rcx, [0x140045528]
call fcn.140034894
mov eax, 0x13b0
mov eax, eax
mov ecx, dword [0x1400455a8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
mov eax, dword [rax + rcx]
cmp dword [0x140045538], eax
jle 0x14002e4b2
lea rcx, [0x140045538]
call fcn.140034900
cmp dword [0x140045538], 0xffffffff
jne 0x14002e4b2
movss xmm0, dword [0x140045524]
divss xmm0, dword [0x140037a30]
movss xmm1, dword [0x140045520]
divss xmm1, dword [0x140037a30]
movaps xmm2, xmm0
lea rcx, [0x140045530]
call fcn.14002cf60
nop
lea rcx, [0x140045538]
call fcn.140034894
movzx eax, byte [0x140044d28]
test eax, eax
je 0x14002e5ce
call fcn.140008a84
mov qword [rsp + 0x128], rax
mov eax, 4
imul rax, rax, 2
lea rcx, [0x140043358]
movss xmm0, dword [rcx + rax]
mulss xmm0, dword [0x140037a60]
cvttss2si eax, xmm0
mov ecx, 4
imul rcx, rcx, 1
lea rdx, [0x140043358]
movss xmm0, dword [rdx + rcx]
mulss xmm0, dword [0x140037a60]
cvttss2si ecx, xmm0
mov edx, 4
imul rdx, rdx, 0
lea r8, [0x140043358]
movss xmm0, dword [r8 + rdx]
mulss xmm0, dword [0x140037a60]
cvttss2si edx, xmm0
mov dword [rsp + 0xac], edx
mov r8d, eax
mov edx, ecx
mov eax, dword [rsp + 0xac]
mov ecx, eax
call fcn.140030f1c
mov dword [rsp + 0xb0], eax
movss xmm0, dword [0x1400432c0]
movss dword [rsp + 0xb4], xmm0
mov eax, dword [0x140044e3c]
cvtsi2ss xmm0, rax
mov eax, dword [0x140044e38]
cvtsi2ss xmm1, rax
movaps xmm2, xmm0
lea rcx, [rsp + 0x208]
call fcn.14002cf60
mov qword [rsp + 0x120], rax
movss xmm0, dword [0x14003b7a4]
movss dword [rsp + 0x28], xmm0
mov dword [rsp + 0x20], 0x64
mov r9d, dword [rsp + 0xb0]
movss xmm2, dword [rsp + 0xb4]
mov rdx, qword [rsp + 0x120]
mov rcx, qword [rsp + 0x128]
call fcn.14001111c
cmp dword [0x140044d48], 0
jne 0x14002e5e6
mov dword [0x140044d50], 0x6d
jmp 0x14002e81b
cmp dword [0x140044d48], 1
jne 0x14002e5fe
mov dword [0x140044d50], 0x42
jmp 0x14002e81b
cmp dword [0x140044d48], 2
jne 0x14002e616
mov dword [0x140044d50], 0x25
jmp 0x14002e81b
cmp dword [0x140044d48], 3
jne 0x14002e62e
mov dword [0x140044d50], 2
jmp 0x14002e81b
cmp dword [0x140044d48], 4
jne 0x14002e81b
cmp dword [0x1400432b4], 0
jne 0x14002e653
mov dword [0x140044d4c], 1
jmp 0x14002e81b
cmp dword [0x1400432b4], 1
jne 0x14002e66b
mov dword [0x140044d4c], 2
jmp 0x14002e81b
cmp dword [0x1400432b4], 2
jne 0x14002e683
mov dword [0x140044d4c], 4
jmp 0x14002e81b
cmp dword [0x1400432b4], 3
jne 0x14002e69b
mov dword [0x140044d4c], 5
jmp 0x14002e81b
cmp dword [0x1400432b4], 4
jne 0x14002e6b3
mov dword [0x140044d4c], 6
jmp 0x14002e81b
cmp dword [0x1400432b4], 5
jne 0x14002e6cb
mov dword [0x140044d4c], 3
jmp 0x14002e81b
cmp dword [0x1400432b4], 6
jne 0x14002e6e3
mov dword [0x140044d4c], 8
jmp 0x14002e81b
cmp dword [0x1400432b4], 7
jne 0x14002e6fb
mov dword [0x140044d4c], 9
jmp 0x14002e81b
cmp dword [0x1400432b4], 8
jne 0x14002e713
mov dword [0x140044d4c], 0xc
jmp 0x14002e81b
cmp dword [0x1400432b4], 9
jne 0x14002e721
jmp 0x14002e81b
cmp dword [0x1400432b4], 0xa
jne 0x14002e739
mov dword [0x140044d4c], 0x10
jmp 0x14002e81b
cmp dword [0x1400432b4], 0xb
jne 0x14002e751
mov dword [0x140044d4c], 0x11
jmp 0x14002e81b
cmp dword [0x1400432b4], 0xc
jne 0x14002e75f
jmp 0x14002e81b
cmp dword [0x1400432b4], 0xd
jne 0x14002e76d
jmp 0x14002e81b
cmp dword [0x1400432b4], 0xe
jne 0x14002e77b
jmp 0x14002e81b
cmp dword [0x1400432b4], 0xf
jne 0x14002e789
jmp 0x14002e81b
cmp dword [0x1400432b4], 0x10
jne 0x14002e797
jmp 0x14002e81b
cmp dword [0x1400432b4], 0x11
jne 0x14002e7a2
jmp 0x14002e81b
cmp dword [0x1400432b4], 0x12
jne 0x14002e7ad
jmp 0x14002e81b
cmp dword [0x1400432b4], 0x13
jne 0x14002e7b8
jmp 0x14002e81b
cmp dword [0x1400432b4], 0x14
jne 0x14002e7c3
jmp 0x14002e81b
cmp dword [0x1400432b4], 0x15
jne 0x14002e7ce
jmp 0x14002e81b
cmp dword [0x1400432b4], 0x16
jne 0x14002e7d9
jmp 0x14002e81b
cmp dword [0x1400432b4], 0x17
jne 0x14002e7e4
jmp 0x14002e81b
cmp dword [0x1400432b4], 0x18
jne 0x14002e7ef
jmp 0x14002e81b
cmp dword [0x1400432b4], 0x19
jne 0x14002e7fa
jmp 0x14002e81b
cmp dword [0x1400432b4], 0x1a
jne 0x14002e805
jmp 0x14002e81b
cmp dword [0x1400432b4], 0x1b
jne 0x14002e810
jmp 0x14002e81b
cmp dword [0x1400432b4], 0x1c
jne 0x14002e81b
jmp 0x14002e81b
lea rdx, [0x140045490]
lea rcx, [rsp + 0x448]
call fcn.14002cd74
nop
movss xmm0, dword [0x140037a74]
movss dword [rsp + 0x64], xmm0
mov qword [rsp + 0x68], 0
mov rax, qword [0x140043160]
mov rcx, qword [0x140044e98]
add rcx, rax
mov rax, rcx
mov rdx, rax
lea rcx, [0x140044ef8]
call fcn.14002a67c
mov qword [0x140044d70], rax
mov rax, qword [0x140043170]
mov rcx, qword [0x140044d70]
add rcx, rax
mov rax, rcx
mov rdx, rax
lea rcx, [0x140044ef8]
call fcn.14002a67c
mov qword [rsp + 0x130], rax
mov rax, qword [0x140043178]
mov rcx, qword [rsp + 0x130]
add rcx, rax
mov rax, rcx
mov rdx, rax
lea rcx, [0x140044ef8]
call fcn.14002a67c
mov qword [rsp + 0x138], rax
mov rdx, qword [rsp + 0x138]
lea rcx, [0x140044ef8]
call fcn.14002a67c
mov qword [0x140044d88], rax
mov rax, qword [0x140043180]
mov rcx, qword [0x140044d88]
add rcx, rax
mov rax, rcx
mov rdx, rax
lea rcx, [0x140044ef8]
call fcn.14002a67c
mov qword [0x140044d98], rax
mov rax, qword [0x140043188]
mov rcx, qword [0x140044d98]
add rcx, rax
mov rax, rcx
mov rdx, rax
lea rcx, [0x140044ef8]
call fcn.14002a67c
mov qword [0x140044d78], rax
mov rax, qword [0x140044d98]
add rax, 0x338
mov rdx, rax
lea rcx, [0x140044ef8]
call fcn.14002a67c
mov qword [rsp + 0x210], rax
mov rax, qword [0x140043190]
mov rcx, qword [0x140044d78]
add rcx, rax
mov rax, rcx
mov rdx, rax
lea rcx, [0x140044ef8]
call fcn.14002a67c
mov qword [0x140044d80], rax
mov rax, qword [0x1400431c8]
mov rcx, qword [0x140044d98]
add rcx, rax
mov rax, rcx
mov rdx, rax
lea rcx, [0x140044ef8]
call fcn.14002a67c
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0xd0]
mov rcx, qword [0x140044d78]
add rcx, rax
mov rax, rcx
mov rdx, rax
lea rcx, [0x140044ef8]
call fcn.14002a67c
mov qword [rsp + 0xd0], rax
mov rax, qword [0x140043198]
mov rcx, qword [0x140044d78]
add rcx, rax
mov rax, rcx
mov rdx, rax
lea rcx, [0x140044ef8]
call fcn.14002a67c
mov qword [0x140044d90], rax
mov rax, qword [0x1400431a8]
mov rcx, qword [0x140044d70]
add rcx, rax
mov rax, rcx
mov rdx, rax
lea rcx, [0x140044ef8]
call fcn.14002a67c
mov qword [0x140044da0], rax
mov rax, qword [0x140044d78]
add rax, 0x948
mov rdx, rax
lea rcx, [0x140044ef8]
call fcn.14002a67c
mov qword [rsp + 0x218], rax
mov rax, qword [0x1400431c0]
mov rcx, qword [0x140044da0]
add rcx, rax
mov rax, rcx
mov rdx, rax
lea rcx, [0x140044ef8]
call fcn.14002a510
mov dword [rsp + 0x190], eax
mov rax, qword [0x1400431d0]
mov rcx, qword [0x140044da0]
add rcx, rax
mov rax, rcx
mov rdx, rax
lea rcx, [0x140044ef8]
call fcn.14002a67c
mov qword [rsp + 0x1f8], rax
mov rax, qword [0x1400431a0]
mov rcx, qword [0x140044d70]
add rcx, rax
mov rax, rcx
mov rdx, rax
lea rcx, [0x140044ef8]
call fcn.14002a67c
mov qword [rsp + 0xd8], rax
mov rax, qword [0x140043238]
mov rcx, qword [rsp + 0xd8]
add rcx, rax
mov rax, rcx
mov rdx, rax
lea rcx, [0x140044ef8]
call fcn.14002a67c
mov qword [rsp + 0x140], rax
mov rax, qword [0x140044d78]
add rax, 0x2590
mov rdx, rax
lea rcx, [0x140044ef8]
call fcn.14002a67c
mov qword [rsp + 0x200], rax
mov byte [rsp + 0x30], 0
cmp qword [0x140044d78], 0
je 0x14002eb38
mov byte [rsp + 0x30], 1
mov rax, qword [rsp + 0xd8]
mov rcx, qword [0x140043238]
lea rax, [rax + rcx + 8]
mov rdx, rax
lea rcx, [0x140044ef8]
call fcn.14002a510
mov dword [rsp + 0x70], eax
mov dword [rsp + 0x34], 0
jmp 0x14002eb73
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x70]
cmp dword [rsp + 0x34], eax
jae 0x14002f618
mov eax, dword [rsp + 0x34]
shl eax, 3
mov eax, eax
mov rcx, qword [rsp + 0x140]
add rcx, rax
mov rax, rcx
mov rdx, rax
lea rcx, [0x140044ef8]
call fcn.14002a67c
mov qword [rsp + 0x148], rax
mov rax, qword [0x140043230]
mov rcx, qword [rsp + 0x148]
add rcx, rax
mov rax, rcx
mov rdx, rax
lea rcx, [0x140044ef8]
call fcn.14002a67c
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x14002ebe2
jmp 0x14002eb69
mov rax, qword [0x1400431e0]
mov rcx, qword [rsp + 0x58]
add rcx, rax
mov rax, rcx
mov rdx, rax
lea rcx, [0x140044ef8]
call fcn.14002a67c
mov qword [rsp + 0x40], rax
mov rax, qword [0x1400431f0]
mov rcx, qword [0x140044d80]
add rcx, rax
mov rax, rcx
mov rdx, rax
lea rcx, [0x140044ef8]
call fcn.14002a510
mov dword [rsp + 0x78], eax
mov rax, qword [rsp + 0x58]
add rax, 0x290
mov rdx, rax
lea rcx, [0x140044ef8]
call fcn.14002a67c
mov qword [rsp + 0x150], rax
mov rax, qword [0x1400431f0]
mov rcx, qword [rsp + 0x150]
add rcx, rax
mov rax, rcx
mov rdx, rax
lea rcx, [0x140044ef8]
call fcn.14002a510
mov dword [rsp + 0x74], eax
mov rax, qword [rsp + 0x58]
add rax, 0x7c2
mov rdx, rax
lea rcx, [0x140044ef8]
call fcn.14002a4d8
movsx eax, al
sar eax, 4
and eax, 1
mov dword [rsp + 0x194], eax
lea rdx, [0x140045490]
lea rcx, [rsp + 0x198]
call fcn.14002cd74
nop
mov eax, dword [rsp + 0x74]
cmp dword [rsp + 0x78], eax
jne 0x14002ecd4
lea rcx, [rsp + 0x198]
call fcn.14002d340
jmp 0x14002eb69
cmp qword [0x140044d78], 0
je 0x14002ece0
jmp 0x14002ecea
mov dword [0x1400432bc], 0x960
movzx eax, byte [0x140044d2c]
test eax, eax
je 0x14002ed09
lea rcx, [rsp + 0x198]
call fcn.14002d340
jmp 0x14002eb69
mov rax, qword [0x140044d78]
cmp qword [rsp + 0x58], rax
jne 0x14002ed29
lea rcx, [rsp + 0x198]
call fcn.14002d340
jmp 0x14002eb69
mov rax, qword [0x140044d78]
cmp qword [rsp + 0x58], rax
jne 0x14002ed49
lea rcx, [rsp + 0x198]
call fcn.14002d340
jmp 0x14002eb69
mov r8d, 0x43
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0xb8]
call fcn.14002f708
nop
mov r8d, 0x44
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x430]
call fcn.14002f708
nop
xor r8d, r8d
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x1c8]
call fcn.14002f708
nop
mov rax, qword [0x140043208]
mov rcx, qword [0x140044d90]
add rcx, rax
mov rax, rcx
mov r8, rax
lea rdx, [rsp + 0x250]
lea rcx, [0x140044ef8]
call fcn.14002a620
mov qword [rsp + 0x158], rax
lea rax, [0x1400453e8]
mov rdi, rax
mov rsi, qword [rsp + 0x158]
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
lea rcx, [rsp + 0x250]
call fcn.1400298bc
lea rax, [rsp + 0x270]
lea rcx, [rsp + 0xb8]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x270]
lea rcx, [rsp + 0x418]
call fcn.1400309ec
nop
lea rax, [rsp + 0x290]
lea rcx, [rsp + 0xb8]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x290]
lea rcx, [0x1400453e8]
call fcn.14002dc50
divss xmm0, dword [0x1400432a4]
movss dword [rsp + 0x84], xmm0
mov r8d, 0x32
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x238]
call fcn.14002f708
nop
lea rax, [rsp + 0x2b0]
lea rcx, [rsp + 0x238]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x2b0]
lea rcx, [rsp + 0x400]
call fcn.1400309ec
nop
xor r8d, r8d
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x220]
call fcn.14002f708
nop
lea rax, [rsp + 0x2d0]
lea rcx, [rsp + 0x220]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x2d0]
lea rcx, [rsp + 0x1b0]
call fcn.1400309ec
nop
movsd xmm0, qword [rsp + 0xc8]
addsd xmm0, qword [0x14003cd48]
movaps xmm3, xmm0
movsd xmm2, qword [rsp + 0xc0]
movsd xmm1, qword [rsp + 0xb8]
lea rcx, [rsp + 0x310]
call fcn.14002cff4
mov qword [rsp + 0x160], rax
mov rax, qword [rsp + 0x160]
mov qword [rsp + 0x168], rax
lea rax, [rsp + 0x2f0]
mov rdi, rax
mov rsi, qword [rsp + 0x168]
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x2f0]
lea rcx, [rsp + 0xf0]
call fcn.1400309ec
nop
lea rcx, [rsp + 0x310]
call fcn.1400298bc
movsd xmm3, qword [rsp + 0xc8]
movsd xmm2, qword [rsp + 0xc0]
movsd xmm1, qword [rsp + 0xb8]
lea rcx, [rsp + 0x350]
call fcn.14002cff4
mov qword [rsp + 0x170], rax
mov rax, qword [rsp + 0x170]
mov qword [rsp + 0x178], rax
lea rax, [rsp + 0x330]
mov rdi, rax
mov rsi, qword [rsp + 0x178]
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x330]
lea rcx, [rsp + 0x3e8]
call fcn.1400309ec
nop
lea rcx, [rsp + 0x350]
call fcn.1400298bc
movsd xmm3, qword [rsp + 0x1d8]
movsd xmm2, qword [rsp + 0x1d0]
movsd xmm1, qword [rsp + 0x1c8]
lea rcx, [rsp + 0x390]
call fcn.14002cff4
mov qword [rsp + 0x180], rax
mov rax, qword [rsp + 0x180]
mov qword [rsp + 0x188], rax
lea rax, [rsp + 0x370]
mov rdi, rax
mov rsi, qword [rsp + 0x188]
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x370]
lea rcx, [rsp + 0x3d0]
call fcn.1400309ec
nop
lea rcx, [rsp + 0x390]
call fcn.1400298bc
lea rax, [rsp + 0x3b0]
lea rcx, [rsp + 0xb8]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x3b0]
lea rcx, [rsp + 0x1e0]
call fcn.1400309ec
nop
movsd xmm0, qword [rsp + 0xf8]
subsd xmm0, qword [rsp + 0x1b8]
cvtsd2ss xmm0, xmm0
movss dword [rsp + 0x7c], xmm0
movss xmm0, dword [rsp + 0x7c]
mulss xmm0, dword [0x140037a04]
movss dword [rsp + 0x80], xmm0
cvtsd2ss xmm0, qword [rsp + 0xf0]
movss xmm1, dword [rsp + 0x80]
divss xmm1, dword [0x140037a28]
subss xmm0, xmm1
movss dword [rsp + 0x108], xmm0
cvtsd2ss xmm0, qword [rsp + 0x1b8]
movss dword [rsp + 0x10c], xmm0
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
cdq
sub eax, edx
sar eax, 1
sub eax, 3
mov dword [rsp + 0x110], eax
mov ecx, 1
call qword [sym.imp.USER32.dll_GetSystemMetrics]
cdq
sub eax, edx
sar eax, 1
sub eax, 3
mov dword [rsp + 0x114], eax
cvtss2sd xmm0, dword [0x1400432c0]
movzx eax, byte [0x140044d28]
sub eax, 0x50
cvtsi2sd xmm1, eax
mulsd xmm1, qword [0x14003cd38]
subsd xmm0, xmm1
cvttsd2si eax, xmm0
mov dword [rsp + 0x118], eax
movsd xmm0, qword [rsp + 0xf8]
subsd xmm0, qword [rsp + 0x1b8]
call fcn.1400322a4
cvtsd2ss xmm0, xmm0
movss dword [rsp + 0x4c], xmm0
movss xmm0, dword [rsp + 0x4c]
mulss xmm0, dword [0x140043294]
movss dword [rsp + 0x38], xmm0
cvtsi2ss xmm0, dword [0x1400432bc]
comiss xmm0, dword [rsp + 0x84]
jbe 0x14002f488
movzx eax, byte [0x140043290]
test eax, eax
je 0x14002f488
movzx eax, byte [0x140044d2f]
test eax, eax
je 0x14002f3ec
mov rcx, qword [rsp + 0x40]
call fcn.14002fd60
movzx eax, al
test eax, eax
je 0x14002f2e4
cvttss2si eax, dword [0x1400432d0]
mov dword [rsp + 0x8c], eax
mov eax, 4
imul rax, rax, 2
lea rcx, [0x140043318]
movss xmm0, dword [rcx + rax]
mulss xmm0, dword [0x140037a60]
cvttss2si eax, xmm0
mov ecx, 4
imul rcx, rcx, 1
lea rdx, [0x140043318]
movss xmm0, dword [rdx + rcx]
mulss xmm0, dword [0x140037a60]
cvttss2si ecx, xmm0
mov edx, 4
imul rdx, rdx, 0
lea rdi, [0x140043318]
movss xmm0, dword [rdi + rdx]
mulss xmm0, dword [0x140037a60]
cvttss2si edx, xmm0
mov dword [rsp + 0x88], edx
mov r8d, eax
mov edx, ecx
mov eax, dword [rsp + 0x88]
mov ecx, eax
call fcn.140030f1c
mov dword [rsp + 0x90], eax
cvttss2si eax, dword [rsp + 0x4c]
cvttss2si ecx, dword [rsp + 0x38]
cvttsd2si edx, qword [rsp + 0xf8]
movss xmm0, dword [rsp + 0x38]
divss xmm0, dword [0x140037a30]
cvtss2sd xmm0, xmm0
movsd xmm1, qword [rsp + 0xf0]
subsd xmm1, xmm0
movaps xmm0, xmm1
cvttsd2si edi, xmm0
mov esi, dword [rsp + 0x8c]
mov dword [rsp + 0x28], esi
lea rsi, [rsp + 0x90]
mov qword [rsp + 0x20], rsi
mov r9d, eax
mov r8d, ecx
mov ecx, edi
call fcn.14002dd7c
mov rcx, qword [rsp + 0x40]
call fcn.14002fd60
movzx eax, al
test eax, eax
jne 0x14002f3ec
cvttss2si eax, dword [0x1400432d0]
mov dword [rsp + 0x98], eax
mov eax, 4
imul rax, rax, 2
lea rcx, [0x140043328]
movss xmm0, dword [rcx + rax]
mulss xmm0, dword [0x140037a60]
cvttss2si eax, xmm0
mov ecx, 4
imul rcx, rcx, 1
lea rdx, [0x140043328]
movss xmm0, dword [rdx + rcx]
mulss xmm0, dword [0x140037a60]
cvttss2si ecx, xmm0
mov edx, 4
imul rdx, rdx, 0
lea rdi, [0x140043328]
movss xmm0, dword [rdi + rdx]
mulss xmm0, dword [0x140037a60]
cvttss2si edx, xmm0
mov dword [rsp + 0x94], edx
mov r8d, eax
mov edx, ecx
mov eax, dword [rsp + 0x94]
mov ecx, eax
call fcn.140030f1c
mov dword [rsp + 0x9c], eax
cvttss2si eax, dword [rsp + 0x4c]
cvttss2si ecx, dword [rsp + 0x38]
cvttsd2si edx, qword [rsp + 0xf8]
movss xmm0, dword [rsp + 0x38]
divss xmm0, dword [0x140037a30]
cvtss2sd xmm0, xmm0
movsd xmm1, qword [rsp + 0xf0]
subsd xmm1, xmm0
movaps xmm0, xmm1
cvttsd2si edi, xmm0
mov esi, dword [rsp + 0x98]
mov dword [rsp + 0x28], esi
lea rsi, [rsp + 0x9c]
mov qword [rsp + 0x20], rsi
mov r9d, eax
mov r8d, ecx
mov ecx, edi
call fcn.14002dd7c
movzx eax, byte [0x140044d37]
test eax, eax
je 0x14002f488
mov rax, qword [0x1400431b0]
mov rcx, qword [0x1400431e0]
add rcx, rax
mov rax, rcx
mov rdx, rax
lea rcx, [0x140044ef8]
call fcn.14002a54c
movss dword [rsp + 0xa4], xmm0
mov rax, qword [0x1400431b8]
mov rcx, qword [0x1400431e0]
add rcx, rax
mov rax, rcx
mov rdx, rax
lea rcx, [0x140044ef8]
call fcn.14002a54c
movss dword [rsp + 0xa0], xmm0
movss xmm0, dword [rsp + 0xa0]
addss xmm0, dword [0x14003cc34]
comiss xmm0, dword [rsp + 0xa4]
jb 0x14002f478
mov dword [rsp + 0x60], 1
jmp 0x14002f480
mov dword [rsp + 0x60], 0
mov al, byte [rsp + 0x60]
mov byte [rsp + 0x48], al
mov eax, dword [0x140044ea8]
cdq
sub eax, edx
sar eax, 1
cvtsi2sd xmm0, eax
movsd xmm1, qword [rsp + 0x1e0]
subsd xmm1, xmm0
movaps xmm0, xmm1
movsd qword [rsp + 0xe0], xmm0
mov eax, dword [0x140044eac]
cdq
sub eax, edx
sar eax, 1
cvtsi2sd xmm0, eax
movsd xmm1, qword [rsp + 0x1e8]
subsd xmm1, xmm0
movaps xmm0, xmm1
movsd qword [rsp + 0xe8], xmm0
movsd xmm0, qword [rsp + 0xe0]
mulsd xmm0, qword [rsp + 0xe0]
movsd xmm1, qword [rsp + 0xe8]
mulsd xmm1, qword [rsp + 0xe8]
addsd xmm0, xmm1
cvtsd2ss xmm0, xmm0
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_sqrtf]
movss dword [rsp + 0x50], xmm0
mov rcx, qword [rsp + 0x40]
call fcn.14002fd60
movzx eax, al
test eax, eax
jne 0x14002f52c
movzx eax, byte [0x140044d37]
test eax, eax
jne 0x14002f55e
movss xmm0, dword [0x1400432c0]
comiss xmm0, dword [rsp + 0x50]
jbe 0x14002f55e
movss xmm0, dword [rsp + 0x64]
comiss xmm0, dword [rsp + 0x50]
jbe 0x14002f55e
movss xmm0, dword [rsp + 0x50]
movss dword [rsp + 0x64], xmm0
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x1e0]
call fcn.1400298bc
nop
lea rcx, [rsp + 0x3d0]
call fcn.1400298bc
nop
lea rcx, [rsp + 0x3e8]
call fcn.1400298bc
nop
lea rcx, [rsp + 0xf0]
call fcn.1400298bc
nop
lea rcx, [rsp + 0x1b0]
call fcn.1400298bc
nop
lea rcx, [rsp + 0x220]
call fcn.1400298bc
nop
lea rcx, [rsp + 0x400]
call fcn.1400298bc
nop
lea rcx, [rsp + 0x238]
call fcn.1400298bc
nop
lea rcx, [rsp + 0x418]
call fcn.1400298bc
nop
lea rcx, [rsp + 0x1c8]
call fcn.1400298bc
nop
lea rcx, [rsp + 0x430]
call fcn.1400298bc
nop
lea rcx, [rsp + 0xb8]
call fcn.1400298bc
nop
lea rcx, [rsp + 0x198]
call fcn.14002d340
jmp 0x14002eb69
movzx eax, byte [0x140044cc6]
test eax, eax
je 0x14002f6bf
movzx eax, byte [0x140044d2a]
test eax, eax
je 0x14002f690
movzx eax, byte [0x140044cc6]
test eax, eax
je 0x14002f690
cmp qword [rsp + 0x68], 0
je 0x14002f690
mov ecx, dword [0x140044d10]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
jge 0x14002f690
xor ecx, ecx
call fcn.140034490
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 + 0xa8], eax
cmp dword [rsp + 0xa8], 2
jge 0x14002f690
mov rcx, qword [rsp + 0x68]
call fcn.14002db10
movzx eax, byte [0x140044cc6]
test eax, eax
je 0x14002f6bf
cmp qword [rsp + 0x68], 0
je 0x14002f6bf
mov ecx, dword [0x140044d10]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
jge 0x14002f6bf
mov rcx, qword [rsp + 0x68]
call fcn.14002db10
nop
lea rcx, [rsp + 0x448]
call fcn.14002d340
add rsp, 0x468
pop rdi
pop rsi
ret