Function at 0x140032a00
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 [0x14011a0b8]
xor rax, rsp
mov qword [rbp - 1], rax
mov rbx, qword [0x140179590]
mov rsi, r9
mov qword [rbp - 0x11], r8
mov r15d, edx
mov r13, rcx
test rbx, rbx
je case.0x140033289.527
mov r14, qword [rbx + 0x90]
test r14, r14
je case.0x140033289.527
add rbx, 8
cmp edx, 0x200
ja 0x14003325f
je case.0x140032a99.160
lea eax, [rdx - 7]
cmp eax, 0xfe
ja case.0x140033289.527
lea rdx, [0x140000000]
movzx eax, byte [rdx + rax + 0x3359c]
mov ecx, dword [rdx + rax*4 + 0x33580]
add rcx, rdx
jmp rcx
lea eax, [r15 - 0x100]
mov r14d, 0x100
test eax, 0xfffffffb
sete dil
cmp r8, r14
jae case.0x140033289.527
mov ecx, reloc.WS2_32.dll_recvfrom
call qword [sym.imp.USER32.dll_GetKeyState]
movss xmm6, dword [0x14010650c]
shr eax, 0xf
and al, 1
cmp byte [rbx + 0x2b81], 0
je 0x140032af8
test al, al
je 0x140032ae4
movaps xmm3, xmm6
jmp 0x140032ae7
xorps xmm3, xmm3
movzx r8d, al
mov edx, 0x1000
mov rcx, rbx
call fcn.1400056f0
mov ecx, reloc.WS2_32.dll_recv
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp byte [rbx + 0x2b81], 0
je 0x140032b2e
test al, al
je 0x140032b1a
movaps xmm3, xmm6
jmp 0x140032b1d
xorps xmm3, xmm3
movzx r8d, al
mov edx, 0x2000
mov rcx, rbx
call fcn.1400056f0
mov ecx, reloc.WS2_32.dll_select
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp byte [rbx + 0x2b81], 0
je 0x140032b64
test al, al
je 0x140032b50
movaps xmm3, xmm6
jmp 0x140032b53
xorps xmm3, xmm3
movzx r8d, al
mov edx, 0x4000
mov rcx, rbx
call fcn.1400056f0
mov ecx, 0x5d
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp byte [rbx + 0x2b81], 0
je 0x140032b9a
test al, al
je 0x140032b86
movaps xmm3, xmm6
jmp 0x140032b89
xorps xmm3, xmm3
movzx r8d, al
mov edx, 0x8000
mov rcx, rbx
call fcn.1400056f0
mov rbx, qword [rbp - 0x11]
cmp rbx, 0xd
jne 0x140032bb4
shr rsi, 0x10
mov eax, 0x10d
test r14w, si
cmovne ebx, eax
movsxd r15, ebx
mov rcx, r15
call fcn.140032420
movsxd rsi, eax
cmp esi, 0x262
jne 0x140032c0d
test dil, dil
jne 0x140032c11
mov r14, qword [0x140179590]
cmp byte [r14 + 0x2b89], dil
je 0x140032bf0
movaps xmm3, xmm6
lea rcx, [r14 + 8]
mov r8b, 1
mov edx, esi
call fcn.1400056f0
cmp ebx, 0x1ff
ja 0x140032c11
mov dword [r14 + r15*4 + 0x2ba0], 0x262
mov dword [r14 + 0x3528], ebx
jmp 0x140032c11
test eax, eax
je 0x140032c56
mov r14, qword [0x140179590]
cmp byte [r14 + 0x2b89], 0
je 0x140032c3e
test dil, dil
je 0x140032c2c
movaps xmm3, xmm6
jmp 0x140032c2f
xorps xmm3, xmm3
movzx r8d, dil
lea rcx, [r14 + 8]
mov edx, esi
call fcn.1400056f0
cmp ebx, 0x1ff
ja 0x140032c56
mov dword [r14 + r15*4 + 0x2ba0], esi
mov dword [r14 + rsi*4 + 0x2ba0], ebx
cmp ebx, 0x10
jne 0x140032d16
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, dil
jne 0x140032cb7
mov rbx, qword [0x140179590]
cmp byte [rbx + 0x2b89], 0
je 0x140032ca3
test dil, dil
je 0x140032c8e
movaps xmm3, xmm6
jmp 0x140032c91
xorps xmm3, xmm3
movzx r8d, dil
lea rcx, [rbx + 8]
mov edx, 0x210
call fcn.1400056f0
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.0x140033289.527
mov rbx, qword [0x140179590]
cmp byte [rbx + 0x2b89], 0
je 0x140032cfd
test dil, dil
jne 0x140032ce8
xorps xmm6, xmm6
movaps xmm3, xmm6
lea rcx, [rbx + 8]
movzx r8d, dil
mov edx, 0x214
call fcn.1400056f0
mov dword [rbx + 0x2e24], 0x214
mov dword [rbx + 0x33f0], 0xa1
jmp case.0x140033289.527
cmp ebx, 0x11
jne 0x140032dd6
mov ecx, 0xa2
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, dil
jne 0x140032d77
mov rbx, qword [0x140179590]
cmp byte [rbx + 0x2b89], 0
je 0x140032d63
test dil, dil
je 0x140032d4e
movaps xmm3, xmm6
jmp 0x140032d51
xorps xmm3, xmm3
movzx r8d, dil
lea rcx, [rbx + 8]
mov edx, 0x20f
call fcn.1400056f0
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.0x140033289.527
mov rbx, qword [0x140179590]
cmp byte [rbx + 0x2b89], 0
je 0x140032dbd
test dil, dil
jne 0x140032da8
xorps xmm6, xmm6
movaps xmm3, xmm6
lea rcx, [rbx + 8]
movzx r8d, dil
mov edx, 0x213
call fcn.1400056f0
mov dword [rbx + 0x2e2c], 0x213
mov dword [rbx + 0x33ec], 0xa3
jmp case.0x140033289.527
cmp ebx, 0x12
jne case.0x140033289.527
mov ecx, 0xa4
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp al, dil
jne 0x140032e37
mov rbx, qword [0x140179590]
cmp byte [rbx + 0x2b89], 0
je 0x140032e23
test dil, dil
je 0x140032e0e
movaps xmm3, xmm6
jmp 0x140032e11
xorps xmm3, xmm3
movzx r8d, dil
lea rcx, [rbx + 8]
mov edx, 0x211
call fcn.1400056f0
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.0x140033289.527
mov rbx, qword [0x140179590]
cmp byte [rbx + 0x2b89], 0
je 0x140032e7d
test dil, dil
jne 0x140032e68
xorps xmm6, xmm6
movaps xmm3, xmm6
lea rcx, [rbx + 8]
movzx r8d, dil
mov edx, 0x215
call fcn.1400056f0
mov dword [rbx + 0x2e34], 0x215
mov dword [rbx + 0x33f4], 0xa5
jmp case.0x140033289.527
mov rdx, qword [rbx + 0xe8]
cmp r15d, 7
sete r8b
lea r9, [rdx + 0x3fb8]
movsxd rax, dword [r9]
test eax, eax
jle 0x140032ed1
lea rcx, [rax - 1]
imul rax, rcx, 0x1c
add rax, qword [rdx + 0x3fc0]
cmp dword [rax], 6
je 0x140032f31
sub rax, 0x1c
sub rcx, 1
jns 0x140032ec2
cmp byte [rdx + 0x2b88], 0
sete cl
cmp cl, r8b
je case.0x140033289.527
cmp byte [rbx + 0x73], 0
je 0x140032ef4
cmp r15d, 7
jne case.0x140033289.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.14001fce0
jmp case.0x140033289.527
movzx ecx, byte [rax + 0xc]
jmp 0x140032edb
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.0x140033289.527
xor edi, edi
mov dword [r14 + 0x2c], edi
jmp case.0x140033289.527
mov rcx, r13
call qword [sym.imp.USER32.dll_IsWindowUnicode]
test eax, eax
je 0x1400330af
mov rsi, qword [rbp - 0x11]
lea rax, [rsi - 1]
cmp rax, 0xfffe
ja case.0x140033289.527
test si, si
jne 0x140032fa5
cmp word [rbx + 0x2b84], si
je case.0x140033289.527
cmp byte [rbx + 0x2b81], 0
je case.0x140033289.527
mov ecx, 0xfc00
movzx eax, si
and ax, cx
mov edx, 0xd800
movzx ecx, word [rbx + 0x2b84]
cmp ax, dx
jne 0x140033029
test cx, cx
je 0x14003301d
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.14001fce0
mov word [rbx + 0x2b84], si
jmp case.0x140033289.527
xor edi, edi
lea r12d, [rdi + 2]
test cx, cx
je 0x14003308e
mov ecx, 0xdc00
cmp ax, cx
je 0x140033082
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.14001fce0
jmp 0x140033087
mov esi, 0xfffd
mov word [rbx + 0x2b84], di
mov rcx, qword [rbx + 0xe8]
movzx edx, si
test edx, edx
je case.0x140033289.527
cmp byte [rbx + 0x2b81], dil
je case.0x140033289.527
jmp 0x1400330fe
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.0x140033289.527
cmp byte [rbx + 0x2b81], dil
je case.0x140033289.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.14001fce0
jmp case.0x140033289.527
cmp si, 1
jne case.0x140033289.527
call fcn.140031a70
test al, al
je case.0x140033289.527
mov eax, 1
jmp 0x140033556
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 0x140033181
mov dword [rbp - 0x19], r12d
jmp 0x140033191
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 0x140033204
cmp r15d, 0x200
mov dword [rbp - 0x31], Ordinal_26
mov eax, reloc.WS2_32.dll_select
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], Ordinal_26
mov qword [rbp - 0x49], r13
mov dword [rbp - 0x41], edi
test ecx, ecx
je 0x1400331f3
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 0x140033232
lea rdx, [rbp - 9]
mov rcx, r13
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je case.0x140033289.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.140005900
jmp case.0x140033289.527
lea eax, [rdx - 0x201]
cmp eax, 0xa2
ja case.0x140033289.527
lea rdx, [0x140000000]
movzx eax, byte [rdx + rax + 0x336b8]
mov ecx, dword [rdx + rax*4 + 0x3369c]
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.0x140033289.527
cmp qword [r14 + 8], r13
jne 0x1400332af
mov qword [r14 + 8], rdi
movss xmm1, dword [0x140106704]
mov rcx, rbx
movaps xmm2, xmm1
mov dword [r14 + 0x10], edi
call fcn.140005900
jmp case.0x140033289.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 0x1400332f2
mov dword [rbp - 0x19], r12d
jmp 0x140033305
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 0x14003334d
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 0x140033367
call qword [sym.imp.USER32.dll_GetCapture]
test rax, rax
jne 0x140033367
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.140005a40
jmp case.0x140033289.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 0x1400333bb
mov dword [rbp - 0x19], r12d
jmp 0x1400333cb
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 0x1400333e6
mov esi, r12d
jmp 0x140033404
cmp r15d, 0x20c
jne 0x140033404
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 0x140033424
call qword [sym.imp.USER32.dll_GetCapture]
cmp rax, r13
jne 0x140033424
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.0x140033289.527
mov edx, 1
cmp byte [rbx + 0x51], dil
je 0x140033469
test esi, esi
jne 0x140033469
cmp byte [rbx + 0x2b3e], dil
je 0x140033469
mov esi, edx
mov byte [rbx + 0x2b3e], dil
movsxd rax, dword [r8 + 0x3fb8]
test eax, eax
jle 0x140033496
lea rcx, [rax - 1]
imul rax, rcx, 0x1c
add rax, qword [r8 + 0x3fc0]
cmp dword [rax], 3
jne 0x14003348d
cmp dword [rax + 0xc], esi
je 0x1400334f4
sub rax, 0x1c
sub rcx, rdx
jns 0x140033483
mov eax, esi
movzx ecx, byte [rax + r8 + 0x100]
test cl, cl
je case.0x140033289.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.14001fce0
jmp case.0x140033289.527
movzx ecx, byte [rax + 0x10]
jmp 0x1400334a1
shr r8, 0x10
xorps xmm1, xmm1
movsx eax, r8w
mov rcx, rbx
movd xmm2, eax
cvtdq2ps xmm2, xmm2
divss xmm2, dword [0x1401065e8]
call fcn.140005bf0
jmp case.0x140033289.527
shr r8, 0x10
xorps xmm2, xmm2
movsx eax, r8w
mov rcx, rbx
movd xmm1, eax
cvtdq2ps xmm1, xmm1
xorps xmm1, xmmword [0x140106c20]
divss xmm1, dword [0x1401065e8]
call fcn.140005bf0
jmp case.0x140033289.527
cmp r8d, 7
jne case.0x140033289.527
mov byte [r14 + 0x31], 1
xor eax, eax
mov rcx, qword [rbp - 1]
xor rcx, rsp
call fcn.1400cbe90
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