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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 0x18], r8
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
mov r14d, edx
mov r15, r9
mov rdx, qword [0x180242b30]
mov r12, rcx
vmovaps xmmword [rax - 0x38], xmm6
vmovaps xmmword [rax - 0x48], xmm7
test rdx, rdx
je case.0x1800719d1.527
mov rsi, qword [rdx + 0x98]
test rsi, rsi
je case.0x1800719d1.527
lea rdi, [rdx + 8]
cmp r14d, 0x200
ja 0x1800719a4
je case.0x1800711db.160
lea eax, [r14 - 7]
cmp eax, 0xfe
ja case.0x1800719d1.527
lea r9, [0x180000000]
movzx eax, byte [r9 + rax + 0x71c34]
mov ecx, dword [r9 + rax*4 + 0x71c18]
add rcx, r9
jmp rcx
lea eax, [r14 - 0x100]
mov r14d, 0x100
test eax, 0xfffffffb
sete sil
cmp r8, r14
jae case.0x1800719d1.527
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
vmovss xmm6, dword [0x180218a50]
movzx r8d, ax
xor ebx, ebx
shr r8d, 0xf
and r8b, 1
vxorps xmm7, xmm7, xmm7
cmp byte [rdi + 0xb99], bl
je 0x18007124c
movzx eax, r8b
mov edx, 0x1000
vmovd xmm0, eax
vmovd xmm1, ebx
vpcmpeqd xmm2, xmm0, xmm1
vblendvps xmm3, xmm6, xmm7, xmm2
mov rcx, rdi
call fcn.180043a00
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp byte [rdi + 0xb99], bl
je 0x18007128a
movzx ecx, al
movzx r8d, al
vmovd xmm0, ecx
vmovd xmm1, ebx
vpcmpeqd xmm2, xmm0, xmm1
vblendvps xmm3, xmm6, xmm7, xmm2
mov edx, 0x2000
mov rcx, rdi
call fcn.180043a00
mov ecx, 0x12
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp byte [rdi + 0xb99], bl
je 0x1800712c8
movzx ecx, al
movzx r8d, al
vmovd xmm0, ecx
vmovd xmm1, ebx
vpcmpeqd xmm2, xmm0, xmm1
vblendvps xmm3, xmm6, xmm7, xmm2
mov edx, 0x4000
mov rcx, rdi
call fcn.180043a00
mov ecx, 0x5b
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x1800712f1
mov ecx, 0x5c
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x1800712f1
xor r8b, r8b
jmp 0x1800712f4
mov r8b, 1
cmp byte [rdi + 0xb99], bl
je 0x18007131f
movzx eax, r8b
mov edx, 0x8000
vmovd xmm0, eax
vmovd xmm1, ebx
vpcmpeqd xmm2, xmm0, xmm1
vblendvps xmm3, xmm6, xmm7, xmm2
mov rcx, rdi
call fcn.180043a00
mov rdi, qword [rbp + 0x77]
cmp rdi, 0xd
jne 0x180071339
shr r15, 0x10
mov eax, 0x10d
test r14w, r15w
cmovne edi, eax
movsxd rcx, edi
call fcn.180070b60
mov r14d, eax
cmp eax, 0x262
jne 0x180071373
test sil, sil
jne 0x180071378
mov rcx, qword [0x180242b30]
add rcx, 8
cmp byte [rcx + 0xb99], bl
je 0x180071378
vmovaps xmm3, xmm6
mov r8b, 1
mov edx, eax
call fcn.180043a00
jmp 0x180071378
test r14d, r14d
je 0x1800713ad
mov rcx, qword [0x180242b30]
add rcx, 8
cmp byte [rcx + 0xb99], bl
je 0x1800713ad
movzx eax, sil
movzx r8d, sil
vmovd xmm0, eax
vmovd xmm1, ebx
vpcmpeqd xmm2, xmm0, xmm1
vblendvps xmm3, xmm6, xmm7, xmm2
mov edx, r14d
call fcn.180043a00
cmp edi, 0x10
jne 0x18007145b
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, sil
jne 0x180071402
mov rcx, qword [0x180242b30]
add rcx, 8
cmp byte [rcx + 0xb99], bl
je 0x180071402
movzx eax, sil
movzx r8d, sil
vmovd xmm0, eax
vmovd xmm1, ebx
vpcmpeqd xmm2, xmm0, xmm1
vblendvps xmm3, xmm6, xmm7, xmm2
mov edx, 0x210
call fcn.180043a00
mov ecx, 0xa1
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, sil
jne case.0x1800719d1.527
mov rcx, qword [0x180242b30]
add rcx, 8
cmp byte [rcx + 0xb99], bl
je case.0x1800719d1.527
movzx eax, sil
movzx r8d, sil
vmovd xmm0, eax
vmovd xmm1, ebx
vpcmpeqd xmm2, xmm0, xmm1
vblendvps xmm3, xmm6, xmm7, xmm2
mov edx, 0x214
call fcn.180043a00
jmp case.0x1800719d1.527
cmp edi, 0x11
jne 0x180071509
mov ecx, 0xa2
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, sil
jne 0x1800714b0
mov rcx, qword [0x180242b30]
add rcx, 8
cmp byte [rcx + 0xb99], bl
je 0x1800714b0
movzx eax, sil
movzx r8d, sil
vmovd xmm0, eax
vmovd xmm1, ebx
vpcmpeqd xmm2, xmm0, xmm1
vblendvps xmm3, xmm6, xmm7, xmm2
mov edx, 0x20f
call fcn.180043a00
mov ecx, 0xa3
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, sil
jne case.0x1800719d1.527
mov rcx, qword [0x180242b30]
add rcx, 8
cmp byte [rcx + 0xb99], bl
je case.0x1800719d1.527
movzx eax, sil
movzx r8d, sil
vmovd xmm0, eax
vmovd xmm1, ebx
vpcmpeqd xmm2, xmm0, xmm1
vblendvps xmm3, xmm6, xmm7, xmm2
mov edx, 0x213
call fcn.180043a00
jmp case.0x1800719d1.527
cmp edi, 0x12
jne case.0x1800719d1.527
mov ecx, 0xa4
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, sil
jne 0x18007155e
mov rcx, qword [0x180242b30]
add rcx, 8
cmp byte [rcx + 0xb99], bl
je 0x18007155e
movzx eax, sil
movzx r8d, sil
vmovd xmm0, eax
vmovd xmm1, ebx
vpcmpeqd xmm2, xmm0, xmm1
vblendvps xmm3, xmm6, xmm7, xmm2
mov edx, 0x211
call fcn.180043a00
mov ecx, 0xa5
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, sil
jne case.0x1800719d1.527
mov rcx, qword [0x180242b30]
add rcx, 8
cmp byte [rcx + 0xb99], bl
je case.0x1800719d1.527
movzx eax, sil
movzx r8d, sil
vmovd xmm0, eax
vmovd xmm1, ebx
vpcmpeqd xmm2, xmm0, xmm1
vblendvps xmm3, xmm6, xmm7, xmm2
mov edx, 0x215
call fcn.180043a00
jmp case.0x1800719d1.527
mov rdx, qword [rdi + 0x100]
cmp r14d, 7
sete r8b
lea rbx, [rdx + 0x12a8]
mov r9d, dword [rbx]
lea eax, [r9 - 1]
test eax, eax
js 0x1800715f5
movsxd rcx, eax
imul rax, rcx, 0x1c
add rax, qword [rdx + 0x12b0]
cmp dword [rax], 6
je 0x180071662
sub rax, 0x1c
sub rcx, 1
jns 0x1800715e6
cmp byte [rdx + 0xba0], 0
sete cl
cmp cl, r8b
je case.0x1800719d1.527
cmp byte [rdi + 0x77], 0
je 0x180071618
cmp r14d, 7
jne case.0x1800719d1.527
mov eax, dword [rdx + 0x12cc]
xor edi, edi
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rbp - 0x11], xmm0
mov dword [rbp - 9], eax
inc eax
mov dword [rdx + 0x12cc], eax
mov byte [rbp - 5], r8b
mov r8d, dword [rbx + 4]
mov qword [rbp - 1], rdi
mov dword [rbp - 0x11], 6
cmp r9d, r8d
jne 0x180071681
lea ecx, [r9 + 1]
test r8d, r8d
je 0x18007166d
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x180071672
test rax, rax
je 0x1800715f5
movzx ecx, byte [rax + 0xc]
jmp 0x1800715ff
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, rbx
call fcn.18005e660
movsxd rax, dword [rbx]
vmovups xmm0, xmmword [rbp - 0x11]
vmovsd xmm1, qword [rbp - 1]
imul rcx, rax, 0x1c
mov rax, qword [rbx + 8]
vmovups xmmword [rcx + rax], xmm0
vmovsd qword [rcx + rax + 0x10], xmm1
mov dword [rcx + rax + 0x18], edi
inc dword [rbx]
jmp case.0x1800719d1.527
xor ebx, ebx
mov rdi, rsi
test rdx, rdx
jne 0x1800716b8
mov edi, ebx
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.0x1800719d1.527
mov dword [rdi + 0x2c], ebx
jmp case.0x1800719d1.527
mov rcx, r12
call qword [sym.imp.USER32.dll_IsWindowUnicode]
test eax, eax
je 0x1800717a6
mov rsi, qword [rbp + 0x77]
lea rax, [rsi - 1]
cmp rax, 0xfffe
ja case.0x1800719d1.527
test si, si
jne 0x180071723
cmp word [rdi + 0xb9c], si
je case.0x1800719d1.527
cmp byte [rdi + 0xb99], 0
je case.0x1800719d1.527
mov ecx, 0xfc00
movzx eax, si
and ax, cx
mov edx, 0xd800
movzx ecx, word [rdi + 0xb9c]
cmp ax, dx
jne 0x18007176a
test cx, cx
je 0x18007175e
mov edx, 0xfffd
mov rcx, rdi
call fcn.1800438c0
mov word [rdi + 0xb9c], si
jmp case.0x1800719d1.527
test cx, cx
je 0x180071796
mov ecx, 0xdc00
cmp ax, cx
je 0x180071788
mov edx, 0xfffd
mov rcx, rdi
call fcn.1800438c0
jmp 0x18007178d
mov esi, 0xfffd
xor ebx, ebx
mov word [rdi + 0xb9c], bx
movzx edx, si
mov rcx, rdi
call fcn.1800438c0
jmp case.0x1800719d1.527
mov eax, 1
lea rcx, [rbp - 0x39]
mov dword [rsp + 0x28], eax
lea r8, [rbp + 0x77]
mov qword [rsp + 0x20], rcx
xor ebx, ebx
mov ecx, dword [rsi + 0x2c]
mov r9d, eax
mov edx, eax
mov word [rbp - 0x39], bx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movzx r8d, word [rbp - 0x39]
mov rdx, qword [rdi + 0x100]
test r8d, r8d
je case.0x1800719d1.527
cmp byte [rdi + 0xb99], bl
je case.0x1800719d1.527
mov eax, dword [rdx + 0x12cc]
lea rdi, [rdx + 0x12a8]
mov ecx, 2
mov dword [rbp - 9], eax
inc eax
mov dword [rbp - 0xd], ecx
mov dword [rdx + 0x12cc], eax
mov ecx, dword [rdi]
mov dword [rbp - 5], r8d
mov r8d, dword [rdi + 4]
mov qword [rbp - 1], rbx
mov dword [rbp - 0x11], 5
cmp ecx, r8d
jne 0x180071853
inc ecx
test r8d, r8d
je 0x18007183f
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x180071844
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, rdi
call fcn.18005e660
movsxd rax, dword [rdi]
vmovups xmm0, xmmword [rbp - 0x11]
vmovsd xmm1, qword [rbp - 1]
imul rcx, rax, 0x1c
mov rax, qword [rdi + 8]
vmovups xmmword [rcx + rax], xmm0
vmovsd qword [rcx + rax + 0x10], xmm1
mov dword [rcx + rax + 0x18], ebx
inc dword [rdi]
jmp case.0x1800719d1.527
cmp r15w, 1
jne case.0x1800719d1.527
call fcn.180070040
test al, al
je case.0x1800719d1.527
mov eax, 1
jmp 0x180071be8
call qword [sym.imp.USER32.dll_GetMessageExtraInfo]
mov ecx, 0xffffff80
mov edx, 0xff515700
mov r8, rax
xor ebx, ebx
and r8, rcx
mov ecx, 2
cmp r8, rdx
jne 0x1800718c7
mov dword [rbp - 0x39], ecx
jmp 0x1800718d7
mov edx, ebx
mov eax, 0xff515780
cmp r8, rax
sete dl
mov dword [rbp - 0x39], edx
mov edx, dword [rsi + 0x10]
cmp r14d, 0x200
mov r13d, ebx
mov qword [rsi + 8], r12
setne r13b
inc r13d
cmp edx, r13d
je 0x180071945
cmp r14d, 0x200
mov dword [rbp - 0x29], 0x18
mov eax, 0x12
mov dword [rbp - 0x25], 0x80000000
cmovne ecx, eax
mov qword [rbp - 0x21], r12
mov dword [rbp - 0xd], ecx
mov dword [rbp - 0x19], ebx
mov dword [rbp - 0x11], 0x18
mov qword [rbp - 9], r12
mov dword [rbp - 1], ebx
test edx, edx
je 0x180071937
lea rcx, [rbp - 0x29]
call qword [sym.imp.USER32.dll_TrackMouseEvent]
lea rcx, [rbp - 0x11]
call qword [sym.imp.USER32.dll_TrackMouseEvent]
mov dword [rsi + 0x10], r13d
movsx eax, r15w
shr r15, 0x10
mov dword [rbp - 0x31], eax
movsx eax, r15w
mov dword [rbp - 0x2d], eax
cmp r14d, 0xa0
jne 0x180071975
lea rdx, [rbp - 0x31]
mov rcx, r12
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je case.0x1800719d1.527
mov rax, qword [rdi + 0x100]
mov ecx, dword [rbp - 0x39]
vxorps xmm2, xmm2, xmm2
vxorps xmm1, xmm1, xmm1
mov dword [rax + 0x12c8], ecx
mov rcx, rdi
vcvtsi2ss xmm2, xmm2, dword [rbp - 0x2d]
vcvtsi2ss xmm1, xmm1, dword [rbp - 0x31]
call fcn.180043c10
jmp case.0x1800719d1.527
lea eax, [r14 - 0x201]
cmp eax, 0xa2
ja case.0x1800719d1.527
lea r9, [0x180000000]
movzx eax, byte [r9 + rax + 0x71d50]
mov ecx, dword [r9 + rax*4 + 0x71d34]
add rcx, r9
jmp rcx
xor ebx, ebx
cmp r14d, 0x2a3
mov eax, ebx
setne al
inc eax
cmp dword [rsi + 0x10], eax
jne case.0x1800719d1.527
cmp qword [rsi + 8], r12
jne 0x1800719f6
mov qword [rsi + 8], rbx
vmovss xmm1, dword [0x180218df8]
vmovaps xmm2, xmm1
mov rcx, rdi
mov dword [rsi + 0x10], ebx
call fcn.180043c10
jmp case.0x1800719d1.527
call qword [sym.imp.USER32.dll_GetMessageExtraInfo]
mov ecx, 0xffffff80
mov edx, 0xff515700
mov r8, rax
xor ebx, ebx
and r8, rcx
mov ecx, 2
cmp r8, rdx
jne 0x180071a39
mov r13d, ecx
jmp 0x180071a48
mov eax, 0xff515780
mov r13d, ebx
cmp r8, rax
sete r13b
lea eax, [r14 - 0x204]
mov r15d, ebx
test eax, 0xfffffffd
mov eax, 1
cmove r15d, eax
lea eax, [r14 - 0x207]
test eax, 0xfffffffd
lea eax, [r14 - 0x20b]
cmove r15d, ecx
test eax, 0xfffffffd
jne 0x180071a95
mov rax, qword [rbp + 0x77]
mov r15d, ebx
shr rax, 0x10
cmp ax, 1
setne r15b
add r15d, 3
cmp dword [rsi + 0x14], ebx
jne 0x180071aae
call qword [sym.imp.USER32.dll_GetCapture]
test rax, rax
jne 0x180071aae
mov rcx, r12
call qword [sym.imp.USER32.dll_SetCapture]
mov eax, dword [rsi + 0x14]
mov r8b, 1
bts eax, r15d
mov edx, r15d
mov dword [rsi + 0x14], eax
mov rcx, rdi
mov rax, qword [rdi + 0x100]
mov dword [rax + 0x12c8], r13d
call fcn.180043dc0
jmp case.0x1800719d1.527
call qword [sym.imp.USER32.dll_GetMessageExtraInfo]
mov ecx, 0xffffff80
mov edx, 0xff515700
mov r8, rax
xor ebx, ebx
and r8, rcx
mov ecx, 2
cmp r8, rdx
jne 0x180071b00
mov r13d, ecx
jmp 0x180071b0f
mov eax, 0xff515780
mov r13d, ebx
cmp r8, rax
sete r13b
cmp r14d, 0x205
mov r15d, ebx
sete r15b
cmp r14d, 0x208
jne 0x180071b2b
mov r15d, ecx
jmp 0x180071b4b
cmp r14d, 0x20c
jne 0x180071b4b
mov rax, qword [rbp + 0x77]
mov r15d, ebx
shr rax, 0x10
cmp ax, 1
setne r15b
add r15d, 3
mov eax, dword [rsi + 0x14]
btr eax, r15d
mov dword [rsi + 0x14], eax
test eax, eax
jne 0x180071b6a
call qword [sym.imp.USER32.dll_GetCapture]
cmp rax, r12
jne 0x180071b6a
call qword [sym.imp.USER32.dll_ReleaseCapture]
mov rax, qword [rdi + 0x100]
xor r8d, r8d
mov edx, r15d
mov rcx, rdi
mov dword [rax + 0x12c8], r13d
call fcn.180043dc0
jmp case.0x1800719d1.527
shr r8, 0x10
mov rcx, rdi
movsx eax, r8w
vxorps xmm0, xmm0, xmm0
vcvtsi2ss xmm0, xmm0, eax
vdivss xmm2, xmm0, dword [0x180218c18]
vxorps xmm1, xmm1, xmm1
call fcn.180043ff0
jmp case.0x1800719d1.527
shr r8, 0x10
mov rcx, rdi
movsx eax, r8w
vxorps xmm0, xmm0, xmm0
vcvtsi2ss xmm0, xmm0, eax
vxorps xmm1, xmm0, xmmword [0x180219380]
vdivss xmm1, xmm1, dword [0x180218c18]
vxorps xmm2, xmm2, xmm2
call fcn.180043ff0
jmp case.0x1800719d1.527
cmp r8d, 7
jne case.0x1800719d1.527
mov byte [rsi + 0x31], 1
xor eax, eax
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x48]
vmovaps xmm6, xmmword [r11 - 0x10]
vmovaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret