Function at 0x44aa50
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44ef51
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x466cc0]
xor eax, ebp
mov dword [ebp - 0x20], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x254], ecx
cmp dword [ebp + 8], 0xffffffff
je 0x44aa8d
cmp dword [ebp + 0xc], 0
jne 0x44aa94
xor eax, eax
jmp 0x44acf4
mov dword [ebp - 0x14], 0
push 0x20019
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.SETUPAPI.dll_SetupDiOpenDeviceInterfaceRegKey]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
je 0x44acf1
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x230], 0
push 0x208
push 0
lea edx, [ebp - 0x22c]
push edx
call fcn.00414d80
add esp, 0xc
mov dword [ebp - 0x234], 4
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x1c]
push edx
push 0
push str.Port_Number
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x230], eax
cmp dword [ebp - 0x230], 0
jne 0x44ab61
mov dword [ebp - 0x234], 0x208
lea ecx, [ebp - 0x234]
push ecx
lea edx, [ebp - 0x22c]
push edx
lea eax, [ebp - 0x1c]
push eax
push 0
push str.Base_Name
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x230], eax
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x230], 0
jne 0x44acf1
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x23c]
call fcn.0042e5a0
mov dword [ebp - 4], 0
mov dword [ebp - 0x244], 0
lea eax, [ebp - 0x244]
push eax
push 2
push 0
lea ecx, [ebp - 0x23c]
call fcn.0042fa00
mov dword [ebp - 0x240], eax
cmp dword [ebp - 0x240], 0
je 0x44acdf
mov dword [ebp - 0x248], 0
jmp 0x44abdf
mov ecx, dword [ebp - 0x248]
add ecx, 1
mov dword [ebp - 0x248], ecx
cmp dword [ebp - 0x14], 0
jne 0x44accd
mov edx, dword [ebp - 0x248]
cmp edx, dword [ebp - 0x244]
jae 0x44accd
mov eax, dword [ebp - 0x248]
imul eax, eax, 0x14
mov ecx, dword [ebp - 0x240]
cmp dword [ecx + eax], 0
je 0x44acc8
mov edx, dword [ebp - 0x248]
imul edx, edx, 0x14
mov eax, dword [ebp - 0x240]
mov ecx, dword [eax + edx]
push ecx
mov ecx, dword [ebp - 0x254]
call fcn.004493d0
mov dword [ebp - 0x24c], eax
cmp dword [ebp - 0x24c], 0
je 0x44acc8
mov edx, dword [ebp - 0x248]
imul edx, edx, 0x14
mov eax, dword [ebp - 0x240]
mov ecx, dword [ebp - 0x24c]
sub ecx, dword [eax + edx]
shr ecx, 1
mov dword [ebp - 0x250], ecx
mov edx, dword [ebp - 0x250]
push edx
lea eax, [ebp - 0x22c]
push eax
mov ecx, dword [ebp - 0x248]
imul ecx, ecx, 0x14
mov edx, dword [ebp - 0x240]
mov eax, dword [edx + ecx]
push eax
call fcn.00414c79
add esp, 0xc
test eax, eax
jne 0x44acc8
mov ecx, dword [ebp - 0x24c]
push ecx
call fcn.00414f59
add esp, 4
cmp eax, dword [ebp - 0x18]
jne 0x44acc8
mov edx, dword [ebp - 0x248]
imul edx, edx, 0x14
mov eax, dword [ebp - 0x240]
mov ecx, dword [eax + edx]
push ecx
mov ecx, dword [ebp + 0x10]
call fcn.00401250
mov dword [ebp - 0x14], 1
jmp 0x44abd0
mov edx, dword [ebp - 0x240]
push edx
lea ecx, [ebp - 0x23c]
call fcn.0042e550
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x23c]
call fcn.0042e580
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.00414810
mov esp, ebp
pop ebp
ret 0xc