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

Disassembly:
push 0xffffffffffffffff
push 0x5fe466
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x6687b8]
xor eax, esp
mov dword [esp + 0x248], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6687b8]
xor eax, esp
push eax
lea eax, [esp + 0x260]
mov dword fs:[0], eax
push ecx
mov eax, esp
mov dword [esp + 0x40], esp
xor esi, esi
push eax
mov ecx, str.QQPinyin.ime
mov dword [esp + 0x28], esi
call fcn.00409dd0
call fcn.00430560
mov edi, eax
add esp, 4
cmp edi, 0xffffffff
mov dword [esp + 0x3c], edi
je 0x430bb4
lea ecx, [esp + 0x34]
push ecx
mov ecx, str.Control_PanelInput_MethodHot_Keys_
call fcn.00409dd0
mov dword [esp + 0x268], esi
mov eax, dword [esp + 0x34]
lea edx, [esp + 0x14]
push edx
push eax
push SysReAllocStringLen
mov dword [esp + 0x20], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
cmp eax, esi
je 0x430bbb
mov dword [esp + 0x268], 0xffffffff
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x430bb4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x430dfa
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [esp + 0x24], esi
push 0x208
lea ecx, [esp + 0x58]
push esi
push ecx
mov dword [esp + 0x54], 0x104
call fcn.005da970
add esp, 0xc
lea edx, [esp + 0x4c]
push edx
mov edx, dword [esp + 0x28]
push esi
push esi
push esi
lea eax, [esp + 0x58]
push eax
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x68]
push ecx
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, esi
jne 0x430dc0
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x58]
push edx
push eax
mov dword [esp + 0x3c], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x38], 4
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
lea ecx, [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x48]
push eax
push esi
push 0x6275d8
push ecx
call ebx
lea edx, [esp + 0x2c]
push edx
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x48]
push ecx
push esi
push str.Virtual_Key
push edx
call ebx
lea eax, [esp + 0x2c]
push eax
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x48]
push edx
push esi
push str.Target_IME
push eax
call ebx
mov ecx, dword [esp + 0x18]
push ecx
mov ebp, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp ebp, esi
jne 0x430d58
cmp dword [esp + 0x1c], edi
je 0x430d58
mov eax, dword [esp + 0x30]
and eax, 0xff
cmp eax, dword [esp + 0x274]
mov dword [esp + 0x30], eax
jne 0x430d58
mov edx, dword [esp + 0x270]
cmp dword [esp + 0x38], edx
jne 0x430d58
mov eax, dword [0x677600]
mov edx, dword [eax + 0xc]
mov ecx, 0x677600
call edx
add eax, 0x10
mov dword [esp + 0x28], eax
mov byte [esp + 0x268], 1
mov eax, dword [esp + 0x1c]
push eax
push str.SYSTEMCurrentControlSetControlKeyboard_Layouts_08X_
lea edi, [esp + 0x30]
call fcn.0040ac80
add esp, 8
lea ecx, [esp + 0x44]
push ecx
push 0x20019
push esi
mov esi, dword [esp + 0x34]
push esi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x430d67
cmp dword [esp + 0x1c], 0
je 0x430d94
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x54]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ecx, edi
mov dword [esp + 0x20], 0
mov byte [esp + 0x268], 0
call fcn.00403870
mov edi, dword [esp + 0x3c]
xor esi, esi
add dword [esp + 0x24], 1
cmp ebp, esi
je 0x430bc5
jmp 0x430dc0
mov ecx, dword [esp + 0x44]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esi - 0x10]
mov dword [esp + 0x20], 1
mov byte [esp + 0x268], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x430db4
lea eax, [esi - 0x10]
mov dword [esp + 0x20], 1
mov byte [esp + 0x268], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x430dc0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x268], 0xffffffff
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x430df6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x260]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x248]
xor ecx, esp
call fcn.005d28b3
add esp, 0x258
ret