Function at 0x140033c30
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, 0xa8
movaps xmmword [rsp + 0x90], xmm6
mov rax, qword [0x14005b010]
xor rax, rsp
mov qword [rbp - 1], rax
mov rbx, qword [0x14005b820]
mov rsi, r9
mov qword [rbp - 0x11], r8
mov r15d, edx
mov r13, rcx
test rbx, rbx
je case.0x1400344b9.527
mov r14, qword [rbx + 0x90]
test r14, r14
je case.0x1400344b9.527
add rbx, 8
cmp edx, 0x200
ja 0x14003448f
je case.0x140033cc9.160
lea eax, [rdx - 7]
cmp eax, 0xfe
ja case.0x1400344b9.527
lea rdx, [0x140000000]
movzx eax, byte [rdx + rax + 0x347cc]
mov ecx, dword [rdx + rax*4 + 0x347b0]
add rcx, rdx
jmp rcx
lea eax, [r15 - 0x100]
mov r14d, pe_nt_image_headers64
test eax, 0xfffffffb
sete dil
cmp r8, r14
jae case.0x1400344b9.527
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
movss xmm6, dword [0x140053324]
shr eax, 0xf
and al, 1
cmp byte [rbx + 0x2b81], 0
je 0x140033d28
test al, al
je 0x140033d14
movaps xmm3, xmm6
jmp 0x140033d17
xorps xmm3, xmm3
movzx r8d, al
mov edx, 0x1000
mov rcx, rbx
call fcn.140006e10
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp byte [rbx + 0x2b81], 0
je 0x140033d5e
test al, al
je 0x140033d4a
movaps xmm3, xmm6
jmp 0x140033d4d
xorps xmm3, xmm3
movzx r8d, al
mov edx, 0x2000
mov rcx, rbx
call fcn.140006e10
mov ecx, 0x12
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp byte [rbx + 0x2b81], 0
je 0x140033d94
test al, al
je 0x140033d80
movaps xmm3, xmm6
jmp 0x140033d83
xorps xmm3, xmm3
movzx r8d, al
mov edx, 0x4000
mov rcx, rbx
call fcn.140006e10
mov ecx, 0x5d
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp byte [rbx + 0x2b81], 0
je 0x140033dca
test al, al
je 0x140033db6
movaps xmm3, xmm6
jmp 0x140033db9
xorps xmm3, xmm3
movzx r8d, al
mov edx, 0x8000
mov rcx, rbx
call fcn.140006e10
mov rbx, qword [rbp - 0x11]
cmp rbx, 0xd
jne 0x140033de4
shr rsi, 0x10
mov eax, 0x10d
test r14w, si
cmovne ebx, eax
movsxd r15, ebx
mov rcx, r15
call fcn.140033650
movsxd rsi, eax
cmp esi, 0x262
jne 0x140033e3d
test dil, dil
jne 0x140033e41
mov r14, qword [0x14005b820]
cmp byte [r14 + 0x2b89], dil
je 0x140033e20
movaps xmm3, xmm6
lea rcx, [r14 + 8]
mov r8b, 1
mov edx, esi
call fcn.140006e10
cmp ebx, 0x1ff
ja 0x140033e41
mov dword [r14 + r15*4 + 0x2ba0], 0x262
mov dword [r14 + 0x3528], ebx
jmp 0x140033e41
test eax, eax
je 0x140033e86
mov r14, qword [0x14005b820]
cmp byte [r14 + 0x2b89], 0
je 0x140033e6e
test dil, dil
je 0x140033e5c
movaps xmm3, xmm6
jmp 0x140033e5f
xorps xmm3, xmm3
movzx r8d, dil
lea rcx, [r14 + 8]
mov edx, esi
call fcn.140006e10
cmp ebx, 0x1ff
ja 0x140033e86
mov dword [r14 + r15*4 + 0x2ba0], esi
mov dword [r14 + rsi*4 + 0x2ba0], ebx
cmp ebx, 0x10
jne 0x140033f46
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, dil
jne 0x140033ee7
mov rbx, qword [0x14005b820]
cmp byte [rbx + 0x2b89], 0
je 0x140033ed3
test dil, dil
je 0x140033ebe
movaps xmm3, xmm6
jmp 0x140033ec1
xorps xmm3, xmm3
movzx r8d, dil
lea rcx, [rbx + 8]
mov edx, 0x210
call fcn.140006e10
mov dword [rbx + 0x2e20], 0x210
mov dword [rbx + 0x33e0], 0xa0
mov ecx, 0xa1
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, dil
jne case.0x1400344b9.527
mov rbx, qword [0x14005b820]
cmp byte [rbx + 0x2b89], 0
je 0x140033f2d
test dil, dil
jne 0x140033f18
xorps xmm6, xmm6
movaps xmm3, xmm6
lea rcx, [rbx + 8]
movzx r8d, dil
mov edx, 0x214
call fcn.140006e10
mov dword [rbx + 0x2e24], 0x214
mov dword [rbx + 0x33f0], 0xa1
jmp case.0x1400344b9.527
cmp ebx, 0x11
jne 0x140034006
mov ecx, 0xa2
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, dil
jne 0x140033fa7
mov rbx, qword [0x14005b820]
cmp byte [rbx + 0x2b89], 0
je 0x140033f93
test dil, dil
je 0x140033f7e
movaps xmm3, xmm6
jmp 0x140033f81
xorps xmm3, xmm3
movzx r8d, dil
lea rcx, [rbx + 8]
mov edx, 0x20f
call fcn.140006e10
mov dword [rbx + 0x2e28], 0x20f
mov dword [rbx + 0x33dc], 0xa2
mov ecx, 0xa3
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, dil
jne case.0x1400344b9.527
mov rbx, qword [0x14005b820]
cmp byte [rbx + 0x2b89], 0
je 0x140033fed
test dil, dil
jne 0x140033fd8
xorps xmm6, xmm6
movaps xmm3, xmm6
lea rcx, [rbx + 8]
movzx r8d, dil
mov edx, 0x213
call fcn.140006e10
mov dword [rbx + 0x2e2c], 0x213
mov dword [rbx + 0x33ec], 0xa3
jmp case.0x1400344b9.527
cmp ebx, 0x12
jne case.0x1400344b9.527
mov ecx, 0xa4
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, dil
jne 0x140034067
mov rbx, qword [0x14005b820]
cmp byte [rbx + 0x2b89], 0
je 0x140034053
test dil, dil
je 0x14003403e
movaps xmm3, xmm6
jmp 0x140034041
xorps xmm3, xmm3
movzx r8d, dil
lea rcx, [rbx + 8]
mov edx, 0x211
call fcn.140006e10
mov dword [rbx + 0x2e30], 0x211
mov dword [rbx + 0x33e4], 0xa4
mov ecx, 0xa5
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, dil
jne case.0x1400344b9.527
mov rbx, qword [0x14005b820]
cmp byte [rbx + 0x2b89], 0
je 0x1400340ad
test dil, dil
jne 0x140034098
xorps xmm6, xmm6
movaps xmm3, xmm6
lea rcx, [rbx + 8]
movzx r8d, dil
mov edx, 0x215
call fcn.140006e10
mov dword [rbx + 0x2e34], 0x215
mov dword [rbx + 0x33f4], 0xa5
jmp case.0x1400344b9.527
mov rdx, qword [rbx + 0xe8]
cmp r15d, 7
sete r8b
lea r9, [rdx + 0x3fb8]
movsxd rax, dword [r9]
test eax, eax
jle 0x140034101
lea rcx, [rax - 1]
imul rax, rcx, 0x1c
add rax, qword [rdx + 0x3fc0]
cmp dword [rax], 6
je 0x140034161
sub rax, 0x1c
sub rcx, 1
jns 0x1400340f2
cmp byte [rdx + 0x2b88], 0
sete cl
cmp cl, r8b
je case.0x1400344b9.527
cmp byte [rbx + 0x73], 0
je 0x140034124
cmp r15d, 7
jne case.0x1400344b9.527
xor eax, eax
xorps xmm0, xmm0
movups xmmword [rbp - 0x51], xmm0
mov qword [rbp - 0x41], rax
mov rcx, r9
mov dword [rbp - 0x39], eax
mov eax, dword [rdx + 0x3fdc]
mov dword [rbp - 0x49], eax
inc eax
mov dword [rdx + 0x3fdc], eax
lea rdx, [rbp - 0x51]
mov dword [rbp - 0x51], 6
mov byte [rbp - 0x45], r8b
call fcn.1400213c0
jmp case.0x1400344b9.527
movzx ecx, byte [rax + 0xc]
jmp 0x14003410b
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.0x1400344b9.527
xor edi, edi
mov dword [r14 + 0x2c], edi
jmp case.0x1400344b9.527
mov rcx, r13
call qword [sym.imp.USER32.dll_IsWindowUnicode]
test eax, eax
je 0x1400342df
mov rsi, qword [rbp - 0x11]
lea rax, [rsi - 1]
cmp rax, 0xfffe
ja case.0x1400344b9.527
test si, si
jne 0x1400341d5
cmp word [rbx + 0x2b84], si
je case.0x1400344b9.527
cmp byte [rbx + 0x2b81], 0
je case.0x1400344b9.527
mov ecx, 0xfc00
movzx eax, si
and ax, cx
mov edx, 0xd800
movzx ecx, word [rbx + 0x2b84]
cmp ax, dx
jne 0x140034259
test cx, cx
je 0x14003424d
mov rcx, qword [rbx + 0xe8]
lea rdx, [rbp - 0x51]
xor edi, edi
mov dword [rbp - 0x51], 5
mov r12d, 2
mov qword [rbp - 0x41], rdi
mov dword [rbp - 0x39], edi
mov eax, dword [rcx + 0x3fdc]
mov dword [rbp - 0x49], eax
inc eax
mov dword [rcx + 0x3fdc], eax
mov eax, 0xfffd
add rcx, 0x3fb8
mov dword [rbp - 0x45], eax
mov dword [rbp - 0x4d], r12d
call fcn.1400213c0
mov word [rbx + 0x2b84], si
jmp case.0x1400344b9.527
xor edi, edi
lea r12d, [rdi + 2]
test cx, cx
je 0x1400342be
mov ecx, 0xdc00
cmp ax, cx
je 0x1400342b2
mov rcx, qword [rbx + 0xe8]
lea rdx, [rbp - 0x51]
mov qword [rbp - 0x41], rdi
mov dword [rbp - 0x39], edi
mov dword [rbp - 0x51], 5
mov eax, dword [rcx + 0x3fdc]
mov dword [rbp - 0x49], eax
inc eax
mov dword [rcx + 0x3fdc], eax
mov eax, 0xfffd
add rcx, 0x3fb8
mov dword [rbp - 0x45], eax
mov dword [rbp - 0x4d], r12d
call fcn.1400213c0
jmp 0x1400342b7
mov esi, 0xfffd
mov word [rbx + 0x2b84], di
mov rcx, qword [rbx + 0xe8]
movzx edx, si
test edx, edx
je case.0x1400344b9.527
cmp byte [rbx + 0x2b81], dil
je case.0x1400344b9.527
jmp 0x14003432e
mov ecx, dword [r14 + 0x2c]
lea rax, [rbp - 0x19]
mov edx, 1
lea r8, [rbp - 0x11]
mov dword [rsp + 0x28], edx
xor edi, edi
mov r9d, edx
mov qword [rsp + 0x20], rax
mov word [rbp - 0x19], di
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movzx edx, word [rbp - 0x19]
mov rcx, qword [rbx + 0xe8]
test edx, edx
je case.0x1400344b9.527
cmp byte [rbx + 0x2b81], dil
je case.0x1400344b9.527
mov r12d, 2
mov eax, dword [rcx + 0x3fdc]
mov dword [rbp - 0x49], eax
inc eax
mov dword [rcx + 0x3fdc], eax
add rcx, 0x3fb8
mov dword [rbp - 0x45], edx
lea rdx, [rbp - 0x51]
mov dword [rbp - 0x51], 5
mov dword [rbp - 0x39], edi
mov qword [rbp - 0x41], rdi
mov dword [rbp - 0x4d], r12d
call fcn.1400213c0
jmp case.0x1400344b9.527
cmp si, 1
jne case.0x1400344b9.527
call fcn.140032ca0
test al, al
je case.0x1400344b9.527
mov eax, 1
jmp 0x140034786
call qword [sym.imp.USER32.dll_GetMessageExtraInfo]
mov edx, 0xffffff80
xor edi, edi
mov r8, rax
and r8, rdx
mov edx, 0xff515700
lea r12d, [rdi + 2]
cmp r8, rdx
jne 0x1400343b1
mov dword [rbp - 0x19], r12d
jmp 0x1400343c1
mov ecx, edi
mov eax, 0xff515780
cmp r8, rax
sete cl
mov dword [rbp - 0x19], ecx
mov ecx, dword [r14 + 0x10]
cmp r15d, 0x200
mov eax, edi
mov qword [r14 + 8], r13
setne al
inc eax
mov dword [rbp - 0x59], eax
cmp ecx, eax
je 0x140034434
cmp r15d, 0x200
mov dword [rbp - 0x31], 0x18
mov eax, 0x12
mov dword [rbp - 0x2d], 0x80000000
cmovne r12d, eax
mov qword [rbp - 0x29], r13
mov dword [rbp - 0x4d], r12d
mov dword [rbp - 0x21], edi
mov dword [rbp - 0x51], 0x18
mov qword [rbp - 0x49], r13
mov dword [rbp - 0x41], edi
test ecx, ecx
je 0x140034423
lea rcx, [rbp - 0x31]
call qword [sym.imp.USER32.dll_TrackMouseEvent]
lea rcx, [rbp - 0x51]
call qword [sym.imp.USER32.dll_TrackMouseEvent]
mov eax, dword [rbp - 0x59]
mov dword [r14 + 0x10], eax
movsx eax, si
shr rsi, 0x10
mov dword [rbp - 9], eax
movsx eax, si
mov dword [rbp - 5], eax
cmp r15d, 0xa0
jne 0x140034462
lea rdx, [rbp - 9]
mov rcx, r13
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je case.0x1400344b9.527
mov rax, qword [rbx + 0xe8]
mov ecx, dword [rbp - 0x19]
mov dword [rax + 0x3fd8], ecx
mov rcx, rbx
movd xmm2, dword [rbp - 5]
movd xmm1, dword [rbp - 9]
cvtdq2ps xmm2, xmm2
cvtdq2ps xmm1, xmm1
call fcn.140007020
jmp case.0x1400344b9.527
lea eax, [rdx - 0x201]
cmp eax, 0xa2
ja case.0x1400344b9.527
lea rdx, [0x140000000]
movzx eax, byte [rdx + rax + 0x348e8]
mov ecx, dword [rdx + rax*4 + 0x348cc]
add rcx, rdx
jmp rcx
xor edi, edi
cmp r15d, 0x2a3
mov eax, edi
setne al
inc eax
cmp dword [r14 + 0x10], eax
jne case.0x1400344b9.527
cmp qword [r14 + 8], r13
jne 0x1400344df
mov qword [r14 + 8], rdi
movss xmm1, dword [0x140053450]
mov rcx, rbx
movaps xmm2, xmm1
mov dword [r14 + 0x10], edi
call fcn.140007020
jmp case.0x1400344b9.527
call qword [sym.imp.USER32.dll_GetMessageExtraInfo]
mov edx, 0xffffff80
xor edi, edi
mov rcx, rax
and rcx, rdx
mov edx, 0xff515700
lea r12d, [rdi + 2]
cmp rcx, rdx
jne 0x140034522
mov dword [rbp - 0x19], r12d
jmp 0x140034535
mov r8d, edi
mov eax, 0xff515780
cmp rcx, rax
sete r8b
mov dword [rbp - 0x19], r8d
lea eax, [r15 - 0x204]
mov esi, edi
test eax, 0xfffffffd
mov edx, 1
lea eax, [r15 - 0x207]
cmove esi, edx
test eax, 0xfffffffd
lea eax, [r15 - 0x20b]
cmove esi, r12d
test eax, 0xfffffffd
jne 0x14003457d
mov rax, qword [rbp - 0x11]
mov esi, edi
shr rax, 0x10
cmp ax, dx
setne sil
add esi, 3
cmp dword [r14 + 0x14], edi
jne 0x140034597
call qword [sym.imp.USER32.dll_GetCapture]
test rax, rax
jne 0x140034597
mov rcx, r13
call qword [sym.imp.USER32.dll_SetCapture]
mov eax, dword [r14 + 0x14]
mov r8b, 1
mov ecx, dword [rbp - 0x19]
bts eax, esi
mov dword [r14 + 0x14], eax
mov edx, esi
mov rax, qword [rbx + 0xe8]
mov dword [rax + 0x3fd8], ecx
mov rcx, rbx
call fcn.140007160
jmp case.0x1400344b9.527
call qword [sym.imp.USER32.dll_GetMessageExtraInfo]
mov edx, 0xffffff80
xor edi, edi
mov rcx, rax
and rcx, rdx
mov edx, 0xff515700
lea r12d, [rdi + 2]
cmp rcx, rdx
jne 0x1400345eb
mov dword [rbp - 0x19], r12d
jmp 0x1400345fb
mov edx, edi
mov eax, 0xff515780
cmp rcx, rax
sete dl
mov dword [rbp - 0x19], edx
cmp r15d, 0x205
mov esi, edi
sete sil
cmp r15d, 0x208
jne 0x140034616
mov esi, r12d
jmp 0x140034634
cmp r15d, 0x20c
jne 0x140034634
mov rax, qword [rbp - 0x11]
mov esi, edi
shr rax, 0x10
cmp ax, 1
setne sil
add esi, 3
mov eax, dword [r14 + 0x14]
btr eax, esi
mov dword [r14 + 0x14], eax
test eax, eax
jne 0x140034654
call qword [sym.imp.USER32.dll_GetCapture]
cmp rax, r13
jne 0x140034654
call qword [sym.imp.USER32.dll_ReleaseCapture]
mov rax, qword [rbx + 0xe8]
mov ecx, dword [rbp - 0x19]
mov dword [rax + 0x3fd8], ecx
mov r8, qword [rbx + 0xe8]
cmp byte [rbx + 0x2b81], dil
je case.0x1400344b9.527
mov edx, 1
cmp byte [rbx + 0x51], dil
je 0x140034699
test esi, esi
jne 0x140034699
cmp byte [rbx + 0x2b3e], dil
je 0x140034699
mov esi, edx
mov byte [rbx + 0x2b3e], dil
movsxd rax, dword [r8 + 0x3fb8]
test eax, eax
jle 0x1400346c6
lea rcx, [rax - 1]
imul rax, rcx, 0x1c
add rax, qword [r8 + 0x3fc0]
cmp dword [rax], 3
jne 0x1400346bd
cmp dword [rax + 0xc], esi
je 0x140034724
sub rax, 0x1c
sub rcx, rdx
jns 0x1400346b3
mov eax, esi
movzx ecx, byte [rax + r8 + 0x100]
test cl, cl
je case.0x1400344b9.527
mov eax, dword [r8 + 0x3fdc]
lea rcx, [r8 + 0x3fb8]
mov dword [rbp - 0x49], eax
inc eax
mov dword [r8 + 0x3fdc], eax
mov eax, dword [r8 + 0x3fd8]
mov dword [rbp - 0x4d], edx
lea rdx, [rbp - 0x51]
mov dword [rbp - 0x3d], eax
mov word [rbp - 0x40], di
mov byte [rbp - 0x3e], dil
mov dword [rbp - 0x39], edi
mov dword [rbp - 0x51], 3
mov dword [rbp - 0x45], esi
mov byte [rbp - 0x41], dil
call fcn.1400213c0
jmp case.0x1400344b9.527
movzx ecx, byte [rax + 0x10]
jmp 0x1400346d1
shr r8, 0x10
xorps xmm1, xmm1
movsx eax, r8w
mov rcx, rbx
movd xmm2, eax
cvtdq2ps xmm2, xmm2
divss xmm2, dword [0x1400533ac]
call fcn.140007310
jmp case.0x1400344b9.527
shr r8, 0x10
xorps xmm2, xmm2
movsx eax, r8w
mov rcx, rbx
movd xmm1, eax
cvtdq2ps xmm1, xmm1
xorps xmm1, xmmword [0x140053800]
divss xmm1, dword [0x1400533ac]
call fcn.140007310
jmp case.0x1400344b9.527
cmp r8d, 7
jne case.0x1400344b9.527
mov byte [r14 + 0x31], 1
xor eax, eax
mov rcx, qword [rbp - 1]
xor rcx, rsp
call fcn.140049b50
movaps xmm6, xmmword [rsp + 0x90]
add rsp, 0xa8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret