Function at 0x442c10
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d33ad
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x515080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
call fcn.004046f0
mov edi, eax
test edi, edi
je 0x442e3a
mov eax, dword [edi]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x4e2514]
mov ecx, edi
call esi
add eax, 0x10
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 1
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 8]
mov ecx, ebx
call fcn.00443920
or edi, 0xffffffff
test al, al
jne 0x442c83
xor bl, bl
jmp 0x442dc0
mov eax, dword [ebx + 4]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x10], eax
call fcn.004046f0
mov ebx, eax
test ebx, ebx
je 0x442e3a
mov eax, dword [ebx]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x4e2514]
mov ecx, ebx
call esi
add eax, 0x10
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x14]
push eax
call fcn.00409b90
lea eax, [ebp - 0x20]
push eax
push 0x20019
push 0
push dword [ebp - 0x1c]
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x442d75
mov ebx, dword [ebp + 0xc]
lea ecx, [ebp - 0x10]
push ecx
push 0
push 0
push 0
push dword [ebx]
mov dword [ebp - 0x10], 0
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x442d75
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x442d75
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004a1f67
mov esi, eax
add esp, 4
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], 5
lea eax, [ebp - 0x10]
push eax
push esi
push 0
push 0
push dword [ebx]
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x442e01
mov byte [ebp - 4], 4
push esi
call fcn.004a1f62
add esp, 4
mov dword [ebp - 0x18], 0
xor bl, bl
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x442d89
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 1
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 1
mov eax, edi
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x442dc0
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e2514]
mov ecx, edi
call esi
or edi, 0xffffffff
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], edi
dec edi
test edi, edi
jg 0x442deb
mov edi, dword [eax]
push eax
mov edx, dword [edi]
mov esi, dword [edx + 4]
mov ecx, esi
call dword [0x4e2514]
mov ecx, edi
call esi
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x442e06
sub ecx, edx
sar ecx, 1
push ecx
mov ecx, dword [ebp + 0x10]
push esi
call fcn.00403890
mov byte [ebp - 4], 4
push esi
call fcn.004a1f62
add esp, 4
mov dword [ebp - 0x18], 0
mov bl, 1
jmp 0x442d77
push 0x80004005
call fcn.00402720
int3