Function at 0x44d030
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 0x44d05e
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 0x44d270
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 0x44d267
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.004627e5
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 0x44d120
mov edx, dword [ebp - 8]
nop
lea ecx, [edx - 1]
xor eax, eax
mov bl, 1
test ecx, ecx
jle 0x44d11d
nop dword [eax + eax]
cmp word [edi + eax*2], 0
jne 0x44d111
movzx ecx, word [edi + eax*2 + 2]
test cx, cx
je 0x44d111
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 0x44d0f0
test bl, bl
je 0x44d0e0
mov ebx, dword [ebp - 0x10]
mov esi, edi
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x44d125
sub esi, ecx
mov ecx, dword [ebx + 0x14]
sar esi, 1
mov dword [ebp - 0x20], ecx
cmp esi, ecx
ja 0x44d162
cmp ecx, 8
jb 0x44d145
mov ebx, dword [ebx]
mov ecx, dword [ebp - 0x18]
mov dword [ecx], esi
add esi, esi
push esi
push edi
push ebx
call fcn.005ad520
add esp, 0xc
xor eax, eax
mov word [esi + ebx], ax
jmp 0x44d259
cmp esi, 0x7ffffffe
ja 0x44d279
mov ebx, esi
or ebx, 7
cmp ebx, 0x7ffffffe
jbe 0x44d182
mov ebx, SysReAllocString
jmp 0x44d1a0
mov edx, ecx
mov eax, SysReAllocString
shr edx, 1
sub eax, edx
cmp ecx, eax
jbe 0x44d198
mov ebx, SysReAllocString
jmp 0x44d1a0
lea eax, [edx + ecx]
cmp ebx, eax
cmovb ebx, eax
lea eax, [ebx + 1]
lea ecx, [eax + eax]
cmp eax, 0x7fffffff
jbe 0x44d1b2
or ecx, 0xffffffff
jmp 0x44d1ba
cmp ecx, 0x1000
jb 0x44d1e3
lea eax, [ecx + 0x23]
or edx, 0xffffffff
cmp eax, ecx
cmovbe eax, edx
push eax
call fcn.004627a8
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x44d27e
lea eax, [ecx + 0x23]
and eax, 0xffffffe0
mov dword [eax - 4], ecx
jmp 0x44d1f4
test ecx, ecx
je 0x44d1f2
push ecx
call fcn.004627a8
add esp, 4
jmp 0x44d1f4
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.005acfa0
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 0x44d254
mov esi, dword [ebp - 0x10]
lea ecx, [eax*2 + 2]
mov eax, dword [esi]
cmp ecx, 0x1000
jb 0x44d246
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44d27e
mov eax, edx
push ecx
push eax
call fcn.005a9369
add esp, 8
mov dword [esi], ebx
jmp 0x44d259
mov eax, dword [ebp - 0x10]
mov dword [eax], ebx
push edi
call fcn.004627e0
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.00408030
call fcn.005b06b9
int3