Function at 0x429660
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5dcffd
mov eax, dword fs:[0]
push eax
sub esp, 0x160
mov eax, dword [0x65eff4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xe8], ecx
mov dword [ebp - 0x118], 0x80
mov dword [ebp - 0x114], 0
lea eax, [ebp - 0x108]
push eax
push 1
push 0
push 0x62c670
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0xf4], eax
cmp dword [ebp - 0xf4], 0
jne 0x429bfb
mov cx, word [ebp + 8]
mov word [ebp - 0xec], cx
mov dword [ebp - 0x110], 0x20
push 0x62c6ac
lea ecx, [ebp - 0xe0]
call fcn.00404970
mov dword [ebp - 4], 0
push 0x62c6cc
lea ecx, [ebp - 0xdc]
call fcn.00404970
mov byte [ebp - 4], 1
push 0x62c6ec
lea ecx, [ebp - 0xd8]
call fcn.00404970
mov byte [ebp - 4], 2
push 0x62c70c
lea ecx, [ebp - 0xd4]
call fcn.00404970
mov dword [ebp - 4], 3
lea edx, [ebp - 0x140]
push edx
call fcn.0042da70
add esp, 4
mov dword [ebp - 0xf8], 0
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0x134], eax
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x110]
push ecx
lea edx, [ebp - 0x50]
push edx
mov eax, dword [ebp - 0x134]
push eax
mov ecx, dword [ebp - 0x108]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov dword [ebp - 0xf4], eax
mov edx, dword [ebp - 0xf8]
add edx, 1
mov dword [ebp - 0xf8], edx
cmp dword [ebp - 0xf4], 0x103
je 0x429b21
mov dword [ebp - 0x110], 0x20
mov dword [ebp - 0x118], 0x80
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0xd0]
push ecx
push 0
push 0
lea edx, [ebp - 0x50]
push edx
mov eax, dword [ebp - 0x108]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0xf4], eax
cmp dword [ebp - 0xf4], 0
jne 0x429ad4
mov byte [ebp - 0xe1], 0
mov dword [ebp - 0xfc], 0
jmp 0x42981b
mov ecx, dword [ebp - 0xfc]
add ecx, 1
mov dword [ebp - 0xfc], ecx
cmp dword [ebp - 0xfc], 4
jge 0x429ad4
movzx edx, byte [ebp - 0xe1]
cmp edx, 1
jne 0x429839
jmp 0x429ad4
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x104]
call fcn.00404970
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0xfc]
lea ecx, [ebp + ecx*4 - 0xe0]
call fcn.004041e0
push eax
lea edx, [ebp - 0x11c]
push edx
lea ecx, [ebp - 0x104]
call fcn.00427780
mov dword [ebp - 0x130], eax
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x138], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x138]
push ecx
lea ecx, [ebp - 0x104]
call fcn.00428000
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x11c]
call fcn.00403cb0
mov edx, dword [ebp - 0xfc]
lea ecx, [ebp + edx*4 - 0xe0]
call fcn.00404200
push eax
lea ecx, [ebp - 0x104]
call fcn.004278e0
test eax, eax
jne 0x429ac0
mov byte [ebp - 0xe1], 1
lea ecx, [ebp - 0x10c]
call fcn.00429ea0
lea eax, [ebp - 0xca]
push eax
call fcn.005bf7c4
add esp, 4
mov dword [ebp - 0x100], eax
mov dword [ebp - 0xf0], 0
jmp 0x429910
mov ecx, dword [ebp - 0xf0]
add ecx, 1
mov dword [ebp - 0xf0], ecx
mov ecx, dword [ebp - 0xe8]
add ecx, 0x330
call fcn.0042ae30
cmp dword [ebp - 0xf0], eax
jge 0x429ac0
mov edx, dword [ebp - 0xf0]
push edx
mov ecx, dword [ebp - 0xe8]
add ecx, 0x330
call fcn.0042adf0
cmp dword [eax], 0xffffffff
je 0x4299b1
mov eax, dword [ebp - 0xf0]
push eax
mov ecx, dword [ebp - 0xe8]
add ecx, 0x330
call fcn.0042adf0
mov ecx, dword [eax]
cmp ecx, dword [ebp - 0x100]
jne 0x4299ac
mov dword [ebp - 0x120], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x104]
call fcn.00403cb0
mov dword [ebp - 4], 0xffffffff
push fcn.00403cb0
push 4
push 4
lea edx, [ebp - 0xe0]
push edx
call fcn.005a9f7f
mov eax, dword [ebp - 0x120]
jmp 0x429bfe
jmp 0x429901
mov eax, dword [ebp - 0xf0]
push eax
mov ecx, dword [ebp - 0xe8]
add ecx, 0x330
call fcn.0042adf0
mov ecx, dword [ebp - 0x100]
mov dword [eax], ecx
lea edx, [ebp - 0x100]
push edx
lea eax, [ebp - 0x14c]
push eax
mov ecx, dword [ebp - 0xe8]
add ecx, 0x354
call fcn.00429fe0
mov ecx, dword [eax]
mov dword [ebp - 0x10c], ecx
lea edx, [ebp - 0x150]
push edx
mov ecx, dword [ebp - 0xe8]
add ecx, 0x354
call fcn.0042a800
push eax
lea ecx, [ebp - 0x10c]
call fcn.00429ec0
movzx eax, al
test eax, eax
je 0x429a4e
mov ecx, dword [ebp - 0x10c]
mov dword [ebp - 0x124], ecx
mov edx, dword [ebp - 0x124]
push edx
lea eax, [ebp - 0x154]
push eax
mov ecx, dword [ebp - 0xe8]
add ecx, 0x354
call fcn.0042a080
lea ecx, [ebp - 0xf0]
push ecx
lea edx, [ebp - 0x100]
push edx
lea ecx, [ebp - 0x164]
call fcn.0042c7a0
push eax
lea eax, [ebp - 0x16c]
push eax
mov ecx, dword [ebp - 0xe8]
add ecx, 0x354
call fcn.0042c7e0
push 0
push 0x64
push 0x62c72c
push 0xfbd
mov ecx, dword [ebp - 0x100]
push ecx
call fcn.00428af0
mov ecx, eax
call fcn.00403ae0
push eax
call fcn.00426210
add esp, 0x18
mov edx, dword [ebp - 0x114]
add edx, 1
mov dword [ebp - 0x114], edx
jmp 0x429ac0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x104]
call fcn.00403cb0
jmp 0x42980c
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0x128], eax
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x110]
push ecx
lea edx, [ebp - 0x50]
push edx
mov eax, dword [ebp - 0x128]
push eax
mov ecx, dword [ebp - 0x108]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov dword [ebp - 0xf4], eax
mov edx, dword [ebp - 0xf8]
add edx, 1
mov dword [ebp - 0xf8], edx
jmp 0x42979f
lea eax, [ebp - 0x148]
push eax
call fcn.0042da70
add esp, 4
mov ecx, dword [ebp - 0x13c]
push ecx
mov edx, dword [ebp - 0x140]
push edx
mov eax, dword [ebp - 0x144]
push eax
mov ecx, dword [ebp - 0x148]
push ecx
call fcn.0042da50
add esp, 0x10
fstp qword [ebp - 0x15c]
movsd xmm0, qword [ebp - 0x15c]
cvttsd2si edx, xmm0
movsx eax, dx
movsx ecx, word [ebp - 0xec]
sub ecx, eax
mov word [ebp - 0xec], cx
movsx edx, word [ebp + 8]
cmp edx, 1
je 0x429b95
movsx eax, word [ebp + 8]
test eax, eax
je 0x429bd2
movsx ecx, word [ebp - 0xec]
test ecx, ecx
jg 0x429bd2
mov edx, dword [ebp - 0x108]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0x12c], eax
mov dword [ebp - 4], 0xffffffff
push fcn.00403cb0
push 4
push 4
lea ecx, [ebp - 0xe0]
push ecx
call fcn.005a9f7f
mov eax, dword [ebp - 0x12c]
jmp 0x429bfe
cmp dword [ebp - 0xf4], 0
jne 0x42973e
mov dword [ebp - 4], 0xffffffff
push fcn.00403cb0
push 4
push 4
lea edx, [ebp - 0xe0]
push edx
call fcn.005a9f7f
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005a980c
mov esp, ebp
pop ebp
ret 4