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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d8fc8
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x65bfd4]
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 esi, edx
mov dword [ebp - 0x50], ecx
mov edi, dword [ebp + 8]
push ecx
push 0x64
lea ecx, [ebp - 0x48]
call fcn.0042f340
xor edx, edx
mov dword [ebp - 4], 0
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x48]
sub eax, ecx
sar eax, 1
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x68]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x4c]
push eax
mov eax, dword [ebp - 0x50]
push ecx
push edx
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
je 0x42eb13
cmp eax, 0xea
jne 0x42e9a4
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x42eb13
lea ecx, [ebp - 0x48]
push ecx
push eax
call fcn.0042f8f0
mov edx, dword [ebp - 0x2c]
jmp 0x42e950
mov edx, dword [ebp - 0x2c]
test eax, eax
jne 0x42e950
inc dword [ebp - 0x2c]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 1
push eax
mov eax, dword [ebp - 0x50]
push 0x20019
push 0
push dword [ebp - 0x48]
mov dword [ebp - 0x54], 0
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42eaef
mov ecx, dword [ebp - 0x38]
test ecx, ecx
je 0x42ea00
push ecx
call ebx
mov dword [ebp - 0x38], 0
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], 0
test eax, eax
jne 0x42eaef
lea edx, [ebp - 0x58]
mov dword [ebp - 0x58], eax
lea ecx, [ebp - 0x38]
call fcn.0042e700
test al, al
je 0x42eae1
cmp dword [ebp - 0x58], 0
jbe 0x42eae1
lea ecx, [ebp - 0x28]
call fcn.004079ab
mov byte [ebp - 4], 2
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x3c], 0
call fcn.0042e440
test al, al
je 0x42ea85
cmp dword [ebp - 0x18], 0
je 0x42ea85
mov eax, dword [esi + 4]
lea ecx, [ebp - 0x28]
push ecx
cmp dword [esi + 8], eax
je 0x42ea7d
mov ecx, eax
call fcn.00413af0
add dword [esi + 4], 0x18
jmp 0x42ea85
push eax
mov ecx, esi
call fcn.0042f630
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x5c], 4
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x60]
push eax
push 0
push str.release
push dword [ebp - 0x38]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42ead5
cmp dword [ebp - 0x60], 4
jne 0x42ead5
mov ecx, dword [ebp - 0x3c]
test ecx, ecx
je 0x42ead5
mov eax, dword [edi + 4]
cmp dword [edi + 8], eax
je 0x42eac9
mov dword [eax], ecx
add dword [edi + 4], 4
jmp 0x42ead5
lea ecx, [ebp - 0x3c]
push ecx
push eax
mov ecx, edi
call fcn.004174d0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.00407500
push edi
mov edx, esi
lea ecx, [ebp - 0x38]
call fcn.0042e900
add esp, 4
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x42eb04
push eax
call ebx
mov dword [ebp - 0x38], 0
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x34], 0
jmp 0x42e950
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x48]
test edx, edx
je 0x42eb62
mov ecx, dword [ebp - 0x40]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffe
cmp ecx, 0x1000
jb 0x42eb43
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42eb7e
push ecx
push edx
call fcn.005a9369
add esp, 8
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
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.005a909b
mov esp, ebp
pop ebp
ret
call fcn.005b06b9
int3