Function at 0x406eb0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4448b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push edi
xor edi, edi
mov dword [esp + 8], edi
lea eax, [esp + 4]
mov dword [esp + 0x1c], edi
push eax
push 0xf003f
push edi
push str.SoftwareECMG
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x18], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, edi
jne 0x4072b1
lea ecx, [esp + 8]
call fcn.004072f0
mov ecx, dword [esp + 4]
cmp eax, edi
mov dword [esp + 8], ecx
jne 0x4072b1
push ebx
lea edx, [esp + 0x10]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push edx
lea eax, [esp + 0x10]
lea edx, [esp + 0x1c]
push eax
push edx
push edi
mov ebx, 4
push str.ServerPort
push ecx
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], ebx
call esi
cmp eax, edi
jne 0x406f4d
mov eax, dword [esp + 0xc]
mov dword [0x45e69c], eax
lea ecx, [esp + 0x18]
lea edx, [esp + 0xc]
push ecx
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x18]
push edx
push eax
push edi
push str.ServerStatus
push ecx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], ebx
call esi
cmp eax, edi
jne 0x406f7f
mov edx, dword [esp + 0xc]
mov dword [0x45e698], edx
lea eax, [esp + 0x18]
lea ecx, [esp + 0xc]
push eax
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x18]
push ecx
push edx
push edi
push str.Section_TSpkt_Flag
push eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], ebx
call esi
cmp eax, edi
jne 0x406fb1
mov ecx, dword [esp + 0xc]
mov dword [0x4582f8], ecx
lea edx, [esp + 0x18]
lea eax, [esp + 0xc]
push edx
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push eax
push ecx
push edi
push str.AC_Delay_Start
push edx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], ebx
call esi
cmp eax, edi
jne 0x406fe2
mov eax, dword [esp + 0xc]
mov dword [0x45e6a0], eax
lea ecx, [esp + 0x18]
lea edx, [esp + 0xc]
push ecx
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x18]
push edx
push eax
push edi
push str.AC_Delay_Stop
push ecx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], ebx
call esi
cmp eax, edi
jne 0x407014
mov edx, dword [esp + 0xc]
mov dword [0x45e6a4], edx
lea eax, [esp + 0x18]
lea ecx, [esp + 0xc]
push eax
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x18]
push ecx
push edx
push edi
push str.Delay_Start
push eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], ebx
call esi
cmp eax, edi
jne 0x407046
mov ecx, dword [esp + 0xc]
mov dword [0x45e6a8], ecx
lea edx, [esp + 0x18]
lea eax, [esp + 0xc]
push edx
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push eax
push ecx
push edi
push str.Delay_Stop
push edx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], ebx
call esi
cmp eax, edi
jne 0x407077
mov eax, dword [esp + 0xc]
mov dword [0x45e6ac], eax
lea ecx, [esp + 0x18]
lea edx, [esp + 0xc]
push ecx
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x18]
push edx
push eax
push edi
push str.Transition_Delay_Start
push ecx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], ebx
call esi
cmp eax, edi
jne 0x4070a9
mov edx, dword [esp + 0xc]
mov dword [0x45e6b0], edx
lea eax, [esp + 0x18]
lea ecx, [esp + 0xc]
push eax
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x18]
push ecx
push edx
push edi
push str.Transition_Delay_Stop
push eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], ebx
call esi
cmp eax, edi
jne 0x4070db
mov ecx, dword [esp + 0xc]
mov dword [0x45e6b4], ecx
lea edx, [esp + 0x18]
lea eax, [esp + 0xc]
push edx
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push eax
push ecx
push edi
push str.ECM_Rep_Period
push edx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], ebx
call esi
cmp eax, edi
jne 0x40710c
mov eax, dword [esp + 0xc]
mov dword [0x4582fc], eax
lea ecx, [esp + 0x18]
lea edx, [esp + 0xc]
push ecx
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x18]
push edx
push eax
push edi
push str.Max_Streams
push ecx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], ebx
call esi
cmp eax, edi
jne 0x40713e
mov edx, dword [esp + 0xc]
mov dword [0x45e6b8], edx
lea eax, [esp + 0x18]
lea ecx, [esp + 0xc]
push eax
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x18]
push ecx
push edx
push edi
push str.Min_CP_Duration
push eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], ebx
call esi
cmp eax, edi
jne 0x407170
mov ecx, dword [esp + 0xc]
mov dword [0x458300], ecx
lea edx, [esp + 0x18]
lea eax, [esp + 0xc]
push edx
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push eax
push ecx
push edi
push str.Lead_CW
push edx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], ebx
call esi
cmp eax, edi
jne 0x4071a1
mov eax, dword [esp + 0xc]
mov dword [0x458304], eax
lea ecx, [esp + 0x18]
lea edx, [esp + 0xc]
push ecx
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x18]
push edx
push eax
push edi
push str.CW_Per_Msg
push ecx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], ebx
call esi
cmp eax, edi
jne 0x4071d3
mov edx, dword [esp + 0xc]
mov dword [0x458308], edx
lea eax, [esp + 0x18]
lea ecx, [esp + 0xc]
push eax
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x18]
push ecx
push edx
push edi
push str.Max_Comp_Time
push eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], ebx
call esi
cmp eax, edi
jne 0x407205
mov ecx, dword [esp + 0xc]
mov dword [0x45830c], ecx
lea edx, [esp + 0x18]
lea eax, [esp + 0xc]
push edx
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push eax
push ecx
push edi
push str.AC_Transfer_Mode
push edx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], ebx
call esi
cmp eax, edi
jne 0x407236
mov eax, dword [esp + 0xc]
mov dword [0x458310], eax
lea ecx, [esp + 0x18]
lea edx, [esp + 0xc]
push ecx
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x18]
push edx
push eax
push edi
push str.EPTAgentIP
push ecx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], ebx
call esi
cmp eax, edi
jne 0x407268
mov edx, dword [esp + 0xc]
mov dword [0x458314], edx
lea eax, [esp + 0x18]
lea ecx, [esp + 0xc]
push eax
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x18]
push ecx
push edx
push edi
push str.EPTAgentPort
push eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], ebx
call esi
pop esi
cmp eax, edi
pop ebx
jne 0x40729c
mov ecx, dword [esp + 4]
mov dword [0x458318], ecx
mov edx, dword [0x45e69c]
mov eax, dword [0x45e698]
push edx
push eax
call fcn.00406900
add esp, 8
mov eax, dword [esp + 8]
cmp eax, edi
je 0x4072c4
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 8], edi
lea ecx, [esp + 8]
mov dword [esp + 0x1c], 0xffffffff
call fcn.004072f0
mov ecx, dword [esp + 0x14]
pop edi
mov dword fs:[0], ecx
add esp, 0x1c
ret