Function at 0x4242f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa58
mov eax, dword [0x4e4260]
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.0046f350
add esp, 0xc
mov word [ebp - 0x840], 0
push 0x206
push 0
lea ecx, [ebp - 0x83e]
push ecx
call fcn.0046f350
add esp, 0xc
mov word [ebp - 0xa50], 0
push 0x206
push 0
lea edx, [ebp - 0xa4e]
push edx
call fcn.0046f350
add esp, 0xc
mov word [ebp - 0x430], 0
push 0x206
push 0
lea eax, [ebp - 0x42e]
push eax
call fcn.0046f350
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.0046f350
add esp, 0xc
push str.SOFTWARE_
lea edx, [ebp - 0x638]
push edx
call fcn.0046fd00
add esp, 8
push str.WanNengWBInput
lea eax, [ebp - 0x638]
push eax
call fcn.0046fcd6
add esp, 8
push 0x4c4cbc
lea ecx, [ebp - 0x638]
push ecx
call fcn.0046fcd6
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 0x4244d5
mov dword [ebp - 0xa54], 0x104
lea ecx, [ebp - 0xa54]
push ecx
lea edx, [ebp - 0x220]
push edx
push 0
push 0
push 0x4c4cc0
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 0x4c4ce0
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 0x4c4d00
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 0x4c4d20
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.0046fb52
add esp, 4
mov dword [ebp - 0x844], eax
lea eax, [ebp - 0x840]
push eax
call fcn.0046fb52
add esp, 4
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0xa50]
push ecx
call fcn.0046fb52
add esp, 4
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x430]
push edx
call fcn.0046fb52
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 0x844], 0
je 0x424545
cmp dword [ebp - 0x10], 0
je 0x424545
cmp dword [ebp - 0xc], 0
je 0x424545
cmp dword [ebp - 4], 0
jne 0x424549
xor eax, eax
jmp 0x4245c0
lea eax, [ebp - 0x220]
push eax
mov ecx, dword [ebp - 0xa58]
mov edx, dword [ecx]
push edx
call fcn.0046fd00
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.0046fd00
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.0046fd00
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.0046fd00
add esp, 8
mov eax, 1
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0046f960
mov esp, ebp
pop ebp
ret