Function at 0x4296b0
Capabilities:
Get keyboard layout

Disassembly:
push 0xffffffffffffffff
push 0x529b33
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x56b1dc]
xor eax, esp
mov dword [esp + 0x218], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x56b1dc]
xor eax, esp
push eax
lea eax, [esp + 0x230]
mov dword fs:[0], eax
mov eax, dword [esp + 0x240]
mov dword [esp + 0x20], eax
xor ebp, ebp
lea edi, [esp + 0x244]
mov dword [esp + 0x238], ebp
call fcn.0040d1b0
push 0x206
lea ecx, [esp + 0x2a]
push ebp
push ecx
mov dword [esp + 0x24], ebp
mov word [esp + 0x30], bp
call fcn.00508d80
mov esi, dword [0x5314c8]
add esp, 0xc
push ebp
push ebp
call esi
mov edi, eax
lea edx, [edi*4]
push edx
push 0x40
mov dword [esp + 0x24], edi
call dword [0x5312fc]
mov ebx, eax
cmp ebx, ebp
jne 0x429782
mov dword [esp + 0x238], 0xffffffff
mov eax, dword [esp + 0x244]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42977b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x4298f3
push ebx
push edi
call esi
test edi, edi
jle 0x4298ba
mov edi, dword [ebx + ebp*4]
push 0x208
lea ecx, [esp + 0x28]
push 0
push ecx
call fcn.00508d80
add esp, 0xc
push 0x104
lea edx, [esp + 0x28]
push edx
push edi
call fcn.005209d4
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x28]
call fcn.00402550
mov byte [esp + 0x238], 1
mov edx, dword [esp + 0x14]
mov esi, dword [edx - 0xc]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, esi
or eax, ecx
jge 0x4297f2
mov ecx, esi
lea eax, [esp + 0x14]
call fcn.00402120
mov edx, dword [esp + 0x14]
lea ecx, [esi + 1]
push ecx
push edx
call fcn.00500cb5
add esp, 8
test esi, esi
jl 0x42991d
mov eax, dword [esp + 0x14]
cmp esi, dword [eax - 8]
jg 0x42991d
mov dword [eax - 0xc], esi
mov edx, dword [esp + 0x14]
mov word [edx + esi*2], 0
mov esi, dword [esp + 0x244]
test esi, esi
je 0x429885
mov ecx, dword [esp + 0x14]
cmp dword [ecx - 0xc], 0
jl 0x429889
push esi
push ecx
call fcn.0050016e
add esp, 8
test eax, eax
je 0x429885
mov ecx, dword [esp + 0x14]
sub eax, ecx
sar eax, 1
cmp eax, 0xffffffff
je 0x429889
mov edx, dword [esp + 0x20]
lea eax, [ecx - 0x10]
mov dword [edx], edi
mov dword [esp + 0x18], 1
mov byte [esp + 0x238], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4298c1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4298c1
mov ecx, dword [esp + 0x14]
lea eax, [ecx - 0x10]
mov byte [esp + 0x238], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4298ad
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add ebp, 1
cmp ebp, dword [esp + 0x1c]
jl 0x42978e
mov esi, dword [esp + 0x244]
push ebx
call dword [0x531304]
lea eax, [esi - 0x10]
mov dword [esp + 0x238], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4298ef
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x230]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x218]
xor ecx, esp
call fcn.004ff939
add esp, 0x228
ret 8
push 0x80070057
call fcn.004026a0
int3