Function at 0x424b6b
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
mov edx, dword [ebp + 8]
and dword [ebp - 0x1c], 0
push ebx
push esi
mov esi, ecx
mov ebx, 0x80004005
mov ecx, edx
push edi
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0x1c]
jne 0x424b89
sub ecx, edi
sar ecx, 1
push 0x3a
pop eax
lea edi, [ecx + 1]
mov dword [ebp - 0x20], edi
cmp ax, word [edx + 2]
jne 0x424f5f
cmp ax, word [edx + 4]
jne 0x424f5f
movzx eax, word [edx]
mov ecx, eax
cmp eax, 0x52
je 0x424bc9
cmp ecx, 0x72
jne 0x424fd7
xor eax, eax
mov edx, eax
mov eax, dword [ebp + 8]
add eax, 6
mov dword [ebp - 8], edx
mov ecx, eax
mov dword [ebp - 0xc], eax
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0x1c]
jne 0x424bde
sub ecx, edi
mov dword [ebp - 4], ebx
xor eax, eax
sar ecx, 1
mov edi, 0x8007000e
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0xc], eax
je 0x424e29
lea eax, [ecx + 1]
xor ecx, ecx
push 2
pop edx
mov dword [ebp - 0x1c], eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0044183a
mov dword [ebp - 0x18], eax
pop ecx
test eax, eax
je 0x424ec0
push dword [ebp - 0xc]
mov edx, dword [ebp - 0x1c]
mov ecx, eax
call fcn.0040c010
push 0x2c
push dword [ebp - 0x18]
call dword [sym.imp.msvcrt.dll_wcschr]
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x424e16
push 2
xor eax, eax
pop ecx
mov word [edi], ax
add edi, ecx
push 0x20
pop edx
mov dword [ebp - 0x1c], edi
cmp dx, word [edi]
jne 0x424c75
xor eax, eax
mov word [edi], ax
add edi, ecx
cmp dx, word [edi]
je 0x424c66
mov dword [ebp - 0x1c], edi
push 0x2c
push edi
call dword [sym.imp.msvcrt.dll_wcschr]
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
je 0x424cef
push 2
pop ecx
push 0x20
pop edx
xor eax, eax
mov word [ebx], ax
add ebx, ecx
cmp dx, word [ebx]
je 0x424c8c
push 0x2c
push ebx
call dword [sym.imp.msvcrt.dll_wcschr]
mov edi, eax
mov dword [ebp - 0x10], edi
pop ecx
pop ecx
test edi, edi
je 0x424cd0
push 2
xor eax, eax
pop ecx
mov word [edi], ax
add edi, ecx
push 0x20
pop edx
mov dword [ebp - 0x10], edi
cmp dx, word [edi]
jne 0x424cd0
xor eax, eax
mov word [edi], ax
add edi, ecx
cmp dx, word [edi]
je 0x424cc1
mov dword [ebp - 0x10], edi
mov ecx, ebx
xor edi, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, di
jne 0x424cd7
mov edi, dword [ebp - 0x1c]
sub ecx, edx
sar ecx, 1
neg ecx
sbb ecx, ecx
and ebx, ecx
push 0x405770
push dword [ebp - 0x18]
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
jne 0x424d0a
mov eax, reloc.OLEAUT32.dll_SysReAllocString
jmp 0x424d17
mov ecx, dword [ebp - 0x18]
mov edx, SysReAllocStringLen
call fcn.004227a7
lea ecx, [ebp - 0x14]
push ecx
push 1
xor ecx, ecx
push ecx
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x424e13
push 0x208
call fcn.0044183a
mov edi, eax
mov dword [ebp - 0x1c], 0x208
pop ecx
test edi, edi
je 0x424e05
lea eax, [ebp - 0x1c]
mov dword [ebp - 0xc], 1
push eax
push edi
lea eax, [ebp - 0xc]
push eax
xor eax, eax
push eax
push ebx
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x424df5
cmp dword [ebp - 0xc], 1
je 0x424dcd
push 2
pop eax
cmp dword [ebp - 0xc], eax
je 0x424dcd
push 4
pop eax
cmp dword [ebp - 0xc], eax
jne 0x424df5
mov dword [ebp - 0x1c], eax
xor ecx, ecx
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x10], ecx
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push ecx
push ebx
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x424df5
push dword [ebp - 0x10]
push 0x4043d0
push 0x104
push edi
call fcn.0040c0b5
add esp, 0x10
test eax, eax
js 0x424df5
xor eax, eax
mov dword [ebp - 8], edi
mov ebx, eax
jmp 0x424e08
xor eax, eax
mov ebx, eax
cmp dword [ebp - 0x10], eax
je 0x424dee
push edi
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
push dword [ebp - 0x10]
mov edx, 0x104
mov ecx, edi
call fcn.0040c045
xor eax, eax
mov dword [ebp - 8], edi
mov edi, eax
jmp 0x424df8
mov ebx, dword [ebp - 4]
test edi, edi
je 0x424e08
push edi
call fcn.00441807
pop ecx
jmp 0x424e08
mov ebx, dword [ebp - 4]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x424e16
mov ebx, dword [ebp - 4]
push dword [ebp - 0x18]
call fcn.00441807
mov edx, dword [ebp - 8]
mov edi, 0x8007000e
pop ecx
jmp 0x424e2b
mov ebx, edi
test ebx, ebx
js 0x424ec0
push 0x4043d8
push edx
call dword [sym.imp.msvcrt.dll_wcsstr]
pop ecx
pop ecx
test eax, eax
je 0x424e6a
cmp dword [esi + 0xc], 0
je 0x424e59
push dword [esi + 0xc]
call fcn.0041fb3c
xor eax, eax
pop ecx
mov dword [esi + 0xc], eax
mov edi, dword [ebp - 8]
push 2
pop eax
mov dword [esi + 0xc], edi
mov dword [esi + 4], eax
jmp 0x424fd7
xor ecx, ecx
mov ebx, edi
mov edi, dword [ebp - 0x20]
mov eax, edi
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0044183a
mov dword [esi + 0xc], eax
pop ecx
test eax, eax
je 0x424eaa
push dword [ebp + 8]
mov edx, edi
mov ecx, eax
call fcn.0040c010
mov edi, dword [ebp - 8]
lea ecx, [esi + 0x14]
mov edx, edi
call fcn.0041ede1
mov ebx, eax
jmp 0x424ead
mov edi, dword [ebp - 8]
test edi, edi
je 0x424fd7
push edi
call fcn.00441807
jmp 0x424fd6
cmp dword [esi + 4], 3
jne 0x424f5a
mov ebx, dword [ebp - 0x20]
xor ecx, ecx
push 2
pop edx
mov eax, ebx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0044183a
mov dword [esi + 0xc], eax
pop ecx
test eax, eax
je 0x424f53
push dword [ebp + 8]
mov edx, ebx
mov ecx, eax
call fcn.0040c010
add esi, 0x14
je 0x424f4e
cmp dword [esi], 0
je 0x424f0f
push dword [esi]
call fcn.00441807
xor ebx, ebx
pop ecx
mov dword [esi], ebx
jmp 0x424f11
xor ebx, ebx
push 4
call fcn.0044183a
mov dword [esi], eax
pop ecx
test eax, eax
jne 0x424f26
mov edi, 0x8007000e
jmp 0x424f53
push 0x405b6c
push 2
pop ecx
mov edx, ecx
mov ecx, eax
call fcn.0040c010
mov edi, eax
test edi, edi
jns 0x424f53
cmp dword [esi], 0
je 0x424f53
push dword [esi]
call fcn.00441807
pop ecx
mov dword [esi], ebx
jmp 0x424f53
mov edi, 0x80004003
mov eax, edi
jmp 0x424fe9
xor ebx, ebx
inc ebx
jmp 0x424fd7
push 2
pop eax
cmp dword [esi + 4], eax
jne 0x424f72
mov eax, 0x104
cmp edi, eax
jae 0x424f72
mov edi, eax
cmp dword [esi + 0xc], 0
je 0x424f86
push dword [esi + 0xc]
call fcn.00441807
xor eax, eax
pop ecx
mov dword [esi + 0xc], eax
xor ecx, ecx
mov eax, edi
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0044183a
mov dword [esi + 0xc], eax
pop ecx
test eax, eax
jne 0x424fab
mov eax, 0x8007000e
jmp 0x424fe9
push 2
pop ecx
cmp dword [esi + 4], ecx
jne 0x424fdb
push ecx
mov ecx, dword [ebp + 8]
mov edx, eax
push edi
call fcn.00436134
test eax, eax
jns 0x424fe7
cmp dword [esi + 0xc], 0
je 0x424fd7
push dword [esi + 0xc]
call fcn.00441807
xor eax, eax
mov dword [esi + 0xc], eax
pop ecx
mov eax, ebx
jmp 0x424fe9
push dword [ebp + 8]
mov edx, edi
mov ecx, eax
call fcn.0040c010
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4