Function at 0x18000db40
Capabilities:
Log keystrokes via polling

Disassembly:
test cl, cl
je 0x18000e0e0
mov r11, rsp
sub rsp, 0x128
mov rax, qword [0x1800972c0]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
movabs rdi, 0xd80958fc74e988a6
mov qword [r11 - 8], r14
mov rcx, rdi
movaps xmmword [r11 - 0x18], xmm6
movaps xmmword [r11 - 0x28], xmm7
movaps xmmword [r11 - 0x38], xmm8
movaps xmmword [r11 - 0x48], xmm9
movaps xmmword [r11 - 0x58], xmm10
movaps xmmword [r11 - 0x68], xmm11
movaps xmmword [r11 - 0x78], xmm12
call fcn.180021610
call fcn.1800215a0
movabs rcx, 0x3a87e44bb9a01d54
mov ebx, dword [rax]
call fcn.180021610
xor esi, esi
mov qword [rsp + 0x78], rsi
mov dword [rsp + 0x78], ebx
mov rcx, qword [rsp + 0x78]
call fcn.180021630
lea rcx, [rsp + 0x80]
call fcn.180021630
mov qword [rsp + 0x78], rsi
mov dword [rsp + 0x78], 1
mov rcx, qword [rsp + 0x78]
call fcn.180021630
call fcn.1800215a0
movabs rbp, 0x4f8644af03d0e0d6
mov rcx, rbp
call fcn.180021610
call fcn.1800215a0
mov rcx, rdi
call fcn.180021610
call fcn.1800215a0
movabs rcx, 0x837765a25378f0bb
call fcn.180021610
mov ecx, esi
call fcn.180021630
call fcn.1800215a0
xorps xmm8, xmm8
xorps xmm7, xmm7
movsd xmm2, qword [rax + 0x10]
movups xmm1, xmmword [rax]
movsd qword [rsp + 0x98], xmm2
mulss xmm1, dword [0x180055428]
mulss xmm2, dword [0x180055428]
cvtss2sd xmm8, xmm1
cvtss2sd xmm7, xmm2
movaps xmm0, xmm8
call sub.api_ms_win_crt_math_l1_1_0.dll_cos
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movaps xmm0, xmm7
andps xmm1, xmmword [0x180055540]
cvtps2pd xmm6, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_sin
xorps xmm1, xmm1
xorps xmm11, xmm11
cvtsd2ss xmm1, xmm0
movaps xmm0, xmm7
xorps xmm1, xmmword [0x180055570]
cvtss2sd xmm1, xmm1
mulsd xmm1, xmm6
cvtsd2ss xmm11, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_cos
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movaps xmm0, xmm8
cvtps2pd xmm2, xmm1
mulsd xmm2, xmm6
cvtpd2ps xmm10, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll_sin
movabs rcx, 0x14d6f5678d8f1b37
xorps xmm9, xmm9
cvtsd2ss xmm9, xmm0
call fcn.180021610
call fcn.1800215a0
movups xmm7, xmmword [rax]
mov rcx, rdi
movsd xmm12, qword [rax + 0x10]
call fcn.180021610
call fcn.1800215a0
movabs rcx, 0x3fef770d40960d5a
mov ebx, dword [rax]
call fcn.180021610
mov qword [rsp + 0x78], rsi
mov dword [rsp + 0x78], ebx
mov rcx, qword [rsp + 0x78]
call fcn.180021630
mov qword [rsp + 0x78], rsi
mov dword [rsp + 0x78], 1
mov rcx, qword [rsp + 0x78]
call fcn.180021630
call fcn.1800215a0
xorps xmm4, xmm4
xorps xmm1, xmm1
movaps xmm8, xmm7
shufps xmm8, xmm7, 0xaa
movups xmm2, xmmword [rax]
movsd xmm3, qword [rax + 0x10]
movaps xmm0, xmm2
movsd qword [rsp + 0x98], xmm3
subss xmm0, xmm7
shufps xmm2, xmm2, 0xaa
subss xmm2, xmm8
movsd qword [rsp + 0x98], xmm12
subss xmm3, xmm12
cvtss2sd xmm1, xmm0
cvtss2sd xmm4, xmm2
mulsd xmm1, xmm1
xorps xmm0, xmm0
mulsd xmm4, xmm4
cvtss2sd xmm0, xmm3
addsd xmm4, xmm1
xorps xmm1, xmm1
addsd xmm4, xmm0
ucomisd xmm1, xmm4
ja 0x18000ddb6
sqrtpd xmm0, xmm4
jmp 0x18000ddbe
movaps xmm0, xmm4
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrt
cvtsd2ss xmm0, xmm0
mov rcx, rbp
movaps xmm6, xmm11
addss xmm0, dword [0x1800554d4]
mulss xmm6, xmm0
addss xmm6, xmm7
movaps xmm7, xmm10
mulss xmm7, xmm0
addss xmm7, xmm8
movaps xmm8, xmm9
mulss xmm8, xmm0
addss xmm8, xmm12
call fcn.180021610
call fcn.1800215a0
cmp byte [0x1800a7807], sil
movabs r14, 0x2975c866e6713290
movaps xmm12, xmmword [rsp + 0xb0]
mov edi, dword [rax]
je 0x18000dffa
mov rcx, rbp
call fcn.180021610
call fcn.1800215a0
mov rcx, r14
mov ebx, dword [rax]
call fcn.180021610
mov qword [rsp + 0x78], rsi
mov dword [rsp + 0x78], ebx
mov rcx, qword [rsp + 0x78]
call fcn.180021630
lea rcx, [rsp + 0x70]
call fcn.180021630
call fcn.1800215a0
cmp dword [rax], esi
je 0x18000dffa
mov ecx, 2
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x18000dffa
mov edx, dword [rsp + 0x70]
lea rcx, [rsp + 0x88]
xor r8d, r8d
call fcn.180009160
mov edx, 1
mov ecx, edi
call fcn.180005d30
mov ecx, dword [rsp + 0x70]
call fcn.1800099a0
test eax, eax
je 0x18000dec5
mov ecx, dword [rsp + 0x70]
mov edx, 1
call fcn.180009a20
test eax, eax
je 0x18000dec5
mov ecx, dword [rsp + 0x70]
xor edx, edx
call fcn.180009640
mov dword [rsp + 0x70], eax
jmp 0x18000dec9
mov eax, dword [rsp + 0x70]
mov ecx, eax
call fcn.180009ed0
mov ebx, dword [rsp + 0x70]
movabs rcx, 0x6ac7003fa6e5575e
call fcn.180021610
mov qword [rsp + 0x78], rsi
mov dword [rsp + 0x78], ebx
mov rcx, qword [rsp + 0x78]
call fcn.180021630
call fcn.1800215a0
cmp dword [rax], esi
je 0x18000df12
mov ecx, edi
call fcn.1800091e0
mov ecx, dword [rsp + 0x70]
movaps xmm1, xmm0
call fcn.18000a2f0
mov ecx, dword [rsp + 0x70]
movaps xmm3, xmm8
mov dword [rsp + 0x30], esi
movaps xmm2, xmm7
mov dword [rsp + 0x28], esi
movaps xmm1, xmm6
mov dword [rsp + 0x20], esi
call fcn.18000a1f0
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x18000dffa
mov r8d, dword [rsp + 0x70]
lea r9, str.docks_heist_finale_2a_sounds
mov dword [rsp + 0x28], esi
lea rdx, str.Foot_Swish
mov ecx, 0xffffffff
mov dword [rsp + 0x20], esi
call fcn.180009d60
mov ecx, edi
call fcn.1800091e0
mov ecx, dword [rsp + 0x70]
movaps xmm1, xmm0
call fcn.18000a2f0
movss xmm0, dword [0x18005551c]
mov edx, 1
mov ecx, dword [rsp + 0x70]
mov dword [rsp + 0x68], 1
mov dword [rsp + 0x60], esi
mov dword [rsp + 0x58], 1
mov dword [rsp + 0x50], 1
mov dword [rsp + 0x48], esi
mov dword [rsp + 0x40], esi
mulss xmm9, xmm0
mulss xmm10, xmm0
mulss xmm11, xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x38], xmm0
movaps xmm3, xmm10
movss dword [rsp + 0x30], xmm0
movss dword [rsp + 0x28], xmm0
movaps xmm2, xmm11
movss dword [rsp + 0x20], xmm9
call fcn.180005830
xor edx, edx
mov byte [0x1800a7807], sil
mov ecx, edi
call fcn.180005d30
mov rcx, rbp
call fcn.180021610
call fcn.1800215a0
mov rcx, r14
mov ebx, dword [rax]
call fcn.180021610
mov qword [rsp + 0x78], rsi
mov dword [rsp + 0x78], ebx
mov rcx, qword [rsp + 0x78]
call fcn.180021630
lea rcx, [rsp + 0x70]
call fcn.180021630
call fcn.1800215a0
movaps xmm11, xmmword [rsp + 0xc0]
movaps xmm10, xmmword [rsp + 0xd0]
movaps xmm9, xmmword [rsp + 0xe0]
movaps xmm8, xmmword [rsp + 0xf0]
movaps xmm7, xmmword [rsp + 0x100]
movaps xmm6, xmmword [rsp + 0x110]
mov r14, qword [rsp + 0x120]
mov rbp, qword [rsp + 0x138]
mov rbx, qword [rsp + 0x130]
cmp dword [rax], esi
jne 0x18000e0b9
movabs rcx, 0x5e6cc07646bbeab8
mov byte [0x1800a7807], 1
call fcn.180021610
mov qword [rsp + 0x78], rsi
mov dword [rsp + 0x78], edi
mov rcx, qword [rsp + 0x78]
call fcn.180021630
mov rcx, rsi
call fcn.180021630
call fcn.1800215a0
mov rsi, qword [rsp + 0x140]
mov rdi, qword [rsp + 0x148]
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.18004dca0
add rsp, 0x128
ret