Function at 0x41eba0
Capabilities:
Query or enumerate registry key
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x447c20
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push esi
push edi
mov eax, dword [0x45c070]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x60], ebx
mov eax, dword [0x45d48c]
mov edx, dword [eax + 0xc]
mov ecx, 0x45d48c
call edx
lea esi, [eax + 0x10]
mov dword [esp + 0x10], esi
mov eax, dword [ebp + 8]
mov byte [esp + 0x60], 1
mov edx, dword [0x45d530]
mov eax, dword [eax]
lea ecx, [esp + 0x14]
push ecx
push edx
push ebx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x28], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x41ec81
mov edi, dword [esp + 0x14]
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea ecx, [esp + 0x3c]
push ecx
push ebx
push ebx
push ebx
push edi
mov dword [esp + 0x6c], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x41ecb6
add esi, 0xfffffff0
mov byte [esp + 0x60], bl
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x41ec61
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
cmp edi, ebx
je 0x41ec6c
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [esi - 0x10]
mov byte [esp + 0x60], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41eca1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [esp + 0x18], ebx
cmp dword [esp + 0x20], ebx
jbe 0x41eee9
jmp 0x41ecd0
mov dword [esp + 0x24], 0x104
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
mov edi, 0x105
sub eax, edi
or eax, ecx
jge 0x41ecfd
mov ecx, edi
lea eax, [esp + 0x10]
call fcn.00403650
mov esi, dword [esp + 0x10]
cmp dword [esi - 8], edi
jl 0x41ef2c
lea edx, [esp + 0x34]
push edx
mov edx, dword [esp + 0x18]
push ebx
push ebx
push ebx
xor ecx, ecx
lea eax, [esp + 0x34]
push eax
mov dword [esi - 0xc], edi
mov word [esi + 0x20a], cx
mov ecx, dword [esp + 0x2c]
push esi
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41ed35
sub eax, edx
sar eax, 1
cmp eax, ebx
jl 0x41ef2c
cmp eax, dword [esi - 8]
jg 0x41ef2c
mov edx, dword [ebp + 8]
mov dword [esi - 0xc], eax
xor ecx, ecx
mov word [esi + eax*2], cx
push edx
lea eax, [esp + 0x30]
push eax
mov ebx, 0x451924
call fcn.00406e70
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x34]
push edx
mov ebx, eax
mov byte [esp + 0x70], 2
call fcn.0040bd10
add esp, 0x10
mov byte [esp + 0x60], 3
mov ecx, dword [eax]
lea eax, [ecx - 0x10]
lea ebx, [esi - 0x10]
cmp eax, ebx
je 0x41ede2
cmp dword [ebx + 0xc], 0
lea edi, [ebx + 0xc]
jl 0x41edd0
mov edx, dword [eax]
cmp edx, dword [ebx]
jne 0x41edd0
call fcn.00403230
mov esi, eax
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x41edc7
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
add esi, 0x10
mov dword [esp + 0x10], esi
jmp 0x41ede2
mov ebx, dword [ecx - 0xc]
push ecx
lea ecx, [esp + 0x14]
push ecx
call fcn.004036c0
mov esi, dword [esp + 0x10]
mov byte [esp + 0x60], 2
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41ee07
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x60], 1
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41ee2c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor ebx, ebx
xor edi, edi
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov byte [esp + 0x60], 4
mov edx, dword [0x45d530]
lea ecx, [esp + 0x1c]
push ecx
push edx
push ebx
push esi
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x30], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x41eebc
mov edi, dword [esp + 0x1c]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x34]
push ecx
mov ebx, str.Products
mov dword [esp + 0x50], edi
call fcn.00406e70
mov ecx, dword [ebp + 0x10]
mov byte [esp + 0x68], 5
mov edx, dword [esp + 0x38]
push edx
mov edx, dword [ebp + 0xc]
push ecx
push edx
push eax
call fcn.0041ef40
mov byte [esp + 0x78], 4
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
add esp, 0x18
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41eeba
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor ebx, ebx
mov byte [esp + 0x60], 1
cmp edi, ebx
je 0x41eed0
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x48], ebx
mov eax, dword [esp + 0x18]
inc eax
xor ebx, ebx
mov dword [esp + 0x18], eax
cmp eax, dword [esp + 0x20]
jb 0x41ecd0
mov edi, dword [esp + 0x14]
add esi, 0xfffffff0
mov byte [esp + 0x60], bl
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41ef09
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
cmp edi, ebx
je 0x41ef14
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.004036a0
int3