Function at 0x429050
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x626ed1
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x6cd400]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov edi, ecx
mov esi, dword [ebp + 8]
mov dword [ebp - 0x38], 0
push 2
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
push 0x67a354
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
call fcn.00403c30
mov dword [ebp - 4], 1
cmp dword [ebx + 0x14], 8
jb 0x4290d8
mov eax, dword [ebx]
jmp 0x4290da
mov eax, ebx
lea ecx, [ebp - 0x30]
push ecx
push 0x201
push 0
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x42913a
call fcn.00401520
cmp dword [ebx + 0x14], 8
lea ecx, [eax + 0xf8]
jb 0x429108
mov ebx, dword [ebx]
mov eax, dword [ecx]
push ebx
push 0x67c03c
push ecx
call dword [eax + 0x14]
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
add esp, 0xc
mov word [edi], ax
lea eax, [ebp - 0x2c]
push eax
mov ecx, edi
call fcn.00403760
jmp 0x429321
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x34], 0
jb 0x42914b
mov eax, dword [esi]
jmp 0x42914d
mov eax, esi
lea ecx, [ebp - 0x34]
push ecx
push 0
push 0
push 0
push eax
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x429195
call fcn.00401520
cmp dword [ebx + 0x14], 8
lea ecx, [eax + 0xf8]
jb 0x429178
mov ebx, dword [ebx]
mov eax, dword [ecx]
push ebx
push 0x67b0ec
push ecx
call dword [eax + 0x14]
add esp, 0xc
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x429303
cmp byte [ebp + 0xc], 0
je 0x429268
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x14], 0
jb 0x4291ae
mov esi, dword [esi]
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push 0
push 0
push esi
push dword [ebp - 0x30]
call eax
push dword [ebp - 0x30]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.00401520
test esi, esi
je 0x429233
cmp dword [ebx + 0x14], 8
lea ecx, [eax + 0xf8]
jb 0x4291e7
mov ebx, dword [ebx]
mov eax, dword [ecx]
push ebx
push 0x67a3b8
push ecx
call dword [eax + 0x14]
mov dword [ebp - 0x14], 0
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
add esp, 0xc
mov word [edi], ax
lea eax, [ebp - 0x2c]
push eax
mov ecx, edi
call fcn.00403760
mov dword [ebp - 0x38], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00403680
jmp 0x42934d
mov ecx, dword [ebp - 0x3c]
lea edx, [eax + 0xf8]
cmp dword [ecx + 0x14], 8
jb 0x429244
mov ecx, dword [ecx]
push dword [ebp - 0x14]
mov eax, dword [edx]
push ecx
push 0x67c2bc
push edx
call dword [eax + 0x14]
push 0
push dword [ebp - 0x14]
lea ecx, [ebp - 0x2c]
call fcn.00499700
add esp, 0x18
jmp 0x429303
mov eax, dword [ebp - 0x34]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004c56b9
add esp, 4
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x14], eax
jb 0x42928f
mov esi, dword [esi]
lea ecx, [ebp - 0x34]
push ecx
push eax
mov eax, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push 0
push 0
push esi
push dword [ebp - 0x30]
call eax
push dword [ebp - 0x30]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.00401520
test esi, esi
je 0x4292d6
cmp dword [ebx + 0x14], 8
lea ecx, [eax + 0xf8]
jb 0x4292c5
mov ebx, dword [ebx]
mov eax, dword [ecx]
push ebx
push 0x67a3b8
push ecx
call dword [eax + 0x14]
jmp 0x4291fa
mov ecx, dword [ebp - 0x3c]
lea edx, [eax + 0xf8]
cmp dword [ecx + 0x14], 8
jb 0x4292e7
mov ecx, dword [ecx]
mov esi, dword [ebp - 0x14]
mov eax, dword [edx]
push esi
push ecx
push 0x67c284
push edx
call dword [eax + 0x14]
add esp, 0x10
lea ecx, [ebp - 0x2c]
push esi
call fcn.00403800
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], ax
lea eax, [ebp - 0x2c]
push eax
mov ecx, edi
call fcn.00403760
mov dword [ebp - 0x38], 1
mov byte [ebp - 4], 0
cmp dword [ebp - 0x18], 8
jb 0x42933d
push dword [ebp - 0x2c]
call fcn.004c56c2
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], eax
mov word [ebp - 0x2c], ax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005e96ad
mov esp, ebp
pop ebp
ret