Function at 0x44a610
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x46bc20
push 0x417af0
mov eax, dword fs:[0]
push eax
add esp, 0xffffff94
push ebx
push esi
push edi
mov eax, dword [0x46fc68]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x24]
push ecx
push 0
push 0x20006
push 0
push 0
push 0
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x44a69b
jmp 0x44a875
lea ecx, [ebp - 0x2c]
push ecx
push 0x20019
push 0
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x44a6c2
jmp 0x44a875
push 0
push 0
lea ecx, [ebp - 0x40]
push ecx
lea edx, [ebp - 0x44]
push edx
push 0
push 0
lea eax, [ebp - 0x50]
push eax
push 0
push 0
push 0
push 0
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov edx, dword [ebp - 0x50]
add edx, 1
mov dword [ebp - 0x50], edx
mov eax, dword [ebp - 0x44]
add eax, 1
mov dword [ebp - 0x44], eax
xor ecx, ecx
mov eax, dword [ebp - 0x50]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004088d8
add esp, 4
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x38], 0
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x58], ecx
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x78], edx
mov eax, dword [ebp - 0x38]
add eax, 1
mov dword [ebp - 0x38], eax
lea ecx, [ebp - 0x4c]
push ecx
push 0
push 0
push 0
lea edx, [ebp - 0x58]
push edx
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x78]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x44a78d
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x2c]
push eax
call fcn.0044a610
add esp, 0x10
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
je 0x44a785
jmp 0x44a875
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x58], ecx
jmp 0x44a72c
xor ecx, ecx
mov eax, dword [ebp - 0x44]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004088d8
add esp, 4
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x40]
push ecx
call fcn.004088d8
add esp, 4
mov dword [ebp - 0x68], eax
mov edx, dword [ebp - 0x68]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x54], ecx
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x7c], edx
mov eax, dword [ebp - 0x38]
add eax, 1
mov dword [ebp - 0x38], eax
lea ecx, [ebp - 0x54]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
push 0
push 0
lea eax, [ebp - 0x58]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x7c]
push edx
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x44a86e
lea ecx, [ebp - 0x54]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
lea eax, [ebp - 0x34]
push eax
push 0
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x44a836
jmp 0x44a875
mov eax, dword [ebp - 0x54]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x34]
push edx
push 0
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x44a85d
jmp 0x44a875
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x58], edx
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x54], eax
jmp 0x44a7da
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0xfffffffe
call fcn.0044a883
jmp 0x44a8ec
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret