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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009fa8d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x70
mov eax, dword [0x100c50e4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0xc4]
push eax
mov dword [ebp - 0x5c], eax
call dword [sym.imp.IMM32.dll_ImmGetContext]
mov dword [ebp - 0x58], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x1000d24d
mov edi, dword [esi + 0xb8]
cmp byte [edi + 0x58], 0
jne 0x1000d234
mov ecx, esi
call fcn.100447e0
test al, al
jne 0x1000d231
mov byte [ebp - 0x45], al
mov eax, dword [edi + 0x64]
mov eax, dword [eax + 0x40]
shr eax, 0x1f
xor al, 1
je 0x1000ccea
mov ecx, edi
call fcn.1002f230
jmp 0x1000ccee
mov byte [ebp - 0x45], 1
cmp dword [esi + 0x638], 0
mov byte [esi + 0x2f2], 0
je 0x1000cd16
cmp byte [esi + 0x63c], 0
jne 0x1000cd16
push 0
call dword [sym.imp.USER32.dll_SetCursor]
mov byte [esi + 0x63c], 1
mov eax, dword [ebx + 0xc]
mov ecx, dword [sym.imp.IMM32.dll_ImmGetCompositionStringW]
test eax, 0x800
je 0x1000cd95
push 0
push 0
push 0x800
push dword [ebp - 0x58]
call ecx
mov edi, eax
cdq
sub eax, edx
push ecx
sar eax, 1
lea ecx, [ebp - 0x2c]
push eax
call fcn.100145b0
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
push edi
cmovae eax, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x58]
push eax
mov eax, dword [sym.imp.IMM32.dll_ImmGetCompositionStringW]
push 0x800
push edi
call eax
mov byte [ebp - 4], 1
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
mov ecx, esi
push dword [ebp - 0x1c]
cmovae eax, dword [ebp - 0x2c]
push eax
push 2
call fcn.1000cb00
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call fcn.100147b0
mov eax, dword [ebx + 0xc]
mov ecx, dword [sym.imp.IMM32.dll_ImmGetCompositionStringW]
jmp 0x1000cd98
mov edi, dword [ebp - 0x58]
test al, 8
je 0x1000d1cb
push 0
push 0
push 8
push edi
call ecx
mov edi, eax
cdq
sub eax, edx
push ecx
sar eax, 1
lea ecx, [ebp - 0x2c]
push eax
call fcn.100145b0
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
push edi
cmovae eax, dword [ebp - 0x2c]
push eax
mov eax, dword [sym.imp.IMM32.dll_ImmGetCompositionStringW]
push 8
push dword [ebp - 0x58]
call eax
mov byte [ebp - 4], 2
cmp dword [ebp - 0x1c], 0
jne 0x1000ce4d
cmp byte [esi + 0x34], 0
mov ecx, esi
mov eax, dword [esi]
push 0
mov eax, dword [eax + 0xcc]
je 0x1000ce31
mov word [esi + 0x14], 0x101
call eax
mov ecx, dword [esi + 0x18]
test ecx, ecx
jle 0x1000ce39
mov edi, dword [esi]
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, esi
call dword [edi + 0xc8]
mov ecx, esi
call fcn.10046350
lea ecx, [ebp - 0x2c]
call fcn.100147b0
jmp 0x1000d241
mov word [esi + 0x14], 0
call eax
mov ecx, esi
call fcn.10046350
lea ecx, [ebp - 0x2c]
call fcn.100147b0
jmp 0x1000d241
cmp byte [ebp - 0x45], 0
je 0x1000ce5a
mov ecx, esi
call fcn.10049470
mov ecx, esi
call fcn.1000c2c0
mov eax, dword [esi + 0xb8]
sub esp, 0xc
mov edi, esp
mov ecx, dword [eax + 0x64]
push 0
push 0
push 0x10
mov eax, dword [ecx + 0x34]
mov dword [ebp - 0x4c], edi
push dword [ebp - 0x58]
mov dword [ecx + 0x40], eax
call dword [sym.imp.IMM32.dll_ImmGetCompositionStringW]
xor ecx, ecx
mov dword [ebp - 0x50], eax
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
test eax, eax
je 0x1000cee4
cmp eax, 0x7fffffff
ja 0x1000d26f
push eax
mov ecx, edi
call fcn.10014f50
push dword [ebp - 0x50]
mov edi, dword [edi]
push 0
push edi
call fcn.10085460
mov eax, dword [ebp - 0x50]
lea ecx, [ebp - 0x4c]
add eax, edi
add esp, 0xc
mov edi, dword [ebp - 0x4c]
mov dword [ebp - 0x4c], 0
mov dword [edi + 4], eax
call fcn.10014e30
mov ecx, dword [edi + 4]
mov eax, dword [edi]
sub ecx, eax
push ecx
push eax
push 0x10
push dword [ebp - 0x58]
call dword [sym.imp.IMM32.dll_ImmGetCompositionStringW]
lea ecx, [ebp - 0x80]
call fcn.1000c950
add esp, 0xc
mov byte [ebp - 4], 3
mov eax, dword [esi + 0xb8]
mov edx, dword [eax + 0x1e4]
mov eax, dword [esi + 0xf4]
mov ecx, dword [eax + 0xf14]
call fcn.1000d280
cmp dword [ebp - 0x18], 8
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
xor edi, edi
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x4c], edi
test edx, edx
je 0x1000d092
lea edx, [eax + edi*2]
mov ecx, 0x3ff
movzx eax, word [edx]
add eax, 0x2800
cmp cx, ax
mov eax, dword [ebp - 0x50]
sbb ecx, ecx
add ecx, 2
mov dword [ebp - 0x54], ecx
cmp eax, edi
jb 0x1000d279
sub eax, edi
cmp eax, ecx
cmovb ecx, eax
push ecx
push edx
mov edx, dword [ebp - 0x74]
lea ecx, [ebp - 0x44]
call fcn.1000ba20
add esp, 8
mov byte [ebp - 4], 4
mov ecx, esi
mov eax, dword [esi]
cmp dword [ebp - 0x30], 0x10
push 1
push dword [ebp - 0x34]
mov edx, dword [eax + 0x54]
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push eax
call edx
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x80]
mov edx, dword [eax + edi*4]
lea eax, [edx - 8]
cmp eax, 0x23
ja 0x1000d044
mov ecx, dword [esi + 0xb8]
add ecx, 4
push edx
push ecx
mov eax, dword [ecx]
call dword [eax + 0x38]
mov eax, dword [esi + 0x3c]
mov ecx, dword [esi + 0x38]
sub eax, ecx
sar eax, 4
mov dword [ebp - 0x6c], 0
test eax, eax
je 0x1000d044
xor edx, edx
mov dword [ebp - 0x70], edx
lea edi, [ecx + edx]
lea eax, [edi + 8]
mov dword [ebp - 0x64], eax
mov eax, dword [eax]
cmp eax, dword [edi]
jne 0x1000cff8
mov eax, dword [edi + 0xc]
cmp eax, dword [edi + 4]
mov edx, dword [esi + 0xb8]
setl byte [ebp - 0x45]
push dword [ebp - 0x68]
add edx, 4
cmp byte [ebp - 0x45], 0
push 1
mov eax, dword [edx]
mov ecx, dword [eax + 0x3c]
mov eax, dword [ebp - 0x64]
cmove eax, edi
mov eax, dword [eax]
sub eax, dword [ebp - 0x68]
push eax
push edx
call ecx
mov eax, dword [esi + 0x3c]
mov edi, dword [ebp - 0x6c]
mov ecx, dword [esi + 0x38]
inc edi
mov edx, dword [ebp - 0x70]
sub eax, ecx
add edx, 0x10
sar eax, 4
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x70], edx
cmp edi, eax
jb 0x1000cfe3
mov edi, dword [ebp - 0x4c]
add edi, dword [ebp - 0x54]
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x4c], edi
cmp edx, 0x10
jb 0x1000d082
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000d078
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000d274
push edx
push ecx
call fcn.1008376a
add esp, 8
cmp edi, dword [ebp - 0x50]
jae 0x1000d08f
mov eax, dword [ebp - 0x60]
jmp 0x1000cf45
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x80]
mov ecx, dword [ebp - 0x7c]
cmp eax, ecx
je 0x1000d175
cmp dword [eax], 0x21
jne 0x1000d0b1
add eax, 4
cmp eax, ecx
jne 0x1000d0a0
jmp 0x1000d175
mov eax, dword [ebx + 0xc]
neg edx
and eax, 0x4080
mov dword [ebp - 0x50], edx
cmp eax, 0x80
jne 0x1000d0d8
push 0
push 0
push eax
push dword [ebp - 0x58]
call dword [sym.imp.IMM32.dll_ImmGetCompositionStringW]
mov edx, dword [ebp - 0x50]
add edx, eax
test edx, edx
je 0x1000d175
mov eax, dword [esi + 0x60]
mov ecx, dword [esi + 0xb8]
shl eax, 4
add eax, dword [esi + 0x38]
push edx
mov eax, dword [eax]
push eax
mov dword [ebp - 0x60], eax
call fcn.100311a0
mov ecx, dword [esi + 0x3c]
mov edx, dword [esi + 0x38]
sub ecx, edx
sar ecx, 4
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x4c], 0
test ecx, ecx
je 0x1000d175
xor ecx, ecx
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x54], ecx
add ecx, edx
mov eax, dword [ecx + 8]
lea edx, [ecx + 8]
cmp eax, dword [ecx]
jne 0x1000d139
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 4]
mov edi, dword [ebp - 0x4c]
setl al
test al, al
cmove edx, ecx
inc edi
mov dword [ebp - 0x4c], edi
mov eax, dword [edx]
sub eax, dword [ebp - 0x60]
add eax, dword [ebp - 0x64]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x34], eax
movups xmm0, xmmword [ebp - 0x3c]
movups xmmword [ecx], xmm0
mov eax, dword [esi + 0x3c]
mov edx, dword [esi + 0x38]
sub eax, edx
mov ecx, dword [ebp - 0x54]
add ecx, 0x10
sar eax, 4
mov dword [ebp - 0x54], ecx
cmp edi, eax
jb 0x1000d127
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push 0xa
lea ecx, [ebp - 0x38]
movzx eax, ax
push ecx
push 0x1004
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x1000d1b7
lea eax, [ebp - 0x38]
push eax
call fcn.10090794
add esp, 4
cmp eax, 0x3b5
je 0x1000d1b0
cmp eax, 0x551
jne 0x1000d1b7
mov byte [esi + 0x2f2], 1
lea ecx, [ebp - 0x80]
call fcn.1000a6c0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call fcn.100147b0
push ecx
push 1
push 1
mov ecx, esi
call fcn.10046210
cmp byte [esi + 0x34], 0
mov ecx, esi
mov eax, dword [esi]
push 0
mov eax, dword [eax + 0xcc]
je 0x1000d220
mov word [esi + 0x14], 0x101
call eax
mov ecx, dword [esi + 0x18]
test ecx, ecx
jle 0x1000d228
mov edi, dword [esi]
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, esi
call dword [edi + 0xc8]
mov ecx, esi
call fcn.10046350
jmp 0x1000d241
mov word [esi + 0x14], 0
call eax
mov ecx, esi
call fcn.10046350
jmp 0x1000d241
mov eax, dword [ebp - 0x58]
push 0
push 4
push 0x15
push eax
call dword [sym.imp.IMM32.dll_ImmNotifyIME]
push dword [ebp - 0x58]
push dword [ebp - 0x5c]
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
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10083210
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
call fcn.10007db0
call fcn.10089306
call fcn.10014bd0
int3