Function at 0x428438
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x51c
mov eax, 0x57f5b4
call fcn.00550e3c
mov eax, dword [ebp + 8]
mov dword [ebp - 0x4f0], eax
mov dword [ebp - 4], 1
mov byte [ebp - 4], 2
xor ebx, ebx
mov dword [ebp - 0x504], ebx
mov dword [ebp - 0x514], 0x104
mov eax, dword [ebp - 0x4f0]
mov dword [ebp - 0x4e8], eax
lea ecx, [ebp - 0x4f8]
call fcn.00401515
mov byte [ebp - 4], 3
lea eax, [ebp + 0xc]
cmp dword [ebp + 0x20], 0x10
cmovae eax, dword [ebp + 0xc]
push eax
push 0x5931c4
lea eax, [ebp - 0x4f8]
push eax
call fcn.00402933
add esp, 0xc
push ebx
push 0x592ec4
push dword [ebp + 0x1c]
push ebx
lea ecx, [ebp + 0xc]
call fcn.00407647
lea eax, [ebp - 0x4f0]
push eax
push 0x20019
push ebx
push dword [ebp - 0x4f8]
push dword [ebp - 0x4f0]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4287fa
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x504]
push eax
push ebx
lea eax, [ebp - 0x514]
push eax
lea eax, [ebp - 0x414]
push eax
push dword [ebp - 0x4f0]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x4287fa
mov edi, dword [ebp + 0x3c]
mov eax, dword [ebp - 0x504]
add edi, eax
mov dword [ebp + 0x3c], edi
mov dword [ebp - 0x50c], ebx
xor esi, esi
cmp ebx, eax
jae 0x4287ff
mov dword [ebp - 0x518], 0xff
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x518]
push eax
lea eax, [ebp - 0x214]
push eax
push ebx
push dword [ebp - 0x4f0]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x4287e8
lea ecx, [ebp - 0x4ec]
call fcn.00401515
mov byte [ebp - 4], 4
lea eax, [ebp - 0x214]
push eax
lea ecx, [ebp - 0x4ec]
call fcn.00402688
xor eax, eax
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x418], eax
mov dword [ebp - 0x418], 0xf
mov dword [ebp - 0x41c], eax
mov byte [ebp - 0x42c], al
mov byte [ebp - 4], 5
lea eax, [ebp - 0x4ac]
mov dword [ebp - 0x4b0], eax
push 3
push dword [ebp - 0x4ec]
lea ecx, [ebp - 0x4b0]
call fcn.004029c2
mov byte [ebp - 4], 6
mov esi, dword [ebp - 0x4b0]
push esi
call fcn.00405239
pop ecx
push eax
push esi
lea ecx, [ebp - 0x42c]
call fcn.00404607
mov byte [ebp - 4], 5
lea eax, [ebp - 0x4ac]
cmp dword [ebp - 0x4b0], eax
je 0x428605
push dword [ebp - 0x4b0]
call fcn.00550ad6
pop ecx
push 1
xor esi, esi
push esi
lea eax, [ebp - 0x510]
push eax
lea ecx, [ebp - 0x4ec]
call fcn.0040cc59
mov byte [ebp - 4], 7
push 0x597730
push eax
call fcn.00418797
pop ecx
pop ecx
mov byte [ebp - 0x4e1], al
mov byte [ebp - 4], 8
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x510]
lea ecx, [ecx - 0x10]
call fcn.004032e4
cmp byte [ebp - 0x4e1], 0
je 0x428703
mov eax, dword [ebp - 0x4ec]
push dword [eax - 0xc]
push 1
lea eax, [ebp - 0x508]
push eax
lea ecx, [ebp - 0x4ec]
call fcn.0040cc59
mov byte [ebp - 4], 9
push esi
push dword [eax]
mov ecx, 0x5ff610
call fcn.00407234
cmp eax, 0xffffffff
sete byte [ebp - 0x4e1]
mov byte [ebp - 4], 0xa
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x508]
lea ecx, [ecx - 0x10]
call fcn.004032e4
cmp byte [ebp - 0x4e1], 0
je 0x428703
mov eax, dword [ebp - 0x4ec]
push dword [eax - 0xc]
push 1
lea eax, [ebp - 0x4f4]
push eax
lea ecx, [ebp - 0x4ec]
call fcn.0040cc59
mov byte [ebp - 4], 0xb
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
mov ecx, 0x5ff610
call fcn.004026b1
mov byte [ebp - 4], 0xc
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x4f4]
lea ecx, [ecx - 0x10]
call fcn.004032e4
push 0x597734
mov ecx, 0x5ff610
call fcn.00402688
push esi
push 0x592ec4
push dword [ebp + 0x1c]
push esi
lea ecx, [ebp + 0xc]
call fcn.00407647
test eax, eax
je 0x428777
push 0x5967e8
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x4e0]
push eax
call fcn.004280c9
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x42c]
push ecx
push eax
lea eax, [ebp - 0x4c8]
push eax
call fcn.0042808d
add esp, 0x18
mov byte [ebp - 4], 0xe
push eax
lea ecx, [ebp - 0x42c]
call fcn.0040712b
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x4c8]
call fcn.00401d18
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x4e0]
call fcn.00401d18
push esi
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x500], esp
push str.nothing
call fcn.004016bb
mov byte [ebp - 4], 0xf
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x4fc], esp
lea eax, [ebp - 0x42c]
push eax
call fcn.00401695
mov byte [ebp - 4], 0x10
push dword [ebp - 0x4e8]
mov byte [ebp - 4], 5
call fcn.00428438
add esp, 0x38
add edi, eax
mov dword [ebp + 0x3c], edi
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x42c]
call fcn.00401d18
mov byte [ebp - 4], 0x11
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x4ec]
lea ecx, [ecx - 0x10]
call fcn.004032e4
inc ebx
mov dword [ebp - 0x50c], ebx
mov eax, dword [ebp - 0x504]
jmp 0x428528
mov edi, dword [ebp + 0x3c]
jmp 0x428801
xor ebx, ebx
push dword [ebp - 0x4f0]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 0x12
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x4f8]
lea ecx, [ecx - 0x10]
call fcn.004032e4
mov byte [ebp - 4], bl
lea ecx, [ebp + 0xc]
call fcn.00401d18
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.00401d18
mov eax, edi
jmp 0x42895b
call fcn.00550d8e
ret