Function at 0x404eaf
Capabilities:
Delete registry key
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push 0x244
mov eax, 0x54db01
call fcn.00532b0c
lea eax, [ebp - 0x220]
push eax
push 0xf003f
xor ebx, ebx
push ebx
push str.Control_PanelInput_MethodHot_Keys
push SysReAllocStringLen
mov dword [ebp - 0x234], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x404eee
xor eax, eax
jmp 0x405135
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x228]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 0x220]
mov dword [ebp - 0x228], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x404f23
push dword [ebp - 0x220]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x404ee7
mov edi, ebx
mov esi, ebx
mov dword [ebp - 0x238], 0x208
mov dword [ebp - 0x244], ebx
mov dword [ebp - 0x240], edi
mov dword [ebp - 0x23c], ebx
cmp dword [ebp - 0x228], 0
mov dword [ebp - 4], ebx
jbe 0x405114
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x218]
push eax
push esi
push dword [ebp - 0x220]
mov dword [ebp - 0x238], 0x208
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea eax, [ebp - 0x21c]
push eax
push 0xf003f
push ebx
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x220]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4050e8
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x24c]
push eax
lea eax, [ebp - 0x22c]
push eax
push ebx
push str.Target_IME
push dword [ebp - 0x21c]
mov dword [ebp - 0x22c], 3
mov dword [ebp - 0x224], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40503b
mov eax, dword [ebp + 0x10]
cmp dword [ebp - 0x24c], eax
jne 0x40503b
push dword [ebp - 0x21c]
inc esi
call edi
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00404cf4
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x244]
mov byte [ebp - 4], 1
call fcn.00405bc9
mov ecx, dword [ebp - 0x230]
mov byte [ebp - 4], bl
lea ecx, [ecx - 0x10]
call fcn.004058df
jmp 0x4050e9
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x250]
push eax
lea eax, [ebp - 0x22c]
push eax
push ebx
push str.Key_Modifiers
push dword [ebp - 0x21c]
mov dword [ebp - 0x224], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x405078
push dword [ebp - 0x21c]
jmp 0x4050b3
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x22c]
push eax
push ebx
push str.Virtual_Key
push dword [ebp - 0x21c]
mov dword [ebp - 0x224], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x21c]
test eax, eax
je 0x4050b8
inc esi
call edi
jmp 0x4050e9
call edi
mov eax, dword [ebp + 0xc]
cmp dword [ebp - 0x248], eax
jne 0x4050e8
mov eax, dword [ebp + 8]
cmp eax, dword [ebp - 0x250]
jne 0x4050e8
push 0x10
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.005360d8
add esp, 0xc
mov dword [ebp - 0x234], eax
inc esi
cmp esi, dword [ebp - 0x228]
jb 0x404f59
mov edi, dword [ebp - 0x240]
mov ebx, dword [ebp - 0x244]
jmp 0x405114
push dword [ebx]
push dword [ebp - 0x220]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
add ebx, 4
cmp ebx, edi
jne 0x405103
push dword [ebp - 0x220]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x244]
call fcn.00405ba3
mov eax, dword [ebp - 0x234]
call fcn.00532abb
ret 0xc