Function at 0x429690
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ee065
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x53e01c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov ebx, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], ax
mov dword [ebp - 4], eax
lea edx, [ebp - 0x5c]
lea eax, [ebp - 0x64]
mov dword [ebp - 0x64], 0x80000001
push eax
mov ecx, 0x10
call fcn.00428c00
add esp, 4
cmp dword [esi + 0x14], 8
jb 0x429701
mov esi, dword [esi]
mov ecx, esi
mov dword [ebp - 0x2c], 0
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x429721
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x2c]
call fcn.00407890
mov byte [ebp - 4], 1
lea edx, [ebp - 0x5c]
cmp dword [ebp - 0x48], 8
mov dword [ebp - 0x44], 0
cmovae edx, dword [ebp - 0x5c]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x429770
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x44]
call fcn.00407890
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x44]
cmp dword [ebp - 0x30], 8
lea ecx, [ebp - 0x74]
push 0x20019
cmovae eax, dword [ebp - 0x44]
push eax
push dword [ebp - 0x64]
call fcn.004063d0
test eax, eax
je 0x4297d3
mov eax, dword [ebp - 0x74]
test eax, eax
je 0x4298a1
push eax
jmp 0x42989b
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x64]
mov esi, dword [ebp - 0x74]
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push ecx
push 0
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x64], 0
push ecx
push 0
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x429896
cmp dword [ebp - 0x68], 3
jne 0x429896
mov edi, dword [ebp - 0x64]
mov edx, dword [ebx]
inc edi
mov byte [ebp - 0x5d], al
mov eax, dword [ebx + 4]
mov ecx, eax
sub ecx, edx
mov dword [ebp - 0x68], eax
cmp edi, ecx
jae 0x42982a
lea eax, [edx + edi]
jmp 0x429858
jbe 0x42985b
mov eax, dword [ebx + 8]
sub eax, edx
cmp edi, eax
jbe 0x429843
lea eax, [ebp - 0x5d]
mov ecx, ebx
push eax
push edi
call fcn.0042a420
jmp 0x42985b
sub edi, ecx
push edi
push 0
push dword [ebp - 0x68]
call fcn.004beec0
mov eax, dword [ebp - 0x68]
add esp, 0xc
add eax, edi
mov dword [ebx + 4], eax
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x64]
push ecx
push dword [ebx]
lea ecx, [ebp - 0x68]
push ecx
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push 0
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x429896
cmp dword [ebp - 0x68], 3
jne 0x429896
test esi, esi
je 0x42988f
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, 1
jmp 0x4298a3
test esi, esi
je 0x4298a1
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
mov edx, dword [ebp - 0x30]
cmp edx, 8
jb 0x4298dd
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4298d3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42998f
push edx
push ecx
call fcn.0045b5e1
add esp, 8
mov edx, dword [ebp - 0x18]
xor eax, eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
cmp edx, 8
jb 0x429927
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42991d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42998f
push edx
push ecx
call fcn.0045b5e1
add esp, 8
mov edx, dword [ebp - 0x48]
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
cmp edx, 8
jb 0x429971
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x429967
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42998f
push edx
push ecx
call fcn.0045b5e1
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0045b5b0
mov esp, ebp
pop ebp
ret
call fcn.004c1e0f
int3