Function at 0x428070
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x463eaa
mov eax, dword fs:[0]
push eax
mov eax, 0x1074
call fcn.004412d0
mov eax, dword [0x47a4a4]
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
xor eax, eax
mov esi, ecx
mov dword [ebp - 0x103c], eax
mov edi, dword [esi + 0x54]
mov ecx, dword [esi + 0x34]
push eax
neg edi
lea ebx, [esi + 0x20]
push 0x4669cc
sbb edi, edi
push ecx
and edi, 0x100
push eax
mov ecx, ebx
mov dword [ebp - 0x1030], eax
or edi, 0x20019
call fcn.004027b0
test eax, eax
jne 0x428129
cmp dword [esi + 0x1c], 8
mov dword [ebp - 0x1034], eax
jb 0x4280ef
mov eax, dword [esi + 8]
jmp 0x4280f2
lea eax, [esi + 8]
lea edx, [ebp - 0x1034]
push edx
push edi
push 0
push eax
mov eax, dword [esi]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, 1
test eax, eax
je 0x428115
mov esi, dword [ebp - 0x1030]
mov ecx, dword [ebp - 0x1034]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x42837d
cmp dword [esi + 0x1c], 8
mov dword [ebp - 0x1038], 0
jb 0x42813e
mov eax, dword [esi + 8]
jmp 0x428141
lea eax, [esi + 8]
lea edx, [ebp - 0x1038]
push edx
push edi
push 0
push eax
mov eax, dword [esi]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42836a
xor ecx, ecx
cmp dword [ebx + 0x18], 8
mov dword [ebp - 0x1034], ecx
mov dword [ebp - 0x1040], ecx
jb 0x428176
mov eax, dword [ebx + 4]
jmp 0x428179
lea eax, [ebx + 4]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea edx, [ebp - 0x1040]
push edx
push ecx
lea edx, [ebp - 0x1034]
push edx
push ecx
push eax
mov eax, dword [ebp - 0x1038]
push eax
call edi
test eax, eax
je 0x4281a8
cmp eax, 0xea
jne 0x42836a
cmp dword [ebp - 0x1040], 0x1000
jae 0x42836a
mov ecx, dword [esi + 0x4c]
cmp ecx, dword [ebp - 0x1034]
jne 0x42836a
push 0xfff
lea edx, [ebp - 0x100f]
push 0
push edx
mov byte [ebp - 0x1010], 0
call fcn.00440910
add esp, 0xc
cmp dword [ebx + 0x18], 8
jb 0x4281ef
mov ebx, dword [ebx + 4]
jmp 0x4281f2
add ebx, 4
lea eax, [ebp - 0x1040]
push eax
mov eax, dword [ebp - 0x1038]
lea ecx, [ebp - 0x1010]
push ecx
lea edx, [ebp - 0x1034]
push edx
push 0
push ebx
push eax
call edi
mov eax, dword [esi + 0x4c]
mov ebx, 1
sub eax, ebx
je 0x42824d
sub eax, 3
jne 0x42836a
mov esi, dword [esi + 0x44]
cmp esi, dword [ebp - 0x1010]
je 0x428242
test esi, esi
je 0x428242
mov dword [ebp - 0x1030], eax
jmp 0x42836a
mov dword [ebp - 0x1030], ebx
jmp 0x42836a
cmp dword [esi + 0x58], 0
je 0x4282ba
lea ecx, [ebp - 0x1010]
push ecx
lea ecx, [ebp - 0x102c]
call fcn.00409040
mov dword [ebp - 4], 0
mov edx, dword [esi + 0x44]
push 0
push edx
lea ecx, [ebp - 0x1048]
call fcn.004048f0
mov byte [ebp - 4], 1
push 0
push eax
lea eax, [ebp - 0x102c]
push eax
call fcn.0041e7a0
movzx ecx, al
mov dword [ebp - 0x1030], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1048]
call fcn.004193e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x102c]
jmp 0x428365
mov edx, dword [esi + 0x44]
push edx
lea ecx, [ebp - 0x1080]
call fcn.00409040
mov edi, 2
mov dword [ebp - 4], edi
lea ecx, [ebp - 0x1010]
push ecx
push eax
mov dword [ebp - 0x103c], ebx
call fcn.00414460
add esp, 8
test al, al
jne 0x428324
mov edx, dword [esi + 0x44]
push edx
lea ecx, [ebp - 0x1064]
call fcn.00409040
mov ebx, 3
mov dword [ebp - 4], ebx
push 0x4669cc
push eax
mov dword [ebp - 0x103c], ebx
call fcn.00414460
add esp, 8
mov dword [ebp - 0x1030], 0
test al, al
je 0x42832e
mov dword [ebp - 0x1030], 1
mov dword [ebp - 4], edi
test bl, 2
je 0x42834a
and ebx, 0xfffffffd
lea ecx, [ebp - 0x1064]
mov dword [ebp - 0x103c], ebx
call fcn.004052b0
mov dword [ebp - 4], 0xffffffff
test bl, 1
je 0x42836a
and ebx, 0xfffffffe
mov dword [ebp - 0x103c], ebx
lea ecx, [ebp - 0x1080]
call fcn.004052b0
mov eax, dword [ebp - 0x1038]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x1030]
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.00440721
mov esp, ebp
pop ebp
ret