Function at 0x473640
Capabilities:
Contain obfuscated stackstrings
Get common file path
Get session user name

Disassembly:
push 0xffffffffffffffff
push 0x4edab0
mov eax, dword fs:[0]
push eax
mov eax, 0x1c94
call fcn.004e03c0
mov eax, dword [0x53fa2c]
xor eax, esp
mov dword [esp + 0x1c90], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x53fa2c]
xor eax, esp
push eax
lea eax, [esp + 0x1ca8]
mov dword fs:[0], eax
mov esi, dword [sym.imp.MSVCR90.dll_sprintf]
push str.tc_ad.dll
push 0x10da2e0
mov edi, ecx
push 0x5027d8
push 0x729770
mov dword [esp + 0x60], edi
call esi
push str.tc_ad.dll
push 0x10da2e0
push str._s__x86__s
push 0x729970
call esi
and dword [0x103a360], 7
add esp, 0x20
cmp dword [0x53f200], 0x600
jge 0x4736dc
mov dword [0x103a984], 0
jmp 0x4737ad
push 0
push str.EnableLUA
push str.SoftwareMicrosoftWindowsCurrentVersionPoliciesSystem
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00491d40
add esp, 0x10
mov dword [0x103a984], eax
test eax, eax
je 0x4737ad
push 0
push str.PromptOnSecureDesktop
push str.SoftwareMicrosoftWindowsCurrentVersionPoliciesSystem
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00491ff0
push 0
push str.ConsentPromptBehaviorAdmin
push str.SoftwareMicrosoftWindowsCurrentVersionPoliciesSystem
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00491ff0
push 0x1ff
lea eax, [esp + 0x4c9]
push 0
push eax
mov byte [esp + 0x4d0], 0
call sub.MSVCR90.dll_memset
push 0x1ff
lea ecx, [esp + 0x2d5]
push 0
push ecx
mov byte [esp + 0x2dc], 0
call sub.MSVCR90.dll_memset
add esp, 0x38
lea edx, [esp + 0x2a4]
push edx
push 0x200
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [esp + 0x2a4]
push eax
lea ecx, [esp + 0x4a8]
push str._sLowTC_LOG
push ecx
call esi
lea edx, [esp + 0x2b0]
push edx
lea eax, [esp + 0x4b4]
push str._sTC_LOG
push eax
call esi
add esp, 0x18
push 0x4b0
lea ecx, [edi + 0x359c4]
push 0
push ecx
call sub.MSVCR90.dll_memset
lea edx, [edi + 0x35e10]
push edx
lea eax, [edi + 0x35dac]
push eax
call fcn.00496600
push 0
push str.tc_DELTOOLBAR
push str.SOFTWARETrojanCutTC_Env_tc_CLIENT
push reloc.OLEAUT32.dll_SysReAllocString
mov byte [0x10da2ba], al
call fcn.00491d40
push 0x1000
lea ecx, [esp + 0x8cc]
push ecx
push str.TC_User_name
push str.SOFTWARETrueCut_tc_INSTALL
push reloc.OLEAUT32.dll_SysReAllocString
mov ebp, eax
call fcn.00491b30
add esp, 0x38
cmp eax, 0xffffffff
jne 0x473821
mov byte [esp + 0x8a4], 0
lea edx, [esp + 0x8a4]
push edx
lea ecx, [esp + 0x84]
call dword [sym.imp.mfc90.dll_Ordinal_310]
mov dword [esp + 0x1cb0], 0
push 0x512ee8
lea ecx, [esp + 0x84]
call dword [sym.imp.mfc90.dll_Ordinal_1603]
test eax, eax
jne 0x47388c
push 0x5116d8
push str.TC_User_name
push str.SOFTWARETrueCut_tc_INSTALL
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00491e90
push 0x5116d8
push str.TC_User_office
push str.SOFTWARETrueCut_tc_INSTALL
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00491e90
add esp, 0x20
push str.________________
mov ecx, 0x103abf8
call dword [sym.imp.mfc90.dll_Ordinal_820]
xor bl, bl
test byte [0x10389dc], 3
je 0x4738d1
push str.user_ad
mov ecx, 0x103add4
call dword [sym.imp.mfc90.dll_Ordinal_1603]
test eax, eax
je 0x4738cf
push str.ad_query
mov ecx, 0x103add4
call dword [sym.imp.mfc90.dll_Ordinal_1603]
test eax, eax
jne 0x4738d1
mov bl, 1
test ebp, 0x20800000
jne 0x4738e1
test bl, bl
je 0x47470d
push 0x1ff
lea eax, [esp + 0x6a9]
push 0
push eax
mov byte [esp + 0x6b0], 0
call sub.MSVCR90.dll_memset
push 0x1ff
lea ecx, [esp + 0x2b5]
push 0
push ecx
mov byte [esp + 0x2bc], 0
call sub.MSVCR90.dll_memset
push 0x1ff
lea edx, [esp + 0x1ac1]
push 0
push edx
mov byte [esp + 0x1ac8], 0
call sub.MSVCR90.dll_memset
push 0x1ff
lea eax, [esp + 0x4cd]
push 0
push eax
mov byte [esp + 0x4d4], 0
call sub.MSVCR90.dll_memset
mov edi, 0x200
add esp, 0x30
lea ecx, [esp + 0x6c]
mov dword [esp + 0x54], edi
call sub.mfc90.dll_Ordinal_580
mov byte [esp + 0x1cb0], 1
lea ecx, [esp + 0x2c]
call dword [sym.imp.mfc90.dll_Ordinal_316]
mov byte [esp + 0x1cb0], 2
lea ecx, [esp + 0x38]
call dword [sym.imp.mfc90.dll_Ordinal_316]
mov byte [esp + 0x1cb0], 3
lea ecx, [esp + 0x28]
call dword [sym.imp.mfc90.dll_Ordinal_316]
mov byte [esp + 0x1cb0], 4
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90.dll_Ordinal_316]
mov byte [esp + 0x1cb0], 5
lea ecx, [esp + 0x64]
call dword [sym.imp.mfc90.dll_Ordinal_316]
mov byte [esp + 0x1cb0], 6
lea ecx, [esp + 0x34]
call dword [sym.imp.mfc90.dll_Ordinal_316]
mov byte [esp + 0x1cb0], 7
lea ecx, [esp + 0x3c]
call dword [sym.imp.mfc90.dll_Ordinal_316]
mov byte [esp + 0x1cb0], 8
lea ecx, [esp + 0x30]
call dword [sym.imp.mfc90.dll_Ordinal_316]
mov byte [esp + 0x1cb0], 9
lea ecx, [esp + 0x44]
call dword [sym.imp.mfc90.dll_Ordinal_316]
mov byte [esp + 0x1cb0], 0xa
lea ecx, [esp + 0x48]
call dword [sym.imp.mfc90.dll_Ordinal_316]
mov byte [esp + 0x1cb0], 0xb
lea ecx, [esp + 0x54]
push ecx
lea edx, [esp + 0x2a8]
push edx
push 7
call sub.Secur32.dll_GetUserNameExA
lea eax, [esp + 0x54]
mov dword [esp + 0x54], edi
push eax
lea ecx, [esp + 0x6a8]
push ecx
push 1
call sub.Secur32.dll_GetUserNameExA
lea edx, [esp + 0x54]
push edx
lea eax, [esp + 0x4a8]
push eax
push 3
mov dword [esp + 0x60], edi
call sub.Secur32.dll_GetUserNameExA
xor eax, eax
jmp 0x473a70
mov cl, byte [esp + eax + 0x6a4]
mov byte [esp + eax + 0x1aa4], cl
inc eax
test cl, cl
jne 0x473a70
xor ebx, ebx
push ebx
push str.tc_Protocol
push str.SOFTWARETrojanCutTC_Env_tc_COMMUNICATION
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00491d40
add esp, 0x10
mov edi, eax
test ebp, 0x20000000
jne 0x473c70
push str.ad_query
mov ecx, 0x103add4
call dword [sym.imp.mfc90.dll_Ordinal_1603]
test eax, eax
je 0x473c70
push ebx
push ecx
lea edx, [esp + 0x2ac]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call dword [sym.imp.mfc90.dll_Ordinal_310]
mov byte [esp + 0x1cb8], 0x17
lea eax, [esp + 0x74]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push 0x502dec
call dword [sym.imp.mfc90.dll_Ordinal_310]
mov byte [esp + 0x1cc0], 0x18
mov byte [esp + 0x1cc0], 0xb
call fcn.004d90e0
mov eax, dword [esp + 0x84]
add esp, 0x10
cmp eax, 2
jge 0x473b70
push ebx
push ecx
lea edx, [esp + 0x2ac]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call dword [sym.imp.mfc90.dll_Ordinal_310]
mov byte [esp + 0x1cb8], 0x19
lea eax, [esp + 0x74]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push 0x4ff418
call dword [sym.imp.mfc90.dll_Ordinal_310]
mov byte [esp + 0x1cc0], 0x1a
mov byte [esp + 0x1cc0], 0xb
call fcn.004d90e0
mov eax, dword [esp + 0x84]
add esp, 0x10
cmp eax, 1
jle 0x473bb2
cmp eax, ebx
jg 0x473b7e
call sub.mfc90.dll_Ordinal_1252
mov ecx, dword [esp + 0x70]
push ecx
lea ecx, [esp + 0x24]
call dword [sym.imp.mfc90.dll_Ordinal_817]
mov ecx, dword [esp + 0x74]
lea eax, [ecx - 1]
cmp eax, ebx
jl 0x473b79
cmp eax, ecx
jge 0x473b79
mov edx, dword [esp + 0x70]
lea eax, [edx + eax*4]
push eax
lea ecx, [esp + 0x3c]
call dword [sym.imp.mfc90.dll_Ordinal_817]
mov eax, dword [esp + 0x74]
lea ecx, [eax - 2]
cmp ecx, ebx
jle 0x473bd3
cmp ecx, eax
jge 0x473b79
mov eax, dword [esp + 0x70]
lea ecx, [eax + ecx*4]
push ecx
lea ecx, [esp + 0x38]
call dword [sym.imp.mfc90.dll_Ordinal_817]
mov eax, dword [esp + 0x74]
lea ecx, [eax - 3]
cmp ecx, ebx
jle 0x473bf4
cmp ecx, eax
jge 0x473b79
mov edx, dword [esp + 0x70]
lea ecx, [edx + ecx*4]
push ecx
lea ecx, [esp + 0x40]
call dword [sym.imp.mfc90.dll_Ordinal_817]
mov eax, dword [esp + 0x74]
lea ecx, [eax - 4]
cmp ecx, ebx
jle 0x473c19
cmp ecx, eax
jge 0x473b79
mov eax, dword [esp + 0x70]
lea ecx, [eax + ecx*4]
push ecx
lea ecx, [esp + 0x34]
call dword [sym.imp.mfc90.dll_Ordinal_817]
mov eax, dword [esp + 0x74]
lea ecx, [eax - 5]
cmp ecx, ebx
jle 0x473c3e
cmp ecx, eax
jge 0x473b79
mov edx, dword [esp + 0x70]
lea ecx, [edx + ecx*4]
push ecx
lea ecx, [esp + 0x48]
call dword [sym.imp.mfc90.dll_Ordinal_817]
mov eax, dword [esp + 0x74]
lea ecx, [eax - 6]
cmp ecx, ebx
jle 0x4742db
test ecx, ecx
jl 0x473b79
cmp ecx, eax
jge 0x473b79
mov eax, dword [esp + 0x70]
lea ecx, [eax + ecx*4]
push ecx
lea ecx, [esp + 0x4c]
call dword [sym.imp.mfc90.dll_Ordinal_817]
jmp 0x4742db
push 0x1ff
lea ecx, [esp + 0x18a9]
push ebx
push ecx
mov byte [esp + 0x18b0], 0
call sub.MSVCR90.dll_memset
lea edx, [esp + 0x6b0]
push edx
lea eax, [esp + 0x18b4]
push str.LDAP:___s
push eax
call esi
add esp, 0x18
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
mov esi, dword [sym.imp.OLEAUT32.dll_VariantClear]
lea ecx, [esp + 0x84]
push ecx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x50], ebx
call esi
lea edx, [esp + 0x94]
push edx
call esi
push 3
lea ecx, [esp + 0x18a8]
lea eax, [esp + 0xac]
push ecx
lea ecx, [esp + 0xac]
mov dword [esp + 0xac], eax
call fcn.0041cfe0
mov byte [esp + 0x1cb0], 0xc
mov eax, dword [esp + 0xa4]
lea edx, [esp + 0x1c]
push edx
push 0x523130
push eax
call sub.ACTIVEDS.dll_ADsGetObject
mov esi, eax
mov byte [esp + 0x1cb0], 0xb
mov eax, dword [esp + 0xa4]
lea ecx, [esp + 0xa8]
cmp eax, ecx
je 0x473d4b
push eax
call dword [sym.imp.MSVCR90.dll_free]
add esp, 4
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantCopy]
test esi, esi
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
jl 0x4742ac
mov eax, dword [esp + 0x1c]
mov edx, dword [eax]
mov edx, dword [edx]
lea ecx, [esp + 0x68]
push ecx
push 0x523120
push eax
call edx
test eax, eax
jl 0x4742ac
mov eax, dword [esp + 0x68]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x34]
push eax
call edx
mov eax, dword [esp + 0x68]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp edi, 5
jb 0x473f7d
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push str.Department
call dword [sym.imp.mfc90.dll_Ordinal_310]
mov byte [esp + 0x1cb4], 0xd
mov eax, dword [esp + 0x20]
push eax
lea ecx, [esp + 0x20]
push ecx
mov byte [esp + 0x1cbc], 0xb
call fcn.0046ed00
add esp, 0xc
mov byte [esp + 0x1cb0], 0xe
push eax
lea ecx, [esp + 0x30]
call dword [sym.imp.mfc90.dll_Ordinal_817]
mov byte [esp + 0x1cb0], 0xb
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90.dll_Ordinal_601]
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push str.displayname
call dword [sym.imp.mfc90.dll_Ordinal_310]
mov byte [esp + 0x1cb4], 0xf
mov edx, dword [esp + 0x20]
push edx
lea eax, [esp + 0x20]
push eax
mov byte [esp + 0x1cbc], 0xb
call fcn.0046ed00
add esp, 0xc
mov byte [esp + 0x1cb0], 0x10
push eax
lea ecx, [esp + 0x3c]
call dword [sym.imp.mfc90.dll_Ordinal_817]
mov byte [esp + 0x1cb0], 0xb
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90.dll_Ordinal_601]
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push str.company
call dword [sym.imp.mfc90.dll_Ordinal_310]
mov byte [esp + 0x1cb4], 0x11
mov ecx, dword [esp + 0x20]
push ecx
lea edx, [esp + 0x20]
push edx
mov byte [esp + 0x1cbc], 0xb
call fcn.0046ed00
add esp, 0xc
mov byte [esp + 0x1cb0], 0x12
push eax
lea ecx, [esp + 0x2c]
call dword [sym.imp.mfc90.dll_Ordinal_817]
mov byte [esp + 0x1cb0], 0xb
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90.dll_Ordinal_601]
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push str.userPrincipalName
call dword [sym.imp.mfc90.dll_Ordinal_310]
mov byte [esp + 0x1cb4], 0x13
mov eax, dword [esp + 0x20]
push eax
lea ecx, [esp + 0x20]
push ecx
mov byte [esp + 0x1cbc], 0xb
call fcn.0046ed00
add esp, 0xc
mov byte [esp + 0x1cb0], 0x14
push eax
lea ecx, [esp + 0x68]
call dword [sym.imp.mfc90.dll_Ordinal_817]
mov byte [esp + 0x1cb0], 0xb
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov edx, dword [esp + 0x64]
push 0x512e6c
push edx
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
inc eax
push eax
lea ecx, [esp + 0x24]
call dword [sym.imp.mfc90.dll_Ordinal_820]
mov eax, dword [esp + 0x2c]
push eax
push str.Department__s_
push 8
call fcn.0043d500
mov ecx, dword [esp + 0x44]
push ecx
push str.displayname___Login_ID__s_
push 8
call fcn.0043d500
mov edx, dword [esp + 0x40]
push edx
push str.company__s_
push 8
call fcn.0043d500
mov eax, dword [esp + 0x88]
push eax
push str.userPrincipalName__s_
push 8
call fcn.0043d500
mov ecx, dword [esp + 0x50]
push ecx
push str.DC__s_
push 8
call fcn.0043d500
add esp, 0x3c
jmp 0x4742ac
push str.Department
lea ecx, [esp + 0x1c]
call fcn.00402d00
mov byte [esp + 0x1cb0], 0x15
mov eax, dword [eax]
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
lea edi, [esp + 0x84]
push edi
push 3
push eax
mov eax, dword [edx + 0x30]
push ecx
call eax
mov edi, eax
mov byte [esp + 0x1cb0], 0xb
mov ecx, dword [esp + 0x18]
push ecx
call esi
test edi, edi
jl 0x4742ac
mov eax, dword [esp + 0x8c]
mov edx, dword [eax]
mov edx, dword [edx]
lea ecx, [esp + 0x60]
push ecx
push 0x523140
push eax
call edx
mov edi, eax
lea eax, [esp + 0x84]
push eax
call ebx
test edi, edi
jl 0x4742ac
mov eax, dword [esp + 0x60]
mov ecx, dword [eax]
lea edx, [esp + 0x84]
push edx
push eax
mov eax, dword [ecx + 0x38]
call eax
test eax, eax
jl 0x4742ac
mov eax, dword [esp + 0x8c]
mov ebp, dword [sym.imp.OLEAUT32.dll_SafeArrayLock]
lea ecx, [esp + 0x5c]
push ecx
push 1
push eax
mov edi, eax
call ebp
lea edx, [esp + 0x4c]
push edx
push 1
push edi
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetLBound]
push 0x1ff
lea eax, [esp + 0xa9]
push 0
push eax
mov byte [esp + 0xb0], 0
call sub.MSVCR90.dll_memset
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x68]
inc ecx
add esp, 0xc
cmp eax, ecx
mov dword [esp + 0x24], eax
jge 0x474124
jmp 0x474070
lea edx, [esp + 0x94]
push edx
lea eax, [esp + 0x28]
push eax
push edi
call dword [sym.imp.OLEAUT32.dll_SafeArrayPutElement]
mov eax, dword [esp + 0x9c]
mov ecx, dword [eax]
lea edx, [esp + 0x58]
push edx
push 0x5231c0
push eax
mov eax, dword [ecx]
call eax
test eax, eax
jl 0x4742ac
mov eax, dword [esp + 0x58]
mov ecx, dword [eax]
lea edx, [esp + 0x40]
push edx
push eax
mov eax, dword [ecx + 0x38]
call eax
test eax, eax
jl 0x4742ac
mov edx, dword [esp + 0x40]
push 0
push 0
push 0x200
lea ecx, [esp + 0xb0]
push ecx
push 0xffffffffffffffff
push edx
push 0
push 0
call fcn.004dece0
lea eax, [esp + 0xc4]
push eax
push str.TC_Section
push str.SOFTWARETrueCut_tc_INSTALL
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00491e90
mov ecx, dword [esp + 0x70]
add esp, 0x30
push ecx
call esi
lea edx, [esp + 0x94]
push edx
call ebx
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x4c]
inc eax
inc ecx
cmp eax, ecx
mov dword [esp + 0x24], eax
jl 0x474070
push str.displayname
lea ecx, [esp + 0x1c]
call fcn.00402d00
mov byte [esp + 0x1cb0], 0x16
mov eax, dword [eax]
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
lea edi, [esp + 0x84]
push edi
push 3
push eax
mov eax, dword [edx + 0x30]
push ecx
call eax
mov edi, eax
mov byte [esp + 0x1cb0], 0xb
mov ecx, dword [esp + 0x18]
push ecx
call esi
mov eax, dword [esp + 0x1c]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [esp + 0x1c], 0
test edi, edi
jl 0x4742ac
mov eax, dword [esp + 0x8c]
mov ecx, dword [eax]
lea edx, [esp + 0x60]
push edx
push 0x523140
push eax
mov eax, dword [ecx]
call eax
lea ecx, [esp + 0x84]
push ecx
mov edi, eax
call ebx
test edi, edi
jl 0x4742ac
mov eax, dword [esp + 0x60]
mov edx, dword [eax]
mov edx, dword [edx + 0x38]
lea ecx, [esp + 0x84]
push ecx
push eax
call edx
test eax, eax
jl 0x4742ac
mov eax, dword [esp + 0x8c]
lea ecx, [esp + 0x5c]
push ecx
push 1
push eax
mov edi, eax
call ebp
lea edx, [esp + 0x4c]
push edx
push 1
push edi
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetLBound]
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x5c]
inc ecx
cmp eax, ecx
mov dword [esp + 0x18], eax
jge 0x4742ac
mov ebp, dword [sym.imp.OLEAUT32.dll_SafeArrayPutElement]
lea edx, [esp + 0x94]
push edx
lea eax, [esp + 0x1c]
push eax
push edi
call ebp
mov eax, dword [esp + 0x9c]
mov ecx, dword [eax]
lea edx, [esp + 0x58]
push edx
push 0x5231c0
push eax
mov eax, dword [ecx]
call eax
test eax, eax
jl 0x4742ac
mov eax, dword [esp + 0x58]
mov ecx, dword [eax]
lea edx, [esp + 0x40]
push edx
push eax
mov eax, dword [ecx + 0x38]
call eax
test eax, eax
jl 0x4742ac
mov edx, dword [esp + 0x40]
push 0
push 0
push 0x200
lea ecx, [esp + 0xb0]
push ecx
push 0xffffffffffffffff
push edx
push 0
push 0
call fcn.004dece0
lea eax, [esp + 0xc4]
push eax
push str.TC_User_name
push str.SOFTWARETrueCut_tc_INSTALL
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00491e90
mov ecx, dword [esp + 0x70]
add esp, 0x30
push ecx
call esi
lea edx, [esp + 0x94]
push edx
call ebx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x4c]
inc eax
inc ecx
cmp eax, ecx
mov dword [esp + 0x18], eax
jl 0x474204
mov eax, dword [esp + 0x40]
test eax, eax
je 0x4742b7
push eax
call esi
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4742c7
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
lea ecx, [esp + 0x94]
push ecx
call ebx
lea edx, [esp + 0x84]
push edx
call ebx
lea eax, [esp + 0x2a4]
push eax
push str.NameCanonical__s_
push 8
call fcn.0043d500
lea ecx, [esp + 0x1ab0]
push ecx
push str.NameFullyQualifiedDN__s_
push 8
call fcn.0043d500
lea edx, [esp + 0x4bc]
push edx
push str.NameFullyQualifiedDN__s_
push 8
call fcn.0043d500
push 0
push str.tc_Sierra
push str.SOFTWARETrojanCutTC_Env_tc_CLIENT
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00491d40
mov ebx, eax
add esp, 0x34
lea eax, [esp + 0x4a4]
push eax
lea ecx, [esp + 0x3c]
call dword [sym.imp.mfc90.dll_Ordinal_820]
push 0x512de0
push 0x502ba4
lea ecx, [esp + 0x40]
call dword [sym.imp.mfc90.dll_Ordinal_5924]
mov ecx, dword [esp + 0x38]
push ecx
push str.TC_User_name
push str.SOFTWARETrueCut_tc_INSTALL
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00491e90
add esp, 0x10
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90.dll_Ordinal_4481]
push 0x512de0
push 0x502ba4
lea ecx, [esp + 0x28]
call dword [sym.imp.mfc90.dll_Ordinal_5924]
push 0x512de0
push 0x502ba4
lea ecx, [esp + 0x3c]
call dword [sym.imp.mfc90.dll_Ordinal_5924]
push 0x512de0
push 0x502ba4
lea ecx, [esp + 0x44]
call dword [sym.imp.mfc90.dll_Ordinal_5924]
push 0x512de0
push 0x502ba4
lea ecx, [esp + 0x38]
call dword [sym.imp.mfc90.dll_Ordinal_5924]
push 0x512de0
push 0x502ba4
lea ecx, [esp + 0x4c]
call dword [sym.imp.mfc90.dll_Ordinal_5924]
push 0x512de0
push 0x502ba4
lea ecx, [esp + 0x50]
call dword [sym.imp.mfc90.dll_Ordinal_5924]
push 0x512de0
push 0x502ba4
lea ecx, [esp + 0x30]
call dword [sym.imp.mfc90.dll_Ordinal_5924]
push 0x512de0
push 0x502ba4
lea ecx, [esp + 0x34]
call dword [sym.imp.mfc90.dll_Ordinal_5924]
push 0x512dd0
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x20]
push eax
call fcn.00402a60
add esp, 0xc
mov byte [esp + 0x1cb0], 0x1b
push eax
mov ecx, 0x103abf8
call dword [sym.imp.mfc90.dll_Ordinal_817]
mov byte [esp + 0x1cb0], 0xb
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0x34]
call dword [sym.imp.mfc90.dll_Ordinal_4481]
lea ecx, [esp + 0x3c]
call dword [sym.imp.mfc90.dll_Ordinal_4481]
lea ecx, [esp + 0x30]
call dword [sym.imp.mfc90.dll_Ordinal_4481]
lea ecx, [esp + 0x44]
call dword [sym.imp.mfc90.dll_Ordinal_4481]
lea ecx, [esp + 0x48]
call dword [sym.imp.mfc90.dll_Ordinal_4481]
lea ecx, [esp + 0x28]
call dword [sym.imp.mfc90.dll_Ordinal_4481]
lea ecx, [esp + 0x2c]
call dword [sym.imp.mfc90.dll_Ordinal_4481]
test bl, bl
jns 0x4744ac
mov ecx, dword [esp + 0x20]
push ecx
jmp 0x474513
mov eax, ebx
shr eax, 0x10
and eax, 0xf
cmp eax, 1
jne 0x4744c0
mov edx, dword [esp + 0x34]
push edx
jmp 0x474513
cmp eax, 2
jne 0x4744cc
mov eax, dword [esp + 0x3c]
push eax
jmp 0x474513
cmp eax, 3
jne 0x4744d8
mov ecx, dword [esp + 0x30]
push ecx
jmp 0x474513
cmp eax, 4
jne 0x4744e4
mov edx, dword [esp + 0x44]
push edx
jmp 0x474513
cmp eax, 5
jne 0x4744f0
mov eax, dword [esp + 0x48]
push eax
jmp 0x474513
test ebx, 0x100
je 0x4744ff
mov ecx, dword [esp + 0x28]
push ecx
jmp 0x474513
test ebx, 0x200
je 0x47450e
mov edx, dword [esp + 0x2c]
push edx
jmp 0x474513
push 0x5116d8
push str.TC_Section
push str.SOFTWARETrueCut_tc_INSTALL
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00491e90
add esp, 0x10
test ebx, 0x400
je 0x474539
mov eax, dword [esp + 0x20]
push eax
jmp 0x4745a0
mov eax, ebx
shr eax, 0x14
and eax, 0xf
cmp eax, 1
jne 0x47454d
mov ecx, dword [esp + 0x34]
push ecx
jmp 0x4745a0
cmp eax, 2
jne 0x474559
mov edx, dword [esp + 0x3c]
push edx
jmp 0x4745a0
cmp eax, 3
jne 0x474565
mov eax, dword [esp + 0x30]
push eax
jmp 0x4745a0
cmp eax, 4
jne 0x474571
mov ecx, dword [esp + 0x44]
push ecx
jmp 0x4745a0
cmp eax, 5
jne 0x47457d
mov edx, dword [esp + 0x48]
push edx
jmp 0x4745a0
test ebx, 0x800
je 0x47458c
mov eax, dword [esp + 0x28]
push eax
jmp 0x4745a0
test ebx, 0x1000
je 0x47459b
mov ecx, dword [esp + 0x2c]
push ecx
jmp 0x4745a0
push 0x5116d8
push str.TC_Org
push str.SOFTWARETrueCut_tc_INSTALL
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00491e90
add esp, 0x10
test ebx, 0x2000
je 0x4745c6
mov edx, dword [esp + 0x20]
push edx
jmp 0x47462d
mov eax, ebx
shr eax, 0x18
and eax, 0xf
cmp eax, 1
jne 0x4745da
mov eax, dword [esp + 0x34]
push eax
jmp 0x47462d
cmp eax, 2
jne 0x4745e6
mov ecx, dword [esp + 0x3c]
push ecx
jmp 0x47462d
cmp eax, 3
jne 0x4745f2
mov edx, dword [esp + 0x30]
push edx
jmp 0x47462d
cmp eax, 4
jne 0x4745fe
mov eax, dword [esp + 0x44]
push eax
jmp 0x47462d
cmp eax, 5
jne 0x47460a
mov ecx, dword [esp + 0x48]
push ecx
jmp 0x47462d
test ebx, 0x4000
je 0x474619
mov edx, dword [esp + 0x28]
push edx
jmp 0x47462d
test ebx, 0x8000
je 0x474628
mov eax, dword [esp + 0x2c]
push eax
jmp 0x47462d
push 0x5116d8
push str.TC_User_Office
push str.SOFTWARETrueCut_tc_INSTALL
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00491e90
add esp, 0x10
mov byte [esp + 0x1cb0], 0xa
lea ecx, [esp + 0x48]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x1cb0], 9
lea ecx, [esp + 0x44]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x1cb0], 8
lea ecx, [esp + 0x30]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x1cb0], 7
lea ecx, [esp + 0x3c]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x1cb0], 6
lea ecx, [esp + 0x34]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x1cb0], 5
lea ecx, [esp + 0x64]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x1cb0], 4
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x1cb0], 3
lea ecx, [esp + 0x28]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x1cb0], 2
lea ecx, [esp + 0x38]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x1cb0], 1
lea ecx, [esp + 0x2c]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x1cb0], 0
lea ecx, [esp + 0x6c]
call sub.mfc90.dll_Ordinal_781
mov edi, dword [esp + 0x50]
push 0x512dd0
mov ecx, 0x103abf8
call dword [sym.imp.mfc90.dll_Ordinal_1603]
test eax, eax
jne 0x474731
push str.________________
mov ecx, 0x103abf8
call dword [sym.imp.mfc90.dll_Ordinal_820]
push 0x50
push str.TC_TCPort
push str.SOFTWARETrueCut_tc_INSTALL
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00491d40
push 0x50
push str.TC_HTTP_Port
push str.SOFTWARETrueCut_tc_INSTALL
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [edi + 0x35928], eax
call fcn.00491d40
push 0x1000
lea ecx, [esp + 0x8c8]
push ecx
push str.TC_TCServer
push str.SOFTWARETrueCut_tc_INSTALL
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [edi + 0x3592c], eax
call fcn.00491b30
add esp, 0x34
cmp eax, 0xffffffff
jne 0x47479a
mov byte [esp + 0x8a4], 0
lea edx, [esp + 0x8a4]
lea esi, [edi + 0x35930]
push edx
mov ecx, esi
call dword [sym.imp.mfc90.dll_Ordinal_820]
push eax
lea ecx, [edi + 0x3594c]
call dword [sym.imp.mfc90.dll_Ordinal_817]
cmp byte [0x103a972], 0
je 0x4747ee
push 0
push 0x502cc0
mov ecx, esi
call dword [sym.imp.mfc90.dll_Ordinal_2481]
cmp eax, 0xffffffff
jne 0x4747ee
push 0
push 0x4ff784
push 0x512d9c
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0x1000
lea eax, [esp + 0x8a8]
push eax
push str.TC_PatchServer
push str.SOFTWARETrueCut_tc_INSTALL
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00491b30
add esp, 0x14
cmp eax, 0xffffffff
jne 0x47481f
mov byte [esp + 0x8a4], 0
lea ecx, [esp + 0x8a4]
push ecx
lea ecx, [edi + 0x359b4]
call dword [sym.imp.mfc90.dll_Ordinal_820]
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_316]
mov bl, 0x1c
mov byte [esp + 0x1cb0], bl
push 0x1000
lea edx, [esp + 0x8a8]
push edx
push str.TC_DDX_LOGSERVER
push str.SOFTWARETrueCut_tc_INSTALL
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00491b30
add esp, 0x14
cmp eax, 0xffffffff
jne 0x474877
mov byte [esp + 0x8a4], 0
lea eax, [esp + 0x8a4]
push eax
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90.dll_Ordinal_820]
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 0xc]
xor ebp, ebp
cmp eax, ebp
je 0x4748e1
push ebp
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x58], esp
push edx
call dword [sym.imp.mfc90.dll_Ordinal_300]
mov byte [esp + 0x1cb8], 0x1d
lea eax, [edi + 0x35950]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x4ff790
call dword [sym.imp.mfc90.dll_Ordinal_310]
mov byte [esp + 0x1cc0], 0x1e
mov byte [esp + 0x1cc0], bl
call fcn.004d90e0
add esp, 0x10
push 0x1000
lea ecx, [esp + 0x8a8]
push ecx
push str.TC_IDATE
push str.SOFTWARETrueCut_tc_INSTALL
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00491b30
add esp, 0x14
cmp eax, 0xffffffff
jne 0x474912
mov byte [esp + 0x8a4], 0
lea edx, [esp + 0x8a4]
push edx
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90.dll_Ordinal_820]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 0xc]
cmp ecx, 0x32
jae 0x474942
lea edx, [edi + 0x35c1c]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x474938
push 0x1000
lea eax, [esp + 0x8a8]
push eax
push str.TC_Section
push str.SOFTWARETrueCut_tc_INSTALL
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00491b30
add esp, 0x14
cmp eax, 0xffffffff
jne 0x474973
mov byte [esp + 0x8a4], 0
lea ecx, [esp + 0x8a4]
push ecx
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90.dll_Ordinal_820]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 0xc]
cmp ecx, 0x64
jae 0x4749aa
lea edx, [edi + 0x35a5a]
sub edx, eax
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4749a0
push 0x1000
lea edx, [esp + 0x8a8]
push edx
push str.TC_Org
push str.SOFTWARETrueCut_tc_INSTALL
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00491b30
add esp, 0x14
cmp eax, 0xffffffff
jne 0x4749db
mov byte [esp + 0x8a4], 0
lea eax, [esp + 0x8a4]
push eax
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90.dll_Ordinal_820]
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], 0x64
jae 0x474a0a
lea edx, [edi + 0x35abe]
sub edx, eax
nop
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x474a00
push 0x1000
lea ecx, [esp + 0x8a8]
push ecx
push str.TC_User_Office
push str.SOFTWARETrueCut_tc_INSTALL
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00491b30
add esp, 0x14
cmp eax, 0xffffffff
jne 0x474a3b
mov byte [esp + 0x8a4], 0
lea edx, [esp + 0x8a4]
push edx
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90.dll_Ordinal_820]
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], 0x32
jae 0x474a6a
lea edx, [edi + 0x35b22]
sub edx, eax
nop
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x474a60
push 0x1000
lea eax, [esp + 0x8a8]
push eax
push str.TC_organizational_unit4
push str.SOFTWARETrueCut_tc_INSTALL
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00491b30
add esp, 0x14
cmp eax, 0xffffffff
jne 0x474a9b
mov byte [esp + 0x8a4], 0
lea ecx, [esp + 0x8a4]
push ecx
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90.dll_Ordinal_820]
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], 0x32
jae 0x474aca
lea edx, [edi + 0x35b54]
sub edx, eax
nop
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x474ac0
push 0x1000
lea edx, [esp + 0x8a8]
push edx
push str.TC_organizational_unit5
push str.SOFTWARETrueCut_tc_INSTALL
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00491b30
add esp, 0x14
cmp eax, 0xffffffff
jne 0x474afb
mov byte [esp + 0x8a4], 0
lea eax, [esp + 0x8a4]
push eax
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90.dll_Ordinal_820]
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], 0x32
jae 0x474b2a
lea edx, [edi + 0x35b86]
sub edx, eax
nop
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x474b20
push 0x1000
lea ecx, [esp + 0x8a8]
push ecx
push str.TC_Tel
push str.SOFTWARETrueCut_tc_INSTALL
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00491b30
add esp, 0x14
cmp eax, 0xffffffff
jne 0x474b5b
mov byte [esp + 0x8a4], 0
lea edx, [esp + 0x8a4]
push edx
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90.dll_Ordinal_820]
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], 0x32
jae 0x474b8a
lea edx, [edi + 0x35bea]
sub edx, eax
nop
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x474b80
push 0x1000
lea eax, [esp + 0x8a8]
push eax
push str.TC_User_name
push str.SOFTWARETrueCut_tc_INSTALL
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00491b30
add esp, 0x14
cmp eax, 0xffffffff
jne 0x474bbb
mov byte [esp + 0x8a4], 0
lea ecx, [esp + 0x8a4]
push ecx
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90.dll_Ordinal_820]
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], 0x32
jae 0x474bea
lea edx, [edi + 0x35bb8]
sub edx, eax
nop
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x474be0
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x50bd94
call dword [sym.imp.mfc90.dll_Ordinal_310]
mov byte [esp + 0x1cb4], 0x1f
lea edx, [esp + 0x54]
push edx
mov byte [esp + 0x1cb8], bl
call fcn.004d9b60
add esp, 8
mov byte [esp + 0x1cb0], 0x20
push eax
mov ecx, 0x103adb8
call dword [sym.imp.mfc90.dll_Ordinal_817]
mov byte [esp + 0x1cb0], bl
lea ecx, [esp + 0x50]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov eax, dword [0x103adb8]
push eax
push 0x50bd94
push str.MyAgent__s__s_
push 8
call fcn.0043d500
add esp, 0xc
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.tc_ad.dll
call dword [sym.imp.mfc90.dll_Ordinal_310]
mov byte [esp + 0x1cb4], 0x21
lea ecx, [esp + 0x54]
push ecx
mov byte [esp + 0x1cb8], bl
call fcn.004d9b60
add esp, 8
mov byte [esp + 0x1cb0], 0x22
push eax
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90.dll_Ordinal_817]
mov byte [esp + 0x1cb0], bl
lea ecx, [esp + 0x50]
call dword [sym.imp.mfc90.dll_Ordinal_601]
push 0x502cc0
push 0x4ff790
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90.dll_Ordinal_5924]
push 0x502cc0
push 0x4ff790
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90.dll_Ordinal_5924]
push 0x502cc0
push 0x4ff790
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90.dll_Ordinal_5924]
push 0x502cc0
push 0x4ff790
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90.dll_Ordinal_5924]
mov eax, dword [esp + 0x14]
lea esi, [edi + 0x35c4e]
cmp dword [eax - 0xc], ebp
je 0x474d1c
mov edx, esi
sub edx, eax
jmp 0x474d10
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
test cl, cl
jne 0x474d10
jmp 0x474d2c
mov edx, dword [str.1.3.0.0]
mov dword [esi], edx
mov eax, dword [0x512d44]
mov dword [esi + 4], eax
push esi
push str.tc_Ver
push str.SOFTWARETrojanCut_tc_Env
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00491e90
mov dword [edi + 0x81e8], ebp
or dword [0x103a360], 8
add esp, 0x10
mov dword [0x1038d18], ebp
mov byte [esp + 0x1cb0], 0
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov dword [esp + 0x1cb0], 0xffffffff
lea ecx, [esp + 0x80]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov ecx, dword [esp + 0x1ca8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1c90]
xor ecx, esp
call fcn.004e0148
add esp, 0x1ca0
ret