Function at 0x45f2e0
Capabilities:
Access peb ldr_data
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x468fc8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
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 + 0xc], eax
mov eax, dword [0x47fe44]
mov edx, dword [eax + 0xc]
xor ebx, ebx
mov ecx, 0x47fe44
mov dword [esp + 0x24], ebx
call edx
lea esi, [eax + 0x10]
mov dword [esp + 0x10], esi
mov edi, dword [esp + 0x2c]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x30]
push ecx
push edi
mov byte [esp + 0x30], 1
call fcn.0045eeb0
cmp eax, ebx
jge 0x45f3a8
lea eax, [esi - 0x10]
mov byte [esp + 0x24], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x45f36a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov dword [esp + 0x24], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45f392
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 8
push ebp
mov dword [esp + 0x18], ebx
mov ebp, dword [esp + 0x10]
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0x1c]
push ecx
push 0x20019
push ebx
push ebp
push edx
mov byte [esp + 0x3c], 2
mov dword [esp + 0x30], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x45f448
mov eax, dword [esp + 0x34]
mov dword [eax], ebx
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x45f3ea
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esi - 0x10]
mov byte [esp + 0x28], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45f40a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov dword [esp + 0x28], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45f42e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop ebp
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 8
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x38]
push eax
push edi
call fcn.0045f0b0
cmp eax, ebx
jge 0x45f491
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x28], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45f485
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
jmp 0x45f53a
mov ebp, dword [esp + 0x10]
mov ecx, dword [esp + 0x30]
push 0x20019
push ebp
push ecx
lea ecx, [esp + 0x24]
call fcn.004022e5
test eax, eax
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
jne 0x45f50c
push ebx
push ebx
lea edx, [esp + 0x38]
push edx
push ebx
push edi
push esi
mov dword [esp + 0x48], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x45f50c
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x18]
mov dword [eax], 1
call fcn.00402895
lea ecx, [esp + 0x14]
call fcn.00402073
lea ecx, [esp + 0x10]
call fcn.00402073
pop ebp
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 8
cmp esi, ebx
je 0x45f517
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [edi - 0x10]
mov byte [esp + 0x28], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45f537
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov dword [esp + 0x28], edx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45f557
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x20]
pop ebp
pop edi
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 8