Function at 0x180074e50
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 rdi, qword [0x1802663c0]
mov r15, r9
vmovaps xmmword [rax - 0x38], xmm6
mov r14d, edx
vmovaps xmmword [rax - 0x48], xmm7
mov r12, rcx
test rdi, rdi
je case.0x18007576a.527
mov rsi, qword [rdi + 0xa0]
test rsi, rsi
je case.0x18007576a.527
add rdi, 8
cmp edx, 0x200
ja 0x180075740
je case.0x180074f35.160
cmp edx, 7
ja 0x180074f0e
je 0x180075365
cmp edx, 2
jne case.0x18007576a.527
cmp qword [rsi + 8], rcx
jne case.0x18007576a.527
cmp dword [rsi + 0x10], 0
je case.0x18007576a.527
mov qword [rbp - 0x21], rcx
xor ebx, ebx
lea rcx, [rbp - 0x29]
mov dword [rbp - 0x19], ebx
mov dword [rbp - 0x29], 0x18
mov dword [rbp - 0x25], 0x80000000
call qword [sym.imp.USER32.dll_TrackMouseEvent]
jmp 0x18007578b
lea eax, [rdx - 8]
cmp eax, 0xfd
ja case.0x18007576a.527
lea rdx, [0x180000000]
movzx eax, byte [rdx + rax + 0x759c8]
mov ecx, dword [rdx + rax*4 + 0x759ac]
add rcx, rdx
jmp rcx
lea eax, [r14 - 0x100]
test eax, 0xfffffffb
sete sil
cmp r8, 0x100
jae case.0x18007576a.527
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
vmovss xmm6, dword [0x18023bc20]
movzx r8d, ax
xor ebx, ebx
shr r8d, 0xf
and r8b, 1
vxorps xmm7, xmm7, xmm7
cmp byte [rdi + 0x2b71], bl
je 0x180074fa4
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.180044150
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp byte [rdi + 0x2b71], bl
je 0x180074fe2
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.180044150
mov ecx, 0x12
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp byte [rdi + 0x2b71], bl
je 0x180075020
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.180044150
mov ecx, 0x5b
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x180075049
mov ecx, 0x5c
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x180075049
xor r8b, r8b
jmp 0x18007504c
mov r8b, 1
cmp byte [rdi + 0x2b71], bl
je 0x180075077
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.180044150
mov rdi, qword [rbp + 0x77]
mov rdx, r15
mov rcx, rdi
call fcn.180074890
mov r15d, eax
cmp eax, 0x262
jne 0x1800750d7
test sil, sil
jne 0x1800750dc
mov r14, qword [0x1802663c0]
cmp byte [r14 + 0x2b79], bl
je 0x1800750b7
vmovaps xmm3, xmm6
mov r8b, 1
lea rcx, [r14 + 8]
mov edx, eax
call fcn.180044150
cmp edi, 0x1ff
ja 0x1800750dc
movsxd rax, edi
mov dword [r14 + rax*4 + 0x2b90], 0x262
mov dword [r14 + 0x3518], edi
jmp 0x1800750dc
test r15d, r15d
je 0x1800750eb
mov r8d, edi
movzx edx, sil
mov ecx, r15d
call fcn.180073dd0
cmp edi, 0x10
jne 0x1800751bd
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, sil
jne 0x180075154
mov rdi, qword [0x1802663c0]
cmp byte [rdi + 0x2b79], bl
je 0x180075140
movzx eax, sil
lea rcx, [rdi + 8]
vmovd xmm0, eax
vmovd xmm1, ebx
vpcmpeqd xmm2, xmm0, xmm1
vblendvps xmm3, xmm6, xmm7, xmm2
movzx r8d, sil
mov edx, 0x210
call fcn.180044150
mov dword [rdi + 0x2e10], 0x210
mov dword [rdi + 0x33d0], 0xa0
mov ecx, 0xa1
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, sil
jne case.0x18007576a.527
mov rdi, qword [0x1802663c0]
cmp byte [rdi + 0x2b79], bl
je 0x1800751a4
movzx eax, sil
lea rcx, [rdi + 8]
vmovd xmm0, eax
vmovd xmm1, ebx
vpcmpeqd xmm2, xmm0, xmm1
vblendvps xmm3, xmm6, xmm7, xmm2
movzx r8d, sil
mov edx, 0x214
call fcn.180044150
mov dword [rdi + 0x2e14], 0x214
mov dword [rdi + 0x33e0], 0xa1
jmp case.0x18007576a.527
cmp edi, 0x11
jne 0x18007528f
mov ecx, 0xa2
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, sil
jne 0x180075226
mov rdi, qword [0x1802663c0]
cmp byte [rdi + 0x2b79], bl
je 0x180075212
movzx eax, sil
lea rcx, [rdi + 8]
vmovd xmm0, eax
vmovd xmm1, ebx
vpcmpeqd xmm2, xmm0, xmm1
vblendvps xmm3, xmm6, xmm7, xmm2
movzx r8d, sil
mov edx, 0x20f
call fcn.180044150
mov dword [rdi + 0x2e18], 0x20f
mov dword [rdi + 0x33cc], 0xa2
mov ecx, 0xa3
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, sil
jne case.0x18007576a.527
mov rdi, qword [0x1802663c0]
cmp byte [rdi + 0x2b79], bl
je 0x180075276
movzx eax, sil
lea rcx, [rdi + 8]
vmovd xmm0, eax
vmovd xmm1, ebx
vpcmpeqd xmm2, xmm0, xmm1
vblendvps xmm3, xmm6, xmm7, xmm2
movzx r8d, sil
mov edx, 0x213
call fcn.180044150
mov dword [rdi + 0x2e1c], 0x213
mov dword [rdi + 0x33dc], 0xa3
jmp case.0x18007576a.527
cmp edi, 0x12
jne case.0x18007576a.527
mov ecx, 0xa4
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, sil
jne 0x1800752f8
mov rdi, qword [0x1802663c0]
cmp byte [rdi + 0x2b79], bl
je 0x1800752e4
movzx eax, sil
lea rcx, [rdi + 8]
vmovd xmm0, eax
vmovd xmm1, ebx
vpcmpeqd xmm2, xmm0, xmm1
vblendvps xmm3, xmm6, xmm7, xmm2
movzx r8d, sil
mov edx, 0x211
call fcn.180044150
mov dword [rdi + 0x2e20], 0x211
mov dword [rdi + 0x33d4], 0xa4
mov ecx, 0xa5
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, sil
jne case.0x18007576a.527
mov rdi, qword [0x1802663c0]
cmp byte [rdi + 0x2b79], bl
je 0x180075348
movzx eax, sil
lea rcx, [rdi + 8]
vmovd xmm0, eax
vmovd xmm1, ebx
vpcmpeqd xmm2, xmm0, xmm1
vblendvps xmm3, xmm6, xmm7, xmm2
movzx r8d, sil
mov edx, 0x215
call fcn.180044150
mov dword [rdi + 0x2e24], 0x215
mov dword [rdi + 0x33e4], 0xa5
jmp case.0x18007576a.527
cmp r14d, 7
mov rdx, qword [rdi + 0xd8]
sete r8b
lea rbx, [rdx + 0x4028]
mov r9d, dword [rbx]
lea eax, [r9 - 1]
test eax, eax
js 0x18007539f
movsxd rcx, eax
imul rax, rcx, 0x1c
add rax, qword [rdx + 0x4030]
cmp dword [rax], 6
je 0x18007540f
sub rax, 0x1c
sub rcx, 1
jns 0x180075390
cmp byte [rdx + 0x2b78], 0
sete cl
cmp cl, r8b
je case.0x18007576a.527
cmp byte [rdi + 0x80], 0
je 0x1800753c5
cmp r14d, 7
jne case.0x18007576a.527
mov eax, dword [rdx + 0x404c]
xor edi, edi
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rbp - 0x11], xmm0
mov dword [rbp - 9], eax
inc eax
mov dword [rdx + 0x404c], 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 0x180075429
lea ecx, [r9 + 1]
test r8d, r8d
je 0x180075415
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x18007541a
movzx ecx, byte [rax + 0xc]
jmp 0x1800753a9
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, rbx
call fcn.1800617f0
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.0x18007576a.527
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
shr rax, 0x10
mov r9d, 4
movzx ecx, ax
lea r8, [rsi + 0x2c]
mov edx, 0x20001004
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne case.0x18007576a.527
xor ebx, ebx
mov dword [rsi + 0x2c], ebx
jmp case.0x18007576a.527
mov rcx, r12
call qword [sym.imp.USER32.dll_IsWindowUnicode]
test eax, eax
je 0x180075544
mov rsi, qword [rbp + 0x77]
lea rax, [rsi - 1]
cmp rax, 0xfffe
ja case.0x18007576a.527
test si, si
jne 0x1800754c1
cmp word [rdi + 0x2b74], si
je case.0x18007576a.527
cmp byte [rdi + 0x2b71], 0
je case.0x18007576a.527
mov ecx, 0xfc00
movzx eax, si
and ax, cx
mov edx, 0xd800
movzx ecx, word [rdi + 0x2b74]
cmp ax, dx
jne 0x180075508
test cx, cx
je 0x1800754fc
mov edx, 0xfffd
mov rcx, rdi
call fcn.180043ff0
mov word [rdi + 0x2b74], si
jmp case.0x18007576a.527
test cx, cx
je 0x180075534
mov ecx, 0xdc00
cmp ax, cx
je 0x180075526
mov edx, 0xfffd
mov rcx, rdi
call fcn.180043ff0
jmp 0x18007552b
mov esi, 0xfffd
xor ebx, ebx
mov word [rdi + 0x2b74], bx
movzx edx, si
mov rcx, rdi
call fcn.180043ff0
jmp case.0x18007576a.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 + 0xd8]
test r8d, r8d
je case.0x18007576a.527
cmp byte [rdi + 0x2b71], bl
je case.0x18007576a.527
mov eax, dword [rdx + 0x404c]
lea rdi, [rdx + 0x4028]
mov ecx, 2
mov dword [rbp - 9], eax
inc eax
mov dword [rbp - 0xd], ecx
mov dword [rdx + 0x404c], 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 0x1800755f1
inc ecx
test r8d, r8d
je 0x1800755dd
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x1800755e2
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, rdi
call fcn.1800617f0
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.0x18007576a.527
cmp r15w, 1
jne case.0x18007576a.527
call fcn.180073c60
test al, al
je case.0x18007576a.527
mov eax, 1
jmp 0x18007597d
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 0x180075663
mov dword [rbp - 0x39], ecx
jmp 0x180075673
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 0x1800756e1
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 0x1800756d3
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 0x180075711
lea rdx, [rbp - 0x31]
mov rcx, r12
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je case.0x18007576a.527
mov rax, qword [rdi + 0xd8]
mov ecx, dword [rbp - 0x39]
vxorps xmm2, xmm2, xmm2
vxorps xmm1, xmm1, xmm1
mov dword [rax + 0x4048], ecx
mov rcx, rdi
vcvtsi2ss xmm2, xmm2, dword [rbp - 0x2d]
vcvtsi2ss xmm1, xmm1, dword [rbp - 0x31]
call fcn.180044370
jmp case.0x18007576a.527
lea eax, [rdx - 0x201]
cmp eax, 0xa2
ja case.0x18007576a.527
lea rdx, [0x180000000]
movzx eax, byte [rdx + rax + 0x75ae4]
mov ecx, dword [rdx + rax*4 + 0x75ac8]
add rcx, rdx
jmp rcx
xor ebx, ebx
cmp r14d, 0x2a3
mov eax, ebx
setne al
inc eax
cmp dword [rsi + 0x10], eax
jne case.0x18007576a.527
cmp qword [rsi + 8], r12
jne 0x18007578f
mov qword [rsi + 8], rbx
vmovss xmm1, dword [0x18023bfc0]
vmovaps xmm2, xmm1
mov rcx, rdi
mov dword [rsi + 0x10], ebx
call fcn.180044370
jmp case.0x18007576a.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 0x1800757d0
mov r13d, ecx
jmp 0x1800757df
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 0x18007582c
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 0x180075845
call qword [sym.imp.USER32.dll_GetCapture]
test rax, rax
jne 0x180075845
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 + 0xd8]
mov dword [rax + 0x4048], r13d
call fcn.180044520
jmp case.0x18007576a.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 0x180075895
mov r13d, ecx
jmp 0x1800758a4
mov eax, 0xff515780
mov r13d, ebx
cmp r8, rax
sete r13b
cmp r14d, 0x205
mov r15d, ebx
sete r15b
cmp r14d, 0x208
jne 0x1800758c0
mov r15d, ecx
jmp 0x1800758e0
cmp r14d, 0x20c
jne 0x1800758e0
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 0x1800758ff
call qword [sym.imp.USER32.dll_GetCapture]
cmp rax, r12
jne 0x1800758ff
call qword [sym.imp.USER32.dll_ReleaseCapture]
mov rax, qword [rdi + 0xd8]
xor r8d, r8d
mov edx, r15d
mov rcx, rdi
mov dword [rax + 0x4048], r13d
call fcn.180044520
jmp case.0x18007576a.527
shr r8, 0x10
mov rcx, rdi
movsx eax, r8w
vxorps xmm0, xmm0, xmm0
vcvtsi2ss xmm0, xmm0, eax
vdivss xmm2, xmm0, dword [0x18023bdf8]
vxorps xmm1, xmm1, xmm1
call fcn.180044720
jmp case.0x18007576a.527
shr r8, 0x10
mov rcx, rdi
movsx eax, r8w
vxorps xmm0, xmm0, xmm0
vcvtsi2ss xmm0, xmm0, eax
vxorps xmm1, xmm0, xmmword [0x18023c2b0]
vdivss xmm1, xmm1, dword [0x18023bdf8]
vxorps xmm2, xmm2, xmm2
call fcn.180044720
jmp case.0x18007576a.527
cmp r8d, 7
jne case.0x18007576a.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