Function at 0x44d9f0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x54
push 0x478268
call fcn.00473208
mov dword [ebp - 0x54], ecx
xor esi, esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], esi
mov ebx, esi
mov dword [ebp - 0x38], ebx
mov dword [ebp - 4], esi
lea eax, [ebp - 0x2c]
push eax
push 0x20019
push esi
push 0x412460
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
mov dword [ebp - 0x20], edi
test edi, edi
je 0x44da76
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call dword [sym.imp.WDSCORE.dll_CurrentIP]
push eax
push 0x412078
push 0x4120b8
push 0xaa
push esi
push 0x411d1c
push esi
push edi
push 0x412460
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.0044d9c1
push eax
push 0x412120
jmp 0x44dc29
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x44], esi
mov eax, esi
mov dword [ebp - 0x28], eax
test eax, eax
jne 0x44db59
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x40], esi
push esi
push esi
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x3c]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov edi, eax
mov dword [ebp - 0x20], edi
test edi, edi
jne 0x44dc3f
mov eax, dword [ebp - 0x3c]
cmp eax, dword [ebp - 0x30]
jbe 0x44db0e
mov dword [ebp - 0x30], eax
mov edi, dword [ebp - 0x24]
test edi, edi
je 0x44dae8
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
neg eax
sbb eax, eax
not eax
and eax, edi
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x30]
lea eax, [eax*2 + 2]
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 0x24], eax
test eax, eax
jne 0x44db0e
push 0xe
pop edi
jmp 0x44dc91
mov eax, dword [ebp - 0x40]
cmp eax, dword [ebp - 0x34]
jbe 0x44db59
mov dword [ebp - 0x34], eax
test ebx, ebx
je 0x44db3a
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
neg eax
sbb eax, eax
not eax
and eax, ebx
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x34]
add eax, 5
mov dword [ebp - 0x44], eax
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
mov dword [ebp - 0x38], ebx
test ebx, ebx
je 0x44db06
push dword [ebp - 0x44]
push esi
push ebx
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [ebp - 0x48], esi
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
push eax
push ebx
lea eax, [ebp - 0x48]
push eax
push esi
lea eax, [ebp - 0x50]
push eax
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov edi, eax
mov dword [ebp - 0x20], edi
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
test edi, edi
jne 0x44dbe1
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], ebx
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x64]
push eax
mov ecx, dword [ebp - 0x54]
call fcn.0044e170
test eax, eax
je 0x44dc82
sub eax, 2
neg eax
sbb eax, eax
and eax, dword [ebp - 0x28]
mov dword [ebp - 0x28], eax
test edi, edi
je 0x44da84
cmp edi, 0x103
je 0x44dc8f
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call dword [sym.imp.WDSCORE.dll_CurrentIP]
push eax
push 0x412078
push 0x4120b8
push 0x11f
push esi
push 0x411d1c
push esi
push edi
push 0x412460
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.0044d9c1
push eax
push 0x4121b8
push 0x3000000
call fcn.0044cdfc
add esp, 0x14
push eax
call dword [sym.imp.WDSCORE.dll_WdsSetupLogMessageW]
jmp 0x44dc94
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call dword [sym.imp.WDSCORE.dll_CurrentIP]
push eax
push 0x412078
push 0x4120b8
push 0xce
push esi
push 0x411d1c
push esi
push edi
push 0x412460
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.0044d9c1
push eax
push 0x412168
push 0x2000000
jmp 0x44dc2e
mov edi, 0x103
mov dword [ebp - 0x20], edi
jmp 0x44dbe1
mov edi, esi
mov dword [ebp - 0x20], edi
mov dword [ebp - 4], 0xfffffffe
call fcn.0044dcc6
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
test edi, edi
sete al
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret 4