Function at 0x446a70
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ed8c0
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x555ab0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 4], 0
mov eax, dword [0x55e860]
imul eax, eax
cdq
mov edi, 0x14
idiv edi
cmp edx, 0x11
jne 0x446ad8
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov eax, dword [0x5556d8]
mov ecx, 0x5556d8
mov dword [ebp - 0x30], 4
mov dword [ebp - 0x1c], 0
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 1
mov eax, dword [0x55e860]
imul eax, eax
cdq
idiv edi
cmp edx, 0xf
jne 0x446b1f
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_PeekNamedPipe]
mov eax, dword [ebp + 0x10]
or ebx, 0xffffffff
cmp dword [eax - 0xc], 0
je 0x446b6b
push 0x53b41c
lea edx, [ebp + 0x10]
lea ecx, [ebp - 0x14]
call fcn.0041c9c0
add esp, 4
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.004020f0
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x446b6b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [0x5556d8]
mov ecx, 0x5556d8
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 3
mov eax, dword [0x55e860]
imul eax, eax
cdq
idiv edi
cmp edx, 0xf
jne 0x446ba8
call fcn.004b0a92
mov ecx, dword [0x55e860]
cmp ecx, eax
jne 0x446ba8
dec ecx
mov dword [0x55e860], ecx
mov edx, dword [ebp + 8]
push 0
lea ecx, [ebp - 0x2c]
call fcn.00444fd0
push eax
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
call fcn.004045e0
add esp, 8
mov byte [ebp - 4], 5
mov edx, dword [eax]
lea edi, [esi - 0x10]
lea ecx, [edx - 0x10]
cmp ecx, edi
je 0x446c1c
cmp dword [edi + 0xc], 0
lea esi, [edi + 0xc]
jl 0x446c0d
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x446c0d
call fcn.004022e0
mov dword [ebp - 0x24], eax
mov ecx, ebx
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x446c05
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x24]
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
jmp 0x446c1c
push dword [edx - 0xc]
lea ecx, [ebp - 0x14]
push edx
call fcn.004021b0
mov esi, dword [ebp - 0x14]
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x28]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x446c3c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x2c]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x446c5c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x20]
push eax
push 0x20019
push 0
push esi
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x446cec
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0x34]
push 0
push dword [eax]
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, dword [0x55e860]
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x38]
mov dword [eax], ecx
lea ecx, [edi + 1]
lea eax, [edi + 2]
imul eax, ecx
imul eax, edi
cdq
mov ecx, 3
idiv ecx
cmp edx, 1
jne 0x446cd3
mov ecx, edx
cmp edi, edx
jle 0x446ccd
mov eax, edi
cdq
idiv ecx
inc ecx
add ecx, edx
cmp ecx, edi
jl 0x446cc1
mov dword [0x55e860], ecx
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x34], 0
jne 0x446cec
cmp dword [ebp - 0x3c], 4
mov byte [ebp - 0xd], 1
je 0x446cf0
mov byte [ebp - 0xd], 0
add esi, 0xfffffff0
mov byte [ebp - 4], 1
lea eax, [esi + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x446d0d
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x446d2d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp + 0x10]
add esi, 0xfffffff0
lea eax, [esi + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x446d4e
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov al, byte [ebp - 0xd]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret