Function at 0x406f21
Capabilities:
Print debug messages

Disassembly:
mov eax, 0x428e94
call fcn.00428180
sub esp, 0x58
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [ebp - 0x64]
call fcn.004075a0
xor esi, esi
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], esi
call sub.MFC42.DLL_CString::CString_1
push dword [edi + 0xc4]
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
push str._sSetup.XML
push eax
call sub.MFC42.DLL_CString::Format
pop ecx
pop ecx
mov ecx, dword [ebp - 0x14]
mov eax, esp
mov dword [ebp - 0x24], esp
mov dword [eax], ecx
lea ecx, [ebp - 0x64]
call fcn.00403dde
movzx eax, al
cmp eax, esi
je 0x40753b
mov eax, dword [edi + 0x18c]
mov edx, dword [edi + 0x188]
lea ecx, [edi + 0x184]
push eax
push edx
call fcn.004087e0
push esi
push esi
push dword [ebp - 0x5c]
lea ecx, [ebp - 0x64]
call fcn.00404a1a
push ecx
lea ecx, [ebp - 0x64]
mov eax, esp
mov dword [ebp - 0x24], esp
mov dword [eax], str.root
call fcn.00403ffe
test al, al
je 0x407502
lea ecx, [ebp - 0x64]
call fcn.0040498c
push ecx
lea ecx, [ebp - 0x64]
mov eax, esp
mov dword [ebp - 0x24], esp
mov dword [eax], str.server_param
call fcn.00403ffe
test al, al
je 0x4074c9
push ecx
lea ecx, [ebp - 0x64]
mov eax, esp
mov dword [ebp - 0x24], esp
mov dword [eax], str.server_ip
lea eax, [ebp - 0x10]
push eax
call fcn.00403dc1
push eax
lea ecx, [edi + 0x174]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::operator_1
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.00427e82
push ecx
lea ecx, [ebp - 0x64]
mov eax, esp
mov dword [ebp - 0x24], esp
mov dword [eax], str.deploy_param
call fcn.00403ffe
test al, al
je 0x40748d
push ecx
lea ecx, [ebp - 0x64]
mov eax, esp
mov dword [ebp - 0x24], esp
mov dword [eax], str.deploy_type
lea eax, [ebp - 0x10]
push eax
call fcn.00403dc1
push dword [eax]
mov esi, dword [sym.imp.MSVCRT.dll_atoi]
call esi
pop ecx
mov dword [edi + 0x164], eax
lea ecx, [ebp - 0x10]
call fcn.00427e82
push ecx
lea ecx, [ebp - 0x64]
mov eax, esp
mov dword [ebp - 0x24], esp
mov dword [eax], str.deploy_mode
lea eax, [ebp - 0x10]
push eax
call fcn.00403dc1
push dword [eax]
call esi
pop ecx
mov dword [edi + 0x168], eax
lea ecx, [ebp - 0x10]
call fcn.00427e82
push ecx
lea ecx, [ebp - 0x64]
mov eax, esp
mov dword [ebp - 0x24], esp
mov dword [eax], str.run_mode
lea eax, [ebp - 0x10]
push eax
call fcn.00403dc1
push dword [eax]
call esi
pop ecx
mov dword [edi + 0x16c], eax
lea ecx, [ebp - 0x10]
call fcn.00427e82
push ecx
lea ecx, [ebp - 0x64]
mov eax, esp
mov dword [ebp - 0x24], esp
mov dword [eax], str.file_copy
lea eax, [ebp - 0x10]
push eax
call fcn.00403dc1
push dword [eax]
call esi
pop ecx
mov dword [edi + 0x170], eax
lea ecx, [ebp - 0x10]
call fcn.00427e82
lea ecx, [ebp - 0x64]
call fcn.0040498c
push ecx
lea ecx, [ebp - 0x64]
mov eax, esp
mov dword [ebp - 0x24], esp
mov dword [eax], str.file_copy_param
call fcn.00403ffe
test al, al
je 0x4071a7
push ecx
lea ecx, [ebp - 0x64]
mov eax, esp
mov dword [ebp - 0x24], esp
mov dword [eax], str.download_url
lea eax, [ebp - 0x10]
push eax
call fcn.00403dc1
push eax
lea ecx, [edi + 0x178]
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::operator_1
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.00427e82
push ecx
lea ecx, [ebp - 0x64]
mov eax, esp
mov dword [ebp - 0x24], esp
mov dword [eax], str.user
lea eax, [ebp - 0x10]
push eax
call fcn.00403dc1
push eax
lea ecx, [edi + 0x17c]
mov byte [ebp - 4], 6
call sub.MFC42.DLL_CString::operator_1
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.00427e82
push ecx
lea ecx, [ebp - 0x64]
mov eax, esp
mov dword [ebp - 0x24], esp
mov dword [eax], 0x42fe2c
lea eax, [ebp - 0x10]
push eax
call fcn.00403dc1
push eax
lea ecx, [edi + 0x180]
mov byte [ebp - 4], 7
call sub.MFC42.DLL_CString::operator_1
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.00427e82
lea ecx, [ebp - 0x64]
call fcn.004049aa
push ecx
lea ecx, [ebp - 0x64]
mov eax, esp
mov dword [ebp - 0x24], esp
mov dword [eax], str.pre_run_param
call fcn.00403ffe
test al, al
je 0x40731a
lea ecx, [ebp - 0x64]
call fcn.0040498c
push ecx
lea ecx, [ebp - 0x64]
mov eax, esp
mov dword [ebp - 0x1c], esp
mov dword [eax], str.item
call fcn.00403ffe
test al, al
je 0x407312
push ecx
lea ecx, [ebp - 0x64]
mov eax, esp
mov dword [ebp - 0x1c], esp
mov dword [eax], str.type
lea eax, [ebp - 0x10]
push eax
call fcn.00403dc1
push dword [eax]
call esi
pop ecx
mov ebx, eax
lea ecx, [ebp - 0x10]
call fcn.00427e82
push ecx
lea ecx, [ebp - 0x64]
mov eax, esp
mov dword [ebp - 0x1c], esp
mov dword [eax], str.operation
lea eax, [ebp - 0x18]
push eax
call fcn.00403dc1
push dword [eax]
call esi
pop ecx
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x18]
call fcn.00427e82
cmp ebx, 4
jne 0x4071d3
cmp dword [ebp - 0x1c], ebx
jne 0x4071d3
lea ecx, [ebp - 0x2c]
call sub.MFC42.DLL_CString::CString_1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 9
call sub.MFC42.DLL_CString::CString_1
push ecx
lea ecx, [ebp - 0x64]
mov eax, esp
mov dword [ebp - 0x1c], esp
mov byte [ebp - 4], 0xa
mov dword [eax], str.src_path
lea eax, [ebp - 0x20]
push eax
call fcn.00403dc1
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xb
call sub.MFC42.DLL_CString::operator_1
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xa
call fcn.00427e82
push ecx
mov ebx, esp
mov dword [ebp - 0x1c], esp
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.dst_path
call fcn.0040121a
push ebx
lea ecx, [ebp - 0x64]
call fcn.00403dc1
lea eax, [ebp - 0x24]
mov ecx, edi
push eax
call fcn.00408148
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xc
call sub.MFC42.DLL_CString::operator_1
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xa
call fcn.00427e82
mov eax, dword [ebp - 0x2c]
cmp dword [eax - 8], 0
je 0x4072f5
mov eax, dword [ebp - 0x28]
cmp dword [eax - 8], 0
je 0x4072f5
lea eax, [ebp - 0x2c]
lea ecx, [edi + 0x184]
push eax
call fcn.004087cf
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xd
call fcn.00427e82
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.00427e82
jmp 0x4071d3
lea ecx, [ebp - 0x64]
call fcn.004049aa
push ecx
lea ecx, [ebp - 0x64]
mov eax, esp
mov dword [ebp - 0x24], esp
mov dword [eax], str.post_run_param
call fcn.00403ffe
test al, al
je 0x407485
lea ecx, [ebp - 0x64]
call fcn.0040498c
push ecx
lea ecx, [ebp - 0x64]
mov eax, esp
mov dword [ebp - 0x1c], esp
mov dword [eax], str.item
call fcn.00403ffe
test al, al
je 0x40747d
push ecx
lea ecx, [ebp - 0x64]
mov eax, esp
mov dword [ebp - 0x1c], esp
mov dword [eax], str.type
lea eax, [ebp - 0x24]
push eax
call fcn.00403dc1
push dword [eax]
call esi
pop ecx
mov ebx, eax
lea ecx, [ebp - 0x24]
call fcn.00427e82
push ecx
lea ecx, [ebp - 0x64]
mov eax, esp
mov dword [ebp - 0x1c], esp
mov dword [eax], str.operation
lea eax, [ebp - 0x20]
push eax
call fcn.00403dc1
push dword [eax]
call esi
pop ecx
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x20]
call fcn.00427e82
cmp ebx, 4
jne 0x40733e
cmp dword [ebp - 0x1c], ebx
jne 0x40733e
lea ecx, [ebp - 0x2c]
call sub.MFC42.DLL_CString::CString_1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xe
call sub.MFC42.DLL_CString::CString_1
push ecx
lea ecx, [ebp - 0x64]
mov eax, esp
mov dword [ebp - 0x1c], esp
mov byte [ebp - 4], 0xf
mov dword [eax], str.src_path
lea eax, [ebp - 0x18]
push eax
call fcn.00403dc1
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x10
call sub.MFC42.DLL_CString::operator_1
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xf
call fcn.00427e82
push ecx
mov ebx, esp
mov dword [ebp - 0x1c], esp
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.dst_path
call fcn.0040121a
push ebx
lea ecx, [ebp - 0x64]
call fcn.00403dc1
lea eax, [ebp - 0x10]
mov ecx, edi
push eax
call fcn.00408148
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x11
call sub.MFC42.DLL_CString::operator_1
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0xf
call fcn.00427e82
mov eax, dword [ebp - 0x2c]
cmp dword [eax - 8], 0
je 0x407460
mov eax, dword [ebp - 0x28]
cmp dword [eax - 8], 0
je 0x407460
lea eax, [ebp - 0x2c]
lea ecx, [edi + 0x184]
push eax
call fcn.004087cf
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x12
call fcn.00427e82
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.00427e82
jmp 0x40733e
lea ecx, [ebp - 0x64]
call fcn.004049aa
push 1
pop esi
jmp 0x407577
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString_1
push 0x2c2
push str.D:BUILD_ROOT_PUBLISHSecAgent2009SourceToolsDeploySetupSetup.cpp
lea eax, [ebp - 0x10]
push 0x42fd90
push eax
mov byte [ebp - 4], 8
call sub.MFC42.DLL_CString::Format
add esp, 0x10
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
jmp 0x407572
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString_1
push 0x2ae
push str.D:BUILD_ROOT_PUBLISHSecAgent2009SourceToolsDeploySetupSetup.cpp
lea eax, [ebp - 0x10]
push 0x42fd90
push eax
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::Format
add esp, 0x10
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
jmp 0x407572
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString_1
push 0x2a3
push str.D:BUILD_ROOT_PUBLISHSecAgent2009SourceToolsDeploySetupSetup.cpp
lea eax, [ebp - 0x10]
push 0x42fd90
push eax
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::Format
add esp, 0x10
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
jmp 0x407572
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString_1
push 0x2f1
push str.D:BUILD_ROOT_PUBLISHSecAgent2009SourceToolsDeploySetupSetup.cpp
lea eax, [ebp - 0x10]
push 0x42fd90
push eax
mov byte [ebp - 4], 0x13
call sub.MFC42.DLL_CString::Format
add esp, 0x10
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.00427e82
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00427e82
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.00403cd2
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret