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

Disassembly:
push 0xffffffffffffffff
push 0x5a2506
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x5f13cc]
xor eax, esp
mov dword [esp + 0x248], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5f13cc]
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.00404460
call fcn.00430510
mov edi, eax
add esp, 4
cmp edi, 0xffffffff
mov dword [esp + 0x3c], edi
je 0x430b64
lea ecx, [esp + 0x34]
push ecx
mov ecx, str.Control_PanelInput_MethodHot_Keys_
call fcn.00404460
mov dword [esp + 0x268], esi
mov eax, dword [esp + 0x34]
lea edx, [esp + 0x14]
push edx
push eax
push closesocket
mov dword [esp + 0x20], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
cmp eax, esi
je 0x430b6b
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 0x430b64
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x430daa
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.00580260
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 0x430d70
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 0x5befa8
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 0x430d08
cmp dword [esp + 0x1c], edi
je 0x430d08
mov eax, dword [esp + 0x30]
and eax, 0xff
cmp eax, dword [esp + 0x274]
mov dword [esp + 0x30], eax
jne 0x430d08
mov edx, dword [esp + 0x270]
cmp dword [esp + 0x38], edx
jne 0x430d08
mov eax, dword [0x5fcd20]
mov edx, dword [eax + 0xc]
mov ecx, 0x5fcd20
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.004126f0
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 0x430d17
cmp dword [esp + 0x1c], 0
je 0x430d44
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.00404510
mov edi, dword [esp + 0x3c]
xor esi, esi
add dword [esp + 0x24], 1
cmp ebp, esi
je 0x430b75
jmp 0x430d70
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 0x430d64
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 0x430d70
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 0x430da6
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.005787fd
add esp, 0x258
ret