Function at 0x14009218a
Capabilities:
Log keystrokes via polling

Disassembly:
push rbp
push rbx
sub rsp, 0x238
lea rbp, [rsp + 0x80]
mov dword [rbp + 0x1d0], ecx
mov qword [rbp + 0x1d8], rdx
call fcn.1400c27c0
mov qword [0x1401f7d40], 0
mov qword [0x1401f7d48], 0
mov dword [0x1401f7d50], 0xffffffff
mov dword [0x1401f7d54], 0xffffffff
mov dword [0x1401f7d58], 0
mov dword [0x1401f7d5c], 0xffffffff
mov dword [0x1401f7d60], 0xffffffff
mov dword [0x1401f7d64], 0xffffffff
mov dword [0x140769c04], 0
jmp 0x14009230f
mov eax, dword [0x140769c04]
movsxd rdx, eax
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
mov rdx, rax
lea rax, [0x1401f7ca0]
mov dword [rdx + rax], 1
mov eax, dword [0x140769c04]
movsxd rdx, eax
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
mov rdx, rax
lea rax, [0x1401f7ca8]
mov qword [rdx + rax], 0
mov eax, dword [0x140769c04]
movsxd rdx, eax
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
mov rdx, rax
lea rax, [0x1401f7cb0]
mov qword [rdx + rax], 0
mov eax, dword [0x140769c04]
movsxd rdx, eax
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
mov rdx, rax
lea rax, [0x1401f7cb8]
mov dword [rdx + rax], 0
mov eax, dword [0x140769c04]
movsxd rdx, eax
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
mov rdx, rax
lea rax, [0x1401f7cbc]
mov dword [rdx + rax], 0
mov eax, dword [0x140769c04]
movsxd rdx, eax
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
mov rdx, rax
lea rax, [0x1401f7cc0]
mov dword [rdx + rax], 0
mov eax, dword [0x140769c04]
add eax, 1
mov dword [0x140769c04], eax
mov eax, dword [0x140769c04]
cmp eax, 2
jle 0x14009220e
call fcn.14009957c
mov eax, dword [0x1401f7c94]
test eax, eax
je 0x140092337
mov dword [0x140176094], 0
mov eax, dword [0x1401f7c90]
test eax, eax
je 0x14009234d
mov eax, dword [0x1401f7c90]
mov dword [0x1401f7c68], eax
mov ecx, 0x20
call fcn.140034845
mov qword [0x1402124f8], rax
mov ecx, 0x10
call fcn.140034845
mov qword [0x1401f7d28], rax
mov ecx, 0x28
call fcn.140034845
mov qword [0x1401f7d30], rax
mov ecx, 0x28
call fcn.140034845
mov qword [0x14073d960], rax
mov ecx, 0x50
call fcn.1400348f0
mov qword [0x1401f7d70], rax
mov ecx, 0x70
call fcn.140034845
mov qword [0x1401f7d88], rax
mov rax, qword [0x1402124f8]
mov rcx, rax
call fcn.140034936
mov dword [0x140212500], eax
mov eax, dword [0x140212500]
mov dword [0x140212504], eax
mov eax, dword [0x140212504]
cdqe
mov rcx, qword [0x1402124f8]
mov rdx, rax
call fcn.140034f7c
mov qword [rbp + 0x1a8], rax
mov rax, qword [rbp + 0x1a8]
mov dword [rax + 8], 0xffff
mov rax, qword [rbp + 0x1a8]
mov eax, dword [rax + 8]
add eax, 1
movsxd rdx, eax
mov rax, rdx
add rax, rax
add rax, rdx
shl rax, 2
mov rdx, rax
mov ecx, 1
call sub.msvcrt.dll_calloc
mov rdx, rax
mov rax, qword [rbp + 0x1a8]
mov qword [rax], rdx
call fcn.1400acc70
mov rax, qword [0x1401c3f50]
mov eax, dword [rax]
test eax, eax
je 0x140092453
mov dword [0x1401f7e0c], 1
mov rax, qword [0x1401c3bc0]
mov eax, dword [rax]
test eax, eax
je 0x14009249d
mov ecx, 0x3e8
call sub.msvcrt.dll_malloc
mov qword [rbp + 0x1a0], rax
mov rax, qword [rbp + 0x1a0]
mov edx, 0x100
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetConsoleProcessList]
call rax
cmp eax, 1
sete al
test al, al
je 0x14009249d
mov dword [0x1401f7e08], 1
mov rax, qword [0x1401c3e80]
mov rax, qword [rax]
add rax, 0x28
mov dword [rax + 0x14], 0x3b00
mov rax, qword [0x1401c3e80]
mov rax, qword [rax]
add rax, 0x50
mov dword [rax + 0x14], 0x3c00
mov rax, qword [0x1401c3e80]
mov rax, qword [rax]
add rax, 0x78
mov dword [rax + 0x14], 0x3d00
mov rax, qword [0x1401c3e80]
mov rax, qword [rax]
add rax, 0xa0
mov dword [rax + 0x14], 0x3e00
mov rax, qword [0x1401c3e80]
mov rax, qword [rax]
add rax, 0xc8
mov dword [rax + 0x14], 0x3f00
mov rax, qword [0x1401c3e80]
mov rax, qword [rax]
add rax, 0xf0
mov dword [rax + 0x14], 0x4000
mov rax, qword [0x1401c3e80]
mov rax, qword [rax]
add rax, 0x118
mov dword [rax + 0x14], 0x4100
mov rax, qword [0x1401c3e80]
mov rax, qword [rax]
add rax, 0x140
mov dword [rax + 0x14], 0x4200
mov rax, qword [0x1401c3e80]
mov rax, qword [rax]
add rax, 0x168
mov dword [rax + 0x14], 0x4300
mov rax, qword [0x1401c3e80]
mov rax, qword [rax]
add rax, 0x190
mov dword [rax + 0x14], 0x4400
mov rax, qword [0x1401c3e80]
mov rax, qword [rax]
add rax, 0x1b8
mov dword [rax + 0x14], 0x4800
mov rax, qword [0x1401c3e80]
mov rax, qword [rax]
add rax, 0x1b8
mov dword [rax + 0x18], 0x187a8
mov rax, qword [0x1401c3e80]
mov rax, qword [rax]
add rax, 0x1e0
mov dword [rax + 0x14], 0x4b00
mov rax, qword [0x1401c3e80]
mov rax, qword [rax]
add rax, 0x1e0
mov dword [rax + 0x18], 0x187a4
mov rax, qword [0x1401c3e80]
mov rax, qword [rax]
add rax, 0x208
mov dword [rax + 0x14], 0x4d00
mov rax, qword [0x1401c3e80]
mov rax, qword [rax]
add rax, 0x208
mov dword [rax + 0x18], 0x187a6
mov rax, qword [0x1401c3e80]
mov rax, qword [rax]
add rax, 0x230
mov dword [rax + 0x14], 0x5000
mov rax, qword [0x1401c3e80]
mov rax, qword [rax]
add rax, 0x230
mov dword [rax + 0x18], 0x187a2
mov rax, qword [0x1401c3e80]
mov rax, qword [rax]
add rax, 0x4b0
mov dword [rax + 0x14], 0x8500
mov rax, qword [0x1401c3e80]
mov rax, qword [rax]
add rax, 0x4d8
mov dword [rax + 0x14], 0x8600
mov rax, qword [0x1401c3ea0]
mov rax, qword [rax]
mov byte [rax], 1
mov rax, qword [0x1401c3ea0]
mov rax, qword [rax]
mov dword [rax + 4], 0
mov rax, qword [0x1401c3ea0]
mov rax, qword [rax]
mov byte [rax + 0x11], 0
mov rax, qword [0x1401c3ea0]
mov rax, qword [rax]
mov byte [rax + 0x10], 0
mov rax, qword [0x1401f7e28]
add rax, 0x20
mov dword [rax], 8
mov rax, qword [0x1401f7e28]
add rax, 0x38
mov dword [rax], 8
mov rax, qword [0x1401f7e28]
add rax, 0x40
mov dword [rax], 8
mov rax, qword [0x1401f7e20]
add rax, 0x20
mov dword [rax], 8
mov rax, qword [0x1401f7e20]
add rax, 0x38
mov dword [rax], 0xe
mov rax, qword [0x1401f7e20]
add rax, 0x40
mov dword [rax], 0x10
mov rax, qword [0x1401f7e30]
add rax, 0x20
mov dword [rax], 0x10
mov rax, qword [0x1401f7e30]
add rax, 0x38
mov dword [rax], 0x10
mov rax, qword [0x1401f7e30]
add rax, 0x40
mov dword [rax], 0x10
mov rax, qword [0x1401f7e28]
add rax, 0x24
mov dword [rax], 0x10
mov rax, qword [0x1401f7e28]
add rax, 0x3c
mov dword [rax], 0x10
mov rax, qword [0x1401f7e28]
add rax, 0x44
mov dword [rax], 0x10
mov rax, qword [0x1401f7e20]
add rax, 0x24
mov dword [rax], 8
mov rax, qword [0x1401f7e20]
add rax, 0x3c
mov dword [rax], 0xe
mov rax, qword [0x1401f7e20]
add rax, 0x44
mov dword [rax], 0x10
mov rax, qword [0x1401f7e30]
add rax, 0x24
mov dword [rax], 0x10
mov rax, qword [0x1401f7e30]
add rax, 0x3c
mov dword [rax], 0x10
mov rax, qword [0x1401f7e30]
add rax, 0x44
mov dword [rax], 0x10
mov rax, qword [0x140208808]
mov r8d, 0xc0000
mov edx, 0
mov rcx, rax
call sub.msvcrt.dll_memset
call fcn.140036e4d
mov dword [0x140769c18], eax
mov rcx, qword [0x140208808]
mov eax, dword [0x140769c18]
movsxd rdx, eax
mov rax, rdx
add rax, rax
add rax, rdx
shl rax, 6
add rax, rcx
mov byte [rax + 0x10], 0
call fcn.140036e4d
mov dword [0x140769c18], eax
mov rcx, qword [0x140208808]
mov eax, dword [0x140769c18]
movsxd rdx, eax
mov rax, rdx
add rax, rax
add rax, rdx
shl rax, 6
add rax, rcx
mov byte [rax + 0x10], 0
mov r8d, 0x3c
mov edx, 0
lea rax, [0x140212520]
mov rcx, rax
call sub.msvcrt.dll_memset
lea rax, [0x140212520]
mov qword [0x140212580], rax
lea rax, [0x140212528]
mov qword [0x140212588], rax
lea rax, [0x14021252c]
mov qword [0x140212590], rax
lea rax, [0x140212524]
mov qword [0x140212598], rax
lea rax, [0x140212521]
mov qword [0x1402125a0], rax
lea rax, [0x140212529]
mov qword [0x1402125a8], rax
lea rax, [0x14021252d]
mov qword [0x1402125b0], rax
lea rax, [0x140212525]
mov qword [0x1402125b8], rax
lea rax, [0x140212520]
mov qword [0x1402125c0], rax
lea rax, [0x140212528]
mov qword [0x1402125c8], rax
lea rax, [0x14021252c]
mov qword [0x1402125d0], rax
lea rax, [0x140212524]
mov qword [0x1402125d8], rax
lea rax, [0x14021253c]
mov qword [0x1402125e0], rax
lea rax, [0x140212538]
mov qword [0x1402125e8], rax
lea rax, [0x140212530]
mov qword [0x1402125f0], rax
lea rax, [0x140212534]
mov qword [0x1402125f8], rax
lea rax, [0x140212520]
mov qword [0x140212600], rax
lea rax, [0x140212528]
mov qword [0x140212608], rax
lea rax, [0x14021252c]
mov qword [0x140212610], rax
lea rax, [0x140212524]
mov qword [0x140212618], rax
lea rax, [0x14021253c]
mov qword [0x140212620], rax
lea rax, [0x140212538]
mov qword [0x140212628], rax
lea rax, [0x140212530]
mov qword [0x140212630], rax
lea rax, [0x140212534]
mov qword [0x140212638], rax
lea rax, [0x140212546]
mov qword [0x140212640], rax
lea rax, [0x140212540]
mov qword [0x140212648], rax
lea rax, [0x140212542]
mov qword [0x140212650], rax
lea rax, [0x140212544]
mov qword [0x140212658], rax
lea rax, [0x140212548]
mov qword [0x140212660], rax
lea rax, [0x14021254a]
mov qword [0x140212668], rax
mov dword [0x140769c04], 0
jmp 0x140092a33
mov eax, dword [0x140769c04]
cdqe
lea rdx, [0x14073cce0]
mov byte [rax + rdx], 0x20
mov eax, dword [0x140769c04]
add eax, 1
mov dword [0x140769c04], eax
mov eax, dword [0x140769c04]
cmp eax, 0x1f
jle 0x140092a11
mov byte [0x14073ce60], 0x81
mov dword [0x1402126f4], 0x100000
mov eax, dword [0x1402126f4]
mov eax, eax
mov rcx, rax
call sub.msvcrt.dll_malloc
mov rdx, rax
mov rax, qword [0x1401c3e20]
mov qword [rax], rdx
mov rax, qword [0x1401c3e20]
mov rdx, qword [rax]
mov rax, qword [0x1401c3e40]
mov qword [rax], rdx
mov rax, qword [0x1401c3e20]
mov rax, qword [rax]
mov edx, dword [0x1402126f4]
mov edx, edx
add rdx, rax
mov rax, qword [0x1401c3e30]
mov qword [rax], rdx
mov r8d, 0x10fff3
mov edx, 0
mov rax, qword [0x1401c3b80]
mov rcx, rax
call sub.msvcrt.dll_memset
mov r8d, 0x10000
mov edx, 0
lea rax, [0x14071fa40]
mov rcx, rax
call sub.msvcrt.dll_memset
mov rax, qword [0x1401c3b80]
lea rdx, [rax + 0x500]
mov rax, qword [0x1401c3bd0]
mov qword [rax], rdx
mov rax, qword [0x1401c3ba0]
mov eax, dword [rax]
lea edx, [rax - 8]
mov rax, qword [0x1401c3ba0]
mov dword [rax], edx
mov rax, qword [0x1401c3ba0]
mov eax, dword [rax]
mov edx, eax
mov rax, qword [0x1401c3bd0]
mov rax, qword [rax]
add rax, rdx
mov rdx, rax
mov rax, qword [0x1401c3e70]
mov qword [rax], rdx
mov rax, qword [0x1401c3e70]
mov rax, qword [rax]
mov qword [rax], 0
mov edx, 0
mov ecx, 0
call fcn.1400432bc
mov rdx, qword [0x1401c3e60]
mov qword [rdx], rax
mov edx, 0
mov ecx, 1
call fcn.1400432bc
mov qword [0x14072fa40], rax
mov rax, qword [0x14072fa40]
mov rax, qword [rax]
mov byte [rax], 0x20
mov edx, 0
mov ecx, 0
call fcn.1400437be
mov rdx, qword [0x1401c3dd0]
mov qword [rdx], rax
call fcn.1400a1020
mov rdx, rax
mov rax, qword [0x1401c3dd0]
mov rax, qword [rax]
mov rcx, rax
call fcn.14004398c
movzx eax, byte [0x140769c80]
test al, al
sete al
test al, al
je 0x140092bed
lea rax, [0x140769c80]
mov rcx, rax
call fcn.140174000
test eax, eax
setne al
test al, al
je 0x140092bed
mov ecx, 0x10000
call sub.msvcrt.dll_malloc
mov qword [0x140769c78], rax
lea rax, [0x140769c80]
mov rcx, rax
call fcn.140174240
mov rax, qword [0x140769c78]
mov r8d, 0x10000
mov rdx, rax
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
call rax
mov rax, qword [0x140769c78]
mov rcx, rax
call sub.msvcrt.dll_strlen
mov dword [0x140769c04], eax
mov eax, dword [0x140769c04]
sub eax, 1
mov dword [0x140769c08], eax
jmp 0x140092cbf
mov rdx, qword [0x140769c78]
mov eax, dword [0x140769c08]
cdqe
add rax, rdx
movzx eax, byte [rax]
movsx eax, al
mov dword [0x140769c18], eax
mov eax, dword [0x140769c18]
cmp eax, 0x5c
je 0x140092c73
mov eax, dword [0x140769c18]
cmp eax, 0x2f
je 0x140092c73
mov eax, dword [0x140769c18]
cmp eax, 0x3a
jne 0x140092cb0
mov eax, dword [0x140769c18]
cmp eax, 0x3a
jne 0x140092c99
mov rdx, qword [0x140769c78]
mov eax, dword [0x140769c08]
cdqe
add rax, 1
add rax, rdx
mov byte [rax], 0
jmp 0x140092ccd
mov rdx, qword [0x140769c78]
mov eax, dword [0x140769c08]
cdqe
add rax, rdx
mov byte [rax], 0
jmp 0x140092ccd
mov eax, dword [0x140769c08]
sub eax, 1
mov dword [0x140769c08], eax
mov eax, dword [0x140769c08]
test eax, eax
jns 0x140092c34
mov rax, qword [0x140769c78]
mov rcx, rax
call sub.msvcrt.dll__chdir
mov edx, 0
mov ecx, 0
call fcn.1400437be
mov qword [0x140207ec8], rax
mov edx, 0x14
lea rax, str.Unknown_Opcode_____
mov rcx, rax
call fcn.140043595
mov rdx, rax
mov rax, qword [0x140207ec8]
mov rcx, rax
call fcn.14004398c
mov eax, dword [rbp + 0x1d0]
mov dword [0x140769c04], eax
mov eax, dword [0x140769c04]
cmp eax, 1
jle 0x140092ed6
mov dword [0x140769c08], 0
mov dword [0x140769c04], 1
jmp 0x140092da7
mov eax, dword [0x140769c04]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x1d8]
add rax, rdx
mov rax, qword [rax]
mov rcx, rax
call sub.msvcrt.dll_strlen
mov edx, eax
mov eax, dword [0x140769c08]
add eax, edx
mov dword [0x140769c08], eax
mov eax, dword [0x140769c04]
cmp eax, 1
je 0x140092d98
mov eax, dword [0x140769c08]
add eax, 1
mov dword [0x140769c08], eax
mov eax, dword [0x140769c04]
add eax, 1
mov dword [0x140769c04], eax
mov eax, dword [0x140769c04]
cmp dword [rbp + 0x1d0], eax
jg 0x140092d49
mov eax, dword [0x140769c08]
mov edx, 0
mov ecx, eax
call fcn.1400437be
mov qword [0x14073cf68], rax
mov dword [0x140769c0c], 0
mov dword [0x140769c04], 1
jmp 0x140092ec2
mov eax, dword [0x140769c04]
cmp eax, 1
je 0x140092e19
mov rax, qword [0x14073cf68]
mov rdx, qword [rax]
mov eax, dword [0x140769c0c]
cdqe
add rax, rdx
mov byte [rax], 0x20
mov eax, dword [0x140769c0c]
add eax, 1
mov dword [0x140769c0c], eax
mov eax, dword [0x140769c04]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x1d8]
add rax, rdx
mov rax, qword [rax]
mov rcx, rax
call sub.msvcrt.dll_strlen
mov rcx, rax
mov eax, dword [0x140769c04]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x1d8]
add rax, rdx
mov rdx, qword [rax]
mov rax, qword [0x14073cf68]
mov r8, qword [rax]
mov eax, dword [0x140769c0c]
cdqe
add rax, r8
mov r8, rcx
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov eax, dword [0x140769c04]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp + 0x1d8]
add rax, rdx
mov rax, qword [rax]
mov rcx, rax
call sub.msvcrt.dll_strlen
mov edx, eax
mov eax, dword [0x140769c0c]
add eax, edx
mov dword [0x140769c0c], eax
mov eax, dword [0x140769c04]
add eax, 1
mov dword [0x140769c04], eax
mov eax, dword [0x140769c04]
cmp dword [rbp + 0x1d0], eax
jg 0x140092de7
jmp 0x140092eec
mov edx, 0
mov ecx, 0
call fcn.1400437be
mov qword [0x14073cf68], rax
mov eax, dword [rbp + 0x1d0]
mov dword [0x14073cf78], eax
mov rax, qword [rbp + 0x1d8]
mov qword [0x14073cf70], rax
mov ecx, 0x91
mov rax, qword [sym.imp.USER32.dll_GetKeyState]
call rax
cwde
and eax, 1
test eax, eax
setne al
test al, al
je 0x140092f2b
mov ecx, 0x30d4b
call fcn.14003606c
mov ecx, 0x91
mov rax, qword [sym.imp.USER32.dll_GetKeyState]
call rax
shr ax, 0xf
test al, al
je 0x140092f55
mov dword [0x140207e48], 0x12e
mov ecx, 0x187ce
call fcn.1400363d3
mov ecx, 0xa0
mov rax, qword [sym.imp.USER32.dll_GetKeyState]
call rax
shr ax, 0xf
test al, al
je 0x140092f7f
mov dword [0x140207e48], 0x130
mov ecx, 0x187d0
call fcn.1400363d3
mov ecx, 0xa1
mov rax, qword [sym.imp.USER32.dll_GetKeyState]
call rax
shr ax, 0xf
test al, al
je 0x140092fa9
mov dword [0x140207e48], 0x12f
mov ecx, 0x187cf
call fcn.1400363d3
mov ecx, 0xa2
mov rax, qword [sym.imp.USER32.dll_GetKeyState]
call rax
shr ax, 0xf
test al, al
je 0x140092fd3
mov dword [0x140207e48], 0x132
mov ecx, 0x187d2
call fcn.1400363d3
mov ecx, 0xa3
mov rax, qword [sym.imp.USER32.dll_GetKeyState]
call rax
shr ax, 0xf
test al, al
je 0x140092ffd
mov dword [0x140207e48], 0x131
mov ecx, 0x187d1
call fcn.1400363d3
mov ecx, 0xa4
mov rax, qword [sym.imp.USER32.dll_GetKeyState]
call rax
shr ax, 0xf
test al, al
je 0x140093027
mov dword [0x140207e48], 0x134
mov ecx, 0x187d4
call fcn.1400363d3
mov ecx, 0xa5
mov rax, qword [sym.imp.USER32.dll_GetKeyState]
call rax
shr ax, 0xf
test al, al
je 0x140093051
mov dword [0x140207e48], 0x133
mov ecx, 0x187d3
call fcn.1400363d3
mov ecx, 0x14
mov rax, qword [sym.imp.USER32.dll_GetKeyState]
call rax
cwde
and eax, 1
test eax, eax
setne al
test al, al
je 0x140093080
mov dword [0x140207e48], 0x12d
mov ecx, 0x187cd
call fcn.1400363d3
mov ecx, 0x90
mov rax, qword [sym.imp.USER32.dll_GetKeyState]
call rax
cwde
and eax, 1
test eax, eax
setne al
test al, al
je 0x1400930af
mov dword [0x140207e48], 0x12c
mov ecx, 0x187cc
call fcn.1400363d3
call fcn.140095f6e
mov eax, dword [0x140207e40]
mov dword [0x140207e44], eax
mov rax, qword [0x1401c3b80]
mov byte [rax + 0x41a], 0x1e
mov rax, qword [0x1401c3b80]
mov byte [rax + 0x41b], 0
mov rax, qword [0x1401c3b80]
mov byte [rax + 0x41c], 0x1e
mov rax, qword [0x1401c3b80]
mov byte [rax + 0x41d], 0
lea rax, [rbp - 0x50]
mov rcx, rax
call fcn.14014d880
mov eax, dword [0x140176560]
cdqe
mov r8, rax
lea rax, [0x1401a2540]
mov rdx, rax
lea rax, [0x140208300]
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov dword [0x140769c04], 0
jmp 0x14009317f
mov eax, dword [0x140769c04]
cdqe
lea rdx, [rax*4]
lea rax, [0x140208300]
mov edx, dword [rdx + rax]
mov eax, dword [0x140769c04]
mov ecx, edx
or ecx, 0xff000000
cdqe
lea rdx, [rax*4]
lea rax, [0x140208300]
mov dword [rdx + rax], ecx
mov eax, dword [0x140769c04]
add eax, 1
mov dword [0x140769c04], eax
mov eax, dword [0x140769c04]
cmp eax, 0xff
jle 0x140093134
mov eax, dword [0x140176564]
cdqe
mov r8, rax
lea rax, [0x1401a2940]
mov rdx, rax
lea rax, [0x140208700]
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov dword [0x140769c04], 0
jmp 0x140093207
mov eax, dword [0x140769c04]
cdqe
lea rdx, [rax*4]
lea rax, [0x140208700]
mov edx, dword [rdx + rax]
mov eax, dword [0x140769c04]
mov ecx, edx
or ecx, 0xff000000
cdqe
lea rdx, [rax*4]
lea rax, [0x140208700]
mov dword [rdx + rax], ecx
mov eax, dword [0x140769c04]
add eax, 1
mov dword [0x140769c04], eax
mov eax, dword [0x140769c04]
cmp eax, 0x3f
jle 0x1400931bc
mov dword [0x14072ffe0], 0
mov dword [0x14072ffe4], 0
mov dword [0x14072ffe8], 0
mov dword [0x14072ffec], 0x808080
mov dword [0x14072fff0], 0x808080
mov dword [0x14072fff4], 0x808080
mov dword [0x14072fff8], 0xffffff
mov dword [0x14072fffc], 0xffffff
mov dword [0x140730000], 0xffffff
mov dword [0x140730004], 0
mov dword [0x140730008], 0x808080
mov dword [0x14073000c], 0xffffff
mov dword [0x140730010], 0
mov dword [0x140730014], 0x808080
mov dword [0x140730018], 0xffffff
mov dword [0x14073001c], 0
mov dword [0x140730020], 0x808080
mov dword [0x140730024], 0xffffff
mov eax, dword [0x140176558]
cdqe
mov r8, rax
lea rax, [0x140196540]
mov rdx, rax
lea rax, [0x140730040]
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov eax, dword [0x14017655c]
cdqe
mov r8, rax
lea rax, [0x14019a540]
mov rdx, rax
lea rax, [0x140734040]
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 0
mov r9d, 0
mov r8d, 0
mov edx, 0
mov ecx, 0
call fcn.140048fa9
mov dword [0x14017656c], 1
mov rax, qword [0x1401c3bc0]
mov eax, dword [rax]
test eax, eax
je 0x1400933a3
mov r9d, 0
mov r8d, 0
mov edx, 0x19
mov ecx, 0x50
call fcn.14006e30d
mov dword [0x140176320], eax
mov eax, dword [0x140176320]
neg eax
mov dword [0x140769c04], eax
mov rcx, qword [0x140208808]
mov eax, dword [0x140769c04]
movsxd rdx, eax
mov rax, rdx
add rax, rax
add rax, rdx
shl rax, 6
add rax, rcx
mov byte [rax + 0x12], 1
mov dword [0x140769c04], 0
mov eax, dword [0x140769c04]
add eax, 1
mov dword [0x140769c04], eax
mov rax, qword [0x1401c3c00]
mov rdx, qword [rax]
mov eax, dword [0x140769c04]
cdqe
imul rax, rax, 0x170
add rax, rdx
mov dword [rax + 4], 2
mov rax, qword [0x1401c3c00]
mov rdx, qword [rax]
mov eax, dword [0x140769c04]
cdqe
imul rax, rax, 0x170
add rax, rdx
lea rdx, str._KEYBOARD__BUTTON_
mov qword [rax + 8], rdx
mov rax, qword [0x1401c3c00]
mov rdx, qword [rax]
mov eax, dword [0x140769c04]
cdqe
imul rax, rax, 0x170
add rax, rdx
mov dword [rax + 0x14], 0x200
mov rax, qword [0x1401c3c00]
mov rdx, qword [rax]
mov eax, dword [0x140769c04]
cdqe
imul rax, rax, 0x170
add rax, rdx
lea rdx, str.Keyboard
mov qword [rax + 0x148], rdx
mov rax, qword [0x1401c3c00]
mov rdx, qword [rax]
mov eax, dword [0x140769c04]
cdqe
imul rax, rax, 0x170
add rax, rdx
mov rcx, rax
call fcn.14009ae42
mov eax, dword [0x140769c04]
add eax, 1
mov dword [0x140769c04], eax
mov rax, qword [0x1401c3c00]
mov rdx, qword [rax]
mov eax, dword [0x140769c04]
cdqe
imul rax, rax, 0x170
add rax, rdx
mov dword [rax + 4], 3
mov rax, qword [0x1401c3c00]
mov rdx, qword [rax]
mov eax, dword [0x140769c04]
cdqe
imul rax, rax, 0x170
add rax, rdx
lea rdx, str._MOUSE__BUTTON__AXIS__WHEEL_
mov qword [rax + 8], rdx
mov rax, qword [0x1401c3c00]
mov rdx, qword [rax]
mov eax, dword [0x140769c04]
cdqe
imul rax, rax, 0x170
add rax, rdx
mov dword [rax + 0x14], 3
mov rax, qword [0x1401c3c00]
mov rdx, qword [rax]
mov eax, dword [0x140769c04]
cdqe
imul rax, rax, 0x170
add rax, rdx
mov dword [rax + 0x18], 2
mov rax, qword [0x1401c3c00]
mov rdx, qword [rax]
mov eax, dword [0x140769c04]
cdqe
imul rax, rax, 0x170
add rax, rdx
mov dword [rax + 0x1c], 3
mov rax, qword [0x1401c3c00]
mov rdx, qword [rax]
mov eax, dword [0x140769c04]
cdqe
imul rax, rax, 0x170
add rax, rdx
lea rdx, str.Mouse
mov qword [rax + 0x148], rdx
mov rax, qword [0x1401c3c00]
mov rdx, qword [rax]
mov eax, dword [0x140769c04]
cdqe
imul rax, rax, 0x170
add rax, rdx
mov rcx, rax
call fcn.14009ae42
mov edx, dword [0x140769c04]
mov rax, qword [0x1401c3bf0]
mov dword [rax], edx
call fcn.1400a47b0
mov rdx, qword [rbp + 0x1d8]
mov eax, dword [rbp + 0x1d0]
mov ecx, eax
call fcn.1400a4bf0
call fcn.1400a4960
mov qword [rbp + 0x198], rax
mov rax, qword [rbp + 0x198]
mov r8d, 0
mov rdx, qword [fcn.14009da02]
mov rcx, rax
call fcn.1400a4990
call fcn.1400a4960
mov qword [rbp + 0x190], rax
mov rax, qword [rbp + 0x190]
mov r8d, 0
mov rdx, qword [0x1401c2c50]
mov rcx, rax
call fcn.1400a4990
mov dword [0x1402126d8], 1
mov rdx, qword [rbp + 0x1d8]
mov eax, dword [rbp + 0x1d0]
mov ecx, eax
call fcn.1400a4c30
mov ebx, 0
lea rax, [rbp - 0x50]
mov rcx, rax
call fcn.14014de70
mov eax, ebx
jmp 0x14009364c
add rsp, 0x238
pop rbx
pop rbp
ret