Function at 0x1000cce0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0xde8]
sub esp, 0xe68
mov eax, dword [0x10139d20]
xor eax, ebp
mov dword [ebp + 0xde4], eax
push ebx
push esi
push edi
mov esi, 0x206
xor edi, edi
push esi
lea eax, [ebp + 0x1b6]
push edi
push eax
mov dword [ebp - 0x74], ecx
mov word [ebp + 0x1b4], di
call fcn.10077be0
push esi
lea eax, [ebp + 0x7ce]
push edi
push eax
mov word [ebp + 0x7cc], di
call fcn.10077be0
push esi
lea eax, [ebp - 0x52]
push edi
push eax
mov word [ebp - 0x54], di
call fcn.10077be0
add esp, 0x24
call fcn.10055a68
push eax
lea ecx, [ebp - 0x5c]
call fcn.1000cc9d
call fcn.10055a68
push eax
lea ecx, [ebp - 0x6c]
call fcn.1000cc9d
push str.Keyboard_LayoutPreload
mov ebx, 0x100f2dd0
lea eax, [ebp + 0x1b4]
push ebx
push eax
call fcn.100054f5
push str.SystemCurrentControlSetControlKeyboard_Layouts_
lea eax, [ebp + 0x7cc]
push ebx
push eax
call fcn.100054f5
push 0x1011e03c
push ebx
push dword [ebp - 0x74]
call fcn.100054f5
lea eax, [ebp - 0x54]
push str.wn.ime
push eax
call fcn.100780db
lea eax, [ebp - 0x54]
push eax
call fcn.1007863d
add esp, 0x30
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp + 0x1b4]
push eax
push reloc.WS2_32.dll_accept
mov dword [ebp - 0x70], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x1000cf75
push esi
lea eax, [ebp + 0x9d6]
push edi
push eax
mov word [ebp + 0x9d4], di
call fcn.10077be0
push esi
lea eax, [ebp + 0xbde]
push edi
push eax
mov dword [ebp - 0x58], 1
mov dword [ebp - 0x68], 0x104
mov word [ebp + 0xbdc], di
call fcn.10077be0
add esp, 0x18
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp + 0xbdc]
push eax
lea eax, [ebp - 0x58]
push eax
push edi
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp + 0x9d4]
push eax
push edi
jmp 0x1000cf3f
inc dword [ebp - 0x70]
push esi
lea eax, [ebp + 0x5c6]
push edi
push eax
mov word [ebp + 0x5c4], di
call fcn.10077be0
lea eax, [ebp + 0xbdc]
push eax
lea eax, [ebp + 0x7cc]
push eax
lea eax, [ebp + 0x5c4]
push 0x100f2d4c
push eax
call fcn.100054f5
add esp, 0x1c
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp + 0x5c4]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x1000cf75
push esi
lea eax, [ebp + 0x3be]
push edi
push eax
mov word [ebp + 0x3bc], di
call fcn.10077be0
add esp, 0xc
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp + 0x3bc]
push eax
lea eax, [ebp - 0x58]
push eax
push edi
push str.Ime_File
push dword [ebp - 0x80]
mov dword [ebp - 0x78], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1000cee6
lea eax, [ebp + 0x3bc]
push eax
call fcn.1007863d
push dword [ebp - 0x7c]
push eax
call fcn.100782e7
add esp, 0xc
test eax, eax
je 0x1000cf59
push esi
lea eax, [ebp + 0x9d6]
push edi
push eax
mov word [ebp + 0x9d4], di
call fcn.10077be0
push esi
lea eax, [ebp + 0xbde]
push edi
push eax
mov dword [ebp - 0x58], 1
mov dword [ebp - 0x68], 0x104
mov word [ebp + 0xbdc], di
call fcn.10077be0
add esp, 0x18
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp + 0xbdc]
push eax
lea eax, [ebp - 0x58]
push eax
push edi
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp + 0x9d4]
push eax
push dword [ebp - 0x70]
push dword [ebp - 0x64]
mov dword [ebp - 0x60], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x1000ce31
jmp 0x1000cf6c
lea eax, [ebp + 0xbdc]
push eax
push ebx
push dword [ebp - 0x74]
call fcn.100054f5
add esp, 0xc
push dword [ebp - 0x64]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x6c]
add ecx, 0xfffffff0
call fcn.1000cc83
mov ecx, dword [ebp - 0x5c]
add ecx, 0xfffffff0
call fcn.1000cc83
mov ecx, dword [ebp + 0xde4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100773e8
add ebp, 0xde8
leave
ret