Function at 0x434fb0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a02c8
mov eax, dword fs:[0]
push eax
mov eax, 0x2024
call fcn.0055f2e0
mov eax, dword [0x5e6468]
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 eax, dword [ebp + 8]
xor ebx, ebx
mov esi, ecx
mov dword [ebp - 0x202c], eax
mov dword [ebp - 0x2020], ebx
mov eax, dword [esi]
cmp eax, ebx
jne 0x435002
xor eax, eax
jmp 0x4352ac
mov ecx, dword [esi + 8]
lea edi, [esi + 8]
mov dword [ebp - 0x2014], ebx
mov dword [ebp - 0x2018], ebx
cmp dword [ecx - 0xc], ebx
jne 0x435100
mov ecx, dword [esi + 4]
lea edx, [ebp - 0x2014]
push edx
mov edx, dword [esi + 0xc]
or edx, 8
push edx
push ebx
push ecx
push eax
mov dword [ebp - 0x2024], 0x1000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor edi, edi
cmp eax, edi
jne 0x4352a6
mov edx, dword [ebp - 0x2014]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x2024]
push eax
lea ecx, [ebp - 0x2010]
push ecx
push edi
push edx
xor esi, esi
call ebx
test eax, eax
jne 0x43528f
jmp 0x435080
lea eax, [ebp - 0x2010]
push eax
lea ecx, [ebp - 0x2020]
call fcn.00426f30
lea ecx, [ebp - 0x2020]
push ecx
mov ecx, dword [ebp - 0x202c]
mov dword [ebp - 4], edi
call fcn.00446c60
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x2020]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4350d0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x2014]
push edi
push edi
push edi
push edi
lea ecx, [ebp - 0x2024]
push ecx
lea edx, [ebp - 0x2010]
push edx
inc esi
push esi
push eax
mov dword [ebp - 0x2024], 0x1000
call ebx
test eax, eax
je 0x435080
jmp 0x43528f
mov edx, dword [esi + 4]
mov ecx, dword [edx - 0xc]
lea eax, [esi + 4]
cmp ecx, ebx
je 0x435145
push 0x5c2f84
push eax
lea eax, [ebp - 0x2030]
push eax
call fcn.004272e0
mov ecx, 1
mov dword [ebp - 4], ecx
push edi
mov dword [ebp - 0x2020], ecx
push eax
lea ecx, [ebp - 0x2024]
push ecx
call fcn.004469a0
add esp, 0x18
mov ebx, 3
jmp 0x435147
mov eax, edi
mov ecx, dword [esi + 0xc]
mov eax, dword [eax]
lea edx, [ebp - 0x2014]
push edx
mov edx, dword [esi]
or ecx, 1
push ecx
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
sete byte [ebp - 0x2019]
test bl, 2
je 0x43519c
mov eax, dword [ebp - 0x2024]
and ebx, 0xfffffffd
add eax, 0xfffffff0
mov dword [ebp - 0x2020], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43519c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
test bl, 1
je 0x4351ca
mov eax, dword [ebp - 0x2030]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4351ca
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [ebp - 0x2019], 0
je 0x4352a6
mov eax, dword [ebp - 0x2014]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
xor esi, esi
push esi
push esi
push esi
push esi
lea ecx, [ebp - 0x2018]
push ecx
lea edx, [ebp - 0x2010]
push edx
push esi
mov edi, 0x1000
push eax
mov dword [ebp - 0x2018], edi
call ebx
test eax, eax
jne 0x43528f
mov edi, edi
lea ecx, [ebp - 0x2010]
push ecx
lea ecx, [ebp - 0x2028]
call fcn.00426f30
mov ecx, dword [ebp - 0x202c]
lea edx, [ebp - 0x2028]
push edx
mov dword [ebp - 4], 2
call fcn.00446c60
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x2028]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x435264
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x2014]
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x2018]
push ecx
lea edx, [ebp - 0x2010]
push edx
inc esi
push esi
push eax
mov dword [ebp - 0x2018], edi
call ebx
test eax, eax
je 0x435210
mov ecx, dword [ebp - 0x2014]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x2018], 1
mov eax, dword [ebp - 0x2018]
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.0055e289
mov esp, ebp
pop ebp
ret