Function at 0x460a80
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
push str.________Inside_InitializeAgentParameters_Method___________n
call fcn.00423960
add esp, 4
push 0x4d0894
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
xor ebx, ebx
cmp esi, ebx
je 0x460ae1
push str.IsWow64Process
push 0x4d0878
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
push str.Wow64DisableWow64FsRedirection
push esi
mov dword [0x515be0], eax
call edi
push str.Wow64RevertWow64FsRedirection
push esi
mov dword [0x515bdc], eax
call edi
mov dword [0x515bd8], eax
mov dword [ebp - 4], ebx
cmp dword [0x515be0], ebx
je 0x460afd
lea eax, [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [0x515be0]
mov ecx, dword [ebp - 4]
push 0xff
mov edi, 1
push edi
mov dword [0x515c74], ecx
mov dword [0x515dd0], 0x4d2da4
call fcn.00491e51
add esp, 8
push 0xfe
push eax
push str.TEMP
mov dword [0x515dd4], eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov eax, dword [str.SoftwareAdventNetDesktopCentralDCAgentCertificates]
lea edx, [ebp - 4]
push edx
push str.sc_value
push eax
push reloc.OLEAUT32.dll_SysReAllocString
xor esi, esi
mov dword [ebp - 4], ebx
call fcn.00478e50
mov eax, dword [ebp - 4]
add esp, 0x10
cmp eax, ebx
je 0x460b85
push 0x4d01f4
push eax
call fcn.00493c91
add esp, 8
test eax, eax
jne 0x460b75
mov esi, edi
mov eax, dword [ebp - 4]
cmp eax, ebx
je 0x460b85
push eax
call fcn.0048efd8
add esp, 4
push str.ServerRootCertificateInstalled
mov dword [0x515e24], esi
call fcn.0047f250
push str.DSRootCertificateInstalled
mov dword [0x515e18], eax
call fcn.0047f250
add esp, 8
mov dword [0x515e1c], eax
call fcn.0045d000
test eax, eax
je 0x460bce
push str.InitializeAgentParameters_:_Error_while_fetching_Server_details_from_registry___n
call fcn.00423ad0
add esp, 4
pop edi
pop esi
mov eax, 0xd
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [str.SoftwareAdventNetDesktopCentralDCAgent]
push 0x515ca8
push str.EnableDistributionServer
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00478e50
add esp, 0x10
test eax, eax
je 0x460c09
push str.InitializeAgentParameters_:_Error_while_fetching_Master_Agent_entry_from_registry___n
call fcn.00423ad0
add esp, 4
pop edi
pop esi
mov eax, 0xd
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [0x515ca8]
push 0x4d0104
push edx
call fcn.00493c91
add esp, 8
test eax, eax
jne 0x460c43
call fcn.0045d280
test eax, eax
je 0x460c62
push str.InitializeAgentParameters_:_Error_while_fetching_DS_Server_details_from_registry___n
call fcn.00423ad0
add esp, 4
pop edi
pop esi
mov eax, 0xd
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [str.http]
push eax
push 0x513c98
call fcn.0042bfe0
mov ecx, dword [0x515bfc]
add esp, 8
mov dword [0x515cfc], ecx
call fcn.0045fd70
test eax, eax
je 0x460c84
push str.InitializeAgentParameters_:_Error_while_the_local_machine_details____n
call fcn.00423ad0
add esp, 4
pop edi
pop esi
mov eax, 0xd
pop ebx
mov esp, ebp
pop ebp
ret
push 0x513c64
call fcn.0045be10
mov edx, dword [0x513c64]
push 0x4d0104
push edx
call fcn.00493c91
add esp, 0xc
test eax, eax
jne 0x460cc8
call fcn.0045d560
test eax, eax
je 0x460cc8
push str.InitializeAgentParameters_:_Error_while_the_Agent_details____n
call fcn.00423ad0
add esp, 4
pop edi
pop esi
mov eax, 0xd
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00460620
test eax, eax
jne 0x460caf
push str.__n
call fcn.00423db0
mov eax, dword [0x515bf0]
push eax
push str.DesktopCentral_Server_Name____________________s__n
call fcn.00423db0
mov ecx, dword [0x515bf4]
push ecx
push str.DesktopCentral_Server_Flat_Name_______________s__n
call fcn.00423db0
mov edx, dword [0x515c28]
push edx
push str.DesktopCentral_Server_IPAddress_______________s__n
call fcn.00423db0
mov eax, dword [0x515c44]
push eax
push str.DesktopCentral_Server_Secondary_IPAddress_____s__n
call fcn.00423db0
mov ecx, dword [0x515bf8]
push ecx
push str.DesktopCentral_Last_Access_Name_______________s__n
call fcn.00423db0
mov edx, dword [0x515bfc]
push edx
push str.DesktopCentral_Server_Port____________________d__n
call fcn.00423db0
mov eax, dword [str.http]
push eax
push str.DesktopCentral_Server_Protocol________________s__n
call fcn.00423db0
mov ecx, dword [0x515c24]
push ecx
push str.DesktopCentral_Agent_Version__________________s__n
call fcn.00423db0
mov edx, dword [0x515c08]
add esp, 0x44
push edx
push str.DesktopCentral_Agent_InstallDir_______________s__n
call fcn.00423db0
mov eax, dword [0x515c04]
push eax
push str.DesktopCentral_Client_Namespace_______________s__n
call fcn.00423db0
mov ecx, dword [0x515c1c]
push ecx
push str.DesktopCentral_Server_Data_Path_______________s__n
call fcn.00423db0
mov edx, dword [0x515d8c]
push edx
push str.DesktopCentral_MSP_Name_t_______________s__n
call fcn.00423db0
mov eax, dword [0x515d90]
push eax
push str.DesktopCentral_Customer_Name_t_______________s__n
call fcn.00423db0
mov ecx, dword [0x515d94]
push ecx
push str.DesktopCentral_Customer_Id_t_t_______s__n
call fcn.00423db0
mov edx, dword [str.DCEE]
push edx
push str.DesktopCentral_Product_Code___________________s__n
call fcn.00423db0
mov eax, dword [0x515c00]
push eax
push str.Local_Computer_Name___________________________s__n
call fcn.00423db0
mov ecx, dword [0x515c58]
add esp, 0x40
push ecx
push str.Local_Computer_IP_Address_____________________s__n
call fcn.00423db0
mov edx, dword [0x515c5c]
push edx
push str.Local_Computer_MAC_Address____________________s__n
call fcn.00423db0
mov eax, dword [0x515c64]
push eax
push str.Local_Computer_Subnet_Mask____________________s__n
call fcn.00423db0
mov ecx, dword [0x515ca8]
push ecx
push str.DC_Distribution_Server_Enabled________________s__n
call fcn.00423db0
mov edx, dword [0x515c3c]
push edx
push str.The_remote_office_name_is_____________________s__n
call fcn.00423db0
mov eax, dword [0x513c6c]
push eax
push str.DesktopCentral_Agent_HTTP_Request_Timeout_____d__n
call fcn.00423db0
mov ecx, dword [0x515d7c]
push ecx
push str.Local_Computer_Domain_controller______________s__n
call fcn.00423db0
mov edx, dword [0x515bec]
push edx
push str.The_Agent_Machine_Resource_Id_is_given_by_____s__n
call fcn.00423db0
mov eax, dword [0x513cc8]
add esp, 0x40
push eax
push str.Agent_Checksum_Enabled_t_t___________________d__n
call fcn.00423db0
mov ecx, dword [0x513cd0]
push ecx
push str.Agent_Data_Transfer_Rate_in_KBps_t_t_______d__n
call fcn.00423db0
mov edx, dword [0x515d9c]
push edx
push str.Agent_Installation_Source_t_t_t_t_______s__n
call fcn.00423db0
mov eax, dword [0x515da0]
push eax
push str.Agent_Installation_Mode_t_t_t_t_______s__2___silent__5__Manual___n
call fcn.00423db0
mov ecx, dword [0x515e18]
push ecx
push str.Server_Security_Certificate_Installed_t_______d__1___yes__0___No___n
call fcn.00423db0
mov esi, dword [0x515c2c]
add esp, 0x28
cmp esi, ebx
je 0x460f17
mov ecx, 0x4fb68d
mov eax, esi
jmp 0x460ee0
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x460f00
cmp dl, bl
je 0x460efc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x460f00
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x460ee0
xor eax, eax
jmp 0x460f05
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x460f17
push esi
push str.DesktopCentral_Notification_Server_IP_t_______s__n
call fcn.00423db0
add esp, 8
mov eax, dword [0x515c98]
cmp eax, ebx
je 0x460f2e
push eax
push str.DesktopCentral_Notification_Server_Port_______s__n
call fcn.00423db0
add esp, 8
push str.__n
call fcn.00423db0
mov edx, dword [0x515ca8]
push 0x4d0104
push edx
call fcn.00493c91
add esp, 0xc
test eax, eax
jne 0x461000
mov eax, dword [0x515cf0]
push eax
push str.DC_Distribution_Server__Name_______t_t_t____s__n
call fcn.00423db0
mov ecx, dword [0x515cf4]
push ecx
push str.DC_Distribution_Server__IPAddress__t_t_t____s__n
call fcn.00423db0
mov edx, dword [0x515d0c]
push edx
push str.DC_Distribution_Server__Sec_IPAddress__________t_t____s__n
call fcn.00423db0
mov eax, dword [0x515cfc]
push eax
push str.DC_Distribution_Server__Port_______t_t_t____d__n
call fcn.00423db0
mov ecx, dword [0x515d00]
push ecx
push str.DC_Distribution_Server__Last_Access_Name_t_t____s__n
call fcn.00423db0
mov edx, dword [str.http]
push edx
push str.DC_Distribution_Server__Protocol___t_t_t____s__n
call fcn.00423db0
mov eax, dword [0x515d98]
push eax
push str.Remote_Office_ID______________________________s__n
call fcn.00423db0
push str.__n
call fcn.00423db0
add esp, 0x3c
cmp dword [0x515dd8], edi
jne 0x461000
call fcn.0045da40
mov ecx, dword [0x515dd8]
push ecx
push str.Enable_Distribution_Server_Route___________________________d__n
call fcn.00423db0
push str.__n
call fcn.00423db0
add esp, 0xc
call fcn.0045dc40
cmp eax, edi
jne 0x461022
push str.InitializeAgentParameters_:_Computer_is_detected_as_imaged_One_..__n
call fcn.00423db0
add esp, 4
pop edi
pop esi
mov eax, 0x273f
pop ebx
mov esp, ebp
pop ebp
ret
push str.InitializeAgentParameters_:_Computer_is_not_an_imaged_one_..__n
call fcn.00423960
mov eax, dword [str.SoftwareAdventNetDesktopCentralDCAgentAgentFeatures]
lea edx, [ebp - 8]
push edx
push str.CompressionEnable
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00478d80
add esp, 0x14
test eax, eax
jne 0x46106a
cmp dword [ebp - 8], edi
jne 0x461063
push str.gv_compressionEnabled_is_set_as_true_n
call fcn.00423db0
mov dword [0x515c40], edi
jmp 0x46107a
push str.gv_compressionEnabled_is_set_as_false_n
jmp 0x46106f
push str.gv_compressionEnabled_is_set_as_false__default__n
call fcn.00423db0
mov dword [0x515c40], ebx
add esp, 4
call fcn.0045c330
push str._________End_Of_InitializeAgentParameters_Method___________n
call fcn.00423960
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret