Function at 0x41cdce
Capabilities:
Query or enumerate registry value
Resolve function by parsing pe exports

Disassembly:
push ebx
mov edx, 0x16
sub esp, 4
mov dword [esp], 0
dec edx
jne 0x41cdd4
call fcn.004310a0
push dword [esp + 0x70]
call fcn.00430f40
mov edx, dword [esp + 0x64]
lea ecx, [esp]
call fcn.0041e000
mov edx, dword [esp + 0x68]
lea ecx, [esp + 4]
call fcn.0041e000
mov edx, dword [esp + 0x6c]
lea ecx, [esp + 8]
call fcn.0041e000
mov dword [esp + 0x28], 0
mov edx, 0x434032
lea ecx, [esp + 0x2c]
call fcn.0041e008
mov dword [esp + 0x30], 1
mov edx, 0x434032
lea ecx, [esp + 0x34]
call fcn.0041e008
mov edx, 0x434032
lea ecx, [esp + 0x38]
call fcn.0041e008
mov dword [esp + 0x3c], 0
call fcn.00430e40
push eax
push eax
push dword [esp + 8]
call fcn.0041e3c0
call fcn.00430ff0
mov edx, str.hklm
mov ecx, dword [esp]
push ecx
call fcn.00430e80
pop ecx
add ecx, eax
call fcn.00431020
je 0x41ce91
mov dword [esp + 0x2c], 0x80000002
jmp 0x41cf71
mov edx, str.hkcr
mov ecx, dword [esp]
push ecx
call fcn.00430e80
pop ecx
add ecx, eax
call fcn.00431020
je 0x41ceb6
mov dword [esp + 0x2c], 0x80000000
jmp 0x41cf71
mov edx, str.hkcu
mov ecx, dword [esp]
push ecx
call fcn.00430e80
pop ecx
add ecx, eax
call fcn.00431020
je 0x41cedb
mov dword [esp + 0x2c], 0x80000001
jmp 0x41cf71
mov edx, 0x437e94
mov ecx, dword [esp]
push ecx
call fcn.00430e80
pop ecx
add ecx, eax
call fcn.00431020
je 0x41cefd
mov dword [esp + 0x2c], 0x80000003
jmp 0x41cf71
mov edx, str.hkcc
mov ecx, dword [esp]
push ecx
call fcn.00430e80
pop ecx
add ecx, eax
call fcn.00431020
je 0x41cf1f
mov dword [esp + 0x2c], 0x80000005
jmp 0x41cf71
mov edx, str.hklm64
mov ecx, dword [esp]
push ecx
call fcn.00430e80
pop ecx
add ecx, eax
call fcn.00431020
je 0x41cf49
mov dword [esp + 0x2c], 0x80000002
mov dword [esp + 0x40], 0x100
jmp 0x41cf71
mov edx, str.hkcu64
mov ecx, dword [esp]
push ecx
call fcn.00430e80
pop ecx
add ecx, eax
call fcn.00431020
je 0x41cf71
mov dword [esp + 0x2c], 0x80000001
mov dword [esp + 0x40], 0x100
call fcn.00430f40
call fcn.00430e40
push eax
push eax
push 1
push dword [esp + 0x10]
call fcn.0041e7e0
call fcn.00430ff0
mov edx, 0x434770
call fcn.00431060
mov ecx, eax
call fcn.00431020
je 0x41cfca
call fcn.00430e40
push eax
push eax
push dword [esp + 0xc]
call fcn.0041f200
mov ebx, eax
dec ebx
push ebx
push dword [esp + 0x10]
call fcn.0041e550
lea eax, [esp + 8]
push eax
call fcn.00430eb0
push dword [esp + 0x38]
mov edx, 0x434032
pop ecx
call fcn.00431020
je 0x41d003
lea eax, [esp + 0x10]
push eax
mov ebx, dword [esp + 0x40]
or ebx, 0x20019
push ebx
push 0
push dword [esp + 0x10]
push dword [esp + 0x38]
call sub.ADVAPI32.DLL_RegOpenKeyExW
mov dword [esp + 0xc], eax
jmp 0x41d039
lea eax, [esp + 0x24]
push eax
push dword [esp + 0x2c]
push dword [esp + 0x40]
call sub.ADVAPI32.DLL_RegConnectRegistryW
mov dword [esp + 0x20], eax
lea eax, [esp + 0x10]
push eax
push 0x20019
push 0
push dword [esp + 0x10]
push dword [esp + 0x34]
call sub.ADVAPI32.DLL_RegOpenKeyExW
mov dword [esp + 0xc], eax
mov ebx, dword [esp + 0xc]
and ebx, ebx
jne 0x41d3b2
lea eax, [esp + 0x18]
push eax
push 0
push 0
push 0
push dword [esp + 0x18]
push dword [esp + 0x24]
call sub.ADVAPI32.DLL_RegQueryValueExW
mov dword [esp + 0xc], eax
call fcn.00430e40
push eax
push eax
push dword [esp + 0x20]
call fcn.0041e500
lea eax, [esp + 0x30]
push eax
call fcn.00430eb0
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x30]
push eax
lea eax, [esp + 0x24]
push eax
push 0
push dword [esp + 0x18]
push dword [esp + 0x24]
call sub.ADVAPI32.DLL_RegQueryValueExW
mov dword [esp + 0xc], eax
mov ebx, dword [esp + 0xc]
and ebx, ebx
jne 0x41d38f
push dword [esp + 0x1c]
mov ebx, 1
cmp ebx, dword [esp]
jne 0x41d11d
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x34]
push eax
lea eax, [esp + 0x28]
push eax
push 0
push dword [esp + 0x1c]
push dword [esp + 0x28]
call sub.ADVAPI32.DLL_RegQueryValueExW
mov dword [esp + 0x10], eax
mov ebx, dword [esp + 0x10]
and ebx, ebx
jne 0x41d118
call fcn.00430e40
push eax
push eax
mov ebx, dword [esp + 0x24]
dec ebx
push ebx
push dword [esp + 0x3c]
call fcn.0041e7e0
lea eax, [esp + 0x3c]
push eax
call fcn.00430eb0
mov dword [esp + 0x34], 0
jmp 0x41d38c
mov ebx, 4
cmp ebx, dword [esp]
jne 0x41d17e
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
push dword [esp + 0x1c]
push dword [esp + 0x28]
call sub.ADVAPI32.DLL_RegQueryValueExW
mov dword [esp + 0x10], eax
mov ebx, dword [esp + 0x10]
and ebx, ebx
jne 0x41d179
call fcn.00430e40
push eax
push eax
mov eax, dword [esp + 0x50]
cdq
push edx
push eax
call fcn.0041e740
lea eax, [esp + 0x3c]
push eax
call fcn.00430eb0
mov dword [esp + 0x34], 0
jmp 0x41d38c
mov ebx, 7
cmp ebx, dword [esp]
jne 0x41d26f
push dword [esp + 0x1c]
call fcn.0042ff70
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x50]
lea eax, [esp + 0x28]
push eax
push 0
push dword [esp + 0x1c]
push dword [esp + 0x28]
call sub.ADVAPI32.DLL_RegQueryValueExW
mov dword [esp + 0x50], 0
mov edx, 0x434032
lea ecx, [esp + 0x54]
call fcn.0041e008
call fcn.00430e40
push eax
push eax
mov ebx, dword [esp + 0x54]
add ebx, dword [esp + 0x58]
push ebx
call fcn.00430150
lea eax, [esp + 0x58]
push eax
call fcn.00430eb0
mov edx, dword [esp + 0x38]
call fcn.00430e40
push eax
call fcn.00430f90
mov edx, dword [esp + 0x58]
call fcn.00430f90
mov edx, 0x434176
call fcn.00430f90
lea eax, [esp + 0x3c]
push eax
call fcn.00430eb0
push dword [esp + 0x54]
call fcn.0041f7a0
mov ebx, eax
add ebx, dword [esp + 0x50]
add ebx, 2
mov dword [esp + 0x50], ebx
mov ebx, dword [esp + 0x50]
cmp ebx, dword [esp + 0x1c]
jne 0x41d1cf
call fcn.00430e40
push eax
push eax
push 0x434176
push dword [esp + 0x44]
call fcn.0041e310
lea eax, [esp + 0x3c]
push eax
call fcn.00430eb0
push dword [esp + 0x4c]
call fcn.00430120
mov dword [esp + 0x34], 0
jmp 0x41d38c
mov ebx, 2
cmp ebx, dword [esp]
jne 0x41d2d3
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x34]
push eax
lea eax, [esp + 0x28]
push eax
push 0
push dword [esp + 0x1c]
push dword [esp + 0x28]
call sub.ADVAPI32.DLL_RegQueryValueExW
mov dword [esp + 0x10], eax
mov ebx, dword [esp + 0x10]
and ebx, ebx
jne 0x41d2ce
call fcn.00430e40
push eax
push eax
mov ebx, dword [esp + 0x24]
dec ebx
push ebx
push dword [esp + 0x3c]
call fcn.0041e7e0
lea eax, [esp + 0x3c]
push eax
call fcn.00430eb0
mov dword [esp + 0x34], 0
jmp 0x41d38c
mov ebx, 3
cmp ebx, dword [esp]
jne 0x41d38c
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x34]
push eax
lea eax, [esp + 0x28]
push eax
push 0
push dword [esp + 0x1c]
push dword [esp + 0x28]
call sub.ADVAPI32.DLL_RegQueryValueExW
mov dword [esp + 0x10], eax
mov ebx, dword [esp + 0x10]
and ebx, ebx
jne 0x41d38c
mov dword [esp + 0x58], 0
mov ebx, dword [esp + 0x1c]
dec ebx
cmp ebx, dword [esp + 0x58]
jl 0x41d384
mov edx, dword [esp + 0x38]
call fcn.00430e40
push eax
call fcn.00430f90
call fcn.00430e40
push eax
push eax
push 0x4343c8
push 2
call fcn.00430e40
push eax
push eax
push 1
mov eax, dword [esp + 0x50]
mov ebx, eax
add ebx, dword [esp + 0x78]
mov eax, ebx
call fcn.00430000
cdq
push edx
push eax
call fcn.0041f230
call fcn.00430e92
add dword [esp], edx
call fcn.0041f390
pop eax
lea eax, [esp + 0x3c]
push eax
call fcn.00430eb0
inc dword [esp + 0x58]
jno 0x41d316
mov dword [esp + 0x34], 0
pop eax
jmp 0x41d3b2
push dword [esp + 8]
mov edx, 0x434032
pop ecx
call fcn.00431020
je 0x41d3aa
mov dword [esp + 0x30], 3
jmp 0x41d3b2
mov dword [esp + 0x30], 2
push dword [esp + 0x10]
call sub.ADVAPI32.DLL_RegCloseKey
cmp dword [esp + 0x60], 0
je 0x41d3cf
push dword [esp + 0x30]
mov eax, dword [esp + 0x64]
call fcn.00430100
mov edx, dword [esp + 0x34]
call fcn.00430e40
push eax
call fcn.00430f90
pop eax
push eax
call fcn.00430e80
pop edx
add eax, edx
jmp 0x41d3f4
push dword [esp + 0x34]
call fcn.00431170
push dword [esp + 0x38]
call fcn.00431170
push dword [esp + 8]
call fcn.00431170
push dword [esp + 0x50]
call fcn.00431170
push dword [esp]
call fcn.00431170
push dword [esp + 0x2c]
call fcn.00431170
push dword [esp + 4]
call fcn.00431170
add esp, 0x58
pop ebx
ret 0x10