Function at 0x10011532
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10063c62
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0xa0
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x20]
test eax, eax
je 0x100117f3
lea eax, [ebp + 0x14]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x4c]
movzx eax, byte [eax]
test eax, eax
je 0x100116e5
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
movzx eax, byte [eax]
test eax, eax
je 0x100115c4
push 0x3d81
push 0x280a
push 0x7822
push 0x410
push 1
push 0x2a02
push 1
call fcn.1001011b
add esp, 0x1c
mov dword [ebp - 0x30], 0x7682
mov dword [ebp - 0x7c], str.dkaldew_mfk_folrudgkh_ltismbpv_nayj_zdm_uqsmktua_syaqxhrrl_juaqw_pgowfcpg_iyhxrtyg
cmp dword [ebp - 0x30], 0x7794
jle 0x100116a4
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
and dword [ebp - 0x2c], 0
jmp 0x100115f8
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x6800
jge 0x1001169c
and dword [ebp - 0x18], 0
jmp 0x10011612
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x4959
jge 0x10011697
and dword [ebp - 0x28], 0
jmp 0x10011628
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x553f
jge 0x10011692
and dword [ebp - 0x20], 0
jmp 0x1001163e
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xbaa
jge 0x10011690
mov eax, dword [ebp - 0x18]
cdq
idiv dword [ebp - 0x28]
imul edx, dword [ebp - 0x20]
and edx, dword [ebp - 0x2c]
mov eax, edx
cdq
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], edx
push dword [ebp - 0x68]
push dword [ebp - 0x6c]
lea ecx, [ebp - 0x98]
call fcn.10001ab5
pop ecx
pop ecx
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
call fcn.10004aaa
push eax
call fcn.1004c653
pop ecx
lea ecx, [ebp - 0x98]
call fcn.10004aa0
jmp 0x10011637
jmp 0x10011621
jmp 0x1001160b
jmp 0x100115f1
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
and dword [ebp - 4], 0
cmp dword [ebp - 0x30], 0x73a8
jge 0x100116ba
push dword [ebp - 0x7c]
call fcn.1004c653
pop ecx
jmp 0x100116d6
or dword [ebp - 4], 0xffffffff
jmp 0x100116e0
jmp 0x100117f1
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x14]
mov dword [eax], 0
jmp 0x10011713
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], 0x1e
je 0x100117f1
mov dword [ebp - 0x34], 0x5477
mov dword [ebp - 0x50], str.lsqcnp_afiolpf_yjm_fshzdc
cmp dword [ebp - 0x34], 0x57d5
jle 0x100117a3
and dword [ebp - 0x1c], 0
jmp 0x10011743
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x58fc
jge 0x100117a3
and dword [ebp - 0x24], 0
jmp 0x10011759
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x145b
jge 0x100117a1
mov eax, dword [ebp - 0x1c]
and eax, dword [ebp - 0x24]
cdq
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], edx
push dword [ebp - 0x74]
push dword [ebp - 0x78]
lea ecx, [ebp - 0xb0]
call fcn.10001ab5
pop ecx
pop ecx
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
call fcn.10004aaa
push eax
call fcn.1004c653
pop ecx
lea ecx, [ebp - 0xb0]
call fcn.10004aa0
jmp 0x10011752
jmp 0x1001173c
mov eax, dword [ebp - 0x48]
cmp dword [eax], 0
je 0x100117ad
jmp 0x100117f1
mov dword [ebp - 4], 2
cmp dword [ebp - 0x34], 0x53d1
jge 0x100117c6
push dword [ebp - 0x50]
call fcn.1004c653
pop ecx
jmp 0x100117e2
or dword [ebp - 4], 0xffffffff
jmp 0x100117ec
jmp 0x10011708
jmp 0x10011823
mov eax, dword [ebp + 8]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x58], eax
push 1
push 0x569b
push 0x4864
push 0x12be
push dword [ebp - 0x58]
push dword [ebp - 0x60]
push 0x40e7
call fcn.10010d19
add esp, 0x1c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret