Function at 0x44af90
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov eax, 0x1834
call fcn.004b5610
mov eax, dword [esp + 0x184c]
push ebx
push ebp
push esi
mov dword [esp + 0x24], eax
mov ebp, ecx
mov eax, dword [esp + 0x185c]
push edi
mov dword [esp + 0x2c], eax
xor eax, eax
push 0x3ff
push dword [esp + 0x1868]
mov word [esp + 0x838], ax
lea eax, [esp + 0x38]
push eax
mov dword [esp + 0x103c], 0
call fcn.004aa2f4
add esp, 0xc
lea ecx, [esp + 0x30]
xor eax, eax
lea edx, [ecx + 2]
mov word [esp + 0x82e], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x44aff5
sub ecx, edx
sar ecx, 1
je 0x44b015
cmp word [esp + ecx*2 + 0x2e], 0x5c
jne 0x44b015
xor eax, eax
mov word [esp + ecx*2 + 0x2e], ax
lea eax, [esp + 0x18]
push eax
mov eax, dword [0x4e37f8]
mov eax, dword [eax + 0x84]
or eax, 9
push eax
push 0
lea eax, [esp + 0x3c]
push eax
push dword [esp + 0x3c]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x44b06e
push eax
push eax
push eax
push eax
lea eax, [esp + 0x30]
push eax
push 0
push 0
lea eax, [esp + 0x40]
push eax
push 0
push 0
push 0
push dword [esp + 0x44]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x44b080
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1834
ret 0x20
mov ebx, dword [esp + 0x20]
mov esi, 4
mov edi, dword [0x4e37f8]
mov ecx, dword [esp + 0x1854]
mov dword [esp + 0x14], 0
test ebx, ebx
je 0x44b1e4
cmp ecx, 2
je 0x44b1e4
mov dword [esp + 0x1034], 0
mov dword [esp + 0x1038], 0
xor eax, eax
mov dword [esp + 0x1c], 0x400
push eax
push eax
mov word [esp + 0x838], ax
dec ebx
lea eax, [esp + 0x1038]
push eax
push 0
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x844]
push eax
push ebx
push dword [esp + 0x34]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x44b1a3
lea eax, [esp + 0x28]
mov dword [edi + 0xc], eax
mov ecx, dword [ebp + 0x14]
cmp byte [ecx], 3
jne 0x44b13c
mov ecx, dword [ecx + 0x14]
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x184c]
push 2
call fcn.004487a0
mov ecx, dword [ebp + 0x14]
mov esi, eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x10], esi
cmp eax, ecx
je 0x44b113
jmp 0x44b159
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x184c]
push 3
call fcn.004487a0
mov esi, eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x10], esi
mov ecx, esi
test eax, eax
je 0x44b168
cmp ecx, 6
jne 0x44b1b9
cmp eax, ebp
jne 0x44b1b9
cmp ecx, 6
jne 0x44b178
mov esi, 1
mov dword [esp + 0x10], esi
jmp 0x44b17d
cmp esi, 1
jne 0x44b1c4
mov eax, dword [esp + 0x1850]
test eax, eax
je 0x44b19c
lea ecx, [esp + 0x10]
push ecx
mov ecx, eax
call fcn.0044a540
mov esi, dword [esp + 0x10]
test al, al
jne 0x44b1ab
add dword [edi], 1
adc dword [edi + 4], 0
test ebx, ebx
jne 0x44b0c5
mov ecx, dword [esp + 0x184c]
cmp esi, 1
je 0x44b1d4
jmp 0x44b1cb
mov ecx, dword [esp + 0x184c]
mov dword [ecx], eax
jmp 0x44b1b2
mov ecx, dword [esp + 0x184c]
cmp esi, 4
jne 0x44b3c7
cmp dword [ecx], 0
jne 0x44b3c7
mov ecx, dword [esp + 0x1854]
mov eax, dword [esp + 0x24]
test eax, eax
je 0x44b3c7
cmp ecx, 1
jne 0x44b203
cmp byte [esp + 0x1858], 0
je 0x44b3c7
mov dword [esp + 0x1030], 0xfffffffe
lea ebx, [eax - 1]
nop dword [eax]
nop word [eax + eax]
lea eax, [esp + 0x1034]
mov dword [esp + 0x1c], 0x400
push eax
push 0
push 0
push 0
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x844]
push eax
push ebx
push dword [esp + 0x34]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x44b3b4
cmp dword [esp + 0x1854], 1
je 0x44b313
lea eax, [esp + 0x28]
mov dword [edi + 0xc], eax
mov ecx, dword [ebp + 0x14]
cmp byte [ecx], 3
jne 0x44b29c
mov ecx, dword [ecx + 0x14]
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x184c]
push 2
call fcn.004487a0
mov ecx, dword [ebp + 0x14]
mov esi, eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x10], esi
cmp eax, ecx
je 0x44b273
jmp 0x44b2b9
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x184c]
push 3
call fcn.004487a0
mov esi, eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x10], esi
mov ecx, esi
test eax, eax
je 0x44b2d0
cmp ecx, 6
jne 0x44b3be
cmp eax, ebp
jne 0x44b3be
cmp ecx, 6
jne 0x44b2e0
mov esi, 1
mov dword [esp + 0x10], esi
jmp 0x44b2e9
cmp esi, 1
jne 0x44b3c7
mov eax, dword [esp + 0x1850]
test eax, eax
je 0x44b30c
lea ecx, [esp + 0x10]
push ecx
mov ecx, eax
call fcn.0044a540
mov esi, dword [esp + 0x10]
test al, al
jne 0x44b3c7
add dword [edi], 1
adc dword [edi + 4], 0
cmp byte [esp + 0x1858], 0
je 0x44b3b4
cmp word [esp + 0x30], 0
lea eax, [esp + 0x830]
push eax
mov ecx, 0x4cdea8
mov eax, 0x4d488c
cmove eax, ecx
push eax
lea eax, [esp + 0x38]
push eax
push 0x4d4890
lea eax, [esp + 0x1050]
push 0x400
push eax
call fcn.004816a0
add esp, 0x18
lea eax, [esp + 0x1040]
mov ecx, ebp
push eax
push dword [esp + 0x1864]
push dword [esp + 0x1864]
push dword [esp + 0x1864]
push dword [esp + 0x1864]
push dword [esp + 0x1864]
push dword [esp + 0x1864]
push dword [esp + 0x1864]
call fcn.0044af90
cmp eax, 4
je 0x44b3b4
mov esi, eax
cmp eax, 1
jne 0x44b3c7
mov eax, dword [esp + 0x184c]
cmp dword [eax], 0
jne 0x44b3c7
test ebx, ebx
je 0x44b3c7
dec ebx
jmp 0x44b220
mov ecx, dword [esp + 0x184c]
mov dword [ecx], eax
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x1834
ret 0x20