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

Disassembly:
push 0xffffffffffffffff
push 0x5a2556
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x5f13cc]
xor eax, esp
mov dword [esp + 0x238], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5f13cc]
xor eax, esp
push eax
lea eax, [esp + 0x250]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x260]
lea eax, [esp + 0x20]
xor edi, edi
push eax
mov ecx, str.Control_PanelInput_MethodHot_Keys_
mov dword [esp + 0x38], ebp
mov dword [esp + 0x2c], edi
call fcn.00404460
mov dword [esp + 0x258], edi
mov edx, dword [0x5fcd20]
mov eax, dword [edx + 0xc]
mov ecx, 0x5fcd20
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x18], esi
mov byte [esp + 0x258], 1
mov edx, dword [esp + 0x20]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
lea ecx, [esp + 0x1c]
push ecx
push edx
push closesocket
mov dword [esp + 0x28], edi
call ebx
cmp eax, edi
je 0x430901
push ebp
mov ecx, 0x5bce10
call fcn.0040a000
lea eax, [esi - 0x10]
mov byte [esp + 0x258], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4308cf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x258], 0xffffffff
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4308fa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebp
jmp 0x430a6b
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
lea esp, [esp]
push 0x208
lea ecx, [esp + 0x48]
push edi
push ecx
mov dword [esp + 0x34], 0x104
call fcn.00580260
add esp, 0xc
lea edx, [esp + 0x3c]
push edx
mov edx, dword [esp + 0x20]
push edi
push edi
push edi
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x58]
push ecx
push esi
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, edi
jne 0x4309b5
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x48]
push ecx
push edx
mov dword [esp + 0x3c], edi
mov dword [esp + 0x30], 4
call ebx
lea eax, [esp + 0x24]
push eax
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x40]
push edx
push edi
push str.Target_IME
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [esp + 0x2c]
push ecx
call ebp
mov edx, dword [esp + 0x264]
cmp dword [esp + 0x30], edx
je 0x4309a6
add esi, 1
jmp 0x430910
lea edx, [esp + 0x44]
lea edi, [esp + 0x18]
call fcn.004040f0
jmp 0x4309f9
mov esi, 0x64
lea ebx, [ebx]
push esi
push str._08d
lea edi, [esp + 0x20]
call fcn.004126f0
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
add esp, 8
lea eax, [esp + 0x24]
push eax
push ecx
push edx
call ebx
test eax, eax
jne 0x4309f9
mov eax, dword [esp + 0x24]
push eax
call ebp
add esi, 1
cmp esi, 0x3e8
jl 0x4309c0
mov ecx, dword [esp + 0x1c]
push ecx
call ebp
mov esi, dword [esp + 0x34]
lea edx, [esp + 0x18]
push edx
push esi
lea ebx, [esp + 0x28]
call fcn.00423280
mov byte [esp + 0x260], 0
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
add esp, 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x430a3e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x258], 0xffffffff
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x430a69
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x250]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x238]
xor ecx, esp
call fcn.005787fd
add esp, 0x248
ret