Function at 0x44cd80
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
mov ebx, dword [ebp + 0xc]
lea eax, [ebx + 0x10]
mov dword [ebp - 0x10], ebx
mov dword [eax], 0
push esi
cmp dword [ebx + 0x14], 8
mov esi, dword [ebp + 8]
mov dword [ebp - 0x18], eax
mov eax, ebx
mov dword [ebp - 0xc], esi
mov byte [ebp - 1], 0
jb 0x44cdae
mov eax, dword [ebx]
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x14]
push eax
push 0x20019
push ecx
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x44cfc0
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0
push esi
push dword [ebp - 0x14]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
call esi
test eax, eax
jne 0x44cfb7
mov eax, dword [ebp - 8]
xor ecx, ecx
inc eax
mov edx, 2
mul edx
push edi
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00461290
add esp, 4
mov edi, eax
lea eax, [ebp - 8]
push eax
push edi
lea eax, [ebp - 0x1c]
push eax
push 0
push dword [ebp - 0xc]
push dword [ebp - 0x14]
call esi
cmp dword [ebp - 0x1c], 3
jne 0x44ce70
mov edx, dword [ebp - 8]
nop
lea ecx, [edx - 1]
xor eax, eax
mov bl, 1
test ecx, ecx
jle 0x44ce6d
nop dword [eax + eax]
cmp word [edi + eax*2], 0
jne 0x44ce61
movzx ecx, word [edi + eax*2 + 2]
test cx, cx
je 0x44ce61
mov word [edi + eax*2], cx
xor ecx, ecx
mov word [edi + eax*2 + 2], cx
xor bl, bl
mov edx, dword [ebp - 8]
inc eax
lea ecx, [edx - 1]
cmp eax, ecx
jl 0x44ce40
test bl, bl
je 0x44ce30
mov ebx, dword [ebp - 0x10]
mov esi, edi
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x44ce75
sub esi, ecx
mov ecx, dword [ebx + 0x14]
sar esi, 1
mov dword [ebp - 0x20], ecx
cmp esi, ecx
ja 0x44ceb2
cmp ecx, 8
jb 0x44ce95
mov ebx, dword [ebx]
mov ecx, dword [ebp - 0x18]
mov dword [ecx], esi
add esi, esi
push esi
push edi
push ebx
call fcn.005abfe0
add esp, 0xc
xor eax, eax
mov word [esi + ebx], ax
jmp 0x44cfa9
cmp esi, 0x7ffffffe
ja 0x44cfc9
mov ebx, esi
or ebx, 7
cmp ebx, 0x7ffffffe
jbe 0x44ced2
mov ebx, SysReAllocString
jmp 0x44cef0
mov edx, ecx
mov eax, SysReAllocString
shr edx, 1
sub eax, edx
cmp ecx, eax
jbe 0x44cee8
mov ebx, SysReAllocString
jmp 0x44cef0
lea eax, [edx + ecx]
cmp ebx, eax
cmovb ebx, eax
lea eax, [ebx + 1]
lea ecx, [eax + eax]
cmp eax, 0x7fffffff
jbe 0x44cf02
or ecx, 0xffffffff
jmp 0x44cf0a
cmp ecx, 0x1000
jb 0x44cf33
lea eax, [ecx + 0x23]
or edx, 0xffffffff
cmp eax, ecx
cmovbe eax, edx
push eax
call fcn.00461253
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x44cfce
lea eax, [ecx + 0x23]
and eax, 0xffffffe0
mov dword [eax - 4], ecx
jmp 0x44cf44
test ecx, ecx
je 0x44cf42
push ecx
call fcn.00461253
add esp, 4
jmp 0x44cf44
xor eax, eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0xc], eax
mov dword [ecx], esi
add esi, esi
mov ecx, dword [ebp - 0x10]
push esi
push edi
push eax
mov dword [ecx + 0x14], ebx
call fcn.005aba60
mov ebx, dword [ebp - 0xc]
xor eax, eax
add esp, 0xc
mov word [esi + ebx], ax
mov eax, dword [ebp - 0x20]
cmp eax, 8
jb 0x44cfa4
mov esi, dword [ebp - 0x10]
lea ecx, [eax*2 + 2]
mov eax, dword [esi]
cmp ecx, 0x1000
jb 0x44cf96
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44cfce
mov eax, edx
push ecx
push eax
call fcn.005a7e2d
add esp, 8
mov dword [esi], ebx
jmp 0x44cfa9
mov eax, dword [ebp - 0x10]
mov dword [eax], ebx
push edi
call fcn.0046128b
add esp, 4
mov byte [ebp - 1], 1
pop edi
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, byte [ebp - 1]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00405425
call fcn.005af179
int3