Function at 0x14002ebc0
Capabilities:
Log keystrokes via polling

Disassembly:
push rsi
push rdi
sub rsp, 0x5e8
mov rax, qword [0x140045b00]
xor rax, rsp
mov qword [rsp + 0x5d0], rax
mov eax, 0x10
mov eax, eax
mov ecx, dword [0x140046ce8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
mov eax, dword [rax + rcx]
cmp dword [0x140046c68], eax
jle 0x14002ec32
lea rcx, [0x140046c68]
call fcn.140036c68
cmp dword [0x140046c68], 0xffffffff
jne 0x14002ec32
call fcn.140008a48
mov rax, qword [rax + 8]
mov qword [0x140046c60], rax
lea rcx, [0x140046c68]
call fcn.140036bfc
mov eax, 0x10
mov eax, eax
mov ecx, dword [0x140046ce8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
mov eax, dword [rax + rcx]
cmp dword [0x140046c78], eax
jle 0x14002eca8
lea rcx, [0x140046c78]
call fcn.140036c68
cmp dword [0x140046c78], 0xffffffff
jne 0x14002eca8
movss xmm0, dword [0x140046c64]
divss xmm0, dword [0x140039b04]
movss xmm1, dword [0x140046c60]
divss xmm1, dword [0x140039b04]
movaps xmm2, xmm0
lea rcx, [0x140046c70]
call fcn.14002cd1c
nop
lea rcx, [0x140046c78]
call fcn.140036bfc
movzx eax, byte [0x14004611d]
test eax, eax
je 0x14002ed83
call fcn.140008d9c
mov qword [rsp + 0x158], rax
mov dword [rsp + 0x20], 0xff
mov r9d, 0xfc
mov r8d, 0x18
mov edx, 3
lea rcx, [rsp + 0x538]
call fcn.14002cc88
mov rcx, rax
call fcn.14002d868
mov dword [rsp + 0xd8], eax
movss xmm0, dword [0x1400442d8]
movss dword [rsp + 0xdc], xmm0
mov eax, dword [0x1400462e0]
cvtsi2ss xmm0, rax
mov eax, dword [0x14004628c]
cvtsi2ss xmm1, rax
movaps xmm2, xmm0
lea rcx, [rsp + 0x330]
call fcn.14002cd1c
mov qword [rsp + 0x150], rax
movss xmm0, dword [0x14003d874]
movss dword [rsp + 0x28], xmm0
mov dword [rsp + 0x20], 0x64
mov r9d, dword [rsp + 0xd8]
movss xmm2, dword [rsp + 0xdc]
mov rdx, qword [rsp + 0x150]
mov rcx, qword [rsp + 0x158]
call fcn.140011498
mov byte [rsp + 0x4c], 0
mov byte [rsp + 0x4d], 0
mov byte [rsp + 0x4e], 0
cmp dword [0x1400461bc], 0
jne 0x14002ed98
mov dword [0x1400461b8], 0x6d
jmp 0x14002edd5
cmp dword [0x1400461bc], 1
jne 0x14002edad
mov dword [0x1400461b8], 0x42
jmp 0x14002edd5
cmp dword [0x1400461bc], 2
jne 0x14002edc2
mov dword [0x1400461b8], 0x25
jmp 0x14002edd5
cmp dword [0x1400461bc], 3
jne 0x14002edd5
mov dword [0x1400461b8], 2
cmp dword [0x1400442c8], 0
jne 0x14002eded
mov dword [0x1400461b4], 1
jmp 0x14002efb5
cmp dword [0x1400442c8], 1
jne 0x14002ee05
mov dword [0x1400461b4], 2
jmp 0x14002efb5
cmp dword [0x1400442c8], 2
jne 0x14002ee1d
mov dword [0x1400461b4], 4
jmp 0x14002efb5
cmp dword [0x1400442c8], 3
jne 0x14002ee35
mov dword [0x1400461b4], 5
jmp 0x14002efb5
cmp dword [0x1400442c8], 4
jne 0x14002ee4d
mov dword [0x1400461b4], 6
jmp 0x14002efb5
cmp dword [0x1400442c8], 5
jne 0x14002ee65
mov dword [0x1400461b4], 3
jmp 0x14002efb5
cmp dword [0x1400442c8], 6
jne 0x14002ee7d
mov dword [0x1400461b4], 8
jmp 0x14002efb5
cmp dword [0x1400442c8], 7
jne 0x14002ee95
mov dword [0x1400461b4], 9
jmp 0x14002efb5
cmp dword [0x1400442c8], 8
jne 0x14002eead
mov dword [0x1400461b4], 0xc
jmp 0x14002efb5
cmp dword [0x1400442c8], 9
jne 0x14002eebb
jmp 0x14002efb5
cmp dword [0x1400442c8], 0xa
jne 0x14002eed3
mov dword [0x1400461b4], 0x10
jmp 0x14002efb5
cmp dword [0x1400442c8], 0xb
jne 0x14002eeeb
mov dword [0x1400461b4], 0x11
jmp 0x14002efb5
cmp dword [0x1400442c8], 0xc
jne 0x14002eef9
jmp 0x14002efb5
cmp dword [0x1400442c8], 0xd
jne 0x14002ef07
jmp 0x14002efb5
cmp dword [0x1400442c8], 0xe
jne 0x14002ef15
jmp 0x14002efb5
cmp dword [0x1400442c8], 0xf
jne 0x14002ef23
jmp 0x14002efb5
cmp dword [0x1400442c8], 0x10
jne 0x14002ef31
jmp 0x14002efb5
cmp dword [0x1400442c8], 0x11
jne 0x14002ef3c
jmp 0x14002efb5
cmp dword [0x1400442c8], 0x12
jne 0x14002ef47
jmp 0x14002efb5
cmp dword [0x1400442c8], 0x13
jne 0x14002ef52
jmp 0x14002efb5
cmp dword [0x1400442c8], 0x14
jne 0x14002ef5d
jmp 0x14002efb5
cmp dword [0x1400442c8], 0x15
jne 0x14002ef68
jmp 0x14002efb5
cmp dword [0x1400442c8], 0x16
jne 0x14002ef73
jmp 0x14002efb5
cmp dword [0x1400442c8], 0x17
jne 0x14002ef7e
jmp 0x14002efb5
cmp dword [0x1400442c8], 0x18
jne 0x14002ef89
jmp 0x14002efb5
cmp dword [0x1400442c8], 0x19
jne 0x14002ef94
jmp 0x14002efb5
cmp dword [0x1400442c8], 0x1a
jne 0x14002ef9f
jmp 0x14002efb5
cmp dword [0x1400442c8], 0x1b
jne 0x14002efaa
jmp 0x14002efb5
cmp dword [0x1400442c8], 0x1c
jne 0x14002efb5
jmp 0x14002efb5
lea rdx, [0x140046b68]
lea rcx, [rsp + 0x520]
call fcn.14002cb04
nop
movss xmm0, dword [0x140039b4c]
movss dword [rsp + 0x68], xmm0
mov qword [rsp + 0x70], 0
mov rax, qword [0x140046158]
add rax, 0x11781328
mov rcx, rax
call fcn.140029dc0
mov qword [0x1400461d8], rax
mov rax, qword [0x140044188]
mov rcx, qword [0x1400461d8]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.140029dc0
mov qword [rsp + 0x160], rax
mov rax, qword [0x140044190]
mov rcx, qword [rsp + 0x160]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.140029dc0
mov qword [rsp + 0x168], rax
mov rcx, qword [rsp + 0x168]
call fcn.140029dc0
mov qword [0x1400461f0], rax
mov rax, qword [0x140044198]
mov rcx, qword [0x1400461f0]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.140029dc0
mov qword [0x140046200], rax
mov rax, qword [0x1400441a0]
mov rcx, qword [0x140046200]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.140029dc0
mov qword [0x1400461e0], rax
mov rax, qword [0x140046200]
add rax, 0x338
mov rcx, rax
call fcn.140029dc0
mov qword [rsp + 0x338], rax
mov rax, qword [0x1400441a8]
mov rcx, qword [0x1400461e0]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.140029dc0
mov qword [0x1400461e8], rax
mov rax, qword [0x1400441e0]
mov rcx, qword [0x140046200]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.140029dc0
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x100]
mov rcx, qword [0x1400461e0]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.140029dc0
mov qword [rsp + 0x100], rax
mov rax, qword [0x1400441b0]
mov rcx, qword [0x1400461e0]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.140029dc0
mov qword [0x1400461f8], rax
mov rax, qword [0x1400441c0]
mov rcx, qword [0x1400461d8]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.140029dc0
mov qword [0x140046208], rax
mov rax, qword [0x1400461e0]
add rax, 0xa20
mov rcx, rax
call fcn.140029dc0
mov qword [rsp + 0x290], rax
mov rax, qword [0x1400441d8]
mov rcx, qword [0x140046208]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.140029bf4
mov dword [rsp + 0x228], eax
mov rax, qword [0x1400441e8]
mov rcx, qword [0x140046208]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.140029dc0
mov qword [rsp + 0x298], rax
mov rax, qword [0x1400441b8]
mov rcx, qword [0x1400461d8]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.140029dc0
mov qword [rsp + 0x108], rax
mov rax, qword [0x140044250]
mov rcx, qword [rsp + 0x108]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.140029dc0
mov qword [rsp + 0x170], rax
mov rax, qword [0x1400461e0]
add rax, 0x2840
mov rcx, rax
call fcn.140029dc0
mov qword [rsp + 0x2a0], rax
mov byte [rsp + 0x34], 0
cmp qword [0x1400461e0], 0
je 0x14002f24d
mov byte [rsp + 0x34], 1
mov rax, qword [rsp + 0x108]
mov rcx, qword [0x140044250]
lea rax, [rax + rcx + 8]
mov rcx, rax
call fcn.140029bf4
mov dword [rsp + 0xe0], eax
mov dword [rsp + 0x48], 0
jmp 0x14002f284
mov eax, dword [rsp + 0x48]
inc eax
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0xe0]
cmp dword [rsp + 0x48], eax
jae 0x14003027f
mov eax, dword [rsp + 0x48]
shl eax, 3
mov eax, eax
mov rcx, qword [rsp + 0x170]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.140029dc0
mov qword [rsp + 0x178], rax
mov rax, qword [rsp + 0x178]
add rax, 0x308
mov rcx, rax
call fcn.140029dc0
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x14002f2e1
jmp 0x14002f27a
mov rax, qword [0x1400441f8]
mov rcx, qword [rsp + 0x58]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.140029dc0
mov qword [rsp + 0x40], rax
mov rax, qword [0x140044208]
mov rcx, qword [0x1400461e8]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.140029bf4
mov dword [rsp + 0x22c], eax
mov rax, qword [rsp + 0x58]
add rax, 0x2b0
mov rcx, rax
call fcn.140029dc0
mov qword [rsp + 0x2a8], rax
mov rax, qword [rsp + 0x58]
add rax, 0x93a
mov rcx, rax
call fcn.140029bc0
movsx eax, al
sar eax, 4
and eax, 1
mov dword [rsp + 0x138], eax
lea rdx, [0x140046b68]
lea rcx, [rsp + 0x248]
call fcn.14002cb04
nop
cmp qword [0x1400461e0], 0
je 0x14002f382
jmp 0x14002f38c
mov dword [0x1400442d4], 0x960
movzx eax, byte [0x140046155]
test eax, eax
je 0x14002f3ab
lea rcx, [rsp + 0x248]
call fcn.14002d3ac
jmp 0x14002f27a
mov rax, qword [0x1400461e0]
cmp qword [rsp + 0x58], rax
jne 0x14002f3cb
lea rcx, [rsp + 0x248]
call fcn.14002d3ac
jmp 0x14002f27a
mov rax, qword [0x1400461e0]
cmp qword [rsp + 0x58], rax
jne 0x14002f3eb
lea rcx, [rsp + 0x248]
call fcn.14002d3ac
jmp 0x14002f27a
mov r8d, 0x43
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0xe8]
call fcn.1400308a8
nop
mov r8d, 0x44
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x508]
call fcn.1400308a8
nop
xor r8d, r8d
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x230]
call fcn.1400308a8
nop
mov rax, qword [0x1400461f8]
add rax, 0x128
mov rdx, rax
lea rcx, [rsp + 0x360]
call fcn.140029d68
mov qword [rsp + 0x180], rax
lea rax, [0x1400467d8]
mov rdi, rax
mov rsi, qword [rsp + 0x180]
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
lea rcx, [rsp + 0x360]
call fcn.14002967c
lea rax, [rsp + 0x380]
lea rcx, [rsp + 0xe8]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x380]
lea rcx, [rsp + 0x4f0]
call fcn.140031ef0
nop
lea rax, [rsp + 0x340]
lea rcx, [rsp + 0xe8]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x340]
lea rcx, [0x1400467d8]
call fcn.14002de30
divss xmm0, dword [0x1400442c4]
movss dword [rsp + 0x60], xmm0
mov r8d, 0x32
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x300]
call fcn.1400308a8
nop
lea rax, [rsp + 0x3a0]
lea rcx, [rsp + 0x300]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x3a0]
lea rcx, [rsp + 0x4d8]
call fcn.140031ef0
nop
xor r8d, r8d
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x318]
call fcn.1400308a8
nop
lea rax, [rsp + 0x3c0]
lea rcx, [rsp + 0x318]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x3c0]
lea rcx, [rsp + 0x120]
call fcn.140031ef0
nop
movsd xmm0, qword [rsp + 0xf8]
addsd xmm0, qword [0x14003f320]
movaps xmm3, xmm0
movsd xmm2, qword [rsp + 0xf0]
movsd xmm1, qword [rsp + 0xe8]
lea rcx, [rsp + 0x400]
call fcn.14002cdb0
mov qword [rsp + 0x188], rax
mov rax, qword [rsp + 0x188]
mov qword [rsp + 0x190], rax
lea rax, [rsp + 0x3e0]
mov rdi, rax
mov rsi, qword [rsp + 0x190]
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x3e0]
lea rcx, [rsp + 0x78]
call fcn.140031ef0
nop
lea rcx, [rsp + 0x400]
call fcn.14002967c
movsd xmm3, qword [rsp + 0xf8]
movsd xmm2, qword [rsp + 0xf0]
movsd xmm1, qword [rsp + 0xe8]
lea rcx, [rsp + 0x440]
call fcn.14002cdb0
mov qword [rsp + 0x198], rax
mov rax, qword [rsp + 0x198]
mov qword [rsp + 0x1a0], rax
lea rax, [rsp + 0x420]
mov rdi, rax
mov rsi, qword [rsp + 0x1a0]
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x420]
lea rcx, [rsp + 0x260]
call fcn.140031ef0
nop
lea rcx, [rsp + 0x440]
call fcn.14002967c
movsd xmm3, qword [rsp + 0x240]
movsd xmm2, qword [rsp + 0x238]
movsd xmm1, qword [rsp + 0x230]
lea rcx, [rsp + 0x480]
call fcn.14002cdb0
mov qword [rsp + 0x1a8], rax
mov rax, qword [rsp + 0x1a8]
mov qword [rsp + 0x1b0], rax
lea rax, [rsp + 0x460]
mov rdi, rax
mov rsi, qword [rsp + 0x1b0]
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x460]
lea rcx, [rsp + 0x4c0]
call fcn.140031ef0
nop
lea rcx, [rsp + 0x480]
call fcn.14002967c
lea rax, [rsp + 0x4a0]
lea rcx, [rsp + 0xe8]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x4a0]
lea rcx, [rsp + 0x278]
call fcn.140031ef0
nop
movsd xmm0, qword [rsp + 0x80]
subsd xmm0, qword [rsp + 0x128]
cvtsd2ss xmm0, xmm0
movss dword [rsp + 0xe4], xmm0
movss xmm0, dword [rsp + 0xe4]
mulss xmm0, dword [0x140039ad8]
movss dword [rsp + 0x90], xmm0
cvtsd2ss xmm0, qword [rsp + 0x78]
movss xmm1, dword [rsp + 0x90]
divss xmm1, dword [0x140039afc]
subss xmm0, xmm1
movss dword [rsp + 0x13c], xmm0
cvtsd2ss xmm0, qword [rsp + 0x128]
movss dword [rsp + 0x140], xmm0
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
cdq
sub eax, edx
sar eax, 1
sub eax, 3
mov dword [rsp + 0x144], eax
mov ecx, 1
call qword [sym.imp.USER32.dll_GetSystemMetrics]
cdq
sub eax, edx
sar eax, 1
sub eax, 3
mov dword [rsp + 0x148], eax
cvtss2sd xmm0, dword [0x1400442d8]
movss xmm1, dword [0x1400460c0]
subss xmm1, dword [0x140039b2c]
cvtss2sd xmm1, xmm1
mulsd xmm1, qword [0x14003f2f8]
subsd xmm0, xmm1
cvttsd2si eax, xmm0
mov dword [rsp + 0x14c], eax
movsd xmm0, qword [rsp + 0x80]
subsd xmm0, qword [rsp + 0x128]
call fcn.140033578
cvtsd2ss xmm0, xmm0
movss dword [rsp + 0x38], xmm0
movss xmm0, dword [rsp + 0x38]
mulss xmm0, dword [0x1400442c0]
movss dword [rsp + 0x30], xmm0
cvtsi2ss xmm0, dword [0x1400442d4]
comiss xmm0, dword [rsp + 0x60]
jbe 0x1400300f2
movzx eax, byte [0x140046154]
test eax, eax
je 0x1400300f2
movzx eax, byte [0x140046157]
test eax, eax
je 0x14002fa7a
mov rcx, qword [rsp + 0x40]
call fcn.1400312b8
movzx eax, al
test eax, eax
je 0x14002f975
cvttss2si eax, dword [0x1400442bc]
mov dword [rsp + 0x98], eax
mov eax, 4
imul rax, rax, 2
lea rcx, [0x1400442b0]
movss xmm0, dword [rcx + rax]
mulss xmm0, dword [0x140039b38]
cvttss2si eax, xmm0
mov ecx, 4
imul rcx, rcx, 1
lea rdx, [0x1400442b0]
movss xmm0, dword [rdx + rcx]
mulss xmm0, dword [0x140039b38]
cvttss2si ecx, xmm0
mov edx, 4
imul rdx, rdx, 0
lea rdi, [0x1400442b0]
movss xmm0, dword [rdi + rdx]
mulss xmm0, dword [0x140039b38]
cvttss2si edx, xmm0
mov dword [rsp + 0x94], edx
mov r8d, eax
mov edx, ecx
mov eax, dword [rsp + 0x94]
mov ecx, eax
call fcn.140032420
mov dword [rsp + 0x9c], eax
cvttss2si eax, dword [rsp + 0x38]
cvttss2si ecx, dword [rsp + 0x30]
cvttsd2si edx, qword [rsp + 0x80]
movss xmm0, dword [rsp + 0x30]
divss xmm0, dword [0x140039b04]
cvtss2sd xmm0, xmm0
movsd xmm1, qword [rsp + 0x78]
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.14002e560
mov rcx, qword [rsp + 0x40]
call fcn.1400312b8
movzx eax, al
test eax, eax
jne 0x14002fa7a
cvttss2si eax, dword [0x1400442bc]
mov dword [rsp + 0xa4], eax
mov eax, 4
imul rax, rax, 2
lea rcx, [0x1400442a0]
movss xmm0, dword [rcx + rax]
mulss xmm0, dword [0x140039b38]
cvttss2si eax, xmm0
mov ecx, 4
imul rcx, rcx, 1
lea rdx, [0x1400442a0]
movss xmm0, dword [rdx + rcx]
mulss xmm0, dword [0x140039b38]
cvttss2si ecx, xmm0
mov edx, 4
imul rdx, rdx, 0
lea rdi, [0x1400442a0]
movss xmm0, dword [rdi + rdx]
mulss xmm0, dword [0x140039b38]
cvttss2si edx, xmm0
mov dword [rsp + 0xa0], edx
mov r8d, eax
mov edx, ecx
mov eax, dword [rsp + 0xa0]
mov ecx, eax
call fcn.140032420
mov dword [rsp + 0xa8], eax
cvttss2si eax, dword [rsp + 0x38]
cvttss2si ecx, dword [rsp + 0x30]
cvttsd2si edx, qword [rsp + 0x80]
movss xmm0, dword [rsp + 0x30]
divss xmm0, dword [0x140039b04]
cvtss2sd xmm0, xmm0
movsd xmm1, qword [rsp + 0x78]
subsd xmm1, xmm0
movaps xmm0, xmm1
cvttsd2si edi, xmm0
mov esi, dword [rsp + 0xa4]
mov dword [rsp + 0x28], esi
lea rsi, [rsp + 0xa8]
mov qword [rsp + 0x20], rsi
mov r9d, eax
mov r8d, ecx
mov ecx, edi
call fcn.14002e560
movzx eax, byte [0x140046156]
test eax, eax
je 0x14002fb66
mov rcx, qword [rsp + 0x40]
call fcn.1400312b8
movzx eax, al
test eax, eax
jne 0x14002fb01
mov dword [rsp + 0xac], 0xff0000ff
cvttss2si eax, dword [rsp + 0x38]
cvttss2si ecx, dword [rsp + 0x30]
cvttsd2si edx, qword [rsp + 0x80]
movss xmm0, dword [rsp + 0x30]
divss xmm0, dword [0x140039b04]
cvtss2sd xmm0, xmm0
movsd xmm1, qword [rsp + 0x78]
subsd xmm1, xmm0
movaps xmm0, xmm1
cvttsd2si edi, xmm0
mov dword [rsp + 0x28], 2
lea rsi, [rsp + 0xac]
mov qword [rsp + 0x20], rsi
mov r9d, eax
mov r8d, ecx
mov ecx, edi
call fcn.14002df84
jmp 0x14002fb66
mov dword [rsp + 0xb0], 0xff00ff00
cvttss2si eax, dword [rsp + 0x38]
cvttss2si ecx, dword [rsp + 0x30]
cvttsd2si edx, qword [rsp + 0x80]
movss xmm0, dword [rsp + 0x30]
divss xmm0, dword [0x140039b04]
cvtss2sd xmm0, xmm0
movsd xmm1, qword [rsp + 0x78]
subsd xmm1, xmm0
movaps xmm0, xmm1
cvttsd2si edi, xmm0
mov dword [rsp + 0x28], 2
lea rsi, [rsp + 0xb0]
mov qword [rsp + 0x20], rsi
mov r9d, eax
mov r8d, ecx
mov ecx, edi
call fcn.14002df84
movzx eax, byte [0x1400461a9]
test eax, eax
je 0x14002feed
call fcn.140008d9c
mov qword [rsp + 0x1c8], rax
mov dword [rsp + 0x20], 0xff
xor r9d, r9d
xor r8d, r8d
mov edx, 0xff
lea rcx, [rsp + 0x558]
call fcn.14002cc88
mov rcx, rax
call fcn.14002d868
mov dword [rsp + 0xb4], eax
mov eax, dword [0x140046170]
cdq
sub eax, edx
sar eax, 1
cvtsi2ss xmm0, eax
mov eax, dword [0x14004616c]
cdq
sub eax, edx
sar eax, 1
sub eax, 0xa
cvtsi2ss xmm1, eax
movaps xmm2, xmm0
lea rcx, [rsp + 0x2b0]
call fcn.14002cd1c
mov qword [rsp + 0x1b8], rax
mov eax, dword [0x140046170]
cdq
sub eax, edx
sar eax, 1
cvtsi2ss xmm0, eax
mov eax, dword [0x14004616c]
cdq
sub eax, edx
sar eax, 1
cvtsi2ss xmm1, eax
movaps xmm2, xmm0
lea rcx, [rsp + 0x2b8]
call fcn.14002cd1c
mov qword [rsp + 0x1c0], rax
movss xmm0, dword [0x140039afc]
movss dword [rsp + 0x20], xmm0
mov r9d, dword [rsp + 0xb4]
mov r8, qword [rsp + 0x1b8]
mov rdx, qword [rsp + 0x1c0]
mov rcx, qword [rsp + 0x1c8]
call fcn.140012758
call fcn.140008d9c
mov qword [rsp + 0x1e0], rax
mov dword [rsp + 0x20], 0xff
xor r9d, r9d
xor r8d, r8d
mov edx, 0xff
lea rcx, [rsp + 0x578]
call fcn.14002cc88
mov rcx, rax
call fcn.14002d868
mov dword [rsp + 0xb8], eax
mov eax, dword [0x140046170]
cdq
sub eax, edx
sar eax, 1
cvtsi2ss xmm0, eax
mov eax, dword [0x14004616c]
cdq
sub eax, edx
sar eax, 1
add eax, 0xa
cvtsi2ss xmm1, eax
movaps xmm2, xmm0
lea rcx, [rsp + 0x2c0]
call fcn.14002cd1c
mov qword [rsp + 0x1d0], rax
mov eax, dword [0x140046170]
cdq
sub eax, edx
sar eax, 1
cvtsi2ss xmm0, eax
mov eax, dword [0x14004616c]
cdq
sub eax, edx
sar eax, 1
cvtsi2ss xmm1, eax
movaps xmm2, xmm0
lea rcx, [rsp + 0x2c8]
call fcn.14002cd1c
mov qword [rsp + 0x1d8], rax
movss xmm0, dword [0x140039afc]
movss dword [rsp + 0x20], xmm0
mov r9d, dword [rsp + 0xb8]
mov r8, qword [rsp + 0x1d0]
mov rdx, qword [rsp + 0x1d8]
mov rcx, qword [rsp + 0x1e0]
call fcn.140012758
call fcn.140008d9c
mov qword [rsp + 0x1f8], rax
mov dword [rsp + 0x20], 0xff
xor r9d, r9d
xor r8d, r8d
mov edx, 0xff
lea rcx, [rsp + 0x568]
call fcn.14002cc88
mov rcx, rax
call fcn.14002d868
mov dword [rsp + 0xbc], eax
mov eax, dword [0x140046170]
cdq
sub eax, edx
sar eax, 1
sub eax, 0xa
cvtsi2ss xmm0, eax
mov eax, dword [0x14004616c]
cdq
sub eax, edx
sar eax, 1
cvtsi2ss xmm1, eax
movaps xmm2, xmm0
lea rcx, [rsp + 0x2d0]
call fcn.14002cd1c
mov qword [rsp + 0x1e8], rax
mov eax, dword [0x140046170]
cdq
sub eax, edx
sar eax, 1
cvtsi2ss xmm0, eax
mov eax, dword [0x14004616c]
cdq
sub eax, edx
sar eax, 1
cvtsi2ss xmm1, eax
movaps xmm2, xmm0
lea rcx, [rsp + 0x2d8]
call fcn.14002cd1c
mov qword [rsp + 0x1f0], rax
movss xmm0, dword [0x140039afc]
movss dword [rsp + 0x20], xmm0
mov r9d, dword [rsp + 0xbc]
mov r8, qword [rsp + 0x1e8]
mov rdx, qword [rsp + 0x1f0]
mov rcx, qword [rsp + 0x1f8]
call fcn.140012758
call fcn.140008d9c
mov qword [rsp + 0x210], rax
mov dword [rsp + 0x20], 0xff
xor r9d, r9d
xor r8d, r8d
mov edx, 0xff
lea rcx, [rsp + 0x548]
call fcn.14002cc88
mov rcx, rax
call fcn.14002d868
mov dword [rsp + 0xc0], eax
mov eax, dword [0x140046170]
cdq
sub eax, edx
sar eax, 1
add eax, 0xa
cvtsi2ss xmm0, eax
mov eax, dword [0x14004616c]
cdq
sub eax, edx
sar eax, 1
cvtsi2ss xmm1, eax
movaps xmm2, xmm0
lea rcx, [rsp + 0x2e0]
call fcn.14002cd1c
mov qword [rsp + 0x200], rax
mov eax, dword [0x140046170]
cdq
sub eax, edx
sar eax, 1
cvtsi2ss xmm0, eax
mov eax, dword [0x14004616c]
cdq
sub eax, edx
sar eax, 1
cvtsi2ss xmm1, eax
movaps xmm2, xmm0
lea rcx, [rsp + 0x2e8]
call fcn.14002cd1c
mov qword [rsp + 0x208], rax
movss xmm0, dword [0x140039afc]
movss dword [rsp + 0x20], xmm0
mov r9d, dword [rsp + 0xc0]
mov r8, qword [rsp + 0x200]
mov rdx, qword [rsp + 0x208]
mov rcx, qword [rsp + 0x210]
call fcn.140012758
movzx eax, byte [0x1400461a3]
test eax, eax
je 0x14002ff70
mov rcx, qword [rsp + 0x40]
call fcn.1400312b8
movzx eax, al
test eax, eax
je 0x14002ff70
cvttsd2si eax, qword [rsp + 0x268]
mov dword [rsp + 0xc4], eax
cvttsd2si ecx, qword [rsp + 0x260]
mov eax, dword [0x140046170]
cdq
sub eax, edx
sar eax, 1
mov dword [rsp + 0xc8], eax
mov eax, dword [0x14004616c]
cdq
sub eax, edx
sar eax, 1
mov dword [rsp + 0x28], 2
lea rdx, [0x1400442e0]
mov qword [rsp + 0x20], rdx
mov edx, dword [rsp + 0xc4]
mov r9d, edx
mov r8d, ecx
mov ecx, dword [rsp + 0xc8]
mov edx, ecx
mov ecx, eax
call fcn.1400305a4
movzx eax, byte [0x1400461a0]
test eax, eax
je 0x14002ffc8
cvttss2si eax, dword [rsp + 0x38]
cvttss2si ecx, dword [rsp + 0x30]
cvttsd2si edx, qword [rsp + 0x80]
movss xmm0, dword [rsp + 0x30]
divss xmm0, dword [0x140039b04]
cvtss2sd xmm0, xmm0
movsd xmm1, qword [rsp + 0x78]
subsd xmm1, xmm0
movaps xmm0, xmm1
cvttsd2si edi, xmm0
mov dword [rsp + 0x20], 0x96000000
mov r9d, eax
mov r8d, ecx
mov ecx, edi
call fcn.1400304fc
movzx eax, byte [0x1400461a1]
test eax, eax
je 0x140030068
lea rdx, str._.fm_n
lea rcx, [rsp + 0x588]
call fcn.14002c778
cvtss2sd xmm0, dword [rsp + 0x60]
movsd qword [rsp + 0x218], xmm0
lea rcx, [rsp + 0x588]
call fcn.140033e84
movsd xmm0, qword [rsp + 0x218]
movaps xmm2, xmm0
movq r8, xmm2
mov rdx, rax
lea rcx, [rsp + 0x590]
call fcn.140029df8
movsd xmm0, qword [rsp + 0x128]
addsd xmm0, qword [0x14003f318]
cvttsd2si eax, xmm0
movsd xmm0, qword [rsp + 0x120]
subsd xmm0, qword [0x14003f310]
cvttsd2si ecx, xmm0
lea r9, [0x140044530]
lea r8, [rsp + 0x590]
mov edx, eax
call fcn.1400306d8
movzx eax, byte [0x1400461a5]
test eax, eax
je 0x1400300f2
mov rax, qword [0x1400441c8]
mov rcx, qword [0x1400441f8]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.140029c2c
movss dword [rsp + 0xd0], xmm0
mov rax, qword [0x1400441d0]
mov rcx, qword [0x1400441f8]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.140029c2c
movss dword [rsp + 0xcc], xmm0
movss xmm0, dword [rsp + 0xcc]
addss xmm0, dword [0x14003f1f0]
comiss xmm0, dword [rsp + 0xd0]
jb 0x1400300e2
mov dword [rsp + 0x64], 1
jmp 0x1400300ea
mov dword [rsp + 0x64], 0
mov al, byte [rsp + 0x64]
mov byte [rsp + 0x4f], al
mov eax, dword [0x14004616c]
cdq
sub eax, edx
sar eax, 1
cvtsi2sd xmm0, eax
movsd xmm1, qword [rsp + 0x278]
subsd xmm1, xmm0
movaps xmm0, xmm1
movsd qword [rsp + 0x110], xmm0
mov eax, dword [0x140046170]
cdq
sub eax, edx
sar eax, 1
cvtsi2sd xmm0, eax
movsd xmm1, qword [rsp + 0x280]
subsd xmm1, xmm0
movaps xmm0, xmm1
movsd qword [rsp + 0x118], xmm0
movsd xmm0, qword [rsp + 0x110]
mulsd xmm0, qword [rsp + 0x110]
movsd xmm1, qword [rsp + 0x118]
mulsd xmm1, qword [rsp + 0x118]
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.1400312b8
movzx eax, al
test eax, eax
jne 0x140030196
movzx eax, byte [0x1400461a5]
test eax, eax
jne 0x1400301c8
movss xmm0, dword [0x1400442d8]
comiss xmm0, dword [rsp + 0x50]
jbe 0x1400301c8
movss xmm0, dword [rsp + 0x68]
comiss xmm0, dword [rsp + 0x50]
jbe 0x1400301c8
movss xmm0, dword [rsp + 0x50]
movss dword [rsp + 0x68], xmm0
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x278]
call fcn.14002967c
nop
lea rcx, [rsp + 0x4c0]
call fcn.14002967c
nop
lea rcx, [rsp + 0x260]
call fcn.14002967c
nop
lea rcx, [rsp + 0x78]
call fcn.14002967c
nop
lea rcx, [rsp + 0x120]
call fcn.14002967c
nop
lea rcx, [rsp + 0x318]
call fcn.14002967c
nop
lea rcx, [rsp + 0x4d8]
call fcn.14002967c
nop
lea rcx, [rsp + 0x300]
call fcn.14002967c
nop
lea rcx, [rsp + 0x4f0]
call fcn.14002967c
nop
lea rcx, [rsp + 0x230]
call fcn.14002967c
nop
lea rcx, [rsp + 0x508]
call fcn.14002967c
nop
lea rcx, [rsp + 0xe8]
call fcn.14002967c
nop
lea rcx, [rsp + 0x248]
call fcn.14002d3ac
jmp 0x14002f27a
movzx eax, byte [0x14004611c]
test eax, eax
je 0x140030325
movzx eax, byte [0x14004611e]
test eax, eax
je 0x1400302f7
movzx eax, byte [0x14004611c]
test eax, eax
je 0x1400302f7
cmp qword [rsp + 0x70], 0
je 0x1400302f7
mov ecx, dword [0x1400460c4]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
jge 0x1400302f7
xor ecx, ecx
call fcn.1400367c0
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 + 0xd4], eax
cmp dword [rsp + 0xd4], 2
jge 0x1400302f7
mov rcx, qword [rsp + 0x70]
call fcn.14002dcd8
movzx eax, byte [0x14004611c]
test eax, eax
je 0x140030325
cmp qword [rsp + 0x70], 0
je 0x140030325
mov ecx, dword [0x1400460c4]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
jge 0x140030325
mov rcx, qword [rsp + 0x70]
call fcn.14002dcd8
movzx eax, byte [0x1400461ad]
test eax, eax
je 0x140030364
mov rax, qword [0x1400461e0]
add rax, 0x241c
movss xmm1, dword [0x140039b44]
mov rcx, rax
call fcn.140029ea0
mov rax, qword [0x1400461e0]
add rax, 0x2338
mov dl, 1
mov rcx, rax
call fcn.140029e38
movzx eax, byte [0x1400442af]
test eax, eax
je 0x1400303b7
cmp qword [0x1400461e0], 0
je 0x1400303b7
mov rax, qword [0x140044290]
mov rcx, qword [0x1400461e0]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.140029dc0
mov qword [rsp + 0x2f0], rax
mov rax, qword [0x140044290]
add rax, 0xa80
mov edx, 1
mov rcx, rax
call fcn.140029e6c
movzx eax, byte [0x1400461aa]
test eax, eax
je 0x14003040e
mov rax, qword [0x140044178]
mov rcx, qword [0x1400441a0]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.140029dc0
mov qword [rsp + 0x220], rax
mov ecx, 0x20
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
je 0x14003040e
mov rax, qword [rsp + 0x220]
add rax, 0x2840
mov dl, 1
mov rcx, rax
call fcn.140029e38
movzx eax, byte [0x1400461b0]
test eax, eax
je 0x140030436
mov rax, qword [0x1400461e0]
add rax, 0x4ae8
movss xmm1, dword [0x140039afc]
mov rcx, rax
call fcn.140029ea0
movzx eax, byte [0x1400461ab]
test eax, eax
je 0x140030458
mov rax, qword [0x1400461e0]
add rax, 0x5468
mov dl, 1
mov rcx, rax
call fcn.140029e38
movzx eax, byte [0x1400461af]
test eax, eax
je 0x14003047e
mov rax, qword [0x140046200]
add rax, 0x68
movss xmm1, dword [0x140039b58]
mov rcx, rax
call fcn.140029ea0
movzx eax, byte [0x1400461ae]
test eax, eax
je 0x1400304d5
mov rax, qword [0x1400461e0]
add rax, 0x318
mov rcx, rax
call fcn.140029dc0
mov qword [rsp + 0x2f8], rax
mov rax, qword [0x140044290]
add rax, 0x194
mov dl, 1
mov rcx, rax
call fcn.140029e38
mov rax, qword [0x140044288]
add rax, 0x194
mov dl, 1
mov rcx, rax
call fcn.140029e38
nop
lea rcx, [rsp + 0x520]
call fcn.14002d3ac
mov rcx, qword [rsp + 0x5d0]
xor rcx, rsp
call fcn.140036d70
add rsp, 0x5e8
pop rdi
pop rsi
ret