Function at 0x42e600
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x464120
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x194
mov eax, dword [0x487490]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x134], 0
push 0x4688dc
lea ecx, [ebp - 0x1c]
call fcn.00404420
mov dword [ebp - 4], 0
cmp dword [ebp + 0xc], 0
jne 0x42e656
mov dword [ebp - 0x144], 0
jmp 0x42e668
mov eax, dword [ebp + 0xc]
push eax
call fcn.00444520
add esp, 4
mov dword [ebp - 0x144], eax
mov ecx, dword [ebp - 0x144]
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp - 0x1c]
call fcn.0040c310
lea eax, [ebp - 0x10]
push eax
push 1
push 0
mov ecx, dword [ebp - 0x1c]
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x42e6d8
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x474f58
mov ecx, dword [ebp + 8]
call fcn.00404420
mov eax, dword [ebp - 0x134]
or eax, 1
mov dword [ebp - 0x134], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00401700
mov eax, dword [ebp + 8]
jmp 0x42e891
mov dword [ebp - 0x14], 1
push 0xff
push 0
lea ecx, [ebp - 0x12c]
push ecx
call fcn.00444850
add esp, 0xc
mov dword [ebp - 0x18], 0xff
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x12c]
push eax
lea ecx, [ebp - 0x14]
push ecx
push 0
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x42e7d7
push 0
push 0
lea ecx, [ebp - 0x130]
push ecx
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
test eax, eax
jne 0x42e78d
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x474f58
mov ecx, dword [ebp + 8]
call fcn.00404420
mov eax, dword [ebp - 0x134]
or eax, 1
mov dword [ebp - 0x134], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00401700
mov eax, dword [ebp + 8]
jmp 0x42e891
mov ecx, dword [ebp - 0x130]
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x474f58
mov ecx, dword [ebp + 8]
call fcn.00404420
mov eax, dword [ebp - 0x134]
or eax, 1
mov dword [ebp - 0x134], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00401700
mov eax, dword [ebp + 8]
jmp 0x42e891
call fcn.00454986
mov dword [ebp - 0x184], eax
mov ecx, dword [ebp - 0x184]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x184]
call dword [edx + 0xc]
mov dword [ebp - 0x180], eax
mov eax, dword [ebp - 0x180]
add eax, 0x10
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x12c]
push ecx
push 0x474f4c
lea edx, [ebp - 0x24]
push edx
call fcn.00401540
add esp, 0xc
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x24]
sub edx, 0x10
mov dword [ebp - 0x188], edx
mov eax, dword [ebp - 0x188]
push eax
call fcn.00404cc0
add esp, 4
mov dword [ebp - 0x18c], eax
mov ecx, dword [ebp - 0x18c]
add ecx, 0x10
mov edx, dword [ebp + 8]
mov dword [edx], ecx
mov eax, dword [ebp - 0x134]
or eax, 1
mov dword [ebp - 0x134], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.00401700
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00401700
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x28]
call fcn.004457b0
mov esp, ebp
pop ebp
ret