Function at 0x762f2b29
Capabilities:
Get keyboard layout

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x154
mov eax, dword [0x762f6184]
push ebx
push esi
mov esi, dword [ebp + 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x18]
push eax
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x140], edi
call fcn.762f2af8
xor ebx, ebx
push ebx
push dword [ebp - 0x138]
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x154], ebx
mov dword [ebp - 0x14c], esi
mov dword [ebp - 0x13c], edi
call fcn.762f4608
mov edi, eax
cmp edi, ebx
je 0x762f2d9f
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp edi, eax
je 0x762f2bbd
cmp dword [ebp + 0x20], ebx
jne 0x762f2d9f
push dword [ebp + 0x1c]
push dword [ebp - 0x140]
push esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp - 0x138]
call fcn.762f2795
jmp 0x762f2da1
cmp dword [ebp - 0x138], ebx
je 0x762f2d9f
push dword [ebp - 0x138]
call sym.IMM32.dll_ImmLockIMC
test eax, eax
je 0x762f2d9f
push 1
push dword [ebp - 0x138]
call fcn.762f4608
cmp eax, ebx
je 0x762f2d8c
push eax
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push eax
call sym.IMM32.dll_ImmLockImeDpi
cmp eax, ebx
mov dword [ebp - 0x150], eax
je 0x762f2d8c
cmp dword [eax + 0x90], ebx
je 0x762f2d81
mov edi, dword [ebp + 0x20]
cmp dword [ebp - 0x144], edi
mov dword [ebp - 0x148], ebx
je 0x762f2cbf
cmp edi, ebx
je 0x762f2c85
cmp esi, ebx
je 0x762f2c4b
push 1
lea eax, [ebp - 0x134]
push ebx
push eax
push esi
mov dword [ebp - 0x14c], eax
call fcn.762f24a1
cmp dword [ebp - 0x140], ebx
je 0x762f2cbf
mov eax, dword [ebp + 0x1c]
push 0x70
xor edx, edx
pop ecx
div ecx
lea esi, [eax + eax*2]
shl esi, 6
je 0x762f2d81
push esi
push ebx
call fcn.762e9949
cmp eax, ebx
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x13c], eax
jne 0x762f2cc2
jmp 0x762f2d81
cmp esi, ebx
je 0x762f2c9e
push dword [eax + 0x28]
lea ecx, [ebp - 0x74]
mov eax, ecx
push eax
push esi
mov dword [ebp - 0x14c], ecx
call fcn.762f2513
cmp dword [ebp - 0x140], ebx
je 0x762f2cbf
mov eax, dword [ebp + 0x1c]
xor edx, edx
mov ecx, 0xc0
div ecx
push 0x70
xor edx, edx
pop ecx
div ecx
mov esi, eax
cmp esi, ebx
jmp 0x762f2c63
mov esi, dword [ebp + 0x1c]
mov eax, dword [ebp - 0x150]
push esi
push dword [ebp - 0x13c]
push dword [ebp - 0x14c]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp - 0x138]
call dword [eax + 0x90]
cmp eax, ebx
mov dword [ebp - 0x154], eax
je 0x762f2d66
cmp dword [ebp - 0x144], edi
je 0x762f2d66
cmp dword [ebp - 0x13c], ebx
je 0x762f2d66
cmp edi, ebx
je 0x762f2d36
cmp eax, ebx
mov esi, dword [ebp - 0x13c]
mov edi, dword [ebp - 0x140]
jbe 0x762f2d66
mov dword [ebp - 0x144], eax
push ebx
push edi
push esi
call fcn.762f2513
add esi, 0xc0
add edi, 0x70
dec dword [ebp - 0x144]
je 0x762f2d66
jmp 0x762f2d1b
test esi, esi
mov edi, dword [ebp - 0x13c]
mov ebx, dword [ebp - 0x140]
jbe 0x762f2d64
mov eax, dword [ebp - 0x150]
push 1
push dword [eax + 0x28]
push ebx
push edi
call fcn.762f24a1
add edi, 0x70
add ebx, 0xc0
dec esi
jne 0x762f2d46
xor ebx, ebx
cmp dword [ebp - 0x148], ebx
je 0x762f2d81
push dword [ebp - 0x148]
push ebx
push dword [0x762f6888]
call dword [sym.imp.KERNEL32.dll_HeapFree]
push dword [ebp - 0x150]
call sym.IMM32.dll_ImmUnlockImeDpi
push dword [ebp - 0x138]
call sym.IMM32.dll_ImmUnlockIMC
mov eax, dword [ebp - 0x154]
jmp 0x762f2da1
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.762f4432
leave
ret 0x1c