Function at 0x44ad94
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040710c
xor eax, eax
push ebp
push 0x44b03a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
xor edx, edx
call fcn.00407124
lea eax, [ebp - 8]
call fcn.00407114
mov edx, eax
lea eax, [ebp - 4]
call fcn.00447b4c
mov eax, dword [ebp - 4]
call fcn.0044a2ec
mov ebx, eax
test ebx, ebx
je 0x44b017
xor eax, eax
mov dword [ebp - 0x10], eax
push 0
push 0
lea eax, [ebp - 0x10]
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.004071b0
push eax
push ebx
call sub.advapi32.dll_RegQueryValueExW_1
mov eax, dword [ebp - 0x10]
cmp eax, 7
ja case.0x44ae1a.5
jmp dword [eax*4 + 0x44ae21]
mov eax, esi
xor edx, edx
call fcn.00407124
jmp case.0x44ae1a.5
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 4
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.004071b0
push eax
push ebx
call sub.advapi32.dll_RegQueryValueExW_1
mov eax, dword [ebp - 0x18]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x118]
call fcn.00408590
lea edx, [ebp - 0x118]
mov eax, esi
call fcn.00407470
jmp case.0x44ae1a.5
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.004071b0
push eax
push ebx
call sub.advapi32.dll_RegQueryValueExW_1
mov edx, dword [ebp - 0x14]
shr edx, 1
mov eax, esi
call fcn.00407488
mov eax, dword [esi]
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x11c]
test eax, eax
je 0x44aedb
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle case.0x44ae1a.5
lea eax, [ebp - 0x14]
push eax
mov eax, esi
call fcn.00407a8c
push eax
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.004071b0
push eax
push ebx
call sub.advapi32.dll_RegQueryValueExW_1
mov eax, dword [esi]
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x11c]
test eax, eax
je 0x44af19
sub eax, 4
mov eax, dword [eax]
mov edx, eax
dec edx
mov eax, esi
call fcn.00407488
jmp case.0x44ae1a.5
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.004071b0
push eax
push ebx
call sub.advapi32.dll_RegQueryValueExW_1
mov edx, dword [ebp - 0x14]
add edx, edx
mov eax, esi
call fcn.00407488
lea eax, [ebp - 0xc]
xor ecx, ecx
mov edx, dword [ebp - 0x14]
call fcn.00406c4c
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x44af7e
mov edx, eax
sub edx, 0xa
cmp word [edx], 1
je 0x44af7e
lea eax, [ebp - 0xc]
xor ecx, ecx
mov edx, dword [ebp - 0xc]
call fcn.004064a4
test eax, eax
je 0x44af87
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle case.0x44ae1a.5
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
call fcn.00406a50
push eax
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.004071b0
push eax
push ebx
call sub.advapi32.dll_RegQueryValueExW_1
mov edi, dword [ebp - 0x14]
cmp edi, 1
jl case.0x44ae1a.5
mov eax, esi
call fcn.00407a8c
mov edx, edi
add edx, edx
lea eax, [eax + edx*2 - 2]
push eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax + edi - 1]
and al, 0xf0
movzx eax, al
shr eax, 4
movzx eax, word [eax*2 + str.0123456789ABCDEF0123456789ABCDEF]
pop edx
mov word [edx], ax
mov eax, esi
call fcn.00407a8c
mov edx, edi
add edx, edx
lea eax, [eax + edx*2 - 4]
push eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax + edi - 1]
and al, 0xf
movzx eax, al
movzx eax, word [eax*2 + str.0123456789ABCDEF0123456789ABCDEF]
pop edx
mov word [edx], ax
dec edi
test edi, edi
jne 0x44afb7
push ebx
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44b041
lea eax, [ebp - 0xc]
call fcn.00406288
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040711c
ret