Function at 0x1002cede
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10057111
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x68
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x1002d102
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x34], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
movzx eax, byte [eax]
test eax, eax
je 0x1002cffb
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
movzx eax, byte [eax]
test eax, eax
je 0x1002cf50
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_UpdateColors]
mov dword [ebp - 0x28], 0x6a4d
mov dword [ebp - 0x40], str.pdleg_qzkict_qcuwkpkpk_uujm_hfaux_zmjombxm
cmp dword [ebp - 0x28], 0x6d06
jle 0x1002cfb6
and dword [ebp - 0x14], 0
jmp 0x1002cf74
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x840
jge 0x1002cfb6
and dword [ebp - 0x18], 0
jmp 0x1002cf8a
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x1af4
jge 0x1002cfb4
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
shl eax, cl
cdq
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], edx
push dword [ebp - 0x54]
push dword [ebp - 0x58]
mov ecx, 0x1006f978
call fcn.100032ed
jmp 0x1002cf83
jmp 0x1002cf6d
and dword [ebp - 4], 0
cmp dword [ebp - 0x28], 0x6727
jge 0x1002cfd0
mov edx, dword [ebp - 0x40]
mov ecx, 0x1006f978
call fcn.1000548e
jmp 0x1002cfec
or dword [ebp - 4], 0xffffffff
jmp 0x1002cff6
jmp 0x1002d100
mov dword [ebp - 0x2c], 0x4804
mov dword [ebp - 0x48], str.flzu_gvx_hyutadgrb_gwg_ddapvrlrm_erngqk_pkda_wvdesypm
cmp dword [ebp - 0x2c], 0x4929
jle 0x1002d0a6
push 0x260f
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
and dword [ebp - 0x24], 0
jmp 0x1002d02e
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x1e2e
jge 0x1002d0a6
and dword [ebp - 0x1c], 0
jmp 0x1002d044
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x1cf2
jge 0x1002d0a4
and dword [ebp - 0x20], 0
jmp 0x1002d05a
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x2f0f
jge 0x1002d0a2
mov eax, dword [ebp - 0x1c]
cdq
idiv dword [ebp - 0x20]
add edx, dword [ebp - 0x24]
mov eax, edx
cdq
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], edx
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
lea ecx, [ebp - 0x78]
call fcn.10001a94
pop ecx
pop ecx
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
call fcn.100032cd
push eax
call fcn.1003cd2f
pop ecx
lea ecx, [ebp - 0x78]
call fcn.100032c3
jmp 0x1002d053
jmp 0x1002d03d
jmp 0x1002d027
push 0
push 0xfdb
push 0
push 0
push 0x1464
push 0x48d
call dword [sym.imp.USER32.dll_ToAsciiEx]
mov dword [ebp - 4], 2
cmp dword [ebp - 0x2c], 0x4451
jge 0x1002d0da
push dword [ebp - 0x48]
call fcn.1003cd2f
pop ecx
jmp 0x1002d0f6
or dword [ebp - 4], 0xffffffff
jmp 0x1002d100
jmp 0x1002d11e
mov eax, dword [ebp + 8]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x50], eax
push dword [ebp - 0x4c]
push dword [ebp - 0x50]
push 0
call fcn.1003165d
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret