Function at 0x45fab0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4690a1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x220
mov eax, dword [0x47fe44]
mov edx, dword [eax + 0xc]
push ebx
push esi
push edi
mov ecx, 0x47fe44
call edx
add eax, 0x10
mov dword [esp + 0x14], eax
xor edi, edi
mov dword [esp + 0x234], edi
mov dword [esp + 0x18], edi
mov ebx, dword [esp + 0x23c]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x24]
push ecx
push ebx
mov byte [esp + 0x240], 1
call fcn.0045eeb0
mov esi, eax
cmp esi, edi
jge 0x45fb48
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x234], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x45fb41
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
jmp 0x45ffc9
mov esi, dword [esp + 0x240]
mov ecx, dword [esi]
cmp dword [ecx - 0xc], edi
jne 0x45fb5e
push ebx
mov ecx, esi
call fcn.00409835
mov eax, dword [esi + 4]
cmp eax, edi
lea ebx, [esi + 4]
je 0x45fb7f
mov edx, dword [ebx + 4]
push edx
push eax
call fcn.0045e710
mov eax, dword [ebx]
push eax
call fcn.00448193
add esp, 0xc
mov dword [ebx], edi
add esi, 0x14
mov dword [ebx + 4], edi
mov dword [ebx + 8], edi
mov eax, dword [esi]
cmp eax, edi
je 0x45fba5
mov ecx, dword [esi + 4]
push ecx
push eax
call fcn.0045ec20
mov edx, dword [esi]
push edx
call fcn.00448193
add esp, 0xc
mov dword [esi], edi
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x18]
push eax
push 0x20019
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov esi, dword [esp + 0x1c]
push edi
push esi
push ecx
mov dword [esp + 0x2c], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, edi
jne 0x45fd0a
push ebp
mov ebp, dword [esp + 0x1c]
lea ecx, [esp + 0x20]
push ecx
push edi
lea edx, [esp + 0x2c]
push edx
push edi
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x3c]
push ecx
push edi
push ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x34], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
cmp eax, edi
jne 0x45fcd9
lea esp, [esp]
mov esi, dword [ebx + 4]
push 0xffffffffffffffff
lea edx, [esi + 1]
push edx
mov ecx, ebx
call fcn.0045e830
test al, al
je 0x45fd43
cmp esi, dword [ebx + 4]
jae 0x45fd4d
shl esi, 4
add esi, dword [ebx]
lea eax, [esp + 0x28]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x45fc40
sub eax, edx
push eax
lea eax, [esp + 0x2c]
push eax
mov ecx, esi
call fcn.00403cc5
mov ecx, dword [esp + 0x24]
mov dword [esi + 4], ecx
mov edx, dword [esp + 0x20]
mov dword [esi + 0xc], edx
mov eax, dword [esp + 0x20]
test eax, eax
jbe 0x45fc77
push eax
lea ecx, [esi + 8]
call fcn.0043fa00
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x18], 0x104
mov esi, dword [esi + 8]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
push 0
push 0
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x3c]
push edx
push edi
push ebp
call esi
test eax, eax
jne 0x45fd57
lea eax, [esp + 0x20]
push eax
push 0
lea ecx, [esp + 0x2c]
push ecx
push 0
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x3c]
push eax
add edi, 1
push edi
push ebp
mov dword [esp + 0x34], 0x104
call esi
test eax, eax
je 0x45fc10
xor edi, edi
cmp eax, 0x103
je 0x45fd9f
push eax
call fcn.004021b8
add esp, 4
cmp ebp, edi
mov esi, eax
je 0x45fcfa
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x18]
call fcn.00402073
mov eax, esi
jmp 0x45ffc8
push eax
call fcn.004021b8
mov edi, eax
lea eax, [esi - 0x10]
add esp, 4
mov dword [esp + 0x234], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x45fd3c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
jmp 0x45ffc9
push 0x8007000e
call fcn.0040109c
push 0x80070057
call fcn.0040109c
push eax
call fcn.004021b8
add esp, 4
test ebp, ebp
mov esi, eax
je 0x45fd6d
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov dword [esp + 0x238], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45fd98
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
jmp 0x45ffc8
push 0x104
lea ecx, [esp + 0x130]
push ecx
push edi
push ebp
mov dword [esp + 0x24], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov esi, eax
test esi, esi
jne 0x45fe3f
mov ebx, dword [esp + 0x244]
mov esi, dword [ebx + 0x18]
add ebx, 0x14
push 0xffffffffffffffff
lea edx, [esi + 1]
push edx
mov ecx, ebx
call fcn.0045f980
test al, al
je 0x45fd43
cmp esi, dword [ebx + 4]
jae 0x45fd4d
mov ecx, dword [ebx]
lea eax, [esi + esi*8]
lea ecx, [ecx + eax*4]
lea eax, [esp + 0x12c]
lea esi, [eax + 1]
nop
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x45fe00
sub eax, esi
push eax
lea edx, [esp + 0x130]
push edx
call fcn.00403cc5
push 0x104
lea eax, [esp + 0x130]
push eax
add edi, 1
push edi
push ebp
mov dword [esp + 0x24], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov esi, eax
test esi, esi
je 0x45fdc2
cmp esi, 0x103
lea ecx, [esp + 0x1c]
je 0x45fe67
call fcn.00402895
lea ecx, [esp + 0x18]
call fcn.00402073
push esi
call fcn.004021b8
add esp, 4
jmp 0x45ffc8
call fcn.00402280
cmp byte [esp + 0x248], 0
je 0x45ff8c
mov esi, dword [esp + 0x244]
xor ebx, ebx
cmp dword [esi + 0x18], ebx
jbe 0x45ff8c
xor ebp, ebp
mov edi, edi
mov ecx, dword [esp + 0x240]
push ecx
lea ecx, [esp + 0x14]
call fcn.00409a7c
mov ecx, dword [esp + 0x10]
mov edi, dword [ecx - 0xc]
lea eax, [edi - 1]
test eax, eax
mov byte [esp + 0x238], 2
jl 0x45fd4d
cmp eax, edi
jg 0x45fd4d
cmp byte [eax + ecx], 0x5c
je 0x45ff16
mov eax, dword [ecx - 8]
mov edx, 1
sub edx, dword [ecx - 4]
lea esi, [edi + 1]
sub eax, esi
or eax, edx
jge 0x45feeb
push esi
lea ecx, [esp + 0x14]
call fcn.0040207d
mov ecx, dword [esp + 0x10]
test esi, esi
mov byte [edi + ecx], 0x5c
jl 0x45fd4d
mov eax, dword [esp + 0x10]
cmp esi, dword [eax - 8]
jg 0x45fd4d
mov dword [eax - 0xc], esi
mov edx, dword [esp + 0x10]
mov byte [esi + edx], 0
mov esi, dword [esp + 0x244]
cmp ebx, dword [esi + 0x18]
jae 0x45fd4d
mov eax, dword [esi + 0x14]
add eax, ebp
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x18]
call fcn.0040eb58
cmp ebx, dword [esi + 0x18]
jae 0x45fd4d
mov eax, dword [esi + 0x14]
mov ecx, dword [esp + 0x248]
mov edx, dword [esp + 0x10]
push ecx
add eax, ebp
push eax
push edx
call fcn.0045fab0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x238], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45ff7d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add ebx, 1
add ebp, 0x24
cmp ebx, dword [esi + 0x18]
jb 0x45fe90
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x45ff9b
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov dword [esp + 0x238], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45ffc6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x22c]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x22c
ret 0xc