Function at 0x1000ec40
Capabilities:
Get geographical location
Get keyboard layout
Log keystrokes via input method manager

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009fba5
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x100c50e4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [ebp + 8]
cmp edi, 0x10f
ja 0x1000eefb
je 0x1000ed81
lea eax, [edi - 0x50]
cmp eax, 0xbe
ja case.0x1000ef0d.643
movzx eax, byte [eax + 0x1000f034]
jmp dword [eax*4 + 0x1000f024]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
push dword [ebx + 0xc4]
call dword [sym.imp.USER32.dll_DefWindowProcW]
jmp 0x1000eebe
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push 0xa
lea ecx, [ebp - 0x1c]
movzx eax, ax
push ecx
push 0x1004
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x1000ecf9
lea eax, [ebp - 0x1c]
push eax
call fcn.10090794
add esp, 4
cmp eax, 0x3b5
je case.0x1000ef0d.643
cmp eax, 0x551
je case.0x1000ef0d.643
cmp dword [ebx + 0x88], 1
je case.0x1000ef0d.643
mov ecx, ebx
call fcn.10012740
jmp case.0x1000ef0d.642
mov ecx, dword [ebx + 0xb8]
mov byte [ebx + 0x2f2], 0
call fcn.1002f230
cmp byte [ebx + 0x34], 0
mov ecx, ebx
mov eax, dword [ebx]
push 0
mov eax, dword [eax + 0xcc]
je 0x1000ed6d
mov word [ebx + 0x14], 0x101
call eax
mov ecx, dword [ebx + 0x18]
test ecx, ecx
jle 0x1000ed75
mov esi, dword [ebx]
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push ecx
push 0
mov ecx, ebx
call dword [esi + 0xc8]
mov ecx, ebx
call fcn.10046350
jmp case.0x1000ef0d.642
mov word [ebx + 0x14], 0
call eax
mov ecx, ebx
call fcn.10046350
jmp case.0x1000ef0d.642
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push 0xa
lea ecx, [ebp - 0x1c]
movzx eax, ax
push ecx
push 0x1004
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x1000edc4
lea eax, [ebp - 0x1c]
push eax
call fcn.10090794
add esp, 4
cmp eax, 0x3b5
je 0x1000eeee
cmp eax, 0x551
je 0x1000eeee
cmp dword [ebx + 0x88], 1
je 0x1000eeee
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebx + 0xc4]
mov dword [ebp - 0x54], eax
test ecx, 0x800
je 0x1000eedc
push eax
mov dword [ebp - 0x1c], eax
call dword [sym.imp.IMM32.dll_ImmGetContext]
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0
test eax, eax
je case.0x1000ef0d.643
mov edi, dword [sym.imp.IMM32.dll_ImmGetCompositionStringW]
push 0
push 0
push 0x800
push eax
call edi
mov esi, eax
cdq
sub eax, edx
push ecx
sar eax, 1
lea ecx, [ebp - 0x34]
push eax
call fcn.100145b0
cmp dword [ebp - 0x20], 8
lea eax, [ebp - 0x34]
push esi
cmovae eax, dword [ebp - 0x34]
mov esi, dword [ebp - 0x18]
push eax
push 0x800
push esi
call edi
mov byte [ebp - 4], 1
lea eax, [ebp - 0x34]
cmp dword [ebp - 0x20], 8
mov ecx, ebx
push dword [ebp - 0x24]
cmovae eax, dword [ebp - 0x34]
push eax
push 2
call fcn.1000cb00
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0
call fcn.100147b0
mov edx, dword [ebx + 0x60]
mov eax, dword [ebx + 0x38]
add edx, edx
push dword [eax + edx*8 + 4]
push dword [eax + edx*8]
lea eax, [ebp - 0x68]
push ecx
push eax
mov ecx, ebx
call fcn.10042d40
cvttsd2si eax, qword [ebp - 0x60]
mov dword [ebp - 0x50], 2
cvttsd2si ecx, qword [ebp - 0x68]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x50]
push eax
push esi
xorps xmm0, xmm0
movlpd qword [ebp - 0x44], xmm0
movlpd qword [ebp - 0x3c], xmm0
mov dword [ebp - 0x4c], ecx
call dword [sym.imp.IMM32.dll_ImmSetCompositionWindow]
push esi
push dword [ebp - 0x54]
call dword [sym.imp.IMM32.dll_ImmReleaseContext]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10083210
mov esp, ebp
pop ebp
ret 0xc
push ecx
push dword [ebp + 0xc]
push 0x10f
push eax
call dword [sym.imp.USER32.dll_DefWindowProcW]
jmp 0x1000eebe
push dword [ebp + 0x10]
push ecx
mov ecx, ebx
call fcn.1000cc50
jmp 0x1000eebe
lea eax, [edi - 0x281]
cmp eax, 0xf
ja case.0x1000ef0d.643
movzx eax, byte [eax + 0x1000f108]
jmp dword [eax*4 + 0x1000f0f4]
mov esi, dword [ebp + 0xc]
cmp esi, 0x19
jne 0x1000ef4f
mov edx, dword [ebx + 0x3c]
mov eax, edx
mov ecx, dword [ebx + 0x38]
sub eax, ecx
sar eax, 4
cmp eax, 1
ja 0x1000ef4f
cmp ecx, edx
je 0x1000ef48
mov eax, dword [ecx + 8]
cmp eax, dword [ecx]
jne 0x1000ef65
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 4]
jne 0x1000ef65
add ecx, 0x10
cmp ecx, edx
jne 0x1000ef32
mov ecx, ebx
call fcn.1000c790
push dword [ebp + 0x10]
push esi
push edi
push dword [ebx + 0xc4]
call dword [sym.imp.USER32.dll_DefWindowProcW]
jmp 0x1000eebe
mov ecx, ebx
call fcn.1000c410
jmp 0x1000ef4f
mov eax, dword [ebp + 0xc]
push dword [ebp + 0x10]
cmp eax, 4
jne 0x1000ef83
call fcn.10012970
jmp 0x1000eebe
cmp eax, 7
jne 0x1000ef92
call fcn.10013040
jmp 0x1000eebe
push eax
push edi
push dword [ebx + 0xc4]
call dword [sym.imp.USER32.dll_DefWindowProcW]
jmp 0x1000eebe
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push 0xa
lea ecx, [ebp - 0x1c]
movzx eax, ax
push ecx
push 0x1004
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov esi, dword [ebp + 0xc]
test eax, eax
je 0x1000efe3
lea eax, [ebp - 0x1c]
push eax
call fcn.10090794
add esp, 4
cmp eax, 0x3b5
je 0x1000efec
cmp eax, 0x551
je 0x1000efec
cmp dword [ebx + 0x88], 1
jne 0x1000f00c
test esi, esi
je 0x1000f00c
mov eax, dword [ebp + 0x10]
and eax, 0x7fffffff
push eax
push esi
push edi
push dword [ebx + 0xc4]
call dword [sym.imp.USER32.dll_DefWindowProcW]
jmp 0x1000eebe
push dword [ebp + 0x10]
push esi
push edi
push dword [ebx + 0xc4]
call dword [sym.imp.USER32.dll_DefWindowProcW]
jmp 0x1000eebe