Function at 0x409a60
Capabilities:
Delete registry key
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x56c0
call fcn.00415110
mov eax, dword [0x426004]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
mov esi, ecx
push 0x528c
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x56ac]
push ecx
mov dword [ebp - 0x56b8], esi
call fcn.00410190
add esp, 0xc
push esi
push str.SW2_TRACE_LEVEL_INFO
push str.__23s::SW2_WriteComputerProfile__::_s
mov eax, 0x40000
call fcn.0040b690
add esp, 0xc
cmp dword [0x4285c0], 0
je 0x409ae0
push str.SW2_TRACE_LEVEL_INFO::SW2_WriteComputerProfile::XML_PROFILE__NOT_storing_information
mov eax, 0x40000
call fcn.0040b690
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0040f43d
mov esp, ebp
pop ebp
ret
call fcn.0040bd50
test eax, eax
jne 0x409b0e
push str.SW2_TRACE_LEVEL_INFO::SW2_WriteComputerProfile::non_admin_user__NOT_storing_information
mov eax, 0x40000
call fcn.0040b690
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0040f43d
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x56b0]
push edx
push 0x20006
push 0
push str.SOFTWARESecureW2MethodsDefaultProfiles
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x409b4f
mov eax, dword [ebp - 0x56b0]
push str.DataBlob
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ecx, dword [ebp - 0x56b0]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x2a44], 0
je 0x409c10
push str.SOFTWARESecureW2MethodsDefaultProfiles
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov esi, eax
cmp esi, 2
jne 0x409b75
xor esi, esi
push str.SOFTWARESecureW2MethodsDefaultProfiles
lea edx, [ebp - 0x56bc]
lea ecx, [ebp - 0x56b0]
call fcn.0040c2e0
add esp, 4
test eax, eax
jne 0x40a6ea
push 0x200
push eax
lea edx, [ebp - 0x56a6]
push edx
call fcn.00410110
add esp, 0xc
push 0x200
lea eax, [ebp - 0x52a6]
push 0
push eax
call fcn.00410110
add esp, 0xc
push 0x200
lea ecx, [ebp - 0x54a6]
push 0
push ecx
call fcn.00410110
mov eax, dword [ebp - 0x56b0]
add esp, 0xc
push 0x528c
lea edx, [ebp - 0x56ac]
push edx
push str.DataBlob
push eax
mov ecx, 1
call fcn.0040c5c0
mov ecx, dword [ebp - 0x56b0]
add esp, 0x10
push ecx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x40a6ea
push esi
push str.SOFTWARESecureW2MethodsDefaultProfiles
lea edx, [ebp - 0x41c]
push str._s_s
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x41c]
push eax
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov esi, eax
cmp esi, 2
jne 0x409c48
xor esi, esi
jmp 0x409c50
test esi, esi
jne 0x40a6e5
lea ecx, [ebp - 0x41c]
push ecx
lea edx, [ebp - 0x56bc]
lea ecx, [ebp - 0x56b0]
call fcn.0040c2e0
add esp, 4
test eax, eax
jne 0x40a6ea
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 4
lea edx, [ebp - 0x56ac]
push edx
push 3
push eax
mov eax, dword [ebp - 0x56b0]
push str.Version
push eax
call ebx
test eax, eax
je 0x409ca6
push str.SW2_TRACE_LEVEL_ERROR
push str.__23s::SW2_WriteComputerProfile__::failed_to_set_Version
jmp 0x40a478
mov edx, dword [ebp - 0x56b0]
push 1
lea ecx, [ebp - 0x50a4]
push ecx
push 3
push 0
push str.DisableSaveUserCredentials
push edx
call ebx
test eax, eax
je 0x409cd4
push str.SW2_TRACE_LEVEL_ERROR
push str.__23s::SW2_WriteComputerProfile__::failed_to_set_DisableSaveUserCredentials
jmp 0x40a478
mov ecx, dword [ebp - 0x56b0]
push 1
lea eax, [ebp - 0x50a0]
push eax
push 3
push 0
push str.AlwaysSaveUserCredentials
push ecx
call ebx
test eax, eax
je 0x409d02
push str.SW2_TRACE_LEVEL_ERROR
push str.__23s::SW2_WriteComputerProfile__::failed_to_set_AlwaysSaveUserCredentials
jmp 0x40a478
mov eax, dword [ebp - 0x56b0]
push 1
lea edx, [ebp - 0x509c]
push edx
push 3
push 0
push str.HideDomain
push eax
call ebx
test eax, eax
je 0x409d30
push str.SW2_TRACE_LEVEL_ERROR
push str.__23s::SW2_WriteComputerProfile__::failed_to_set_HideDomain
jmp 0x40a478
mov edx, dword [ebp - 0x56b0]
push 1
lea ecx, [ebp - 0x5098]
push ecx
push 3
push 0
push str.HideUnmask
push edx
call ebx
test eax, eax
je 0x409d5e
push str.SW2_TRACE_LEVEL_ERROR
push str.__23s::SW2_WriteComputerProfile__::failed_to_set_HideUnmask
jmp 0x40a478
mov ecx, dword [ebp - 0x56b0]
push 0x200
lea eax, [ebp - 0x5094]
push eax
push 3
push 0
push str.AltUsernameStr
push ecx
call ebx
test eax, eax
je 0x409d8f
push str.SW2_TRACE_LEVEL_ERROR
push str.__23s::SW2_WriteComputerProfile__::failed_to_set_AltUsernameStr
jmp 0x40a478
mov eax, dword [ebp - 0x56b0]
push 0x200
lea edx, [ebp - 0x4e94]
push edx
push 3
push 0
push str.AltPasswordStr
push eax
call ebx
test eax, eax
je 0x409dc0
push str.SW2_TRACE_LEVEL_ERROR
push str.__23s::SW2_WriteComputerProfile__::failed_to_set_AltPasswordStr
jmp 0x40a478
mov edx, dword [ebp - 0x56b0]
push 0x200
lea ecx, [ebp - 0x4c94]
push ecx
push 3
push 0
push str.AltPassword2Str
push edx
call ebx
test eax, eax
je 0x409df1
push str.SW2_TRACE_LEVEL_ERROR
push str.__23s::SW2_WriteComputerProfile__::failed_to_set_AltPassword2Str
jmp 0x40a478
mov ecx, dword [ebp - 0x56b0]
push 0x200
lea eax, [ebp - 0x4a94]
push eax
push 3
push 0
push str.AltRePasswordStr
push ecx
call ebx
test eax, eax
je 0x409e22
push str.SW2_TRACE_LEVEL_ERROR
push str.__23s::SW2_WriteComputerProfile__::failed_to_set_AltRePasswordStr
jmp 0x40a478
mov eax, dword [ebp - 0x56b0]
push 0x200
lea edx, [ebp - 0x4894]
push edx
push 3
push 0
push str.AltDomainStr
push eax
call ebx
test eax, eax
je 0x409e53
push str.SW2_TRACE_LEVEL_ERROR
push str.__23s::SW2_WriteComputerProfile__::failed_to_set_AltDomainStr
jmp 0x40a478
mov edx, dword [ebp - 0x56b0]
push 0x200
lea ecx, [ebp - 0x4694]
push ecx
push 3
push 0
push str.AltCredsTitle
push edx
call ebx
test eax, eax
je 0x409e84
push str.SW2_TRACE_LEVEL_ERROR
push str.__23s::SW2_WriteComputerProfile__::failed_to_set_AltCredsTitle
jmp 0x40a478
mov ecx, dword [ebp - 0x56b0]
push 0x200
lea eax, [ebp - 0x4494]
push eax
push 3
push 0
push str.AltResponseTitle
push ecx
call ebx
test eax, eax
je 0x409eb5
push str.SW2_TRACE_LEVEL_ERROR
push str.__23s::SW2_WriteComputerProfile__::failed_to_set_AltResponseTitle
jmp 0x40a478
mov eax, dword [ebp - 0x56b0]
push 0x200
lea edx, [ebp - 0x3290]
push edx
push 3
push 0
push str.InnerAuth
push eax
call ebx
test eax, eax
je 0x409ee6
push str.SW2_TRACE_LEVEL_ERROR
push str.__23s::SW2_WriteComputerProfile__::failed_to_set_InnerAuth
jmp 0x40a478
mov edx, dword [ebp - 0x56b0]
push 1
lea ecx, [ebp - 0x3090]
push ecx
push 3
push 0
push str.UseAlternateOuterIdentity
push edx
call ebx
test eax, eax
je 0x409f14
push str.SW2_TRACE_LEVEL_ERROR
push str.__23s::SW2_WriteComputerProfile__::failed_to_set_UseAlternateIdentity
jmp 0x40a478
mov ecx, dword [ebp - 0x56b0]
push 1
lea eax, [ebp - 0x308c]
push eax
push 3
push 0
push str.UseAnonymousOuterIdentity
push ecx
call ebx
test eax, eax
je 0x409f42
push str.SW2_TRACE_LEVEL_ERROR
push str.__23s::SW2_WriteComputerProfile__::failed_to_set_UseAnonymousIdentity
jmp 0x40a478
mov eax, dword [ebp - 0x56b0]
push 0x200
lea edx, [ebp - 0x3084]
push edx
push 3
push 0
push str.AlternateOuterIdentity
push eax
call ebx
test eax, eax
je 0x409f73
push str.SW2_TRACE_LEVEL_ERROR
push str.__23s::SW2_WriteComputerProfile__::failed_to_set_AlternateIdentity
jmp 0x40a478
mov edx, dword [ebp - 0x56b0]
push 1
lea ecx, [ebp - 0x2e84]
push ecx
push 3
push 0
push str.VerifyServerCertificate
push edx
call ebx
test eax, eax
je 0x409fa1
push str.SW2_TRACE_LEVEL_ERROR
push str.__23s::SW2_WriteComputerProfile__::failed_to_set_VerifyServerCertificate
jmp 0x40a478
mov ecx, dword [ebp - 0x56b0]
push 1
lea eax, [ebp - 0x2e80]
push eax
push 3
push 0
push str.VerifyServerName
push ecx
call ebx
test eax, eax
je 0x409fcf
push str.SW2_TRACE_LEVEL_ERROR
push str.__23s::SW2_WriteComputerProfile__::failed_to_set_VerifyServerName
jmp 0x40a478
mov eax, dword [ebp - 0x56b0]
push 1
lea edx, [ebp - 0x2e7c]
push edx
push 3
push 0
push str.ServerCertificateLocal
push eax
call ebx
test eax, eax
je 0x409ffd
push str.SW2_TRACE_LEVEL_ERROR
push str.__23s::SW2_WriteComputerProfile__::failed_to_set_ServerCertificateLocal
jmp 0x40a478
mov edx, dword [ebp - 0x56b0]
push 0x200
lea ecx, [ebp - 0x2e78]
push ecx
push 3
push 0
push str.ServerName
push edx
call ebx
test eax, eax
je 0x40a02e
push str.SW2_TRACE_LEVEL_ERROR
push str.__23s::SW2_WriteComputerProfile__::failed_to_set_ServerName
jmp 0x40a478
mov ecx, dword [ebp - 0x56b0]
push 1
lea eax, [ebp - 0x3894]
push eax
push 3
push 0
push str.UseAlternateComputerCred
push ecx
call ebx
test eax, eax
je 0x40a064
push str.failed_to_set_UseAlternateComputerCred
mov eax, 0x10000
call fcn.0040b690
add esp, 4
jmp 0x40a485
mov eax, dword [ebp - 0x56b0]
push 1
lea edx, [ebp - 0x2a6c]
push edx
push 3
push 0
push str.UseUserCredentialsForComputer
push eax
call ebx
test eax, eax
je 0x40a092
push str.SW2_TRACE_LEVEL_ERROR
push str.__23s::SW2_WriteComputerProfile__::failed_to_set_UseUserCredentialsForComputer
jmp 0x40a478
mov edx, dword [ebp - 0x56b0]
push 1
lea ecx, [ebp - 0x2a68]
push ecx
push 3
push 0
push str.UseSessionResumption
push edx
call ebx
test eax, eax
je 0x40a0c0
push str.SW2_TRACE_LEVEL_ERROR
push str.__23s::SW2_WriteComputerProfile__::failed_to_set_UseSessionResumption
jmp 0x40a478
mov ecx, dword [ebp - 0x56b0]
push 1
lea eax, [ebp - 0x2a60]
push eax
push 3
push 0
push str.RenewIP
push ecx
call ebx
test eax, eax
je 0x40a0ee
push str.SW2_TRACE_LEVEL_ERROR
push str.__23s::SW2_WriteComputerProfile__::failed_to_set_RenewIP
jmp 0x40a478
mov eax, dword [ebp - 0x56b0]
push 1
lea edx, [ebp - 0x2a5c]
push edx
push 3
push 0
push str.CheckForMicrosoftExtension
push eax
call ebx
test eax, eax
je 0x40a11c
push str.SW2_TRACE_LEVEL_ERROR
push str.__23s::SW2_WriteComputerProfile__::failed_to_set_VerifyMSExtension
jmp 0x40a478
mov edx, dword [ebp - 0x56b0]
push 4
lea ecx, [ebp - 0x3088]
push ecx
push 3
push 0
push str.UseEmptyOuterIdentity
push edx
call ebx
test eax, eax
je 0x40a14a
push str.SW2_TRACE_LEVEL_ERROR
push str.__23s::SW2_WriteComputerProfile__::failed_to_set_UseEmptyOuterIdentity
jmp 0x40a478
mov ecx, dword [ebp - 0x56b0]
push 1
lea eax, [ebp - 0x2a58]
push eax
push 3
push 0
push str.AllowNewConnections
push ecx
call ebx
test eax, eax
je 0x40a178
push str.SW2_TRACE_LEVEL_ERROR
push str.__23s::SW2_WriteComputerProfile__::failed_to_set_AllowNewConnection
jmp 0x40a478
mov eax, dword [ebp - 0x56b0]
push 1
lea edx, [ebp - 0x2a54]
push edx
push 3
push 0
push str.UseMicrosoftCachedUserData
push eax
call ebx
test eax, eax
je 0x40a1a6
push str.SW2_TRACE_LEVEL_ERROR
push str.__23s::SW2_WriteComputerProfile__::failed_to_set_UseMSCachedUserData
jmp 0x40a478
mov edx, dword [ebp - 0x56b0]
push 1
lea ecx, [ebp - 0x2a50]
push ecx
push 3
push 0
push str.ForceSecureW2UserInterface
push edx
call ebx
test eax, eax
je 0x40a1d4
push str.SW2_TRACE_LEVEL_ERROR
push str.__23s::SW2_WriteComputerProfile__::failed_to_set_ForceSecureW2UserInterface
jmp 0x40a478
mov ecx, dword [ebp - 0x56b0]
push 1
lea eax, [ebp - 0x2a4c]
push eax
push 3
push 0
push str.CheckForSoftwareToken
push ecx
call ebx
test eax, eax
je 0x40a202
push str.SW2_TRACE_LEVEL_ERROR
push str.__23s::SW2_WriteComputerProfile__::failed_to_set_CheckForSoftwareToken
jmp 0x40a478
mov eax, dword [ebp - 0x56b0]
push 1
lea edx, [ebp - 0x2a48]
push edx
push 3
push 0
push str.BypassBalloonNotification
push eax
call ebx
test eax, eax
je 0x40a230
push str.SW2_TRACE_LEVEL_ERROR
push str.__23s::SW2_WriteComputerProfile__::failed_to_set_BypassBalloonNotification
jmp 0x40a478
mov edx, dword [ebp - 0x56b0]
push 1
lea ecx, [ebp - 0x2430]
push ecx
push 3
push 0
push str.InnerEapOptional
push edx
call ebx
test eax, eax
je 0x40a25e
push str.SW2_TRACE_LEVEL_ERROR
push str.__23s::SW2_WriteComputerProfile__::failed_to_set_InnerEapOptional
jmp 0x40a478
mov ecx, dword [ebp - 0x56b0]
push 1
lea eax, [ebp - 0x242c]
push eax
push 3
push 0
push str.EnableQuarantineChecks
push ecx
call ebx
test eax, eax
je 0x40a28c
push str.SW2_TRACE_LEVEL_ERROR
push str.__23s::SW2_WriteComputerProfile__::failed_to_set_EnableQuarantineChecks
jmp 0x40a478
mov eax, dword [ebp - 0x56b0]
push 1
lea edx, [ebp - 0x2428]
push edx
push 3
push 0
push str.RequireCryptoBinding
push eax
call ebx
test eax, eax
je 0x40a2ba
push str.SW2_TRACE_LEVEL_ERROR
push str.__23s::SW2_WriteComputerProfile__::failed_to_set_RequireCryptoBinding
jmp 0x40a478
mov edx, dword [ebp - 0x56b0]
push 1
lea ecx, [ebp - 0x2a64]
push ecx
push 3
push 0
push str.AllowNotifications
push edx
call ebx
test eax, eax
je 0x40a2e8
push str.SW2_TRACE_LEVEL_ERROR
push str.__23s::SW2_WriteComputerProfile__::failed_to_set_AllowNotifications
jmp 0x40a478
mov ecx, dword [ebp - 0x56b0]
push 1
lea eax, [ebp - 0x2a2c]
push eax
push 3
push 0
push str.CurrentInnerEapMethod
push ecx
call ebx
test eax, eax
je 0x40a316
push str.SW2_TRACE_LEVEL_ERROR
push str.__23s::SW2_WriteComputerProfile__::failed_to_set_CurrentInnerEapMethod
jmp 0x40a478
mov eax, dword [ebp - 0x56b0]
push 4
lea edx, [ebp - 0x2a20]
push edx
push 3
push 0
push str.InnerEapAuthorId
push eax
call ebx
test eax, eax
je 0x40a344
push str.SW2_TRACE_LEVEL_ERROR
push str.__23s::SW2_WriteComputerProfile__::failed_to_set_InnerEapAuthorid
jmp 0x40a478
mov ecx, dword [ebp - 0x2a2c]
mov edx, dword [ebp - 0x2a28]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebp - 0x2a24]
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x2a20]
mov dword [eax + 8], ecx
mov ecx, dword [ebp - 0x56b8]
mov dword [eax + 0xc], edx
mov eax, dword [ebp - 0x424]
push eax
lea edi, [ebp - 0x2424]
call fcn.0040ab20
add esp, 0x14
test eax, eax
jne 0x40a485
mov edx, dword [ebp - 0x56b0]
push 0x200
lea ecx, [ebp - 0x2a1c]
push ecx
push 3
push eax
push str.CurrentProfileId
push edx
call ebx
test eax, eax
je 0x40a3bf
push str.SW2_TRACE_LEVEL_ERROR
push str.__23s::SW2_WriteComputerProfile__::failed_to_set_CurrentProfileId
jmp 0x40a478
mov ecx, dword [ebp - 0x56b0]
push 0x200
lea eax, [ebp - 0x4094]
push eax
push 3
push 0
push str.ProfileDescription
push ecx
call ebx
test eax, eax
je 0x40a3f0
push str.SW2_TRACE_LEVEL_ERROR
push str.__23s::SW2_WriteComputerProfile__::failed_to_set_ProfileDescription
jmp 0x40a478
mov eax, dword [ebp - 0x56b0]
push 0x200
lea edx, [ebp - 0x3e94]
push edx
push 3
push 0
push str.ProfileDescription2
push eax
call ebx
test eax, eax
je 0x40a41e
push str.SW2_TRACE_LEVEL_ERROR
push str.__23s::SW2_WriteComputerProfile__::failed_to_set_ProfileDescription2
jmp 0x40a478
mov edx, dword [ebp - 0x56b0]
push 0x200
lea ecx, [ebp - 0x3c94]
push ecx
push 3
push 0
push str.HelpURL
push edx
call ebx
test eax, eax
je 0x40a44c
push str.SW2_TRACE_LEVEL_ERROR
push str.__23s::SW2_WriteComputerProfile__::failed_to_set_HelpURL
jmp 0x40a478
mov ecx, dword [ebp - 0x56b0]
push 0x200
lea eax, [ebp - 0x3a94]
push eax
push 3
push 0
push str.HelpCaption
push ecx
call ebx
test eax, eax
je 0x40a485
push str.SW2_TRACE_LEVEL_ERROR
push str.__23s::SW2_WriteComputerProfile__::failed_to_set_HelpCaption
mov eax, 0x10000
call fcn.0040b690
add esp, 8
mov eax, 0x528c
lea esi, [ebp - 0x56ac]
call fcn.00415110
mov ecx, 0x14a3
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x56b8]
call fcn.00409250
mov esi, eax
mov eax, dword [ebp - 0x56b8]
add esp, 0x528c
mov ecx, str.EAPHOSTXML
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40a4e6
test dx, dx
je 0x40a4e2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40a4e6
add eax, 4
add ecx, 4
test dx, dx
jne 0x40a4c0
xor eax, eax
jmp 0x40a4eb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40a6bf
mov edx, dword [ebp - 0x56b8]
push edx
push str.SOFTWARESecureW2MethodsDefaultProfiles
lea eax, [ebp - 0x41c]
push str._s_sCredentials
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
lea ecx, [ebp - 0x41c]
push ecx
lea edx, [ebp - 0x56bc]
lea ecx, [ebp - 0x56b4]
call fcn.0040c000
add esp, 0x14
test eax, eax
jne 0x40a6d6
test esi, esi
jne 0x40a6a3
cmp dword [ebp - 0x2a6c], esi
je 0x40a60e
cmp dword [ebp - 0x3894], esi
jne 0x40a60e
lea eax, [ebp - 0x56a6]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40a560
sub eax, edx
sar eax, 1
je 0x40a60e
lea edx, [ebp - 0x56a6]
push edx
push str.SW2_TRACE_LEVEL_DEBUG
push str.__23s::SW2_WriteComputerProfile__::copying_userinfo_to_computerinfo:__s
mov eax, 0x80000
call fcn.0040b690
add esp, 0xc
push 0x200
lea eax, [ebp - 0x3890]
push 0
push eax
call fcn.00410110
add esp, 0xc
mov ecx, 0x80
lea esi, [ebp - 0x56a6]
lea edi, [ebp - 0x3890]
push 0x200
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x3690]
push 0
push ecx
call fcn.00410110
add esp, 0xc
push 0x200
lea edx, [ebp - 0x3490]
push 0
mov ecx, 0x80
lea esi, [ebp - 0x54a6]
lea edi, [ebp - 0x3690]
push edx
rep movsd dword es:[edi], dword [esi]
call fcn.00410110
mov ecx, 0x80
lea esi, [ebp - 0x52a6]
lea edi, [ebp - 0x3490]
add esp, 0xc
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x56b4]
push 0x200
lea eax, [ebp - 0x3890]
push eax
push 2
push 0
push str.CompName
push ecx
call ebx
mov esi, eax
test esi, esi
je 0x40a63e
push str.SW2_TRACE_LEVEL_ERROR
push str.__23s::SW2_WriteComputerProfile__::failed_to_set_CompName
jmp 0x40a696
mov eax, dword [ebp - 0x56b4]
push 0x200
lea edx, [ebp - 0x3690]
push edx
push str.CompPassword
push eax
mov ecx, 1
call fcn.0040c5c0
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x40a6a3
mov edx, dword [ebp - 0x56b4]
push 0x200
lea ecx, [ebp - 0x3490]
push ecx
push 2
push eax
push str.CompDomain
push edx
call ebx
mov esi, eax
test esi, esi
je 0x40a6a3
push str.SW2_TRACE_LEVEL_ERROR
push str.__23s::SW2_WriteComputerProfile__::failed_to_set_CompDomain
mov eax, 0x10000
call fcn.0040b690
add esp, 8
mov eax, dword [ebp - 0x56b4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x56b0]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x40a6ea
push str.SW2_TRACE_LEVEL_INFO
push str.__23s::SW2_WriteComputerProfile__::EAPHOSTXML_profile_found__computer_credentials_are_ignored
mov eax, 0x40000
call fcn.0040b690
add esp, 8
mov ecx, dword [ebp - 0x56b0]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x40a6ea
mov esi, 0x3f3
push esi
push str.SW2_TRACE_LEVEL_INFO
push str.__23s::SW2_WriteComputerProfile__::returning__ld
mov eax, 0x40000
call fcn.0040b690
mov ecx, dword [ebp - 8]
add esp, 0xc
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040f43d
mov esp, ebp
pop ebp
ret