Function at 0x75929e5f
Capabilities:
Get keyboard layout
Hide graphical window
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x74
mov eax, dword [0x7594d0ac]
and dword [ebp - 0x54], 0
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x9c8]
cmp ecx, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x48], 1
je 0x7592a015
cmp dword [eax + 0x9f0], 0
push edi
mov edi, dword [sym.imp.USER32.dll_GetWindowRect]
jne 0x75930fce
push 0
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayoutList]
cmp eax, 2
jge 0x75929ec1
and dword [ebp - 0x48], 0
mov eax, dword [ebp - 0x50]
xor ecx, ecx
cmp dword [eax + 0x9b8], ecx
jne 0x75930ffa
cmp dword [ebp - 0x48], ecx
jne 0x75930ffa
mov eax, dword [ebp - 0x54]
cmp dword [ebp + 0x10], 0
jne 0x75929ee6
neg eax
push 1
push eax
push 0
push 5
push 0x7594d35c
push ebx
call fcn.759266c5
mov eax, dword [ebp + 0x10]
neg eax
sbb eax, eax
and eax, 5
push eax
push 0x966
push ebx
call esi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebp + 0x10]
push 0x966
push ebx
call esi
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [ebp + 0x10]
neg eax
sbb eax, eax
and eax, 5
push eax
push 0x5dd
push ebx
call esi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [ebp - 0x64]
push eax
push 0x5dd
push ebx
call esi
push eax
call edi
lea eax, [ebp - 0x74]
push eax
push 0x5ea
push ebx
call esi
push eax
call edi
mov eax, dword [ebp - 0x74]
sub eax, dword [ebp - 0x64]
xor edi, edi
cmp dword [ebp + 0x10], edi
jne 0x7593103a
push edi
push edi
push eax
push 2
push 0x7594d33c
push ebx
call fcn.759266c5
cmp dword [0x7594d23c], 1
je 0x75931041
cmp dword [0x7594d3a0], edi
je 0x75931049
xor eax, eax
cmp dword [ebp + 0x10], edi
jne 0x75931075
xor eax, eax
push eax
push 0x5dd
push ebx
call esi
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [ebp - 0x50]
cmp dword [eax + 0x9b8], edi
jne 0x75931085
mov eax, dword [ebp - 0x50]
cmp dword [eax + 0x9f0], edi
jne 0x759310f3
cmp dword [ebp + 0x14], edi
je 0x7592a014
lea eax, [ebp - 0x4c]
push eax
push 0x20006
push edi
push 0x75926438
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x7592a014
push 4
lea eax, [ebp + 0x10]
push eax
push 4
push edi
push 0x75927164
push dword [ebp - 0x4c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x4c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
push 0x20
lea eax, [ebp - 0x44]
push eax
xor eax, eax
cmp dword [ebp + 0x10], eax
setne al
add eax, 0x708
push eax
push dword [0x7594d0b8]
call dword [sym.imp.USER32.dll_LoadStringW]
lea eax, [ebp - 0x44]
push eax
push 0x5ea
push ebx
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x50]
push 0x5e0
push ebx
mov dword [ecx + 0x9c8], eax
call esi
push eax
push 0x5de
push ebx
call esi
push eax
call fcn.7592a07b
mov ecx, dword [ebp - 4]
pop esi
pop ebx
call fcn.75921930
leave
ret 0x10
lea eax, [ebp - 0x64]
push eax
push 0x5df
push ebx
call esi
push eax
call edi
lea eax, [ebp - 0x74]
push eax
push 0x5e0
push ebx
call esi
push eax
call edi
mov eax, dword [ebp - 0x68]
sub eax, dword [ebp - 0x58]
mov dword [ebp - 0x54], eax
jmp 0x75929eae
xor edx, edx
cmp dword [eax + 0x9f0], ecx
lea ecx, [ebp - 0x64]
sete dl
push ecx
mov eax, edx
neg eax
sbb eax, eax
add eax, 0x5e0
push eax
push ebx
call esi
push eax
call edi
lea eax, [ebp - 0x74]
push eax
push 0x5e1
push ebx
call esi
push eax
call edi
mov ecx, dword [ebp - 0x68]
sub ecx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x54]
add eax, ecx
jmp 0x75929ede
neg eax
jmp 0x75929f6d
xor eax, eax
inc eax
jmp 0x75929f98
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov ecx, dword [0x7ffe02d8]
cmp ecx, dword [eax + 0x1d4]
jne 0x75929f96
push 1
push 0x75929e30
call fcn.75925fe7
jmp 0x75929f98
jmp 0x75a363f0
mov eax, dword [ebp + 0x10]
neg eax
sbb eax, eax
and eax, 5
push eax
push 0x5e1
push ebx
call esi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProfileIntW]
push 0x759282d4
push 0x75922808
call edi
push 0
push 0x7593457c
push 0x75922808
mov dword [ebp - 0x48], eax
call edi
push 0x43
mov edi, eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
jne 0x759310ec
test edi, edi
jne 0x759310ec
cmp dword [ebp - 0x48], edi
jne 0x759310ec
push dword [ebp + 0x10]
push 0x5e1
push ebx
call esi
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
xor edi, edi
jmp 0x75929fc2
mov eax, dword [ebp + 0x10]
neg eax
sbb eax, eax
and eax, 5
push eax
push 0x5e4
push ebx
call esi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call edi
push dword [ebp + 0x10]
push 0x5e4
push ebx
call esi
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [ebp + 0x10]
neg eax
sbb eax, eax
and eax, 5
push eax
push 0x5e0
push ebx
call esi
push eax
call edi
push dword [ebp + 0x10]
push 0x5e0
push ebx
call esi
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
xor edi, edi
jmp 0x75929fd1