Function at 0x438e6f
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x438e8d
push 1
call fcn.004390d5
pop ecx
jmp 0x4390d1
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x8c], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x34], eax
lea eax, [ebp + 8]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
movzx eax, byte [eax]
test eax, eax
je 0x4390c3
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x7c]
movzx eax, byte [eax]
test eax, eax
je 0x4390aa
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
cmp dword [eax], ecx
je 0x438f7e
mov dword [ebp - 0x1c], 1
jmp 0x438f82
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x1c], eax
jl 0x438f95
mov dword [ebp - 0x70], 1
jmp 0x438f99
and dword [ebp - 0x70], 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx]
cmp dword [eax], ecx
jl 0x438fb9
mov dword [ebp - 0x78], 1
jmp 0x438fbd
and dword [ebp - 0x78], 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 4]
mov ecx, 0x19a6fdd8
sub ecx, dword [eax]
jne 0x438fdd
mov dword [ebp - 0x14], 1
jmp 0x438fe1
and dword [ebp - 0x14], 0
cmp dword [ebp - 0x14], 0x1e60e779
jge 0x438ff3
mov dword [ebp - 0x2c], 1
jmp 0x438ff7
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
sub ecx, dword [ebp - 0x2c]
cmp dword [eax], ecx
jg 0x43900f
mov dword [ebp - 0x24], 1
jmp 0x439013
and dword [ebp - 0x24], 0
cmp dword [ebp - 0x24], 0xf2c36544
jb 0x439025
mov dword [ebp - 0x18], 1
jmp 0x439029
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x28]
mov ecx, dword [ecx]
imul ecx, dword [ebp - 0x18]
add eax, ecx
cmp eax, 0x26f37911
je 0x439052
mov eax, 0xc1b16eb2
test eax, eax
je 0x439052
mov dword [ebp - 0x20], 1
jmp 0x439056
and dword [ebp - 0x20], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x20], eax
jge 0x439069
mov dword [ebp - 0x10], 1
jmp 0x43906d
and dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x80]
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
mov eax, dword [ebp - 0x88]
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
mov eax, dword [ebp - 0x28]
cmp dword [eax], 0
je 0x439099
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
je 0x439099
mov dword [ebp - 0x30], 1
jmp 0x43909d
and dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x90]
mov ecx, dword [ebp - 0x30]
mov dword [eax], ecx
jmp 0x4390c1
mov byte [ebp - 5], 0
movzx eax, byte [ebp - 5]
test eax, eax
je 0x4390c1
push 0x1099
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
jmp 0x4390d1
push 0x7f7
push 0
call fcn.00433832
pop ecx
pop ecx
mov esp, ebp
pop ebp
ret