Function at 0x42b9b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52912b
mov eax, dword fs:[0]
push eax
sub esp, 0x438
mov eax, dword [0x583bb4]
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
mov edx, dword [edi + 8]
mov ebx, 1
cmp dword [edx - 0xc], 0
jne 0x42ba78
mov eax, dword [edx - 8]
mov ecx, ebx
sub ecx, dword [edx - 4]
sub eax, 0x104
or eax, ecx
jge 0x42ba13
push 0x104
lea ecx, [edi + 8]
call fcn.0040afd0
mov edx, dword [edi + 8]
cmp dword [edx - 8], 0x104
jl 0x42be02
mov dword [edx - 0xc], 0x104
xor ecx, ecx
mov eax, dword [edi + 8]
push 0x104
push edx
push edi
mov word [eax + 0x208], cx
mov eax, dword [edi]
call dword [eax + 0x10]
mov eax, dword [edi + 8]
test eax, eax
jne 0x42ba4a
xor ecx, ecx
jmp 0x42ba60
push dword [eax - 8]
push eax
call fcn.004fd570
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x42be02
mov eax, dword [edi + 8]
cmp ecx, dword [eax - 8]
jg 0x42be02
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [edi + 8]
mov word [eax + ecx*2], dx
mov edx, dword [edi + 0x18]
cmp dword [edx - 0xc], 0
jne 0x42bb0b
mov eax, dword [edx - 8]
mov ecx, ebx
sub ecx, dword [edx - 4]
sub eax, 0x104
or eax, ecx
jge 0x42baa6
push 0x104
lea ecx, [edi + 0x18]
call fcn.0040afd0
mov edx, dword [edi + 0x18]
cmp dword [edx - 8], 0x104
jl 0x42be0c
mov dword [edx - 0xc], 0x104
xor ecx, ecx
mov eax, dword [edi + 0x18]
push 0x104
push edx
push edi
mov word [eax + 0x208], cx
mov eax, dword [edi]
call dword [eax + 0x14]
mov eax, dword [edi + 0x18]
test eax, eax
jne 0x42badd
xor ecx, ecx
jmp 0x42baf3
push dword [eax - 8]
push eax
call fcn.004fd570
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x42be02
mov eax, dword [edi + 0x18]
cmp ecx, dword [eax - 8]
jg 0x42be02
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [edi + 0x18]
mov word [eax + ecx*2], dx
mov eax, dword [edi + 4]
cmp dword [eax - 0xc], 0
jne 0x42bbf3
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004d1a10
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0x400000
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0x54196c
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov edx, dword [edi + 4]
mov ecx, ebx
mov eax, dword [edx - 8]
sub ecx, dword [edx - 4]
sub eax, 0x104
or eax, ecx
jge 0x42bb88
push 0x104
lea ecx, [edi + 4]
call fcn.0040afd0
mov edx, dword [edi + 4]
cmp dword [edx - 8], 0x104
jl 0x42be16
mov dword [edx - 0xc], 0x104
xor ecx, ecx
mov eax, dword [edi + 4]
push 0x104
push edx
mov word [eax + 0x208], cx
lea ecx, [ebp - 0x218]
mov eax, dword [edi]
push ecx
push edi
call dword [eax]
mov eax, dword [edi + 4]
test eax, eax
jne 0x42bbc5
xor ecx, ecx
jmp 0x42bbdb
push dword [eax - 8]
push eax
call fcn.004fd570
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x42be02
mov eax, dword [edi + 4]
cmp ecx, dword [eax - 8]
jg 0x42be02
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [edi + 4]
mov word [eax + ecx*2], dx
mov eax, dword [edi + 0x10]
cmp dword [eax - 0xc], 0
jne 0x42bd27
lea eax, [ebp - 0x438]
mov dword [ebp - 0x440], 0x208
push 1
push eax
mov dword [ebp - 0x444], ebx
call fcn.00433360
add esp, 8
mov dword [ebp - 0x43c], eax
mov ebx, dword [edi + 0x10]
mov edx, 1
mov dword [ebp - 4], 0
mov ecx, dword [ebx - 8]
sub edx, dword [ebx - 4]
sub ecx, 0x104
or ecx, edx
jge 0x42bc56
push 0x104
lea ecx, [edi + 0x10]
call fcn.0040afd0
mov ebx, dword [edi + 0x10]
cmp dword [ebx - 8], 0x104
jl 0x42be20
mov dword [ebx - 0xc], 0x104
xor ecx, ecx
mov eax, dword [edi + 0x10]
mov word [eax + 0x208], cx
mov eax, dword [ebp - 0x43c]
cmp dword [eax + 0x14], 8
jb 0x42bc84
mov eax, dword [eax]
lea ecx, [ebp - 0x440]
push ecx
push ebx
lea ecx, [ebp - 0x444]
push ecx
push str.VendorID
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov edx, dword [ebp - 0x424]
mov dword [ebp - 4], 0xffffffff
cmp edx, 8
jb 0x42bceb
mov ecx, dword [ebp - 0x438]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42bce1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42be2a
push edx
push ecx
call fcn.0049a03e
add esp, 8
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x42bcf6
xor ecx, ecx
jmp 0x42bd0c
push dword [eax - 8]
push eax
call fcn.004fd570
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x42be02
mov eax, dword [edi + 0x10]
cmp ecx, dword [eax - 8]
jg 0x42be02
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [edi + 0x10]
lea ebx, [edx + 1]
mov word [eax + ecx*2], dx
mov eax, dword [edi + 0x14]
cmp dword [eax - 0xc], 0
jne 0x42bde6
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.004d1a10
add esp, 0xc
lea eax, [ebp - 0x420]
push 0x104
push eax
push 0x400000
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov ecx, dword [edi + 0x14]
mov eax, dword [ecx - 8]
sub ebx, dword [ecx - 4]
sub eax, 0x104
or ebx, eax
jge 0x42bd83
push 0x104
lea ecx, [edi + 0x14]
call fcn.0040afd0
mov ecx, dword [edi + 0x14]
cmp dword [ecx - 8], 0x104
jl 0x42be2f
mov dword [ecx - 0xc], 0x104
xor edx, edx
mov eax, dword [edi + 0x14]
push 0x104
push ecx
lea ecx, [ebp - 0x420]
mov word [eax + 0x208], dx
mov eax, dword [edi]
push ecx
push edi
call dword [eax]
mov eax, dword [edi + 0x14]
test eax, eax
jne 0x42bdc0
xor ecx, ecx
jmp 0x42bdd2
push dword [eax - 8]
push eax
call fcn.004fd570
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x42be02
mov eax, dword [edi + 0x14]
cmp ecx, dword [eax - 8]
jg 0x42be02
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [edi + 0x14]
mov word [eax + ecx*2], dx
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.0049a028
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.0040ab80
push 0x80070057
call fcn.0040ab80
push 0x80070057
call fcn.0040ab80
push 0x80070057
call fcn.0040ab80
call fcn.004ee7a3
push 0x80070057
call fcn.0040ab80
int3