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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e081d
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x663000]
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 dword [ebp - 0x64], edx
mov dword [ebp - 0x54], ecx
mov eax, dword [ebp + 8]
push 0xc8
mov dword [ebp - 0x60], eax
call fcn.00465805
mov ebx, eax
push 0xc8
push 0
push ebx
lea esi, [ebx + 0xc8]
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x3c], esi
call fcn.005b3720
mov eax, esi
add esp, 0x10
mov dword [ebp - 0x40], eax
xor esi, esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x2c], esi
jmp 0x42bb7b
mov dword [ebp - 0x40], eax
mov esi, dword [ebp - 0x2c]
mov edi, eax
lea eax, [ebp - 0x74]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x50]
sub edi, ebx
push eax
mov eax, dword [ebp - 0x54]
push ebx
push esi
sar edi, 1
push dword [eax]
mov dword [ebp - 0x50], edi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
je 0x42bdc2
cmp eax, 0xea
jne 0x42bc09
mov esi, dword [ebp - 0x50]
test esi, esi
je 0x42bdc2
cmp esi, edi
jae 0x42bbc5
lea eax, [ebx + esi*2]
jmp 0x42bb75
mov eax, dword [ebp - 0x40]
jbe 0x42bb78
mov eax, dword [ebp - 0x4c]
sub eax, ebx
sar eax, 1
cmp esi, eax
jbe 0x42bbed
push ecx
push esi
lea ecx, [ebp - 0x44]
call fcn.0042ca50
mov eax, dword [ebp - 0x3c]
mov ebx, dword [ebp - 0x44]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x40]
jmp 0x42bb78
sub esi, edi
add esi, esi
push esi
push 0
push dword [ebp - 0x40]
call fcn.005b3720
mov eax, dword [ebp - 0x40]
add esp, 0xc
add eax, esi
jmp 0x42bb75
test eax, eax
mov eax, dword [ebp - 0x40]
jne 0x42bb7b
inc esi
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 1
push eax
mov eax, dword [ebp - 0x54]
push 0x20019
push 0
push ebx
push dword [eax]
mov dword [ebp - 0x58], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, dword [ebp - 0x38]
test eax, eax
jne 0x42bd9d
test ecx, ecx
je 0x42bc65
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], 0
test eax, eax
jne 0x42bd9d
lea edx, [ebp - 0x5c]
mov dword [ebp - 0x5c], eax
lea ecx, [ebp - 0x38]
call fcn.0042b950
test al, al
je 0x42bd89
cmp dword [ebp - 0x5c], 0
jbe 0x42bd89
xor eax, eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 2
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x48], eax
call fcn.0042b750
test al, al
je 0x42bcf8
cmp dword [ebp - 0x18], 0
je 0x42bcf8
mov esi, dword [ebp - 0x64]
lea ecx, [ebp - 0x28]
push ecx
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
je 0x42bced
mov ecx, eax
call fcn.00416120
add dword [esi + 4], 0x18
jmp 0x42bcf5
push eax
mov ecx, esi
call fcn.0042c730
mov esi, dword [ebp - 0x2c]
lea eax, [ebp - 0x68]
mov dword [ebp - 0x68], 4
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x6c]
push eax
push 0
push str.release
push dword [ebp - 0x38]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42bd4b
cmp dword [ebp - 0x6c], 4
jne 0x42bd4b
mov ecx, dword [ebp - 0x48]
test ecx, ecx
je 0x42bd4b
mov edx, dword [ebp - 0x60]
mov eax, dword [edx + 4]
cmp eax, dword [edx + 8]
je 0x42bd3f
mov dword [eax], ecx
add dword [edx + 4], 4
jmp 0x42bd4b
lea ecx, [ebp - 0x48]
push ecx
push eax
mov ecx, edx
call fcn.00419830
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x42bd89
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x42bd7f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42be15
push ecx
push edx
call fcn.005af9e7
add esp, 8
push dword [ebp - 0x60]
mov edx, dword [ebp - 0x64]
lea ecx, [ebp - 0x38]
call fcn.0042bb00
mov ecx, dword [ebp - 0x38]
add esp, 4
mov byte [ebp - 4], 0
test ecx, ecx
je 0x42bdb3
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x34], 0
jmp 0x42bb7b
mov dword [ebp - 4], 0xffffffff
test ebx, ebx
je 0x42bdf9
mov ecx, dword [ebp - 0x4c]
mov eax, ebx
sub ecx, ebx
and ecx, 0xfffffffe
cmp ecx, 0x1000
jb 0x42bdef
mov ebx, dword [eax - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42be15
push ecx
push ebx
call fcn.005af9e7
add esp, 8
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.005af765
mov esp, ebp
pop ebp
ret
call fcn.005b681f
int3