Function at 0x44f9e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b0
mov eax, dword [0x4dc6e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x29c], eax
mov eax, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
mov dword [ebp - 0x2b0], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x2a4], eax
mov eax, dword [ebp + 0x18]
lea edx, [ecx + 2]
mov dword [ebp - 0x2ac], eax
mov dword [ebp - 0x290], 0
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x44fa30
sub ecx, edx
sar ecx, 1
lea eax, [ecx + 1]
push eax
push esi
call fcn.00491d92
add esp, 8
lea ecx, [ebp - 0x290]
push esi
call fcn.00403940
mov esi, dword [ebp - 0x290]
test esi, esi
je 0x44fa66
mov eax, dword [esi]
jmp 0x44fa68
xor eax, eax
push 0x4bcb48
push eax
call fcn.004913b3
add esp, 8
test eax, eax
je 0x44fc89
test esi, esi
je 0x44fa86
mov eax, dword [esi]
jmp 0x44fa88
xor eax, eax
push edi
push 0x4bcb48
push eax
call fcn.004913b3
add esp, 8
lea ecx, [ebp - 0x294]
add eax, 0x16
push eax
call fcn.00403690
mov edi, eax
lea eax, [ebp - 0x290]
cmp eax, edi
je 0x44facf
mov ecx, eax
call fcn.0048c930
mov esi, dword [edi]
mov dword [ebp - 0x290], esi
test esi, esi
je 0x44facf
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
lea ecx, [ebp - 0x294]
call fcn.0048c930
lea eax, [ebp - 0x290]
push eax
lea eax, [ebp - 0x294]
push 0x4afac0
push eax
call fcn.00403a10
add esp, 0xc
mov eax, dword [eax]
test eax, eax
je 0x44faff
mov eax, dword [eax]
jmp 0x44fb01
xor eax, eax
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea ecx, [ebp - 0x298]
push ebx
push ecx
push 0x20019
push 0
push eax
push SysReAllocStringLen
call edi
test eax, eax
lea ecx, [ebp - 0x294]
sete bl
call fcn.0048c930
test bl, bl
je 0x44fc87
lea eax, [ebp - 0x2a8]
mov dword [ebp - 0x2a8], 0x208
push eax
lea eax, [ebp - 0x28c]
push eax
push 0
push 0
push 0
push dword [ebp - 0x298]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x44fb87
lea eax, [ebp - 0x28c]
push eax
call fcn.0048faa4
mov ecx, dword [ebp - 0x29c]
add esp, 4
push dword [ebp - 0x298]
mov dword [ecx], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x4bcb60
lea ecx, [ebp - 0x294]
call fcn.00403690
lea eax, [ebp - 0x294]
push eax
lea eax, [ebp - 0x29c]
push eax
lea eax, [ebp - 0x290]
push eax
lea eax, [ebp - 0x2a0]
push 0x4afac0
push eax
call fcn.00403a10
add esp, 0xc
mov ecx, eax
call fcn.00403a80
mov eax, dword [eax]
test eax, eax
je 0x44fbd1
mov eax, dword [eax]
jmp 0x44fbd3
xor eax, eax
lea ecx, [ebp - 0x298]
push ecx
push 0x20019
push 0
push eax
push SysReAllocStringLen
call edi
test eax, eax
lea ecx, [ebp - 0x29c]
sete bl
call fcn.0048c930
lea ecx, [ebp - 0x2a0]
call fcn.0048c930
lea ecx, [ebp - 0x294]
call fcn.0048c930
test bl, bl
je 0x44fc87
push 0
push dword [ebp - 0x298]
call fcn.0044e170
mov edi, eax
add esp, 8
test edi, edi
je 0x44fc7b
mov ecx, edi
lea edx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x44fc30
sub ecx, edx
sar ecx, 1
lea eax, [ecx + 1]
push eax
push edi
call fcn.00491b65
push edi
call fcn.0048faa4
push dword [ebp - 0x2ac]
mov ecx, dword [ebp - 0x2b0]
push dword [ebp - 0x2a4]
push 0x40
mov dword [ecx], eax
lea eax, [ebp - 0x84]
push eax
push edi
call fcn.0044fe20
push edi
call fcn.0048faf7
add esp, 0x24
push dword [ebp - 0x298]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebx
pop edi
test esi, esi
je 0x44fcce
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x44fcce
mov eax, dword [esi]
test eax, eax
je 0x44fcae
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x44fcc5
push eax
call fcn.0049243b
add esp, 4
mov dword [esi + 4], 0
push esi
call fcn.0048f453
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0048fc6c
mov esp, ebp
pop ebp
ret