Function at 0x100259b4
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xac
movzx eax, byte [ebp + 0x28]
test eax, eax
je 0x10025a75
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x9c], eax
lea eax, [ebp + 0x24]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x98]
movzx eax, byte [eax]
test eax, eax
je 0x10025a22
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
movzx eax, byte [eax]
test eax, eax
je 0x10025a20
push 0x36fd
push 1
push 0x398c
push 0
call fcn.10024b88
add esp, 0x10
jmp 0x10025a70
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0xc]
mov dword [eax], 0
jmp 0x10025a53
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0xc]
mov dword [ecx], eax
mov eax, dword [ebp - 0xc]
cmp dword [eax], 2
jge 0x10025a70
mov eax, dword [ebp - 0xc]
push dword [eax]
mov ecx, dword [ebp - 0x38]
call fcn.1000fa89
mov dword [eax], 0x515466bc
jmp 0x10025a48
jmp 0x10025c78
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x3c], eax
lea eax, [ebp + 0x34]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x60]
movzx eax, byte [eax]
test eax, eax
je 0x10025adb
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x94]
movzx eax, byte [eax]
test eax, eax
je 0x10025ad6
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
jmp 0x10025c78
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 0
je 0x10025bfa
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov ecx, dword [ebp - 4]
imul eax, dword [ecx]
mov ecx, dword [ebp - 8]
cmp eax, dword [ecx]
jg 0x10025b65
mov dword [ebp - 0x20], 1
jmp 0x10025b69
and dword [ebp - 0x20], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x20], eax
jge 0x10025b7c
mov dword [ebp - 0x18], 1
jmp 0x10025b80
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
imul eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 4]
cmp eax, dword [ecx]
jl 0x10025b99
mov dword [ebp - 0x28], 1
jmp 0x10025b9d
and dword [ebp - 0x28], 0
cmp dword [ebp - 0x28], 0x75ff4442
jg 0x10025baf
mov dword [ebp - 0x10], 1
jmp 0x10025bb3
and dword [ebp - 0x10], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
imul eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
cmp eax, dword [ecx]
jge 0x10025bcc
mov dword [ebp - 0x30], 1
jmp 0x10025bd0
and dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax]
cmp dword [ebp - 0x30], eax
jle 0x10025be3
mov dword [ebp - 0x14], 1
jmp 0x10025be7
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x14], eax
jle 0x10025bfa
mov dword [ebp - 0x1c], 1
jmp 0x10025bfe
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x1c], eax
jge 0x10025c1a
mov eax, 0x18bc698d
test eax, eax
jne 0x10025c1a
and dword [ebp - 0x84], 0
jmp 0x10025c24
mov dword [ebp - 0x84], 1
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
cmp dword [eax], ecx
jg 0x10025c44
mov dword [ebp - 0x24], 1
jmp 0x10025c48
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
sub eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x2c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x2c]
cmp dword [eax], 0x7b187b35
jl 0x10025c69
mov dword [ebp - 0x34], 1
jmp 0x10025c6d
and dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0x34]
mov dword [eax], ecx
mov esp, ebp
pop ebp
ret