Function at 0x1000d922
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005f47e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x88
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1000d986
lea eax, [ebp + 0x20]
mov dword [ebp - 0x2c], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x4c]
push dword [eax]
mov eax, dword [ebp - 0x2c]
push dword [eax]
push dword [ebp - 0x6c]
push 1
push dword [ebp - 0x34]
call fcn.1000db23
add esp, 0x14
jmp 0x1000db12
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x30], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x5c]
movzx eax, byte [eax]
test eax, eax
je 0x1000dad0
mov dword [ebp - 0x20], 0x1522
mov dword [ebp - 0x44], str.zyu_ttvwooeoq_tciwwrdh_rdv_xtlb_hkya
cmp dword [ebp - 0x20], 0x17b1
jle 0x1000da47
push 0x1fb8
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
and dword [ebp - 0x18], 0
jmp 0x1000d9e7
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x4d94
jge 0x1000da47
and dword [ebp - 0x1c], 0
jmp 0x1000d9fd
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xa6
jge 0x1000da45
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x1c]
cdq
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], edx
push dword [ebp - 0x78]
push dword [ebp - 0x7c]
lea ecx, [ebp - 0x98]
call fcn.10001a95
pop ecx
pop ecx
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
call fcn.10003731
push eax
call fcn.10047ad3
pop ecx
lea ecx, [ebp - 0x98]
call fcn.10003727
jmp 0x1000d9f6
jmp 0x1000d9e0
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x24], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x20], 0x140f
jge 0x1000da63
push dword [ebp - 0x44]
call fcn.10047ad3
pop ecx
jmp 0x1000da7f
or dword [ebp - 4], 0xffffffff
jmp 0x1000da89
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x14]
mov dword [eax], 0
jmp 0x1000dab1
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax], 1
jge 0x1000dace
mov eax, dword [ebp - 0x14]
push dword [eax]
mov ecx, dword [ebp - 0x54]
call fcn.10003ac4
mov dword [eax], 0x2972
jmp 0x1000daa6
jmp 0x1000db12
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x58]
mov eax, dword [eax]
mov dword [ebp - 0x68], eax
push dword [ebp - 0x60]
lea eax, [ebp - 0x68]
push eax
mov ecx, dword [ebp - 0x70]
call fcn.1001463a
mov ecx, eax
call fcn.10003969
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret