Function at 0x42cec0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x448558
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x45a028]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push esi
push edi
mov eax, dword [0x45a028]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
push ebx
push ebx
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x20]
push edx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
mov dword [esp + 0x48], eax
mov eax, dword [ebp + 0xc]
push ebx
push eax
mov dword [esp + 0x4c], eax
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
cmp eax, ebx
jne 0x42d153
xor eax, eax
mov dword [esp + 0x54], 7
mov dword [esp + 0x50], ebx
mov word [esp + 0x40], ax
mov dword [esp + 0x88], ebx
mov ecx, dword [esp + 0x14]
inc ecx
cmp ecx, ebx
ja 0x42cf5d
or eax, 0xffffffff
lea esi, [esp + 0x40]
call fcn.004060a0
jmp 0x42cf6a
mov ebx, ecx
lea edi, [esp + 0x40]
call fcn.0041f4f0
xor ebx, ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov byte [esp + 0x88], 1
mov eax, dword [esp + 0x18]
lea esi, [esp + 0x30]
call fcn.0041ef00
mov edi, dword [esp + 0x30]
mov dword [esp + 0x10], ebx
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x40]
inc ecx
cmp dword [esp + 0x54], 8
mov dword [esp + 0x24], ecx
mov dword [esp + 0x2c], edx
jae 0x42cfb3
lea eax, [esp + 0x40]
lea ecx, [esp + 0x2c]
push ecx
push edi
lea edx, [esp + 0x30]
push edx
mov edx, dword [esp + 0x1c]
push ebx
lea ecx, [esp + 0x34]
push ecx
push eax
mov eax, dword [esp + 0x34]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov esi, eax
cmp esi, ebx
jne 0x42d0e2
cmp dword [esp + 0x28], 1
jne 0x42d0d9
mov esi, dword [esp + 0x54]
mov eax, dword [esp + 0x40]
cmp esi, 8
jae 0x42cffb
lea eax, [esp + 0x40]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x42d000
sub eax, edx
sar eax, 1
cmp eax, 4
jb 0x42d0d9
mov eax, dword [esp + 0x40]
cmp esi, 8
jae 0x42d025
lea eax, [esp + 0x40]
xor ecx, ecx
mov word [eax + 8], cx
cmp dword [esp + 0x54], 8
mov eax, dword [esp + 0x40]
jae 0x42d03a
lea eax, [esp + 0x40]
push 0x4507a0
push eax
call dword [sym.imp.MSVCR100.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x42d0d9
xor edx, edx
mov eax, edi
mov word [esp + 0x5c], dx
mov dword [esp + 0x70], 7
mov dword [esp + 0x6c], ebx
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x42d070
sub eax, edx
sar eax, 1
push eax
mov eax, edi
lea ecx, [esp + 0x60]
call fcn.00405f90
mov ebx, dword [esp + 0x20]
add ebx, 0x44
lea ecx, [esp + 0x5c]
mov byte [esp + 0x88], 2
call fcn.00417ef0
mov byte [esp + 0x88], 1
cmp dword [esp + 0x70], 8
jb 0x42d0c0
mov eax, dword [esp + 0x5c]
push eax
call dword [sym.imp.mfc100u.dll_delete]
add esp, 4
xor ecx, ecx
mov dword [esp + 0x70], 7
mov dword [esp + 0x6c], 0
mov word [esp + 0x5c], cx
xor ebx, ebx
inc dword [esp + 0x10]
jmp 0x42cf93
mov byte [esp + 0x88], bl
cmp esi, 0x103
jne 0x42d123
cmp edi, ebx
je 0x42d0ff
push edi
call dword [sym.imp.mfc100u.dll_delete]
add esp, 4
mov dword [esp + 0x88], 0xffffffff
cmp dword [esp + 0x54], 8
jb 0x42d11f
mov edx, dword [esp + 0x40]
push edx
call dword [sym.imp.mfc100u.dll_delete]
add esp, 4
xor eax, eax
jmp 0x42d153
cmp edi, ebx
je 0x42d131
push edi
call dword [sym.imp.mfc100u.dll_delete]
add esp, 4
mov dword [esp + 0x88], 0xffffffff
cmp dword [esp + 0x54], 8
jb 0x42d151
mov eax, dword [esp + 0x40]
push eax
call dword [sym.imp.mfc100u.dll_delete]
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.00441db6
mov esp, ebp
pop ebp
ret 8