Function at 0x14008a7b0
Capabilities:
Get geographical location
Get keyboard layout
Log keystrokes via polling

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0x98
mov rax, qword [0x1401910c0]
xor rax, rsp
mov qword [rbp + 7], rax
mov r14, qword [0x1401968a8]
mov r15, r9
mov qword [rbp - 9], r8
mov edi, edx
mov r12, rcx
test r14, r14
je case.0x14008ae3f.527
lea rsi, [r14 + 8]
mov r14, qword [r14 + 0x90]
cmp edx, 0x200
ja 0x14008ae15
je case.0x14008a837.160
lea eax, [rdx - 7]
cmp eax, 0xfe
ja case.0x14008ae3f.527
lea rdx, [0x140000000]
movzx eax, byte [rdx + rax + 0x8b070]
mov ecx, dword [rdx + rax*4 + 0x8b054]
add rcx, rdx
jmp rcx
lea eax, [rdi - 0x100]
mov r14d, 0x100
test eax, 0xfffffffb
sete dil
cmp r8, r14
jae case.0x14008ae3f.527
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov edx, 0x1000
and al, 1
mov rcx, rsi
movzx r8d, al
call fcn.14004c240
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov edx, 0x2000
and al, 1
mov rcx, rsi
movzx r8d, al
call fcn.14004c240
mov ecx, 0x12
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov edx, 0x4000
and al, 1
mov rcx, rsi
movzx r8d, al
call fcn.14004c240
mov ecx, 0x5d
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov edx, 0x8000
and al, 1
mov rcx, rsi
movzx r8d, al
call fcn.14004c240
mov rbx, qword [rbp - 9]
cmp rbx, 0xd
jne 0x14008a8f5
shr r15, 0x10
mov eax, 0x10d
test r14w, r15w
cmovne ebx, eax
movsxd r15, ebx
mov rcx, r15
call fcn.14008a1d0
movsxd rsi, eax
cmp esi, 0x262
jne 0x14008a969
test dil, dil
jne 0x14008a96d
mov r14, qword [0x1401968a8]
mov r8b, 1
mov edx, esi
lea rcx, [r14 + 8]
call fcn.14004c240
movzx r8d, dil
mov edx, esi
cmp ebx, 0x1ff
ja 0x14008a957
mov dword [r14 + r15*4 + 0xf0], esi
mov dword [r14 + 0xa78], ebx
mov r14, qword [0x1401968a8]
add r14, 8
mov rcx, r14
call fcn.14004c240
jmp 0x14008a98e
mov rcx, qword [0x1401968a8]
add rcx, 8
call fcn.14004c240
jmp 0x14008a99e
test eax, eax
je 0x14008a99e
mov r14, qword [0x1401968a8]
movzx r8d, dil
add r14, 8
mov edx, esi
mov rcx, r14
call fcn.14004c240
cmp ebx, 0x1ff
ja 0x14008a99e
mov dword [r14 + r15*4 + 0xe8], esi
mov dword [r14 + rsi*4 + 0xe8], ebx
cmp ebx, 0x10
jne 0x14008aa34
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, dil
jne 0x14008a9e9
mov rbx, qword [0x1401968a8]
movzx r8d, dil
mov edx, 0x210
lea rcx, [rbx + 8]
call fcn.14004c240
mov dword [rbx + 0x370], 0x210
mov dword [rbx + 0x930], 0xa0
mov ecx, 0xa1
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, dil
jne case.0x14008ae3f.527
mov rbx, qword [0x1401968a8]
movzx r8d, dil
mov edx, 0x214
lea rcx, [rbx + 8]
call fcn.14004c240
mov dword [rbx + 0x374], 0x214
mov dword [rbx + 0x940], 0xa1
jmp case.0x14008ae3f.527
cmp ebx, 0x11
jne 0x14008aaca
mov ecx, 0xa2
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, dil
jne 0x14008aa7f
mov rbx, qword [0x1401968a8]
movzx r8d, dil
mov edx, 0x20f
lea rcx, [rbx + 8]
call fcn.14004c240
mov dword [rbx + 0x378], 0x20f
mov dword [rbx + 0x92c], 0xa2
mov ecx, 0xa3
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, dil
jne case.0x14008ae3f.527
mov rbx, qword [0x1401968a8]
movzx r8d, dil
mov edx, 0x213
lea rcx, [rbx + 8]
call fcn.14004c240
mov dword [rbx + 0x37c], 0x213
mov dword [rbx + 0x93c], 0xa3
jmp case.0x14008ae3f.527
cmp ebx, 0x12
jne case.0x14008ae3f.527
mov ecx, 0xa4
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, dil
jne 0x14008ab15
mov rbx, qword [0x1401968a8]
movzx r8d, dil
mov edx, 0x211
lea rcx, [rbx + 8]
call fcn.14004c240
mov dword [rbx + 0x380], 0x211
mov dword [rbx + 0x934], 0xa4
mov ecx, 0xa5
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, dil
jne case.0x14008ae3f.527
mov rbx, qword [0x1401968a8]
movzx r8d, dil
mov edx, 0x215
lea rcx, [rbx + 8]
call fcn.14004c240
mov dword [rbx + 0x384], 0x215
mov dword [rbx + 0x944], 0xa5
jmp case.0x14008ae3f.527
mov rdx, qword [rsi + 0xe38]
cmp edi, 7
sete r8b
lea r9, [rdx + 0x3f80]
mov eax, dword [r9]
sub eax, 1
js 0x14008ab9f
movsxd rcx, eax
imul rax, rcx, 0x1c
add rax, qword [rdx + 0x3f88]
nop dword [rax + rax]
cmp dword [rax], 6
je 0x14008abfe
sub rax, 0x1c
sub rcx, 1
jns 0x14008ab90
cmp byte [rdx + 0x38d8], 0
sete cl
cmp cl, r8b
je case.0x14008ae3f.527
cmp byte [rsi + 0x72], 0
je 0x14008abc1
cmp edi, 7
jne case.0x14008ae3f.527
xor eax, eax
xorps xmm0, xmm0
movups xmmword [rbp - 0x49], xmm0
mov qword [rbp - 0x39], rax
mov rcx, r9
mov dword [rbp - 0x31], eax
mov eax, dword [rdx + 0x3fa4]
mov dword [rbp - 0x41], eax
inc eax
mov dword [rdx + 0x3fa4], eax
lea rdx, [rbp - 0x49]
mov dword [rbp - 0x49], 6
mov byte [rbp - 0x3d], r8b
call fcn.140064060
jmp case.0x14008ae3f.527
movzx ecx, byte [rax + 0xc]
jmp 0x14008aba9
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
shr rax, 0x10
mov r9d, 4
movzx ecx, ax
lea r8, [r14 + 0x2c]
mov edx, 0x20001004
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne case.0x14008ae3f.527
xor ebx, ebx
mov dword [r14 + 0x2c], ebx
jmp case.0x14008ae3f.527
mov rcx, r12
call qword [sym.imp.USER32.dll_IsWindowUnicode]
test eax, eax
je 0x14008ac69
mov rdx, qword [rbp - 9]
lea rax, [rdx - 1]
cmp rax, 0xfffe
ja case.0x14008ae3f.527
mov rcx, rsi
call fcn.14004c0b0
jmp case.0x14008ae3f.527
mov eax, 1
lea rcx, [rbp - 0x11]
mov dword [rsp + 0x28], eax
lea r8, [rbp - 9]
mov qword [rsp + 0x20], rcx
xor ebx, ebx
mov ecx, dword [r14 + 0x2c]
mov r9d, eax
mov edx, eax
mov word [rbp - 0x11], bx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movzx r8d, word [rbp - 0x11]
mov rdx, qword [rsi + 0xe38]
test r8d, r8d
je case.0x14008ae3f.527
cmp byte [rsi + 0x38d1], bl
je case.0x14008ae3f.527
mov eax, dword [rdx + 0x3fa4]
mov ecx, 2
mov dword [rbp - 0x41], eax
inc eax
mov dword [rbp - 0x45], ecx
lea rcx, [rdx + 0x3f80]
mov dword [rdx + 0x3fa4], eax
lea rdx, [rbp - 0x49]
mov qword [rbp - 0x39], rbx
mov dword [rbp - 0x31], ebx
mov dword [rbp - 0x49], 5
mov dword [rbp - 0x3d], r8d
call fcn.140064060
jmp case.0x14008ae3f.527
cmp r15w, 1
jne case.0x14008ae3f.527
call fcn.140089d30
test al, al
je case.0x14008ae3f.527
mov eax, 1
jmp 0x14008b031
call qword [sym.imp.USER32.dll_GetMessageExtraInfo]
mov ecx, 0xffffff80
xor ebx, ebx
mov r8, rax
mov edx, 0xff515700
and r8, rcx
lea ecx, [rbx + 2]
cmp r8, rdx
jne 0x14008ad3c
mov dword [rbp - 0x11], ecx
jmp 0x14008ad4c
mov edx, ebx
mov eax, 0xff515780
cmp r8, rax
sete dl
mov dword [rbp - 0x11], edx
mov eax, dword [r14 + 0x10]
cmp edi, 0x200
mov r13d, ebx
mov qword [r14 + 8], r12
setne r13b
inc r13d
cmp eax, r13d
je 0x14008adb9
cmp edi, 0x200
mov dword [rbp - 0x29], 0x18
mov edx, 0x12
mov dword [rbp - 0x25], 0x80000000
cmovne ecx, edx
mov qword [rbp - 0x21], r12
mov dword [rbp - 0x45], ecx
mov dword [rbp - 0x19], ebx
mov dword [rbp - 0x49], 0x18
mov qword [rbp - 0x41], r12
mov dword [rbp - 0x39], ebx
test eax, eax
je 0x14008adab
lea rcx, [rbp - 0x29]
call qword [sym.imp.USER32.dll_TrackMouseEvent]
lea rcx, [rbp - 0x49]
call qword [sym.imp.USER32.dll_TrackMouseEvent]
mov dword [r14 + 0x10], r13d
movsx eax, r15w
shr r15, 0x10
mov dword [rbp - 1], eax
movsx eax, r15w
mov dword [rbp + 3], eax
cmp edi, 0xa0
jne 0x14008ade8
lea rdx, [rbp - 1]
mov rcx, r12
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je case.0x14008ae3f.527
mov rax, qword [rsi + 0xe38]
mov ecx, dword [rbp - 0x11]
mov dword [rax + 0x3fa0], ecx
mov rcx, rsi
movd xmm2, dword [rbp + 3]
movd xmm1, dword [rbp - 1]
cvtdq2ps xmm2, xmm2
cvtdq2ps xmm1, xmm1
call fcn.14004c380
jmp case.0x14008ae3f.527
lea eax, [rdx - 0x201]
cmp eax, 0xa2
ja case.0x14008ae3f.527
lea rdx, [0x140000000]
movzx eax, byte [rdx + rax + 0x8b18c]
mov ecx, dword [rdx + rax*4 + 0x8b170]
add rcx, rdx
jmp rcx
xor ebx, ebx
cmp edi, 0x2a3
mov eax, ebx
setne al
inc eax
cmp dword [r14 + 0x10], eax
jne case.0x14008ae3f.527
cmp qword [r14 + 8], r12
jne 0x14008ae64
mov qword [r14 + 8], rbx
movss xmm1, dword [0x1401731cc]
mov rcx, rsi
movaps xmm2, xmm1
mov dword [r14 + 0x10], ebx
call fcn.14004c380
jmp case.0x14008ae3f.527
call qword [sym.imp.USER32.dll_GetMessageExtraInfo]
mov ecx, 0xffffff80
xor ebx, ebx
mov r8, rax
mov edx, 0xff515700
and r8, rcx
lea ecx, [rbx + 2]
cmp r8, rdx
jne 0x14008aea5
mov r13d, ecx
jmp 0x14008aeb4
mov eax, 0xff515780
mov r13d, ebx
cmp r8, rax
sete r13b
lea eax, [rdi - 0x204]
mov r15d, ebx
test eax, 0xfffffffd
mov eax, 1
cmove r15d, eax
lea eax, [rdi - 0x207]
test eax, 0xfffffffd
lea eax, [rdi - 0x20b]
cmove r15d, ecx
test eax, 0xfffffffd
jne 0x14008aefe
mov rax, qword [rbp - 9]
mov r15d, ebx
shr rax, 0x10
cmp ax, 1
setne r15b
add r15d, 3
cmp dword [r14 + 0x14], ebx
jne 0x14008af18
call qword [sym.imp.USER32.dll_GetCapture]
test rax, rax
jne 0x14008af18
mov rcx, r12
call qword [sym.imp.USER32.dll_SetCapture]
mov eax, dword [r14 + 0x14]
mov r8b, 1
bts eax, r15d
mov edx, r15d
mov dword [r14 + 0x14], eax
mov rcx, rsi
mov rax, qword [rsi + 0xe38]
mov dword [rax + 0x3fa0], r13d
call fcn.14004c4c0
jmp case.0x14008ae3f.527
call qword [sym.imp.USER32.dll_GetMessageExtraInfo]
mov ecx, 0xffffff80
xor ebx, ebx
mov r8, rax
mov edx, 0xff515700
and r8, rcx
lea ecx, [rbx + 2]
cmp r8, rdx
jne 0x14008af6a
mov r13d, ecx
jmp 0x14008af79
mov eax, 0xff515780
mov r13d, ebx
cmp r8, rax
sete r13b
cmp edi, 0x205
mov r15d, ebx
sete r15b
cmp edi, 0x208
jne 0x14008af93
mov r15d, ecx
jmp 0x14008afb2
cmp edi, 0x20c
jne 0x14008afb2
mov rax, qword [rbp - 9]
mov r15d, ebx
shr rax, 0x10
cmp ax, 1
setne r15b
add r15d, 3
mov eax, dword [r14 + 0x14]
btr eax, r15d
mov dword [r14 + 0x14], eax
test eax, eax
jne 0x14008afd3
call qword [sym.imp.USER32.dll_GetCapture]
cmp rax, r12
jne 0x14008afd3
call qword [sym.imp.USER32.dll_ReleaseCapture]
mov rax, qword [rsi + 0xe38]
xor r8d, r8d
mov edx, r15d
mov rcx, rsi
mov dword [rax + 0x3fa0], r13d
call fcn.14004c4c0
jmp case.0x14008ae3f.527
shr r8, 0x10
xorps xmm1, xmm1
movsx eax, r8w
movd xmm2, eax
cvtdq2ps xmm2, xmm2
mulss xmm2, dword [0x140172fb4]
jmp 0x14008b027
shr r8, 0x10
xorps xmm2, xmm2
movsx eax, r8w
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mulss xmm1, dword [0x140173178]
mov rcx, rsi
call fcn.14004c580
xor eax, eax
mov rcx, qword [rbp + 7]
xor rcx, rsp
call fcn.1400fe220
add rsp, 0x98
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret