Function at 0x447842
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
mov edx, 0xd
sub esp, 4
mov dword [esp], 0
dec edx
jne 0x447848
mov eax, dword [esp + 0x4c]
mov dword [0x4430a4], eax
mov edx, dword [esp + 0x40]
lea ecx, [esp]
call fcn.00401000
mov edx, dword [esp + 0x44]
lea ecx, [esp + 4]
call fcn.00401000
mov edx, dword [esp + 0x48]
lea ecx, [esp + 8]
call fcn.00401000
mov dword [0x442510], 0
mov edx, 0x43f028
lea ecx, [esp + 0x24]
call fcn.00401008
push dword [0x4430a4]
push dword [0x4430a4]
push 1
push dword [esp + 0xc]
call fcn.00407d20
add dword [0x4430a4], 2
mov edx, 0x43f2f8
pop ecx
mov dword [0x4430a4], ecx
add ecx, dword [0x441b5c]
call fcn.00401010
je 0x447902
push dword [0x4430a4]
push dword [0x4430a4]
push dword [esp + 8]
call fcn.00407d90
mov ebx, eax
dec ebx
push ebx
push dword [esp + 0xc]
call fcn.00408140
lea eax, [esp + 4]
push eax
call fcn.00409250
push dword [0x4430a4]
push dword [0x4430a4]
push 1
push dword [esp + 0xc]
call fcn.00408140
add dword [0x4430a4], 2
mov edx, 0x43f2f8
pop ecx
mov dword [0x4430a4], ecx
add ecx, dword [0x441b5c]
call fcn.00401010
je 0x447968
push dword [0x4430a4]
push dword [0x4430a4]
push dword [esp + 8]
call fcn.00407d90
mov ebx, eax
dec ebx
push ebx
push dword [esp + 0xc]
call fcn.00407d20
lea eax, [esp + 4]
push eax
call fcn.00409250
push dword [esp + 8]
mov edx, 0x43f028
pop ecx
call fcn.00401010
je 0x44799e
lea eax, [esp + 0xc]
push eax
push 0xf003f
push 0
push dword [esp + 0xc]
push dword [esp + 0x4c]
call sub.ADVAPI32.dll_RegOpenKeyExW
mov dword [esp + 0x14], eax
jmp 0x447a20
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x40]
push dword [esp + 0x10]
call sub.ADVAPI32.dll_RegConnectRegistryW
mov dword [esp + 0x14], eax
mov ebx, dword [esp + 0x14]
and ebx, ebx
je 0x447a00
push dword [esp + 0x14]
pop eax
mov dword [0x442510], eax
push dword [0x4430a4]
push dword [0x442510]
call fcn.004452b0
lea eax, [0x442540]
push eax
call fcn.00409250
mov edx, 0x43f028
push dword [0x4430a4]
push edx
call fcn.00409310
pop eax
add eax, dword [0x441b5c]
jmp 0x447c27
lea eax, [esp + 0xc]
push eax
push 0xf003f
push 0
push dword [esp + 0xc]
push dword [esp + 0x20]
call sub.ADVAPI32.dll_RegOpenKeyExW
mov dword [esp + 0x14], eax
mov ebx, dword [esp + 0x14]
and ebx, ebx
jne 0x447bbe
lea eax, [esp + 0x2c]
push eax
push 0
lea eax, [esp + 0x30]
push eax
push 0
push dword [esp + 0x14]
push dword [esp + 0x20]
call sub.ADVAPI32.dll_RegQueryValueExW
mov dword [esp + 0x14], eax
mov ebx, dword [esp + 0x14]
and ebx, ebx
jne 0x447b95
push dword [esp + 0x28]
mov ebx, 1
cmp ebx, dword [esp]
jne 0x447ae8
push dword [esp + 0x30]
call fcn.00408f30
cdq
push edx
push eax
pop dword [esp + 0x24]
pop dword [esp + 0x24]
lea eax, [esp + 0x30]
push eax
mov eax, dword [esp + 0x24]
push eax
push 0
push 0
push dword [esp + 0x18]
push dword [esp + 0x24]
call sub.ADVAPI32.dll_RegQueryValueExW
mov dword [esp + 0x18], eax
mov ebx, dword [esp + 0x18]
and ebx, ebx
jne 0x447ad8
push dword [0x4430a4]
push dword [0x4430a4]
mov eax, dword [esp + 0x28]
push eax
call fcn.00409180
lea eax, [esp + 0x2c]
push eax
call fcn.00409250
mov eax, dword [esp + 0x20]
push eax
call fcn.00408f90
jmp 0x447ae6
mov edx, 0x43f028
lea ecx, [esp + 0x28]
call fcn.00401008
jmp 0x447b51
mov ebx, 4
cmp ebx, dword [esp]
jne 0x447b51
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x34]
push eax
push 0
push dword [esp + 0x18]
push dword [esp + 0x24]
call sub.ADVAPI32.dll_RegQueryValueExW
mov dword [esp + 0x18], eax
mov ebx, dword [esp + 0x18]
and ebx, ebx
jne 0x447b43
push dword [0x4430a4]
push dword [0x4430a4]
mov eax, dword [esp + 0x3c]
cdq
push edx
push eax
call fcn.004081c0
lea eax, [esp + 0x2c]
push eax
call fcn.00409250
jmp 0x447b51
mov edx, 0x43f028
lea ecx, [esp + 0x28]
call fcn.00401008
pop eax
mov ebx, dword [esp + 0x14]
and ebx, ebx
jne 0x447b64
mov dword [esp + 0x18], 1
jmp 0x447b93
push dword [esp + 0x14]
pop eax
mov dword [0x442510], eax
push dword [0x4430a4]
push dword [0x442510]
call fcn.004452b0
lea eax, [0x442540]
push eax
call fcn.00409250
mov dword [esp + 0x18], 0
jmp 0x447bbc
push dword [esp + 0x14]
pop eax
mov dword [0x442510], eax
push dword [0x4430a4]
push dword [0x442510]
call fcn.004452b0
lea eax, [0x442540]
push eax
call fcn.00409250
jmp 0x447be5
push dword [esp + 0x14]
pop eax
mov dword [0x442510], eax
push dword [0x4430a4]
push dword [0x442510]
call fcn.004452b0
lea eax, [0x442540]
push eax
call fcn.00409250
push dword [esp + 0xc]
call sub.ADVAPI32.dll_RegCloseKey
cmp dword [esp + 0x10], 0
je 0x447bfe
push dword [esp + 0x10]
call sub.ADVAPI32.dll_RegCloseKey
mov edx, dword [esp + 0x24]
push dword [0x4430a4]
push edx
call fcn.00409310
pop eax
add eax, dword [0x441b5c]
jmp 0x447c27
push dword [esp + 8]
call fcn.00409360
push dword [esp + 4]
call fcn.00409360
push dword [esp]
call fcn.00409360
push dword [esp + 0x24]
call fcn.00409360
add esp, 0x34
pop ebx
ret 0x10