Function at 0x1002f5e4
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10061fb1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x70
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1002f7c1
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x30], eax
lea eax, [ebp + 0x20]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
movzx eax, byte [eax]
test eax, eax
je 0x1002f689
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x18]
mov dword [eax], 0
jmp 0x1002f668
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x18]
mov dword [ecx], eax
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0xfffffff2
jl 0x1002f684
push 0x397e
push 0
push dword [ebp - 0x3c]
call fcn.1002f86d
add esp, 0xc
jmp 0x1002f65d
jmp 0x1002f7bf
mov dword [ebp - 0x24], 0x4aa6
mov dword [ebp - 0x48], str.thitjz_htp_ykhjlajzy_peug
cmp dword [ebp - 0x24], 0x4c63
jle 0x1002f72a
push 0
push 0
push 0x115e
push 0xbf
call dword [sym.imp.USER32.dll_SendMessageW]
and dword [ebp - 0x1c], 0
jmp 0x1002f6c5
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x1edc
jge 0x1002f71f
and dword [ebp - 0x20], 0
jmp 0x1002f6db
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x7ade
jge 0x1002f71d
mov eax, dword [ebp - 0x1c]
xor eax, dword [ebp - 0x20]
cdq
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], edx
push dword [ebp - 0x64]
push dword [ebp - 0x68]
lea ecx, [ebp - 0x80]
call fcn.10001a94
pop ecx
pop ecx
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
call fcn.100037ed
push eax
call fcn.10048785
pop ecx
lea ecx, [ebp - 0x80]
call fcn.100037e3
jmp 0x1002f6d4
jmp 0x1002f6be
push 0xf7a
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x50], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x24], 0x4a89
jge 0x1002f746
push dword [ebp - 0x48]
call fcn.10048785
pop ecx
jmp 0x1002f762
or dword [ebp - 4], 0xffffffff
jmp 0x1002f76c
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x14]
mov dword [eax], 0
jmp 0x1002f794
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 0x1002f7bf
push dword [ebp - 0x58]
push 0x3272
push 0x7a17
push 0x2ed0
push 0
push 1
push dword [ebp - 0x14]
call fcn.1002f176
add esp, 0x1c
jmp 0x1002f789
jmp 0x1002f7e7
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x60], eax
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
push 0x59e5
push 1
push 0x42f6
call fcn.1002c4bf
add esp, 0x14
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret