Function at 0x10029fbe
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x15c
mov dword [ebp - 0x110], 1
mov dword [ebp - 0x10c], 1
mov dword [ebp - 0x108], 1
mov dword [ebp - 0x104], 1
mov dword [ebp - 8], 0
jmp 0x10029fff
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 1
jge 0x1002a015
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x90], 0xfffffffb
jmp 0x10029ff8
mov dword [ebp - 8], 0
jmp 0x1002a025
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 4
jge 0x1002a03b
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0xd0], 1
jmp 0x1002a01e
push 4
pop eax
shl eax, 0
mov dword [ebp + eax - 0xd0], 0
jmp 0x1002a069
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0xd0]
dec eax
push 4
pop ecx
shl ecx, 0
mov dword [ebp + ecx - 0xd0], eax
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0xd0], 0
jl 0x1002a116
mov dword [ebp - 0x4c], 0x4074dd03
mov dword [ebp - 0x30], 0
jmp 0x1002a094
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 1
jge 0x1002a0aa
mov eax, dword [ebp - 0x30]
mov dword [ebp + eax*4 - 0x12c], 0x844a7543
jmp 0x1002a08d
mov dword [ebp - 0x4c], 0
jmp 0x1002a0ba
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jg 0x1002a111
mov dword [ebp - 0x20], 0xd3c891c5
mov dword [ebp - 0x124], 4
mov dword [ebp - 0x84], 0xffffffff
mov dword [ebp - 0x20], 0
jmp 0x1002a0eb
mov eax, dword [ebp - 0x20]
dec eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jl 0x1002a102
mov eax, dword [ebp - 0x20]
cmp dword [ebp + eax*4 - 0x90], 0
je 0x1002a100
jmp 0x1002a102
jmp 0x1002a0e4
mov eax, dword [ebp - 0x84]
dec eax
mov dword [ebp - 0x84], eax
jmp 0x1002a0b3
jmp 0x1002a04e
mov byte [ebp - 0x19], 0
movzx eax, byte [ebp - 0x19]
test eax, eax
je 0x1002a136
push 0x2891
push 1
push 0x7d34
call fcn.10029902
add esp, 0xc
jmp 0x1002a152
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
add eax, 4
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
add eax, 4
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
cmp dword [eax], 0
je 0x1002a764
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov eax, dword [eax]
and eax, 0x80000000
je 0x1002a366
mov dword [ebp - 0x34], 0
mov dword [ebp - 0xd4], 0xe649f6d4
mov dword [ebp - 0xc], 0xfffffff9
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x3c], 0
jmp 0x1002a1a4
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 4
jge 0x1002a1ba
mov eax, dword [ebp - 0x3c]
mov dword [ebp + eax*4 - 0xc0], 2
jmp 0x1002a19d
push 4
pop eax
shl eax, 1
mov dword [ebp + eax - 0xc0], 0
jmp 0x1002a1e5
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0xc0]
inc eax
push 4
pop ecx
shl ecx, 1
mov dword [ebp + ecx - 0xc0], eax
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0xc0], 0xd
je 0x1002a2e0
mov dword [ebp - 0x44], 5
mov dword [ebp - 0x5c], 0
jmp 0x1002a20f
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 4
jge 0x1002a225
mov eax, dword [ebp - 0x5c]
mov dword [ebp + eax*4 - 0x144], 0x39ba095a
jmp 0x1002a208
mov dword [ebp - 0x44], 0xfffffff0
jmp 0x1002a235
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0xe
jg 0x1002a2db
mov dword [ebp - 0x120], 0x66a7
mov dword [ebp - 0xe0], 0x7f5ed9a9
mov dword [ebp - 0x118], 0x4c8f0d07
mov dword [ebp - 0xe8], 0
mov dword [ebp - 0x128], 0x823aaf5b
mov eax, dword [ebp - 0x88]
dec eax
mov dword [ebp - 0x88], eax
mov dword [ebp - 0xc], 0x13
jmp 0x1002a28e
mov eax, dword [ebp - 0xc]
dec eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xfffffffe
je 0x1002a2d6
mov dword [ebp - 0x54], 0
jmp 0x1002a2a4
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 2
jge 0x1002a2ba
mov eax, dword [ebp - 0x54]
mov dword [ebp + eax*4 - 0xf8], 0xf5ac
jmp 0x1002a29d
push 4
pop eax
imul eax, eax, 3
push 4
pop ecx
shl ecx, 0
mov eax, dword [ebp + eax - 0x144]
mov dword [ebp + ecx - 0xf8], eax
jmp 0x1002a287
jmp 0x1002a22e
jmp 0x1002a1cc
mov dword [ebp - 0xc], 0
jmp 0x1002a2f0
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 3
jg 0x1002a335
mov dword [ebp - 0x34], 0
jmp 0x1002a306
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 3
jg 0x1002a333
mov byte [ebp - 0x11], 0
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x1002a331
push 0x2421
push 1
push 0x39ca
push 0x3934
call fcn.10029974
add esp, 0x10
jmp 0x1002a2ff
jmp 0x1002a2e9
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov eax, dword [eax]
and eax, 0xffff
push eax
mov eax, dword [ebp + 8]
push dword [eax]
push 0xc104
push 0xa574
call fcn.10022f6c
pop ecx
pop ecx
call eax
mov ecx, dword [ebp + 0x14]
mov ecx, dword [ecx]
mov dword [ecx], eax
jmp 0x1002a480
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0xd32ffab8
mov dword [ebp - 0x24], 0
jmp 0x1002a384
mov eax, dword [ebp - 0x24]
dec eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xfffffff1
jge 0x1002a441
mov dword [ebp - 0x40], 0xc6ef
mov dword [ebp - 0x38], 0
jmp 0x1002a3a5
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 1
jge 0x1002a3bb
mov eax, dword [ebp - 0x38]
mov dword [ebp + eax*4 - 0x9c], 0x90c6d21c
jmp 0x1002a39e
mov dword [ebp - 0x28], 0xffffffff
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0x40]
imul eax, dword [ebp - 0x28]
cmp eax, 0xc4b7c700
jae 0x1002a3e2
mov dword [ebp - 0x70], 1
jmp 0x1002a3e6
and dword [ebp - 0x70], 0
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x70]
jge 0x1002a3fa
mov dword [ebp - 0xb0], 1
jmp 0x1002a401
and dword [ebp - 0xb0], 0
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x100], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0xfc], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x9c], 0xc18ab9c2
je 0x1002a42f
mov dword [ebp - 0x80], 1
jmp 0x1002a433
and dword [ebp - 0x80], 0
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x80]
mov dword [ebp - 0x28], eax
jmp 0x1002a37d
mov dword [ebp - 0x24], 0xffffffff
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov ecx, dword [ebp + 0xc]
add ecx, dword [eax]
mov dword [ebp - 0xac], ecx
mov eax, dword [ebp - 0xac]
inc eax
inc eax
push eax
mov eax, dword [ebp + 8]
push dword [eax]
push 0xc104
push 0xa574
call fcn.10022f6c
pop ecx
pop ecx
call eax
mov ecx, dword [ebp + 0x14]
mov ecx, dword [ecx]
mov dword [ecx], eax
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
cmp dword [eax], 0
jne 0x1002a75f
mov dword [ebp - 4], 0xdf251d69
mov dword [ebp - 0x60], 0xfffffffb
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x114], 4
mov dword [ebp - 0x11c], 0xf8859284
mov dword [ebp - 0x8c], 0xffffffff
mov dword [ebp - 0x48], 0
jmp 0x1002a4d8
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 4
jge 0x1002a4ee
mov eax, dword [ebp - 0x48]
mov dword [ebp + eax*4 - 0x15c], 0xffffffff
jmp 0x1002a4d1
mov eax, dword [ebp - 4]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 4], eax
jg 0x1002a511
mov dword [ebp - 0x78], 1
jmp 0x1002a515
and dword [ebp - 0x78], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x78], eax
jle 0x1002a526
mov dword [ebp - 0x68], 1
jmp 0x1002a52a
and dword [ebp - 0x68], 0
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x68]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
cmp dword [ebp - 0x10], eax
je 0x1002a54a
cmp dword [ebp - 0x10], 0
je 0x1002a54a
mov dword [ebp - 0x6c], 1
jmp 0x1002a54e
and dword [ebp - 0x6c], 0
mov eax, dword [ebp - 4]
cmp dword [ebp - 0x6c], eax
jg 0x1002a55f
mov dword [ebp - 0x74], 1
jmp 0x1002a563
and dword [ebp - 0x74], 0
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x74]
cmp eax, dword [ebp - 4]
jl 0x1002a577
mov dword [ebp - 0x7c], 1
jmp 0x1002a57b
and dword [ebp - 0x7c], 0
mov eax, dword [ebp - 4]
mov dword [ebp - 0x60], eax
mov eax, 0x283066c9
sub eax, dword [ebp - 0x7c]
imul eax, dword [ebp - 4]
cmp dword [ebp - 0x60], eax
je 0x1002a59b
mov dword [ebp - 0x64], 1
jmp 0x1002a59f
and dword [ebp - 0x64], 0
mov eax, dword [ebp - 4]
cmp dword [ebp - 0x64], eax
jle 0x1002a5dd
mov dword [ebp - 0xa4], 0x7392
lea eax, [ebp - 0x60]
push eax
push 1
push 0x2fd7
push 0x5d62
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 4]
push eax
call fcn.100299c7
add esp, 0x1c
jmp 0x1002a69d
mov dword [ebp - 0x18], 0
jmp 0x1002a5ed
mov eax, dword [ebp - 0x18]
dec eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffed
jne 0x1002a69d
mov dword [ebp - 0xe4], 0xe141b6ba
mov dword [ebp - 0x50], 0
jmp 0x1002a611
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 2
jge 0x1002a627
mov eax, dword [ebp - 0x50]
mov dword [ebp + eax*4 - 0x134], 1
jmp 0x1002a60a
mov dword [ebp - 4], 0
jmp 0x1002a637
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 1
jg 0x1002a669
mov dword [ebp - 0x94], 0xffffffff
lea eax, [ebp - 0x94]
push eax
push 0x43b7
push 0x1060
push 0x288a
push 1
call fcn.10029a5e
add esp, 0x14
jmp 0x1002a630
mov dword [ebp - 0x10], 0
jmp 0x1002a679
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffe5
je 0x1002a698
mov byte [ebp - 0x1a], 0
movzx eax, byte [ebp - 0x1a]
test eax, eax
je 0x1002a696
push 0x236d
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
jmp 0x1002a672
jmp 0x1002a5e6
mov eax, dword [ebp - 0x8c]
dec eax
mov dword [ebp - 0x8c], eax
push 0x3987
push 1
lea eax, [ebp + 0x18]
push eax
call fcn.10029f69
add esp, 0xc
mov dword [ebp - 0xa0], 0x8195
mov dword [ebp - 0x2c], 0xfffffffd
mov dword [ebp - 0xa8], 0xa592c6ee
mov dword [ebp - 0xec], 1
mov dword [ebp - 0x58], 0
jmp 0x1002a6f2
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 2
jge 0x1002a708
mov eax, dword [ebp - 0x58]
mov dword [ebp + eax*4 - 0x14c], 0x8872fa4
jmp 0x1002a6eb
xor eax, eax
jne 0x1002a71b
cmp dword [ebp - 0x2c], 0
jne 0x1002a71b
and dword [ebp - 0x98], 0
jmp 0x1002a725
mov dword [ebp - 0x98], 1
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0x2c], 0xffffffe4
jmp 0x1002a741
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xfffffff4
jge 0x1002a75d
push 0xb21
push 0x6dd8
push 0
call fcn.1002bc90
add esp, 0xc
jmp 0x1002a73a
jmp 0x1002a764
jmp 0x1002a138
mov esp, ebp
pop ebp
ret