Function at 0x420c10
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b8f99
mov eax, dword fs:[0]
push eax
sub esp, 0x88c
mov eax, dword [0x4e843c]
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
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x84c], ebx
mov eax, dword [edi + 0x2f4]
test eax, eax
jne 0x420ddf
call fcn.00402800
lea eax, [ebp - 0x880]
push eax
call fcn.00404010
mov esi, eax
push 0x800
lea eax, [ebp - 0x810]
mov dword [ebp - 4], ebx
push ebx
push eax
call fcn.00493ec0
add esp, 0xc
mov dword [ebp - 0x84c], ebx
cmp dword [esi + 0x14], 8
jb 0x420c8f
mov esi, dword [esi]
lea eax, [ebp - 0x84c]
push eax
push esi
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x420cea
mov dword [ebp - 0x814], eax
lea eax, [ebp - 0x818]
push eax
lea eax, [ebp - 0x810]
mov dword [ebp - 0x818], 0x800
push eax
lea eax, [ebp - 0x814]
push eax
push 0
push str.InstallDir
push dword [ebp - 0x84c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x84c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x810]
mov dword [ebp - 0x868], 0
mov dword [ebp - 0x858], 0
lea edx, [ecx + 2]
mov dword [ebp - 0x854], 7
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x420d11
sub ecx, edx
lea eax, [ebp - 0x810]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x868]
call fcn.004046c0
lea eax, [ebp - 0x868]
mov ebx, 0x10
push eax
lea ecx, [edi + 0x2e4]
call fcn.00406310
mov edx, dword [ebp - 0x854]
cmp edx, 8
jb 0x420d8a
mov ecx, dword [ebp - 0x868]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x420d80
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42130a
push edx
push ecx
call fcn.00491f22
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x86c]
cmp edx, 8
jb 0x420dd1
mov ecx, dword [ebp - 0x880]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x420dc7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42130a
push edx
push ecx
call fcn.00491f22
add esp, 8
mov eax, dword [edi + 0x2f4]
test eax, eax
je 0x420f46
push 8
xor eax, eax
mov dword [ebp - 0x868], 0
push str.ayer.exe
lea ecx, [ebp - 0x868]
mov dword [ebp - 0x858], 0
mov dword [ebp - 0x854], 7
mov word [ebp - 0x868], ax
call fcn.004046c0
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x830]
push 4
xor eax, eax
mov dword [ebp - 0x830], 0
or ebx, 1
mov dword [ebp - 0x820], 0
push str.dnpl
mov dword [ebp - 0x84c], ebx
mov dword [ebp - 0x81c], 7
mov word [ebp - 0x830], ax
call fcn.004046c0
lea eax, [ebp - 0x868]
mov dword [ebp - 4], 2
push eax
lea eax, [ebp - 0x830]
or ebx, 2
push eax
push dword [ebp - 0x814]
lea ecx, [ebp - 0x848]
mov dword [ebp - 0x84c], ebx
call fcn.00411430
or ebx, 0x20
mov dword [ebp - 4], 3
lea eax, [ebp - 0x848]
mov esi, dword [edi + 0x2f4]
lea edx, [edi + 0x2e4]
or ebx, 4
cmp dword [ebp - 0x834], 8
mov dword [ebp - 0x84c], ebx
cmovae eax, dword [ebp - 0x848]
mov ecx, eax
mov dword [ebp - 0x818], eax
lea eax, [ecx + 2]
mov dword [ebp - 0x814], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x420ed4
sub ecx, dword [ebp - 0x814]
mov eax, SysReAllocString
sar ecx, 1
sub eax, esi
cmp eax, ecx
jb 0x42130f
cmp dword [edx + 0x14], 8
jb 0x420efe
mov edx, dword [edx]
push ecx
push dword [ebp - 0x818]
push esi
push edx
push ecx
push dword [ebp - 0x814]
lea ecx, [ebp - 0x880]
call fcn.004072b0
or ebx, 0x40
lea eax, [ebp - 0x880]
mov dword [ebp - 4], 4
or ebx, 8
push eax
mov dword [ebp - 0x84c], ebx
call fcn.00431460
add esp, 4
mov byte [ebp - 0x84d], 1
test al, al
je 0x420f4d
mov byte [ebp - 0x84d], 0
mov dword [ebp - 4], 3
test bl, 8
je 0x420fb9
mov edx, dword [ebp - 0x86c]
and ebx, 0xfffffff7
cmp edx, 8
jb 0x420f9c
mov ecx, dword [ebp - 0x880]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x420f92
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x421314
push edx
push ecx
call fcn.00491f22
add esp, 8
xor eax, eax
mov dword [ebp - 0x870], 0
mov dword [ebp - 0x86c], 7
mov word [ebp - 0x880], ax
mov dword [ebp - 4], 2
test bl, 4
je 0x421008
mov edx, dword [ebp - 0x834]
and ebx, 0xfffffffb
cmp edx, 8
jb 0x421008
mov ecx, dword [ebp - 0x848]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x420ffe
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x421314
push edx
push ecx
call fcn.00491f22
add esp, 8
mov dword [ebp - 4], 1
test bl, 2
je 0x421057
mov edx, dword [ebp - 0x81c]
and ebx, 0xfffffffd
cmp edx, 8
jb 0x421057
mov ecx, dword [ebp - 0x830]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42104d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x421314
push edx
push ecx
call fcn.00491f22
add esp, 8
mov dword [ebp - 4], 0xffffffff
test bl, 1
je 0x4210a3
mov edx, dword [ebp - 0x854]
cmp edx, 8
jb 0x4210a3
mov ecx, dword [ebp - 0x868]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x421099
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x421314
push edx
push ecx
call fcn.00491f22
add esp, 8
cmp byte [ebp - 0x84d], 0
je 0x4210be
push 0
push 0x4d1e2c
lea ecx, [edi + 0x2e4]
call fcn.004046c0
lea esi, [edi + 0x2e4]
lea ecx, [edi + 0x2cc]
cmp ecx, esi
je 0x4210e1
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x4210d8
mov eax, dword [esi]
push dword [esi + 0x10]
push eax
call fcn.004046c0
cmp dword [edi + 0x2f4], 0
jne 0x4211fe
lea edx, [edi + 0x314]
lea ecx, [ebp - 0x830]
call fcn.0040c590
mov dword [ebp - 4], 5
call fcn.00402800
lea eax, [ebp - 0x848]
push eax
call fcn.00402a80
mov byte [ebp - 4], 6
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x421125
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x830]
call fcn.00404820
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x834]
cmp edx, 8
jb 0x421178
mov ecx, dword [ebp - 0x848]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42116e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x421319
push edx
push ecx
call fcn.00491f22
add esp, 8
lea eax, [ebp - 0x830]
cmp esi, eax
je 0x42119e
cmp dword [ebp - 0x81c], 8
mov ecx, esi
push dword [ebp - 0x820]
cmovae eax, dword [ebp - 0x830]
push eax
call fcn.004046c0
lea ecx, [edi + 0x2fc]
cmp ecx, esi
je 0x4211bb
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x4211b2
mov eax, dword [esi]
push dword [esi + 0x10]
push eax
call fcn.004046c0
mov edx, dword [ebp - 0x81c]
cmp edx, 8
jb 0x4212ee
mov ecx, dword [ebp - 0x830]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4212e4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42131e
jmp 0x4212e4
mov eax, dword [esi + 0x10]
mov ecx, SysReAllocString
sub ecx, eax
cmp ecx, 5
jb 0x421323
cmp dword [esi + 0x14], 8
jb 0x421219
mov esi, dword [esi]
push 5
push str._vms_
push eax
push esi
push ecx
push dword [ebp - 0x814]
lea ecx, [ebp - 0x848]
call fcn.004072b0
lea eax, [ebp - 0x848]
mov dword [ebp - 4], 7
push eax
call fcn.00431460
add esp, 4
test al, al
je 0x421255
mov byte [edi + 0x2c8], 1
lea edx, [edi + 0x314]
lea ecx, [ebp - 0x898]
call fcn.0040c590
push eax
lea ecx, [edi + 0x2fc]
call fcn.00406310
mov edx, dword [ebp - 0x884]
cmp edx, 8
jb 0x4212b2
mov ecx, dword [ebp - 0x898]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4212a8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x421328
push edx
push ecx
call fcn.00491f22
add esp, 8
mov edx, dword [ebp - 0x834]
cmp edx, 8
jb 0x4212ee
mov ecx, dword [ebp - 0x848]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4212e4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42132d
push edx
push ecx
call fcn.00491f22
add esp, 8
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.00491a8a
mov esp, ebp
pop ebp
ret
call fcn.0049b75b
call fcn.004027e0
call fcn.0049b75b
call fcn.0049b75b
call fcn.0049b75b
call fcn.004027e0
call fcn.0049b75b
call fcn.0049b75b
int3