Function at 0x180003620
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, 0x88
mov rax, qword [0x180046400]
xor rax, rsp
mov qword [rbp + 0xf], rax
mov r14, r9
mov qword [rbp - 1], r8
mov edi, edx
mov r12, rcx
call fcn.18001d420
test rax, rax
je case.0x180003c1c.527
call fcn.18001d730
mov r15, rax
call fcn.18001d420
xor ebx, ebx
test rax, rax
je 0x180003683
call fcn.18001d730
mov rsi, qword [rax + 0x88]
jmp 0x180003686
mov rsi, rbx
cmp edi, 0x200
ja 0x180003bf2
je case.0x1800036bf.160
lea eax, [rdi - 7]
cmp eax, 0xfe
ja case.0x180003c1c.527
lea rdx, [0x180000000]
movzx eax, byte [rdx + rax + 0x3e58]
mov ecx, dword [rdx + rax*4 + 0x3e3c]
add rcx, rdx
jmp rcx
lea eax, [rdi - 0x100]
mov r15d, 0x100
test eax, 0xfffffffb
sete dil
cmp qword [rbp - 1], r15
jae case.0x180003c1c.527
call fcn.18001d730
mov ecx, 0x11
mov rbx, rax
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov edx, 0x1000
and al, 1
mov rcx, rbx
movzx r8d, al
call fcn.180016ce0
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov edx, 0x2000
and al, 1
mov rcx, rbx
movzx r8d, al
call fcn.180016ce0
mov ecx, 0x12
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov edx, 0x4000
and al, 1
mov rcx, rbx
movzx r8d, al
call fcn.180016ce0
mov ecx, 0x5d
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov edx, 0x8000
and al, 1
mov rcx, rbx
movzx r8d, al
call fcn.180016ce0
mov rsi, qword [rbp - 1]
cmp rsi, 0xd
jne 0x180003789
mov rax, r14
shr rax, 0x10
test r15w, ax
mov eax, 0x10d
cmovne esi, eax
movsxd rcx, esi
call fcn.180003040
shr r14, 0x10
mov r15d, eax
movzx r14d, r14b
cmp eax, 0x262
jne 0x1800037d9
test dil, dil
jne 0x1800037de
call fcn.18001d730
mov r8b, 1
mov edx, r15d
mov rcx, rax
mov rbx, rax
call fcn.180016ce0
mov r9d, r14d
mov dword [rsp + 0x20], 0xffffffff
mov r8d, esi
mov edx, r15d
mov rcx, rbx
call fcn.1800288b0
jmp 0x1800037de
test r15d, r15d
je 0x18000380e
call fcn.18001d730
movzx r8d, dil
mov edx, r15d
mov rcx, rax
mov rbx, rax
call fcn.180016ce0
mov r9d, r14d
mov dword [rsp + 0x20], 0xffffffff
mov r8d, esi
mov edx, r15d
mov rcx, rbx
call fcn.1800288b0
cmp esi, 0x10
jne 0x1800038b8
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, dil
jne 0x180003863
call fcn.18001d730
movzx r8d, dil
mov edx, 0x210
mov rcx, rax
mov rbx, rax
call fcn.180016ce0
mov r9d, r14d
mov dword [rsp + 0x20], 0xffffffff
mov edx, 0x210
mov r8d, 0xa0
mov rcx, rbx
call fcn.1800288b0
mov ecx, 0xa1
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, dil
jne case.0x180003c1c.527
call fcn.18001d730
movzx r8d, dil
mov edx, 0x214
mov rcx, rax
mov rbx, rax
call fcn.180016ce0
mov r9d, r14d
mov dword [rsp + 0x20], 0xffffffff
mov edx, 0x214
mov r8d, 0xa1
mov rcx, rbx
call fcn.1800288b0
jmp case.0x180003c1c.527
cmp esi, 0x11
jne 0x180003962
mov ecx, 0xa2
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, dil
jne 0x18000390d
call fcn.18001d730
movzx r8d, dil
mov edx, 0x20f
mov rcx, rax
mov rbx, rax
call fcn.180016ce0
mov r9d, r14d
mov dword [rsp + 0x20], 0xffffffff
mov edx, 0x20f
mov r8d, 0xa2
mov rcx, rbx
call fcn.1800288b0
mov ecx, 0xa3
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, dil
jne case.0x180003c1c.527
call fcn.18001d730
movzx r8d, dil
mov edx, 0x213
mov rcx, rax
mov rbx, rax
call fcn.180016ce0
mov r9d, r14d
mov dword [rsp + 0x20], 0xffffffff
mov edx, 0x213
mov r8d, 0xa3
mov rcx, rbx
call fcn.1800288b0
jmp case.0x180003c1c.527
cmp esi, 0x12
jne case.0x180003c1c.527
mov ecx, 0xa4
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, dil
jne 0x1800039b7
call fcn.18001d730
movzx r8d, dil
mov edx, 0x211
mov rcx, rax
mov rbx, rax
call fcn.180016ce0
mov r9d, r14d
mov dword [rsp + 0x20], 0xffffffff
mov edx, 0x211
mov r8d, 0xa4
mov rcx, rbx
call fcn.1800288b0
mov ecx, 0xa5
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, dil
jne case.0x180003c1c.527
call fcn.18001d730
movzx r8d, dil
mov edx, 0x215
mov rcx, rax
mov rbx, rax
call fcn.180016ce0
mov r9d, r14d
mov dword [rsp + 0x20], 0xffffffff
mov edx, 0x215
mov r8d, 0xa5
mov rcx, rbx
call fcn.1800288b0
jmp case.0x180003c1c.527
cmp edi, 7
mov rcx, r15
sete dl
call fcn.180016940
jmp case.0x180003c1c.527
call fcn.18001d420
test rax, rax
je 0x180003a37
call fcn.18001d730
mov rdi, qword [rax + 0x88]
jmp 0x180003a3a
mov rdi, rbx
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
shr rax, 0x10
mov r9d, 4
movzx ecx, ax
lea r8, [rdi + 0x2c]
mov edx, 0x20001004
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne case.0x180003c1c.527
mov dword [rdi + 0x2c], ebx
jmp case.0x180003c1c.527
mov rcx, r12
call qword [sym.imp.USER32.dll_IsWindowUnicode]
test eax, eax
je 0x180003a9c
mov rdx, qword [rbp - 1]
lea rax, [rdx - 1]
cmp rax, 0xfffe
ja case.0x180003c1c.527
mov rcx, r15
call fcn.180016a50
jmp case.0x180003c1c.527
mov ecx, dword [rsi + 0x2c]
lea rax, [rbp - 9]
mov r14d, 1
mov word [rbp - 9], bx
mov dword [rsp + 0x28], r14d
lea r8, [rbp - 1]
mov r9d, r14d
mov qword [rsp + 0x20], rax
mov edx, r14d
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movzx edx, word [rbp - 9]
mov rcx, r15
call fcn.1800169e0
jmp case.0x180003c1c.527
cmp r14w, 1
jne case.0x180003c1c.527
call fcn.1800026b0
test al, al
je case.0x180003c1c.527
mov eax, 1
jmp 0x180003e1b
call qword [sym.imp.USER32.dll_GetMessageExtraInfo]
mov ecx, 0xffffff80
mov edx, 0xff515700
mov r8, rax
and r8, rcx
mov ecx, 2
cmp r8, rdx
jne 0x180003b1f
mov dword [rbp - 9], ecx
jmp 0x180003b2f
mov edx, ebx
mov eax, 0xff515780
cmp r8, rax
sete dl
mov dword [rbp - 9], edx
mov eax, dword [rsi + 0x10]
cmp edi, 0x200
mov r13d, ebx
mov qword [rsi + 8], r12
setne r13b
inc r13d
cmp eax, r13d
je 0x180003b9b
cmp edi, 0x200
mov dword [rbp - 0x39], 0x18
mov edx, 0x12
mov dword [rbp - 0x35], 0x80000000
cmovne ecx, edx
mov qword [rbp - 0x31], r12
mov dword [rbp - 0x1d], ecx
mov dword [rbp - 0x29], ebx
mov dword [rbp - 0x21], 0x18
mov qword [rbp - 0x19], r12
mov dword [rbp - 0x11], ebx
test eax, eax
je 0x180003b8d
lea rcx, [rbp - 0x39]
call qword [sym.imp.USER32.dll_TrackMouseEvent]
lea rcx, [rbp - 0x21]
call qword [sym.imp.USER32.dll_TrackMouseEvent]
mov dword [rsi + 0x10], r13d
movsx eax, r14w
shr r14, 0x10
mov dword [rbp + 7], eax
movsx eax, r14w
mov dword [rbp + 0xb], eax
cmp edi, 0xa0
jne 0x180003bca
lea rdx, [rbp + 7]
mov rcx, r12
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je case.0x180003c1c.527
mov edx, dword [rbp - 9]
mov rcx, r15
call fcn.180017050
movd xmm2, dword [rbp + 0xb]
mov rcx, r15
movd xmm1, dword [rbp + 7]
cvtdq2ps xmm2, xmm2
cvtdq2ps xmm1, xmm1
call fcn.180016f10
jmp case.0x180003c1c.527
lea eax, [rdi - 0x201]
cmp eax, 0xa2
ja case.0x180003c1c.527
lea rdx, [0x180000000]
movzx eax, byte [rdx + rax + 0x3f74]
mov ecx, dword [rdx + rax*4 + 0x3f58]
add rcx, rdx
jmp rcx
cmp edi, 0x2a3
mov eax, ebx
setne al
inc eax
cmp dword [rsi + 0x10], eax
jne case.0x180003c1c.527
cmp qword [rsi + 8], r12
jne 0x180003c3e
mov qword [rsi + 8], rbx
movss xmm1, dword [0x180040144]
mov rcx, r15
movaps xmm2, xmm1
mov dword [rsi + 0x10], ebx
call fcn.180016f10
jmp case.0x180003c1c.527
call qword [sym.imp.USER32.dll_GetMessageExtraInfo]
mov ecx, 0xffffff80
mov edx, 0xff515700
mov r8, rax
and r8, rcx
mov ecx, 2
cmp r8, rdx
jne 0x180003c7e
mov r13d, ecx
jmp 0x180003c8d
mov eax, 0xff515780
mov r13d, ebx
cmp r8, rax
sete r13b
cmp edi, 0x204
je 0x180003ca0
mov r14d, ebx
cmp edi, 0x206
jne 0x180003ca6
mov r14d, 1
lea eax, [rdi - 0x207]
test eax, 0xfffffffd
lea eax, [rdi - 0x20b]
cmove r14d, ecx
test eax, 0xfffffffd
jne 0x180003cd5
mov rax, qword [rbp - 1]
shr rax, 0x10
cmp ax, 1
setne bl
lea r14d, [rbx + 3]
cmp dword [rsi + 0x14], 0
jne 0x180003cef
call qword [sym.imp.USER32.dll_GetCapture]
test rax, rax
jne 0x180003cef
mov rcx, r12
call qword [sym.imp.USER32.dll_SetCapture]
mov eax, dword [rsi + 0x14]
mov edx, r13d
bts eax, r14d
mov rcx, r15
mov dword [rsi + 0x14], eax
call fcn.180017050
mov r8b, 1
mov edx, r14d
mov rcx, r15
call fcn.180016e50
jmp case.0x180003c1c.527
call qword [sym.imp.USER32.dll_GetMessageExtraInfo]
mov ecx, 0xffffff80
mov edx, 0xff515700
mov r8, rax
and r8, rcx
mov ecx, 2
cmp r8, rdx
jne 0x180003d3c
mov r13d, ecx
jmp 0x180003d4b
mov eax, 0xff515780
mov r13d, ebx
cmp r8, rax
sete r13b
cmp edi, 0x205
mov r14d, ebx
sete r14b
cmp edi, 0x208
jne 0x180003d65
mov r14d, ecx
jmp 0x180003d84
cmp edi, 0x20c
jne 0x180003d84
mov rax, qword [rbp - 1]
mov r14d, ebx
shr rax, 0x10
cmp ax, 1
setne r14b
add r14d, 3
mov eax, dword [rsi + 0x14]
btr eax, r14d
mov dword [rsi + 0x14], eax
test eax, eax
jne 0x180003da3
call qword [sym.imp.USER32.dll_GetCapture]
cmp rax, r12
jne 0x180003da3
call qword [sym.imp.USER32.dll_ReleaseCapture]
mov edx, r13d
mov rcx, r15
call fcn.180017050
xor r8d, r8d
mov edx, r14d
mov rcx, r15
call fcn.180016e50
jmp case.0x180003c1c.527
mov rax, qword [rbp - 1]
xorps xmm1, xmm1
shr rax, 0x10
mov rcx, r15
cwde
movd xmm2, eax
cvtdq2ps xmm2, xmm2
divss xmm2, dword [0x180040134]
call fcn.180017060
jmp case.0x180003c1c.527
mov rax, qword [rbp - 1]
xorps xmm2, xmm2
shr rax, 0x10
mov rcx, r15
cwde
movd xmm1, eax
cvtdq2ps xmm1, xmm1
xorps xmm1, xmmword [0x180040170]
divss xmm1, dword [0x180040134]
call fcn.180017060
jmp case.0x180003c1c.527
cmp dword [rbp - 1], 7
jne case.0x180003c1c.527
mov byte [rsi + 0x31], 1
xor eax, eax
mov rcx, qword [rbp + 0xf]
xor rcx, rsp
call fcn.180034bc0
add rsp, 0x88
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret