Function at 0x446cf0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4931c9
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x4c9070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 0
mov ebx, dword [ebp + 8]
mov dword [ebx], 0
mov dword [ebx + 4], 0
call fcn.00447ca0
mov dword [ebx], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 1
call fcn.00404a20
mov ecx, eax
test ecx, ecx
jne 0x446d63
push 0x80004005
call fcn.00404ad0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
xor edi, edi
mov dword [ebp - 4], 1
push edi
lea eax, [ebp - 0x14]
push str.PassProtQ__d
push eax
call fcn.00409370
add esp, 0xc
call fcn.00404a20
mov ecx, eax
test ecx, ecx
je 0x446d59
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x14]
push eax
push esi
call fcn.004488e0
test eax, eax
je 0x446eb7
push edi
lea eax, [ebp - 0x14]
push str.PassProtA__d
push eax
call fcn.00409370
mov eax, dword [ebp - 0x18]
add esp, 0xc
mov esi, dword [ebp - 0x14]
mov eax, dword [eax + 4]
test eax, eax
je 0x446eb7
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], 8
push ecx
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x24]
push ecx
push 0
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, eax
test ecx, ecx
jne 0x446e0d
cmp dword [ebp - 0x24], 0xb
mov eax, 0xd
cmovne ecx, eax
xor eax, eax
test ecx, ecx
sete al
test eax, eax
je 0x446eb7
lea eax, [ebp - 0x10]
mov ecx, ebx
push eax
call fcn.0040c510
mov esi, eax
cmp esi, dword [ebx]
je 0x446e3e
lea eax, [esi + 0x10]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0040c590
test al, al
je 0x446e65
lea eax, [ebp - 0x10]
push ecx
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push ecx
mov ecx, ebx
call fcn.00448120
push eax
add eax, 0x10
mov ecx, ebx
push eax
push esi
lea eax, [ebp - 0x28]
push eax
call fcn.004481d0
mov esi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x30]
mov dword [esi + 0x18], eax
mov eax, dword [ebp - 0x2c]
mov dword [esi + 0x1c], eax
or eax, 0xffffffff
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x446e90
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
inc edi
lea eax, [ebp - 0x14]
push edi
push str.PassProtQ__d
push eax
call fcn.00409370
add esp, 0xc
call fcn.00404a20
mov ecx, eax
test ecx, ecx
jne 0x446d94
jmp 0x446d59
mov byte [ebp - 4], 1
or eax, 0xffffffff
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x446ed6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x446ef2
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4