Function at 0x44d1a0
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 0x44d1ce
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 0x44d3e0
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 0x44d3d7
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.00462180
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 0x44d290
mov edx, dword [ebp - 8]
nop
lea ecx, [edx - 1]
xor eax, eax
mov bl, 1
test ecx, ecx
jle 0x44d28d
nop dword [eax + eax]
cmp word [edi + eax*2], 0
jne 0x44d281
movzx ecx, word [edi + eax*2 + 2]
test cx, cx
je 0x44d281
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 0x44d260
test bl, bl
je 0x44d250
mov ebx, dword [ebp - 0x10]
mov esi, edi
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x44d295
sub esi, ecx
mov ecx, dword [ebx + 0x14]
sar esi, 1
mov dword [ebp - 0x20], ecx
cmp esi, ecx
ja 0x44d2d2
cmp ecx, 8
jb 0x44d2b5
mov ebx, dword [ebx]
mov ecx, dword [ebp - 0x18]
mov dword [ecx], esi
add esi, esi
push esi
push edi
push ebx
call fcn.005acee0
add esp, 0xc
xor eax, eax
mov word [esi + ebx], ax
jmp 0x44d3c9
cmp esi, 0x7ffffffe
ja 0x44d3e9
mov ebx, esi
or ebx, 7
cmp ebx, 0x7ffffffe
jbe 0x44d2f2
mov ebx, SysReAllocString
jmp 0x44d310
mov edx, ecx
mov eax, SysReAllocString
shr edx, 1
sub eax, edx
cmp ecx, eax
jbe 0x44d308
mov ebx, SysReAllocString
jmp 0x44d310
lea eax, [edx + ecx]
cmp ebx, eax
cmovb ebx, eax
lea eax, [ebx + 1]
lea ecx, [eax + eax]
cmp eax, 0x7fffffff
jbe 0x44d322
or ecx, 0xffffffff
jmp 0x44d32a
cmp ecx, 0x1000
jb 0x44d353
lea eax, [ecx + 0x23]
or edx, 0xffffffff
cmp eax, ecx
cmovbe eax, edx
push eax
call fcn.00462143
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x44d3ee
lea eax, [ecx + 0x23]
and eax, 0xffffffe0
mov dword [eax - 4], ecx
jmp 0x44d364
test ecx, ecx
je 0x44d362
push ecx
call fcn.00462143
add esp, 4
jmp 0x44d364
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.005ac960
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 0x44d3c4
mov esi, dword [ebp - 0x10]
lea ecx, [eax*2 + 2]
mov eax, dword [esi]
cmp ecx, 0x1000
jb 0x44d3b6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44d3ee
mov eax, edx
push ecx
push eax
call fcn.005a8d24
add esp, 8
mov dword [esi], ebx
jmp 0x44d3c9
mov eax, dword [ebp - 0x10]
mov dword [eax], ebx
push edi
call fcn.0046217b
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.005b0079
int3