Function at 0x10081cf0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101f3081
mov eax, dword fs:[0]
push eax
sub esp, 0x474
mov eax, dword [0x10275008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
cmp dword [ebx + 0x10], 0
jne 0x10081d2e
xor eax, eax
jmp 0x10081f8e
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x42c]
push eax
push 0x20019
push 0
push str.SystemCurrentControlSetControlKeyboard_Layouts
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x42c], 0
call esi
test eax, eax
jne 0x10081d27
push 0x208
mov dword [ebp - 0x434], eax
xor edi, edi
lea eax, [ebp - 0x218]
push edi
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x424], 0x104
lea eax, [ebp - 0x424]
push edi
push edi
push edi
push edi
push eax
lea eax, [ebp - 0x218]
push eax
push edi
push dword [ebp - 0x42c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x10081f7c
nop word [eax + eax]
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x428], 0x208
lea ecx, [ebp - 0x480]
push str.Ime_File
call fcn.10005290
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x468]
call fcn.10005290
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x430]
cmp dword [ebp - 0x454], 8
lea eax, [ebp - 0x468]
push ecx
cmovae eax, dword [ebp - 0x468]
push 0x20019
push 0
push eax
push dword [ebp - 0x42c]
mov dword [ebp - 0x430], 0
call esi
mov esi, eax
test esi, esi
jne 0x10081e77
cmp dword [ebp - 0x46c], 8
lea ecx, [ebp - 0x428]
push ecx
lea ecx, [ebp - 0x420]
push ecx
push esi
lea eax, [ebp - 0x480]
cmovae eax, dword [ebp - 0x480]
push esi
push eax
push dword [ebp - 0x430]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x430]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x468]
mov byte [ebp - 4], 0
call fcn.10005250
lea ecx, [ebp - 0x480]
mov dword [ebp - 4], 0xffffffff
call fcn.10005250
test esi, esi
je 0x10081ea5
xor eax, eax
mov word [ebp - 0x420], ax
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x450]
call fcn.10005290
mov dword [ebp - 4], 2
lea edx, [ebp - 0x438]
mov ecx, dword [ebp - 0x440]
lea esi, [ebp - 0x430]
mov eax, dword [ebx + 0x10]
cmp eax, ecx
mov dword [ebp - 0x430], ecx
mov ecx, ebx
cmovae esi, edx
mov dword [ebp - 0x438], eax
cmp dword [ebp - 0x43c], 8
lea edx, [ebp - 0x450]
cmovae edx, dword [ebp - 0x450]
cmp dword [ebx + 0x14], 8
jb 0x10081f02
mov ecx, dword [ebx]
push dword [esi]
call fcn.100ddac0
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x450]
mov esi, eax
call fcn.10005250
test esi, esi
je 0x10081f62
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x424]
mov dword [ebp - 0x424], 0x104
push eax
lea eax, [ebp - 0x218]
inc edi
push eax
push edi
push dword [ebp - 0x42c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x10081db0
jmp 0x10081f7c
push 0x10
lea eax, [ebp - 0x218]
push 0
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstoul]
add esp, 0xc
mov dword [ebp - 0x434], eax
push dword [ebp - 0x42c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x434]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101c837b
mov esp, ebp
pop ebp
ret 4