Function at 0x44cf0c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004056d0
xor eax, eax
push ebp
push 0x44d2a1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x18]
call fcn.00405234
lea eax, [ebp - 0x3c]
push eax
mov edx, dword [ebp - 4]
mov eax, 0x44d2b8
call fcn.004057d0
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00405748
mov eax, dword [ebp - 0x3c]
call fcn.0044c900
mov esi, eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x44cf8d
sub ebx, 4
mov ebx, dword [ebx]
lea eax, [ebp - 0x1c]
push eax
push 1
push 0
lea eax, [ebp - 0x40]
push eax
mov edx, dword [ebp - 4]
mov eax, 0x44d2b8
call fcn.004057d0
mov edx, eax
inc edx
mov ecx, ebx
mov eax, dword [ebp - 4]
call fcn.00405748
mov eax, dword [ebp - 0x40]
call fcn.004056e0
push eax
push esi
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x44d279
xor eax, eax
mov dword [ebp - 0x20], eax
mov eax, 0x3fff
call fcn.00402ea0
mov edi, eax
xor ebx, ebx
lea eax, [ebp - 0x28]
push eax
push 0
lea eax, [ebp - 0x2c]
push eax
push 0
lea eax, [ebp - 0x24]
push eax
push edi
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegEnumValueA
mov eax, dword [ebp - 0x28]
call fcn.00402ea0
mov esi, eax
mov dword [ebp - 0x24], 0x3fff
lea eax, [ebp - 0x28]
push eax
push esi
lea eax, [ebp - 0x2c]
push eax
push 0
lea eax, [ebp - 0x24]
push eax
push edi
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegEnumValueA
mov ebx, eax
test ebx, ebx
jne 0x44d249
lea eax, [ebp - 0xc]
call fcn.00405234
cmp dword [ebp - 0x2c], 4
jne 0x44d092
mov dword [ebp - 0x34], esi
push 0x44d2c4
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
xor edx, edx
push edx
push eax
lea edx, [ebp - 0x44]
mov eax, 8
call fcn.00409448
push dword [ebp - 0x44]
push 0x44d2d0
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x48]
call fcn.004093f8
push dword [ebp - 0x48]
push 0x44d2dc
lea eax, [ebp - 0xc]
mov edx, 5
call fcn.004055e4
jmp 0x44d144
cmp dword [ebp - 0x2c], 3
jne 0x44d0fd
cmp dword [ebp - 0x28], 0
jne 0x44d0b0
lea eax, [ebp - 0xc]
mov edx, 0x44d2e8
call fcn.004052cc
jmp 0x44d144
mov eax, dword [ebp - 0x28]
dec eax
test eax, eax
jl 0x44d144
inc eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x30], 0
push dword [ebp - 0xc]
lea ecx, [ebp - 0x4c]
mov eax, dword [ebp - 0x30]
movzx eax, byte [esi + eax]
mov edx, 2
call fcn.00409420
push dword [ebp - 0x4c]
push 0x44d2fc
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004055e4
inc dword [ebp - 0x30]
dec dword [ebp - 0x38]
jne 0x44d0c7
jmp 0x44d144
cmp dword [ebp - 0x2c], 7
jne 0x44d13a
mov eax, dword [ebp - 0x28]
dec eax
test eax, eax
jl 0x44d12e
inc eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x30]
cmp byte [esi + eax], 0
jne 0x44d126
mov eax, dword [ebp - 0x30]
mov byte [esi + eax], 0x20
inc dword [ebp - 0x30]
dec dword [ebp - 0x38]
jne 0x44d116
lea eax, [ebp - 0xc]
mov edx, esi
call fcn.0040542c
jmp 0x44d144
lea eax, [ebp - 0xc]
mov edx, esi
call fcn.0040542c
cmp byte [edi], 0
jne 0x44d158
lea eax, [ebp - 0x10]
mov edx, 0x44d308
call fcn.004052cc
jmp 0x44d162
lea eax, [ebp - 0x10]
mov edx, edi
call fcn.0040542c
mov eax, dword [ebp - 0x2c]
cmp eax, 7
ja case.default.0x44d16e
jmp dword [eax*4 + 0x44d175]
lea eax, [ebp - 8]
mov edx, 0x44d318
call fcn.004052cc
jmp case.default.0x44d16e
lea eax, [ebp - 8]
mov edx, 0x44d32c
call fcn.004052cc
jmp case.default.0x44d16e
lea eax, [ebp - 8]
mov edx, 0x44d340
call fcn.004052cc
jmp case.default.0x44d16e
lea eax, [ebp - 8]
mov edx, 0x44d360
call fcn.004052cc
jmp case.default.0x44d16e
lea eax, [ebp - 8]
mov edx, 0x44d378
call fcn.004052cc
jmp case.default.0x44d16e
lea eax, [ebp - 8]
mov edx, 0x44d38c
call fcn.004052cc
jmp case.default.0x44d16e
lea eax, [ebp - 8]
mov edx, 0x44d3a4
call fcn.004052cc
jmp case.default.0x44d16e
lea eax, [ebp - 8]
mov edx, 0x44d3b8
call fcn.004052cc
cmp dword [ebp - 0xc], 0
jne 0x44d21e
lea eax, [ebp - 0xc]
mov edx, 0x44d2fc
call fcn.004052cc
push dword [ebp - 0x14]
push 0x44d3c8
push dword [ebp - 0x10]
push 0x44d3d4
push dword [ebp - 8]
push 0x44d3d4
push dword [ebp - 0xc]
lea eax, [ebp - 0x14]
mov edx, 7
call fcn.004055e4
inc dword [ebp - 0x20]
mov eax, esi
call fcn.00402ebc
test ebx, ebx
je 0x44cfdd
cmp dword [ebp - 0x14], 0
je 0x44d269
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
call fcn.00405288
mov eax, edi
call fcn.00402ebc
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44d2a8
lea eax, [ebp - 0x4c]
mov edx, 5
call fcn.00405258
lea eax, [ebp - 0x14]
mov edx, 5
call fcn.00405258
ret