Function at 0x180068a40
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
push rbp
push rdi
lea rbp, [rax - 0x68]
sub rsp, 0x158
xor edi, edi
mov dword [0x1802da4f0], edi
mov dword [0x1802da500], edi
cmp cl, 1
jne 0x1800696fd
mov qword [rax + 0x20], rbx
mov qword [rax - 0x18], rsi
mov qword [rax - 0x20], r12
mov qword [rax - 0x28], r13
mov qword [rax - 0x30], r14
mov qword [rax - 0x38], r15
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
movaps xmmword [rax - 0x68], xmm8
movaps xmmword [rax - 0x78], xmm9
movaps xmmword [rax - 0x88], xmm10
movaps xmmword [rax - 0x98], xmm11
movaps xmmword [rax - 0xa8], xmm12
movabs rax, 0xd80958fc74e988a6
mov qword [0x18034fb80], rax
call fcn.1800cf2b0
movabs r14, 0x4f8644af03d0e0d6
mov qword [0x18034fb80], r14
mov ebx, dword [rax]
mov dword [0x1802da4f0], edi
mov dword [0x1802da500], edi
call fcn.1800cf2b0
mov qword [rbp + 0x80], rdi
movabs rsi, 0x50fac3a3e030a6e1
mov qword [0x18034fb80], rsi
mov ecx, dword [rax]
mov dword [rbp + 0x80], ecx
mov rax, qword [rbp + 0x80]
mov qword [0x1802da5c8], rax
mov dword [0x1802da500], edi
mov dword [0x1802da4f0], 1
call fcn.1800cf2b0
mov qword [rbp + 0x80], rdi
mov ecx, dword [rax]
movabs rax, 0xf0a4f1bbf4fa7497
mov dword [rbp + 0x80], ecx
mov qword [0x18034fb80], rax
mov rax, qword [rbp + 0x80]
mov qword [rbp + 0x80], rdi
mov qword [0x1802da5c8], rax
mov dword [rbp + 0x80], edi
mov rax, qword [rbp + 0x80]
mov qword [0x1802da5d0], rax
mov dword [0x1802da500], edi
mov dword [0x1802da4f0], 2
call fcn.1800cf2b0
mov dword [0x1802da4f0], edi
mov dword [0x1802da500], edi
mov qword [0x18034fb80], r14
call fcn.1800cf2b0
mov qword [rbp + 0x80], rdi
mov qword [0x18034fb80], rsi
mov ecx, dword [rax]
mov dword [rbp + 0x80], ecx
mov rax, qword [rbp + 0x80]
mov qword [0x1802da5c8], rax
mov dword [0x1802da500], edi
mov dword [0x1802da4f0], 1
call fcn.1800cf2b0
mov qword [rbp + 0x80], rdi
mov ecx, dword [rax]
movabs rax, 0xdf993ee5e90aba25
mov dword [rbp + 0x80], ecx
mov qword [0x18034fb80], rax
mov rax, qword [rbp + 0x80]
mov qword [rbp + 0x80], rdi
mov qword [0x1802da5c8], rax
mov dword [rbp + 0x80], edi
mov rax, qword [rbp + 0x80]
mov qword [0x1802da5d0], rax
mov dword [0x1802da500], edi
mov dword [0x1802da4f0], 2
call fcn.1800cf2b0
mov dword [0x1802da4f0], edi
mov dword [0x1802da500], edi
mov qword [0x18034fb80], r14
call fcn.1800cf2b0
mov qword [0x18034fb80], rsi
mov qword [rbp + 0x80], rdi
mov ecx, dword [rax]
mov dword [0x1802da500], edi
mov dword [rbp + 0x80], ecx
mov rax, qword [rbp + 0x80]
mov qword [0x1802da5c8], rax
mov dword [0x1802da4f0], 1
call fcn.1800cf2b0
mov qword [rbp + 0x80], rdi
mov ecx, dword [rax]
movabs rax, 0xb128377056a54e2a
mov dword [rbp + 0x80], ecx
mov qword [0x18034fb80], rax
mov rax, qword [rbp + 0x80]
mov qword [rbp + 0x80], rdi
mov qword [0x1802da5c8], rax
mov dword [rbp + 0x80], edi
mov rax, qword [rbp + 0x80]
mov qword [0x1802da5d0], rax
mov dword [0x1802da500], edi
mov dword [0x1802da4f0], 2
call fcn.1800cf2b0
movabs rax, 0x202709f4c58a0424
mov dword [0x1802da500], edi
lea r13, str.STRING
mov qword [0x18034fb80], rax
mov qword [0x1802da5c8], r13
mov dword [0x1802da4f0], 1
call fcn.1800cf2b0
lea rax, str.wHold_down_the_left_and_right_mouse_buttons_
mov dword [0x1802da500], edi
movabs r15, 0x6c188be134e074aa
mov qword [0x1802da5c8], rax
mov qword [0x18034fb80], r15
mov dword [0x1802da4f0], 1
call fcn.1800cf2b0
movss xmm6, dword [0x180269c70]
lea r12, str.instructions
mov qword [rsp + 0x40], r12
lea r14, str.wVip
movss dword [rsp + 0x38], xmm6
lea rsi, str.wExplos1ve
mov qword [rsp + 0x30], r14
lea r8, str.char
lea rdx, str.exFilLocat
mov qword [rsp + 0x28], rsi
call fcn.1800adcc0
call fcn.1800ad6e0
movabs rax, 0x202709f4c58a0424
mov dword [0x1802da500], edi
mov qword [0x18034fb80], rax
mov qword [0x1802da5c8], r13
mov dword [0x1802da4f0], 1
call fcn.1800cf2b0
lea rax, str.wPress_space_to_fly_
mov dword [0x1802da500], edi
mov qword [0x1802da5c8], rax
mov qword [0x18034fb80], r15
mov dword [0x1802da4f0], 1
call fcn.1800cf2b0
mov qword [rsp + 0x40], r12
lea r8, str.char
movss dword [rsp + 0x38], xmm6
lea rdx, str.exFilLocat
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], rsi
call fcn.1800adcc0
call fcn.1800ad6e0
movabs rax, 0x2c933abf17a1df41
mov dword [0x1802da500], edi
mov qword [0x18034fb80], rax
lea rax, str.drug_flying_01
mov qword [0x1802da5c8], rax
mov dword [0x1802da4f0], 1
call fcn.1800cf2b0
lea r8d, [rdi + 0xe]
mov qword [rbp - 0x48], 0xf
lea rdx, str.WEAPON_UNARMED
mov qword [rbp - 0x50], rdi
lea rcx, [rbp - 0x60]
mov byte [rbp - 0x60], dil
call fcn.18003d620
lea rcx, [rbp - 0x60]
call fcn.1800b2770
mov qword [rbp + 0x80], rdi
movabs rcx, 0xadf692b254977c0c
mov dword [rbp + 0x80], ebx
mov qword [0x18034fb80], rcx
mov rcx, qword [rbp + 0x80]
mov qword [rbp + 0x80], rdi
mov dword [rbp + 0x80], eax
mov rax, qword [rbp + 0x80]
mov qword [rbp + 0x80], rdi
mov qword [0x1802da5d0], rax
mov dword [rbp + 0x80], 1
mov rax, qword [rbp + 0x80]
mov qword [0x1802da5d8], rax
mov dword [0x1802da500], edi
mov qword [0x1802da5c8], rcx
mov dword [0x1802da4f0], 3
call fcn.1800cf2b0
movabs r14, 0xd80958fc74e988a6
mov dword [0x1802da4f0], edi
mov qword [0x18034fb80], r14
mov dword [0x1802da500], edi
call fcn.1800cf2b0
lea ecx, [rdi + 0x20]
mov ebx, dword [rax]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov r13, qword [rsp + 0x140]
xorps xmm9, xmm9
mov r12, qword [rsp + 0x148]
test ax, ax
je 0x180068f97
movss xmm0, dword [0x180269ea4]
lea r8d, [rdi + 1]
mov dword [rsp + 0x68], edi
movaps xmm3, xmm9
mov dword [rsp + 0x60], 1
mov edx, ebx
mov dword [rsp + 0x58], 1
mov dword [rsp + 0x50], 1
mov dword [rsp + 0x48], 1
movss dword [rsp + 0x40], xmm9
movss dword [rsp + 0x38], xmm9
movss dword [rsp + 0x30], xmm9
movss dword [rsp + 0x28], xmm0
movss dword [rsp + 0x20], xmm9
call fcn.1800ae8d0
movabs rax, 0x886e37ec497200b6
mov qword [rbp + 0x80], rdi
mov qword [0x18034fb80], rax
mov dword [rbp + 0x80], ebx
mov rax, qword [rbp + 0x80]
mov qword [0x1802da5c8], rax
mov dword [0x1802da500], edi
mov dword [0x1802da4f0], 1
call fcn.1800cf2b0
cmp dword [rax], edi
je 0x1800690f1
mov dword [0x1802da4f0], edi
mov dword [0x1802da500], edi
mov qword [0x18034fb80], r14
call fcn.1800cf2b0
movss xmm0, dword [0x180269b48]
mov qword [rbp + 0x80], rdi
mov ebx, dword [rax]
movabs rax, 0x1899f328b0e12848
mov qword [0x18034fb80], rax
mov dword [rbp + 0x80], ebx
mov rax, qword [rbp + 0x80]
mov qword [0x1802da5c8], rax
mov qword [rbp + 0x80], rdi
mov dword [rbp + 0x80], edi
mov rax, qword [rbp + 0x80]
mov qword [rbp + 0x80], rdi
movss dword [rbp + 0x80], xmm0
mov qword [0x1802da5d0], rax
mov rax, qword [rbp + 0x80]
mov qword [rbp + 0x80], rdi
mov qword [0x1802da5d8], rax
mov dword [rbp + 0x80], edi
mov rax, qword [rbp + 0x80]
mov qword [0x1802da5e0], rax
mov dword [0x1802da500], edi
mov dword [0x1802da4f0], 4
call fcn.1800cf2b0
movss xmm0, dword [0x180269cc8]
movaps xmm3, xmm9
mov dword [rsp + 0x68], edi
mov r8d, 1
mov dword [rsp + 0x60], 1
mov edx, ebx
mov dword [rsp + 0x58], 1
mov dword [rsp + 0x50], 1
mov dword [rsp + 0x48], edi
movss dword [rsp + 0x40], xmm9
movss dword [rsp + 0x38], xmm9
movss dword [rsp + 0x30], xmm9
movss dword [rsp + 0x28], xmm9
movss dword [rsp + 0x20], xmm0
call fcn.1800ae8d0
mov dword [0x1802da4f0], edi
mov dword [0x1802da500], edi
mov qword [0x18034fb80], r14
call fcn.1800cf2b0
mov qword [rbp + 0x80], rdi
mov ecx, dword [rax]
movabs rax, 0x3a87e44bb9a01d54
mov qword [0x18034fb80], rax
mov dword [rbp + 0x80], ecx
mov rax, qword [rbp + 0x80]
mov qword [0x1802da5c8], rax
lea rax, [rbp + 0x78]
mov qword [rbp + 0x80], rdi
mov qword [0x1802da5d0], rax
mov dword [rbp + 0x80], 1
mov rax, qword [rbp + 0x80]
mov qword [0x1802da5d8], rax
mov dword [0x1802da500], edi
mov dword [0x1802da4f0], 3
call fcn.1800cf2b0
movabs rsi, 0x4f8644af03d0e0d6
mov dword [0x1802da4f0], edi
mov qword [0x18034fb80], rsi
mov dword [0x1802da500], edi
call fcn.1800cf2b0
mov dword [0x1802da4f0], edi
mov dword [0x1802da500], edi
mov qword [0x18034fb80], r14
call fcn.1800cf2b0
movabs rax, 0x837765a25378f0bb
mov qword [rbp + 0x80], rdi
mov qword [0x18034fb80], rax
mov dword [rbp + 0x80], edi
mov rax, qword [rbp + 0x80]
mov qword [0x1802da5c8], rax
mov dword [0x1802da500], edi
mov dword [0x1802da4f0], 1
call fcn.1800cf2b0
xorps xmm7, xmm7
movsd xmm0, qword [rax + 0x10]
movups xmm2, xmmword [rax]
movsd qword [rbp - 0x70], xmm0
movss xmm8, dword [rbp - 0x70]
cvtss2sd xmm7, xmm2
cvtps2pd xmm8, xmm8
mulsd xmm7, qword [0x180269ca8]
mulsd xmm8, qword [0x180269ca8]
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_cos
movaps xmm6, xmm0
movaps xmm0, xmm8
andps xmm6, xmmword [0x18026ec30]
call sub.api_ms_win_crt_math_l1_1_0.dll_sin
xorps xmm2, xmm2
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movaps xmm0, xmm8
xorps xmm1, xmmword [0x18026ec40]
cvtss2sd xmm2, xmm1
mulsd xmm2, xmm6
cvtpd2ps xmm10, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll_cos
mulsd xmm0, xmm6
xorps xmm8, xmm8
cvtsd2ss xmm8, xmm0
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_sin
movabs rax, 0x14d6f5678d8f1b37
mov dword [0x1802da4f0], edi
xorps xmm6, xmm6
mov qword [0x18034fb80], rax
cvtsd2ss xmm6, xmm0
mov dword [0x1802da500], edi
call fcn.1800cf2b0
mov qword [0x18034fb80], r14
movsd xmm1, qword [rax + 0x10]
movups xmm7, xmmword [rax]
mov dword [0x1802da4f0], edi
movsd qword [rbp - 0x50], xmm1
mov dword [0x1802da500], edi
call fcn.1800cf2b0
mov ecx, dword [rax]
movabs r15, 0x3fef770d40960d5a
mov qword [rbp + 0x80], rdi
mov dword [rbp + 0x80], ecx
mov rax, qword [rbp + 0x80]
mov qword [rbp + 0x80], rdi
mov qword [0x1802da5c8], rax
mov dword [rbp + 0x80], 1
mov rax, qword [rbp + 0x80]
mov qword [0x1802da5d0], rax
mov dword [0x1802da500], edi
mov qword [0x18034fb80], r15
mov dword [0x1802da4f0], 2
call fcn.1800cf2b0
movss xmm12, dword [rbp - 0x50]
movaps xmm11, xmm7
shufps xmm11, xmm7, 0xaa
movups xmm0, xmmword [rax]
movsd xmm1, qword [rax + 0x10]
movups xmm2, xmm0
movsd qword [rbp - 0x70], xmm1
subss xmm0, xmm7
shufps xmm2, xmm2, 0xaa
xorps xmm1, xmm1
subss xmm2, xmm11
cvtss2sd xmm1, xmm0
xorps xmm0, xmm0
mulsd xmm1, xmm1
cvtss2sd xmm0, xmm2
mulsd xmm0, xmm0
addsd xmm0, xmm1
movss xmm1, dword [rbp - 0x70]
subss xmm1, xmm12
cvtps2pd xmm1, xmm1
addsd xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrt
xorps xmm1, xmm1
mov dword [0x1802da4f0], edi
cvtsd2ss xmm1, xmm0
mov dword [0x1802da500], edi
mov qword [0x18034fb80], rsi
movaps xmm0, xmm10
movaps xmm2, xmm8
addss xmm1, dword [0x180269fa8]
movaps xmm3, xmm6
mulss xmm0, xmm1
mulss xmm2, xmm1
mulss xmm3, xmm1
addss xmm7, xmm0
addss xmm11, xmm2
addss xmm12, xmm3
call fcn.1800cf2b0
cmp byte [0x18033fe24], dil
movabs r14, 0x2975c866e6713290
mov ebx, dword [rax]
je 0x1800695d3
mov dword [0x1802da4f0], edi
mov dword [0x1802da500], edi
mov qword [0x18034fb80], rsi
call fcn.1800cf2b0
mov qword [rbp + 0x80], rdi
mov qword [0x18034fb80], r14
mov ecx, dword [rax]
mov dword [rbp + 0x80], ecx
mov rax, qword [rbp + 0x80]
mov qword [0x1802da5c8], rax
lea rax, [rbp + 0x70]
mov qword [0x1802da5d0], rax
mov dword [0x1802da500], edi
mov dword [0x1802da4f0], 2
call fcn.1800cf2b0
cmp dword [rax], edi
je 0x1800695d3
mov ecx, 2
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1800695d3
mov eax, dword [rbp + 0x70]
mov qword [rbp + 0x80], rdi
mov dword [rbp + 0x80], eax
mov rax, qword [rbp + 0x80]
mov qword [rbp + 0x80], rdi
mov qword [0x1802da5c8], rax
mov dword [rbp + 0x80], edi
mov rax, qword [rbp + 0x80]
mov qword [0x1802da5d0], rax
mov dword [0x1802da500], edi
mov qword [0x18034fb80], r15
mov dword [0x1802da4f0], 2
call fcn.1800cf2b0
mov edx, 1
mov ecx, ebx
call fcn.1800ad680
mov ecx, dword [rbp + 0x70]
call fcn.1800ad630
test eax, eax
je 0x1800694ed
mov ecx, dword [rbp + 0x70]
mov edx, 1
call fcn.1800afff0
test eax, eax
je 0x1800694ed
mov ecx, dword [rbp + 0x70]
xor edx, edx
call fcn.1800afb50
mov dword [rbp + 0x70], eax
jmp 0x1800694f0
mov eax, dword [rbp + 0x70]
mov ecx, eax
call fcn.1800b2020
mov ecx, dword [rbp + 0x70]
call fcn.1800ad5e0
test eax, eax
je 0x180069515
mov ecx, ebx
call fcn.1800b01c0
mov ecx, dword [rbp + 0x70]
movaps xmm1, xmm0
call fcn.1800b0210
mov edx, dword [rbp + 0x70]
movaps xmm3, xmm11
mov dword [rsp + 0x38], edi
movaps xmm2, xmm7
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], edi
movss dword [rsp + 0x20], xmm12
call fcn.1800ad880
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1800695d3
mov ecx, ebx
call fcn.1800b01c0
mov ecx, dword [rbp + 0x70]
movaps xmm1, xmm0
call fcn.1800b0210
movss xmm0, dword [0x18026bcf0]
mov r8d, 1
mov edx, dword [rbp + 0x70]
mov dword [rsp + 0x68], edi
mov dword [rsp + 0x60], 1
mov dword [rsp + 0x58], 1
mov dword [rsp + 0x50], edi
mov dword [rsp + 0x48], edi
movss dword [rsp + 0x40], xmm9
movss dword [rsp + 0x38], xmm9
mulss xmm6, xmm0
mulss xmm10, xmm0
mulss xmm8, xmm0
movss dword [rsp + 0x30], xmm9
movaps xmm3, xmm10
movss dword [rsp + 0x28], xmm6
movss dword [rsp + 0x20], xmm8
call fcn.1800ae8d0
xor edx, edx
mov byte [0x18033fe24], dil
mov ecx, ebx
call fcn.1800ad680
mov dword [0x1802da4f0], edi
mov dword [0x1802da500], edi
mov qword [0x18034fb80], rsi
call fcn.1800cf2b0
mov qword [rbp + 0x80], rdi
mov qword [0x18034fb80], r14
mov ecx, dword [rax]
mov dword [rbp + 0x80], ecx
mov rax, qword [rbp + 0x80]
mov qword [0x1802da5c8], rax
lea rax, [rbp + 0x70]
mov qword [0x1802da5d0], rax
mov dword [0x1802da500], edi
mov dword [0x1802da4f0], 2
call fcn.1800cf2b0
movaps xmm12, xmmword [rsp + 0xc0]
movaps xmm11, xmmword [rsp + 0xd0]
movaps xmm10, xmmword [rsp + 0xe0]
movaps xmm9, xmmword [rsp + 0xf0]
movaps xmm8, xmmword [rsp + 0x100]
movaps xmm7, xmmword [rsp + 0x110]
movaps xmm6, xmmword [rsp + 0x120]
mov r15, qword [rsp + 0x130]
mov r14, qword [rsp + 0x138]
mov rsi, qword [rsp + 0x150]
cmp dword [rax], edi
jne 0x1800696eb
mov qword [rbp + 0x80], rdi
movabs rax, 0x5e6cc07646bbeab8
mov qword [0x18034fb80], rax
mov dword [rbp + 0x80], ebx
mov rax, qword [rbp + 0x80]
mov qword [rbp + 0x80], rdi
mov qword [0x1802da5c8], rax
mov dword [rbp + 0x80], edi
mov rax, qword [rbp + 0x80]
mov qword [0x1802da5d0], rax
mov byte [0x18033fe24], 1
mov dword [0x1802da500], edi
mov dword [0x1802da4f0], 2
call fcn.1800cf2b0
mov rbx, qword [rsp + 0x188]
add rsp, 0x158
pop rdi
pop rbp
ret
movabs rax, 0xf07e7745a236711
mov qword [0x18034fb80], rax
add rsp, 0x158
pop rdi
pop rbp
jmp fcn.1800cf2b0