Function at 0x427870
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa58
mov eax, dword [0x4ed20c]
xor eax, ebp
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xa58], ecx
mov word [ebp - 0x220], 0
push 0x206
push 0
lea eax, [ebp - 0x21e]
push eax
call fcn.00474d50
add esp, 0xc
mov word [ebp - 0x840], 0
push 0x206
push 0
lea ecx, [ebp - 0x83e]
push ecx
call fcn.00474d50
add esp, 0xc
mov word [ebp - 0xa50], 0
push 0x206
push 0
lea edx, [ebp - 0xa4e]
push edx
call fcn.00474d50
add esp, 0xc
mov word [ebp - 0x430], 0
push 0x206
push 0
lea eax, [ebp - 0x42e]
push eax
call fcn.00474d50
add esp, 0xc
mov dword [ebp - 0x844], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
mov word [ebp - 0x638], 0
push 0x206
push 0
lea ecx, [ebp - 0x636]
push ecx
call fcn.00474d50
add esp, 0xc
push str.SOFTWARE_
lea edx, [ebp - 0x638]
push edx
call fcn.00475212
add esp, 8
push str.WanNengWBInput
lea eax, [ebp - 0x638]
push eax
call fcn.004751e8
add esp, 8
push 0x4ccea4
lea ecx, [ebp - 0x638]
push ecx
call fcn.004751e8
add esp, 8
lea edx, [ebp - 8]
push edx
push 0x20019
push 0
lea eax, [ebp - 0x638]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x224], eax
cmp dword [ebp - 0x224], 0
jne 0x427a55
mov dword [ebp - 0xa54], 0x104
lea ecx, [ebp - 0xa54]
push ecx
lea edx, [ebp - 0x220]
push edx
push 0
push 0
push 0x4ccea8
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x224], eax
lea ecx, [ebp - 0xa54]
push ecx
lea edx, [ebp - 0x840]
push edx
push 0
push 0
push 0x4ccec8
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x224], eax
lea ecx, [ebp - 0xa54]
push ecx
lea edx, [ebp - 0xa50]
push edx
push 0
push 0
push 0x4ccee8
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x224], eax
lea ecx, [ebp - 0xa54]
push ecx
lea edx, [ebp - 0x430]
push edx
push 0
push 0
push 0x4ccf08
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x224], eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [ebp - 0x220]
push edx
call fcn.00474e12
add esp, 4
mov dword [ebp - 0x844], eax
lea eax, [ebp - 0x840]
push eax
call fcn.00474e12
add esp, 4
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0xa50]
push ecx
call fcn.00474e12
add esp, 4
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x430]
push edx
call fcn.00474e12
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 0x844], 0
je 0x427ac5
cmp dword [ebp - 0x10], 0
je 0x427ac5
cmp dword [ebp - 0xc], 0
je 0x427ac5
cmp dword [ebp - 4], 0
jne 0x427ac9
xor eax, eax
jmp 0x427b40
lea eax, [ebp - 0x220]
push eax
mov ecx, dword [ebp - 0xa58]
mov edx, dword [ecx]
push edx
call fcn.00475212
add esp, 8
lea eax, [ebp - 0x840]
push eax
mov ecx, dword [ebp - 0xa58]
mov edx, dword [ecx]
add edx, 0x208
push edx
call fcn.00475212
add esp, 8
lea eax, [ebp - 0xa50]
push eax
mov ecx, dword [ebp - 0xa58]
mov edx, dword [ecx]
add edx, 0x410
push edx
call fcn.00475212
add esp, 8
lea eax, [ebp - 0x430]
push eax
mov ecx, dword [ebp - 0xa58]
mov edx, dword [ecx]
add edx, 0x618
push edx
call fcn.00475212
add esp, 8
mov eax, 1
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00474a3e
mov esp, ebp
pop ebp
ret