Function at 0x409530
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42988a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x360
mov eax, dword [ebp + 0x1c]
push ebx
push esi
push edi
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x10], esp
mov ecx, dword [ebp + 0x20]
xor esi, esi
push 0x440b68
mov dword [eax], esi
call sub.MFC42.DLL_CString::operator_1
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x28], esi
call sub.MFC42.DLL_CString::CString_2
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], esi
call sub.MFC42.DLL_CString::CString_2
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString_2
push 0x440b68
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 2
call fcn.004284f2
push 0x440b68
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 3
call fcn.004284f2
push 0x440b68
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 4
call fcn.004284f2
mov eax, dword [ebp + 0x24]
mov byte [ebp - 4], 5
cmp eax, esi
je 0x4095dd
push eax
lea ecx, [ebp - 0x3c]
push 0x435020
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
mov eax, dword [ebp + 0x28]
cmp eax, esi
je 0x4095f6
push eax
lea edx, [ebp - 0x34]
push 0x435020
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
mov eax, dword [ebp + 0x2c]
cmp eax, esi
je 0x40960f
push eax
lea eax, [ebp - 0x2c]
push 0x435020
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
call sub.MFC42.DLL_AfxGetModuleState
mov ebx, dword [ebp + 0xc]
mov edi, dword [eax + 4]
mov ecx, dword [ebp + 8]
push ebx
mov edx, dword [edi + 0xd0]
push ecx
push str.CXSyncCfg::LoadConfigFromServer__IP___s__Port___s
push 1
push edx
mov dword [ebp + 0x24], edi
call fcn.00407c90
push 0x14
call sub.MFC42.DLL_operatornew
add esp, 0x18
mov dword [ebp + 0x28], eax
cmp eax, esi
mov byte [ebp - 4], 6
je 0x409664
push 0
push 0
push 0
push 0
push 1
push 0x436d94
mov ecx, eax
call sub.MFC42.DLL_CInternetSession::CInternetSession
mov esi, eax
jmp 0x409666
xor esi, esi
push ebx
mov byte [ebp - 4], 5
mov dword [ebp + 0x2c], esi
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov ebx, eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x40]
push eax
push 0x435020
push ecx
call sub.MFC42.DLL_CString::Format
mov eax, dword [ebp + 0x30]
add esp, 0xc
test eax, eax
jne 0x4097b6
mov edx, dword [ebp - 0x3c]
mov eax, dword [edx - 8]
test eax, eax
je 0x4097b6
mov eax, dword [edi + 0xd0]
push str.CXSyncCfg::LoadConfigFromServer__Proxy_Auth_Mode_0.
push 1
push eax
call fcn.00407c90
mov ecx, dword [ebp - 0x3c]
add esp, 0xc
lea edx, [ebp - 0x1c]
mov dword [ebp - 0x18], ecx
push 0
push 0xc
push edx
push 0x26
mov ecx, esi
mov dword [ebp - 0x1c], 3
mov dword [ebp - 0x14], 0
call sub.MFC42.DLL_CInternetSession::SetOption
mov edx, dword [ebp - 0x34]
mov eax, dword [edx - 8]
test eax, eax
je 0x4097a0
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4097a0
mov ecx, 0x1f
xor eax, eax
lea edi, [ebp - 0x16b]
mov byte [ebp - 0x16c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x1f
xor eax, eax
lea edi, [ebp - 0xeb]
mov byte [ebp - 0xec], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [ebp - 0x16c]
push edx
push ecx
stosb byte es:[edi], al
call dword [sym.imp.MSVCRT.dll_sprintf]
mov edx, dword [ebp - 0x2c]
add esp, 8
lea eax, [ebp - 0xec]
push edx
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
lea edi, [ebp - 0x16c]
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 0
push ecx
lea ecx, [ebp - 0x16c]
push ecx
push 0x2b
mov ecx, esi
call sub.MFC42.DLL_CInternetSession::SetOption
lea edi, [ebp - 0xec]
or ecx, 0xffffffff
xor eax, eax
push 0
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edx, [ebp - 0xec]
push ecx
push edx
push 0x2c
mov ecx, esi
call sub.MFC42.DLL_CInternetSession::SetOption
mov edi, dword [ebp + 0x24]
jmp 0x4097b6
mov eax, dword [edi + 0xd0]
push str.CXSyncCfg::LoadConfigFromServer__Proxy_Auth_username_or_password_is_empty.
push 1
push eax
call fcn.00407c90
add esp, 0xc
mov ecx, dword [ebp + 8]
push 0
push 0
push ebx
push ecx
mov ecx, esi
call sub.MFC42.DLL_CInternetSession::GetHttpConnection
test eax, eax
mov dword [ebp + 8], eax
jne 0x409856
mov edx, dword [ebp - 0x44]
mov ecx, dword [edi + 0xd0]
and ebx, 0xffff
mov eax, dword [edx + 0x28]
push ebx
push eax
push str.CXSyncCfg::LoadConfigFromServer__GetHttpConnection__s___d__returns_NULL
push 1
push ecx
call fcn.00407c90
add esp, 0x14
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0xffffffff
call sub.MFC42.DLL_CString::CString
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x2c
mov ebx, dword [ebp - 0x44]
mov edx, dword [ebx + 0xc]
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 4]
lea edi, [ebx + 0xc]
lea esi, [ebx + 8]
add ebx, 4
push edx
mov edx, dword [ebp + 0x24]
push eax
push ecx
mov eax, dword [edx + 0xd0]
push str.CXSyncCfg::LoadConfigFromServer__m_dwConnectTimeOut_d__m_dwSendTimeOut_d__m_dwRecvTimeOut_d
push 1
push eax
call fcn.00407c90
mov eax, dword [ebx]
add esp, 0x18
test eax, eax
jbe 0x40989c
mov ecx, dword [ebp + 8]
push 0
push 4
push ebx
push 2
call sub.MFC42.DLL_CInternetConnection::SetOption
cmp dword [esi], 0
jbe 0x4098b4
mov ebx, dword [ebp + 8]
push 0
push 4
push esi
push 5
mov ecx, ebx
call sub.MFC42.DLL_CInternetConnection::SetOption
jmp 0x4098b7
mov ebx, dword [ebp + 8]
cmp dword [edi], 0
jbe 0x4098ca
push 0
push 4
push edi
push 6
mov ecx, ebx
call sub.MFC42.DLL_CInternetConnection::SetOption
mov ecx, dword [ebp + 0x14]
lea edx, [ebp - 0x30]
push ecx
push 0x435020
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea eax, [ebp - 0x30]
lea ecx, [ebp - 0x38]
push eax
call sub.MFC42.DLL_CString::operator
push 0
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 7
call sub.MFC42.DLL_CString::GetBuffer
mov esi, dword [ebp + 0x24]
push eax
push str.CXSyncCfg::LoadConfigFromServer__File_URL___s
push 1
mov ecx, dword [esi + 0xd0]
push ecx
call fcn.00407c90
add esp, 0x10
lea ecx, [ebp - 0x38]
push 0
call sub.MFC42.DLL_CString::GetBuffer
mov edx, dword [esi + 0xd0]
push eax
push str.CXSyncCfg::LoadConfigFromServer__Encoded_File_URL___s
push 1
push edx
call fcn.00407c90
mov di, word [ebp + 0x10]
add esp, 0x10
test di, di
mov dword [ebp - 0x6c], str.image_gif
mov dword [ebp - 0x68], str.image_x_xbitmap
mov dword [ebp - 0x64], str.image_jpeg
mov dword [ebp - 0x60], str.image_pjpeg
mov dword [ebp - 0x5c], str.application_x_shockwave_flash
mov dword [ebp - 0x58], str.application_vnd.ms_excel
mov dword [ebp - 0x54], str.application_vnd.ms_powerpoint
mov dword [ebp - 0x50], str.application_msword
mov dword [ebp - 0x4c], 0x436b5c
mov dword [ebp - 0x48], 0
mov esi, 0xa0400000
jle 0x4099a0
mov eax, dword [ebp + 0x18]
mov esi, 0xa0c00000
cmp eax, 1
je 0x40999b
cmp di, 1
jne 0x4099a0
mov esi, 0xa0c03000
mov eax, dword [ebp + 0x24]
push str.CXSyncCfg::LoadConfigFromServer__Try_to_OpenRequest__
push 2
mov ecx, dword [eax + 0xd0]
push ecx
call fcn.00407c90
add esp, 0xc
lea ecx, [ebp - 0x38]
push 0
call sub.MFC42.DLL_CString::GetBuffer
push esi
lea edx, [ebp - 0x6c]
push str.HTTP_1.1
push edx
push 1
push 0
push eax
push 0x436b14
mov ecx, ebx
call sub.MFC42.DLL_CHttpConnection::OpenRequest
mov esi, eax
test esi, esi
mov dword [ebp - 0x28], esi
jne 0x409a61
mov eax, dword [ebp + 0x24]
push str.CXSyncCfg::LoadConfigFromServer__OpenRequest___Return_NULL
push 4
mov ecx, dword [eax + 0xd0]
push ecx
call fcn.00407c90
add esp, 0xc
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0xffffffff
call sub.MFC42.DLL_CString::CString
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x2c
mov ebx, dword [ebp + 0x24]
push str.CXSyncCfg::LoadConfigFromServer__OpenRequest_Success
push 1
mov edx, dword [ebx + 0xd0]
push edx
call fcn.00407c90
add esp, 0xc
test di, di
jle 0x409ab9
cmp dword [ebp + 0x18], 1
je 0x409a8b
cmp di, 1
jne 0x409ab9
mov eax, dword [ebx + 0xd0]
push str.CXSyncCfg::LoadConfigFromServer__Try_to_SetOption_____set_cert_ignore_flag
push 2
push eax
call fcn.00407c90
add esp, 0xc
lea ecx, [ebp + 0x10]
mov dword [ebp + 0x10], 0x3380
push 0
push 4
push ecx
push 0x1f
mov ecx, esi
call sub.MFC42.DLL_CInternetFile::SetOption
mov esi, dword [ebp - 0x44]
mov ebx, dword [ebp + 0x30]
xor edi, edi
mov edx, dword [ebp + 0x24]
push str.CXSyncCfg::LoadConfigFromServer__Try_to_SendRequest__
push 2
mov eax, dword [edx + 0xd0]
push eax
call fcn.00407c90
mov ecx, dword [ebp - 0x28]
add esp, 0xc
push 0
push 0
push 0
push 0
call sub.MFC42.DLL_CHttpFile::SendRequest
mov ecx, dword [ebp + 0x24]
push str.CXSyncCfg::LoadConfigFromServer__Try_to_QueryInfoStatusCode__
push 2
mov edx, dword [ecx + 0xd0]
push edx
call fcn.00407c90
mov ecx, dword [ebp - 0x28]
add esp, 0xc
lea eax, [ebp + 0x28]
push eax
call sub.MFC42.DLL_CHttpFile::QueryInfoStatusCode
test eax, eax
je 0x409b20
cmp dword [ebp + 0x28], 0xc8
je 0x409e5f
mov ecx, dword [ebp + 0x28]
mov esi, dword [ebp + 0x24]
lea edx, [ebp + 0x10]
push ecx
push edx
mov ecx, esi
call fcn.00411180
mov eax, dword [eax]
mov ecx, dword [ebp + 0x28]
mov edx, dword [ebp - 0x30]
push eax
mov eax, dword [esi + 0xd0]
push ecx
push edx
push str.CXSyncCfg::LoadConfigFromServer__QueryInfoStatusCode__s__Return___d__Message___s
push 4
push eax
mov byte [ebp - 4], 8
call fcn.00407c90
add esp, 0x18
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 7
call sub.MFC42.DLL_CString::CString
cmp dword [ebp + 0x28], 0x197
jne 0x40a8c8
cmp ebx, 1
je 0x409b7e
cmp ebx, 2
jne 0x40a8c8
mov edx, dword [ebp - 0x34]
mov eax, dword [edx - 8]
test eax, eax
je 0x40a8c8
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ecx - 8]
test eax, eax
je 0x40a8c8
test edi, edi
je 0x409c39
mov edx, dword [esi + 0xd0]
push str.CXSyncCfg::LoadConfigFromServer__Proxy_Auth_Error.
push 4
push edx
call fcn.00407c90
mov esi, dword [ebp - 0x28]
add esp, 0xc
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x54]
test esi, esi
je 0x409bcf
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx + 4]
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x28], 0
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 0xfffffffb
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x2c
mov ecx, 0x1f
xor eax, eax
lea edi, [ebp - 0xeb]
mov byte [ebp - 0xec], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x1f
xor eax, eax
lea edi, [ebp - 0x16b]
mov byte [ebp - 0x16c], 0
rep stosd dword es:[edi], eax
mov esi, dword [sym.imp.MSVCRT.dll_sprintf]
push edx
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0xec]
push eax
call esi
mov ecx, dword [ebp - 0x2c]
add esp, 8
lea edx, [ebp - 0x16c]
push ecx
push edx
call esi
mov eax, dword [ebp + 0x30]
add esp, 8
cmp eax, 1
jne 0x409d15
mov eax, dword [ebp + 0x24]
push str.CXSyncCfg::LoadConfigFromServer__Proxy_Auth_Mode_1.
push 4
mov ecx, dword [eax + 0xd0]
push ecx
call fcn.00407c90
lea edi, [ebp - 0xec]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
mov ebx, dword [ebp - 0x28]
push 0
not ecx
dec ecx
lea edx, [ebp - 0xec]
push ecx
push edx
push 0x2b
mov ecx, ebx
call sub.MFC42.DLL_CInternetFile::SetOption
test eax, eax
jne 0x409ce3
mov esi, 0xffffff9b
jmp 0x409d88
lea edi, [ebp - 0x16c]
or ecx, 0xffffffff
xor eax, eax
push 0
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [ebp - 0x16c]
push ecx
push eax
push 0x2c
mov ecx, ebx
call sub.MFC42.DLL_CInternetFile::SetOption
test eax, eax
jne 0x409e1d
mov esi, 0xffffff9a
jmp 0x409d88
mov ecx, dword [ebp + 0x24]
push str.CXSyncCfg::LoadConfigFromServer__Proxy_Auth_Mode_2.
push 4
mov edx, dword [ecx + 0xd0]
push edx
call fcn.00407c90
lea edi, [ebp - 0xec]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
mov esi, dword [sym.imp.WININET.dll_InternetSetOptionA]
lea eax, [ebp - 0xec]
not ecx
push ecx
push eax
push 0x2b
push 0
call esi
test eax, eax
jne 0x409d5c
mov esi, 0xffffff99
jmp 0x409d85
lea edi, [ebp - 0x16c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
lea ecx, [ebp - 0x16c]
push ecx
push 0x2c
push eax
call esi
test eax, eax
jne 0x409e1d
mov esi, 0xffffff98
mov ebx, dword [ebp - 0x28]
mov edx, dword [ebp + 0x24]
push esi
push str.CXSyncCfg::LoadConfigFromServer__Proxy_Auth_SetOption___ret___d
push 4
mov eax, dword [edx + 0xd0]
push eax
call fcn.00407c90
mov edx, dword [ebx]
add esp, 0x10
mov ecx, ebx
call dword [edx + 0x54]
test ebx, ebx
je 0x409db6
mov eax, dword [ebx]
push 1
mov ecx, ebx
call dword [eax + 4]
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x28], 0
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x2c
mov ecx, dword [ebp + 0x24]
push str.CXSyncCfg::LoadConfigFromServer__Proxy_SetOption___success.
push 4
mov edx, dword [ecx + 0xd0]
push edx
call fcn.00407c90
mov eax, dword [ebp + 0x24]
add esp, 0xc
mov ecx, dword [eax + 0xd0]
push str.CXSyncCfg::LoadConfigFromServer__Goto_ReSendRequest.
push 4
push ecx
call fcn.00407c90
mov ebx, dword [ebp + 0x30]
mov esi, dword [ebp - 0x44]
add esp, 0xc
mov edi, 1
jmp 0x409ac1
mov edx, dword [ebp + 0x24]
push str.CXSyncCfg::LoadConfigFromServer__QueryInfoStatusCode_Success
push 1
mov eax, dword [edx + 0xd0]
push eax
call fcn.00407c90
mov edi, dword [sym.imp.MSVCRT.dll__mbsicoll]
mov ebx, dword [sym.imp.MSVCRT.dll_atoi]
add esp, 0xc
lea ecx, [ebp + 0x10]
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [ebp - 0x28]
lea eax, [ebp + 0x10]
push eax
mov byte [ebp - 4], 9
mov edx, dword [ecx]
call dword [edx + 0x60]
test eax, eax
jne 0x409f79
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 7
call sub.MFC42.DLL_CString::CString
mov esi, dword [ebp - 0x28]
xor edi, edi
cmp esi, edi
je 0x409ecc
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x54]
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 4]
mov dword [ebp - 0x28], edi
mov esi, dword [ebp + 8]
cmp esi, edi
je 0x409ee6
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x14]
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 4]
mov dword [ebp + 8], edi
mov esi, dword [ebp + 0x2c]
cmp esi, edi
je 0x409f00
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x14]
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 4]
mov dword [ebp + 0x2c], edi
mov ecx, dword [ebp + 0x24]
push str.CXSyncCfg::DownloadOneFileFromServer__Close_HTTP_File_Success
push 1
mov edx, dword [ecx + 0xd0]
push edx
call fcn.00407c90
add esp, 0xc
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x2c
push 0
lea ecx, [ebp + 0x10]
call sub.MFC42.DLL_CString::GetBuffer
mov ecx, dword [ebp + 0x24]
push eax
push str.CXSyncCfg::LoadConfigFromServer__Read_Line_:__s
push 1
mov edx, dword [ecx + 0xd0]
push edx
call fcn.00407c90
add esp, 0x10
lea ecx, [ebp - 0x24]
call sub.MFC42.DLL_CStringArray::CStringArray
mov eax, dword [ebp + 0x10]
mov byte [ebp - 4], 0xa
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x409fc6
mov eax, dword [ebp + 0x24]
push str.CXSyncCfg::LoadConfigFromServer__Invalid_Line__Line_Length_is_0
push 1
mov ecx, dword [eax + 0xd0]
push ecx
jmp 0x40a028
mov al, byte [eax]
cmp al, 0x3b
je 0x40a8b2
cmp al, 0x23
je 0x40a8b2
cmp al, 0x20
je 0x40a8b2
push 0x436740
lea ecx, [ebp + 0x30]
call fcn.004284f2
lea edx, [ebp + 0x10]
lea eax, [ebp + 0x30]
push edx
lea ecx, [ebp - 0x24]
push eax
push ecx
mov byte [ebp - 4], 0xb
call fcn.00408300
add esp, 0xc
lea ecx, [ebp + 0x30]
mov byte [ebp - 4], 0xa
call sub.MFC42.DLL_CString::CString
cmp dword [ebp - 0x1c], 2
je 0x40a04d
mov edx, dword [ebp + 0x24]
push str.CXSyncCfg::LoadConfigFromServer__Invalid_Line
push 1
mov eax, dword [edx + 0xd0]
push eax
call fcn.00407c90
add esp, 0xc
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 9
call fcn.00428744
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 7
call sub.MFC42.DLL_CString::CString
jmp 0x409e84
mov ecx, dword [ebp - 0x20]
push str.SVR_IP_ADDR
mov eax, dword [ecx]
push eax
call edi
add esp, 8
test eax, eax
jne 0x40a084
mov edx, dword [ebp - 0x20]
push eax
lea ecx, [edx + 4]
call sub.MFC42.DLL_CString::GetBuffer
push eax
lea eax, [esi + 0x28]
push 0x435020
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
jmp 0x40a895
mov ecx, dword [ebp - 0x20]
push str.SVR_PORT_NO
mov eax, dword [ecx]
push eax
call edi
add esp, 8
test eax, eax
jne 0x40a0bb
mov edx, dword [ebp - 0x20]
push eax
lea ecx, [edx + 4]
call sub.MFC42.DLL_CString::GetBuffer
push eax
lea eax, [esi + 0x2c]
push 0x435020
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
jmp 0x40a895
mov ecx, dword [ebp - 0x20]
push str.DOWNLOAD_BASE_URL
mov eax, dword [ecx]
push eax
call edi
add esp, 8
test eax, eax
jne 0x40a0f2
mov edx, dword [ebp - 0x20]
push eax
lea ecx, [edx + 4]
call sub.MFC42.DLL_CString::GetBuffer
push eax
lea eax, [esi + 0x30]
push 0x435020
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
jmp 0x40a895
mov ecx, dword [ebp - 0x20]
push str.LIST_FILE_NAME
mov eax, dword [ecx]
push eax
call edi
add esp, 8
test eax, eax
jne 0x40a129
mov edx, dword [ebp - 0x20]
push eax
lea ecx, [edx + 4]
call sub.MFC42.DLL_CString::GetBuffer
push eax
lea eax, [esi + 0x38]
push 0x435020
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
jmp 0x40a895
mov ecx, dword [ebp - 0x20]
push str.TARGET_DIR
mov eax, dword [ecx]
push eax
call edi
add esp, 8
test eax, eax
jne 0x40a160
mov edx, dword [ebp - 0x20]
push eax
lea ecx, [edx + 4]
call sub.MFC42.DLL_CString::GetBuffer
push eax
lea eax, [esi + 0x3c]
push 0x435020
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
jmp 0x40a895
mov ecx, dword [ebp - 0x20]
push str.CHECK_LIST_FILE_FLAG
mov eax, dword [ecx]
push eax
call edi
add esp, 8
test eax, eax
jne 0x40a18e
mov edx, dword [ebp - 0x20]
push eax
lea ecx, [edx + 4]
call sub.MFC42.DLL_CString::GetBuffer
push eax
call ebx
add esp, 4
mov dword [esi + 0x40], eax
jmp 0x40a895
mov eax, dword [ebp - 0x20]
push str.TIME_CHECK_SPAN
mov eax, dword [eax]
push eax
call edi
add esp, 8
test eax, eax
jne 0x40a1bc
mov ecx, dword [ebp - 0x20]
push eax
add ecx, 4
call sub.MFC42.DLL_CString::GetBuffer
push eax
call ebx
add esp, 4
mov dword [esi + 0x4c], eax
jmp 0x40a895
mov edx, dword [ebp - 0x20]
push str.DESKTOP_LINK_MS_EDGE
mov eax, dword [edx]
push eax
call edi
add esp, 8
test eax, eax
jne 0x40a1ea
push eax
mov eax, dword [ebp - 0x20]
lea ecx, [eax + 4]
call sub.MFC42.DLL_CString::GetBuffer
push eax
call ebx
add esp, 4
mov dword [esi + 0x50], eax
jmp 0x40a895
mov ecx, dword [ebp - 0x20]
push str.DESKTOP_LINK_NAME
mov eax, dword [ecx]
push eax
call edi
add esp, 8
test eax, eax
jne 0x40a221
mov edx, dword [ebp - 0x20]
push eax
lea ecx, [edx + 4]
call sub.MFC42.DLL_CString::GetBuffer
push eax
lea eax, [esi + 0x54]
push 0x435020
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
jmp 0x40a895
mov ecx, dword [ebp - 0x20]
push str.DESKTOP_LINK_URL
mov eax, dword [ecx]
push eax
call edi
add esp, 8
test eax, eax
jne 0x40a258
mov edx, dword [ebp - 0x20]
push eax
lea ecx, [edx + 4]
call sub.MFC42.DLL_CString::GetBuffer
push eax
lea eax, [esi + 0x58]
push 0x435020
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
jmp 0x40a895
mov ecx, dword [ebp - 0x20]
push str.DESKTOP_LINK_ICON_LOCATION
mov eax, dword [ecx]
push eax
call edi
add esp, 8
test eax, eax
jne 0x40a28f
mov edx, dword [ebp - 0x20]
push eax
lea ecx, [edx + 4]
call sub.MFC42.DLL_CString::GetBuffer
push eax
lea eax, [esi + 0x5c]
push 0x435020
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
jmp 0x40a895
mov ecx, dword [ebp - 0x20]
push str.PROGRAM_LINK_NAME
mov eax, dword [ecx]
push eax
call edi
add esp, 8
test eax, eax
jne 0x40a2c6
mov edx, dword [ebp - 0x20]
push eax
lea ecx, [edx + 4]
call sub.MFC42.DLL_CString::GetBuffer
push eax
lea eax, [esi + 0x70]
push 0x435020
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
jmp 0x40a895
mov ecx, dword [ebp - 0x20]
push str.PROGRAM_FILE_PATH
mov eax, dword [ecx]
push eax
call edi
add esp, 8
test eax, eax
jne 0x40a2fd
mov edx, dword [ebp - 0x20]
push eax
lea ecx, [edx + 4]
call sub.MFC42.DLL_CString::GetBuffer
push eax
lea eax, [esi + 0x74]
push 0x435020
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
jmp 0x40a895
mov ecx, dword [ebp - 0x20]
push str.PROGRAM_ARGUMENT
mov eax, dword [ecx]
push eax
call edi
add esp, 8
test eax, eax
jne 0x40a334
mov edx, dword [ebp - 0x20]
push eax
lea ecx, [edx + 4]
call sub.MFC42.DLL_CString::GetBuffer
push eax
lea eax, [esi + 0x78]
push 0x435020
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
jmp 0x40a895
mov ecx, dword [ebp - 0x20]
push str.PROGRAM_LINK_ICON_LOCATION
mov eax, dword [ecx]
push eax
call edi
add esp, 8
test eax, eax
jne 0x40a36b
mov edx, dword [ebp - 0x20]
push eax
lea ecx, [edx + 4]
call sub.MFC42.DLL_CString::GetBuffer
push eax
lea eax, [esi + 0x7c]
push 0x435020
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
jmp 0x40a895
mov ecx, dword [ebp - 0x20]
push str.AGENT_PROG_FILE_PATH
mov eax, dword [ecx]
push eax
call edi
add esp, 8
test eax, eax
jne 0x40a3a2
mov edx, dword [ebp - 0x20]
push eax
lea ecx, [edx + 4]
call sub.MFC42.DLL_CString::GetBuffer
push eax
lea eax, [esi + 0x60]
push 0x435020
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
jmp 0x40a895
mov ecx, dword [ebp - 0x20]
push str.AGENT_PROG_ARGUMENT
mov eax, dword [ecx]
push eax
call edi
add esp, 8
test eax, eax
jne 0x40a3d9
mov edx, dword [ebp - 0x20]
push eax
lea ecx, [edx + 4]
call sub.MFC42.DLL_CString::GetBuffer
push eax
lea eax, [esi + 0x64]
push 0x435020
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
jmp 0x40a895
mov ecx, dword [ebp - 0x20]
push str.EXCLUDE_DIRS
mov eax, dword [ecx]
push eax
call edi
add esp, 8
test eax, eax
jne 0x40a410
mov edx, dword [ebp - 0x20]
push eax
lea ecx, [edx + 4]
call sub.MFC42.DLL_CString::GetBuffer
push eax
lea eax, [esi + 0x68]
push 0x435020
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
jmp 0x40a895
mov ecx, dword [ebp - 0x20]
push str.RUN_MODE
mov eax, dword [ecx]
push eax
call edi
add esp, 8
test eax, eax
jne 0x40a447
mov edx, dword [ebp - 0x20]
push eax
lea ecx, [edx + 4]
call sub.MFC42.DLL_CString::GetBuffer
push eax
lea eax, [esi + 0x6c]
push 0x435020
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
jmp 0x40a895
mov ecx, dword [ebp - 0x20]
push str.XBROWSER_PROG_FILE_PATH
mov eax, dword [ecx]
push eax
call edi
add esp, 8
test eax, eax
jne 0x40a47e
mov edx, dword [ebp - 0x20]
push eax
lea ecx, [edx + 4]
call sub.MFC42.DLL_CString::GetBuffer
push eax
lea eax, [esi + 0x20]
push 0x435020
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
jmp 0x40a895
mov ecx, dword [ebp - 0x20]
push str.XBROWSER_PROG_ARGUMENT
mov eax, dword [ecx]
push eax
call edi
add esp, 8
test eax, eax
jne 0x40a4b5
mov edx, dword [ebp - 0x20]
push eax
lea ecx, [edx + 4]
call sub.MFC42.DLL_CString::GetBuffer
push eax
lea eax, [esi + 0x24]
push 0x435020
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
jmp 0x40a895
mov ecx, dword [ebp - 0x20]
push str.KILL_XBROWSER5_FLAG
mov eax, dword [ecx]
push eax
call edi
add esp, 8
test eax, eax
jne 0x40a4e6
mov edx, dword [ebp - 0x20]
push eax
lea ecx, [edx + 4]
call sub.MFC42.DLL_CString::GetBuffer
push eax
call ebx
add esp, 4
mov dword [esi + 0x9c], eax
jmp 0x40a895
mov eax, dword [ebp - 0x20]
push str.XBROWSER5_PROG_FILE_PATH
mov eax, dword [eax]
push eax
call edi
add esp, 8
test eax, eax
jne 0x40a520
mov ecx, dword [ebp - 0x20]
push eax
add ecx, 4
call sub.MFC42.DLL_CString::GetBuffer
push eax
lea edx, [esi + 0xa0]
push 0x435020
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
jmp 0x40a895
mov eax, dword [ebp - 0x20]
push str.XBROWSER5_PROG_ARGUMENT
mov eax, dword [eax]
push eax
call edi
add esp, 8
test eax, eax
jne 0x40a55a
mov ecx, dword [ebp - 0x20]
push eax
add ecx, 4
call sub.MFC42.DLL_CString::GetBuffer
push eax
lea edx, [esi + 0xa4]
push 0x435020
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
jmp 0x40a895
mov eax, dword [ebp - 0x20]
push str.ALL_REG_FLAG
mov eax, dword [eax]
push eax
call edi
add esp, 8
test eax, eax
jne 0x40a588
mov ecx, dword [ebp - 0x20]
push eax
add ecx, 4
call sub.MFC42.DLL_CString::GetBuffer
push eax
call ebx
add esp, 4
mov dword [esi + 0x44], eax
jmp 0x40a895
mov edx, dword [ebp - 0x20]
push str.KILL_XBROWSER_FLAG
mov eax, dword [edx]
push eax
call edi
add esp, 8
test eax, eax
jne 0x40a5b6
push eax
mov eax, dword [ebp - 0x20]
lea ecx, [eax + 4]
call sub.MFC42.DLL_CString::GetBuffer
push eax
call ebx
add esp, 4
mov dword [esi + 0x48], eax
jmp 0x40a895
mov ecx, dword [ebp - 0x20]
push str.SVR_HTTPS
mov eax, dword [ecx]
push eax
call edi
add esp, 8
test eax, eax
jne 0x40a5e8
mov edx, dword [ebp - 0x20]
push eax
lea ecx, [edx + 4]
call sub.MFC42.DLL_CString::GetBuffer
push eax
call ebx
add esp, 4
mov word [esi + 0x80], ax
jmp 0x40a895
mov eax, dword [ebp - 0x20]
push str.DELETE_LOCAL_LIST_FILE
mov eax, dword [eax]
push eax
call edi
add esp, 8
test eax, eax
jne 0x40a619
mov ecx, dword [ebp - 0x20]
push eax
add ecx, 4
call sub.MFC42.DLL_CString::GetBuffer
push eax
call ebx
add esp, 4
mov dword [esi + 0x84], eax
jmp 0x40a895
mov edx, dword [ebp - 0x20]
push str.PROXY_IP_ADDR
mov eax, dword [edx]
push eax
call edi
add esp, 8
test eax, eax
jne 0x40a653
push eax
mov eax, dword [ebp - 0x20]
lea ecx, [eax + 4]
call sub.MFC42.DLL_CString::GetBuffer
push eax
lea ecx, [esi + 0x8c]
push 0x435020
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
jmp 0x40a895
mov edx, dword [ebp - 0x20]
push str.PROXY_USER_NAME
mov eax, dword [edx]
push eax
call edi
add esp, 8
test eax, eax
jne 0x40a68d
push eax
mov eax, dword [ebp - 0x20]
lea ecx, [eax + 4]
call sub.MFC42.DLL_CString::GetBuffer
push eax
lea ecx, [esi + 0x90]
push 0x435020
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
jmp 0x40a895
mov edx, dword [ebp - 0x20]
push str.PROXY_USER_PASSWORD
mov eax, dword [edx]
push eax
call edi
add esp, 8
test eax, eax
jne 0x40a6c7
push eax
mov eax, dword [ebp - 0x20]
lea ecx, [eax + 4]
call sub.MFC42.DLL_CString::GetBuffer
push eax
lea ecx, [esi + 0x94]
push 0x435020
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
jmp 0x40a895
mov edx, dword [ebp - 0x20]
push str.PROXY_AUTH_MODE
mov eax, dword [edx]
push eax
call edi
add esp, 8
test eax, eax
jne 0x40a6f8
push eax
mov eax, dword [ebp - 0x20]
lea ecx, [eax + 4]
call sub.MFC42.DLL_CString::GetBuffer
push eax
call ebx
add esp, 4
mov dword [esi + 0x88], eax
jmp 0x40a895
mov ecx, dword [ebp - 0x20]
push str.OCX_FILE_REGISTRY_MODE
mov eax, dword [ecx]
push eax
call edi
add esp, 8
test eax, eax
jne 0x40a729
mov edx, dword [ebp - 0x20]
push eax
lea ecx, [edx + 4]
call sub.MFC42.DLL_CString::GetBuffer
push eax
call ebx
add esp, 4
mov dword [esi + 0x98], eax
jmp 0x40a895
mov eax, dword [ebp - 0x20]
push str.DOWNLOAD_FROM_BP_SERVER
mov eax, dword [eax]
push eax
call edi
add esp, 8
test eax, eax
jne 0x40a75a
mov ecx, dword [ebp - 0x20]
push eax
add ecx, 4
call sub.MFC42.DLL_CString::GetBuffer
push eax
call ebx
add esp, 4
mov dword [esi + 0xb0], eax
jmp 0x40a895
mov edx, dword [ebp - 0x20]
push str.BP_SERVER_PORT_NO
mov eax, dword [edx]
push eax
call edi
add esp, 8
test eax, eax
jne 0x40a794
push eax
mov eax, dword [ebp - 0x20]
lea ecx, [eax + 4]
call sub.MFC42.DLL_CString::GetBuffer
push eax
lea ecx, [esi + 0xb4]
push 0x435020
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
jmp 0x40a895
mov edx, dword [ebp - 0x20]
push str.LAST_LIST_FILE_NAME
mov eax, dword [edx]
push eax
call edi
add esp, 8
test eax, eax
jne 0x40a7ce
push eax
mov eax, dword [ebp - 0x20]
lea ecx, [eax + 4]
call sub.MFC42.DLL_CString::GetBuffer
push eax
lea ecx, [esi + 0xb8]
push 0x435020
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
jmp 0x40a895
mov edx, dword [ebp - 0x20]
push str.LAST_CHECK_DAY_INTERVAL
mov eax, dword [edx]
push eax
call edi
add esp, 8
test eax, eax
jne 0x40a7ff
push eax
mov eax, dword [ebp - 0x20]
lea ecx, [eax + 4]
call sub.MFC42.DLL_CString::GetBuffer
push eax
call ebx
add esp, 4
mov dword [esi + 0xbc], eax
jmp 0x40a895
mov ecx, dword [ebp - 0x20]
push str.ENCODE_URL_UTF
mov eax, dword [ecx]
push eax
call edi
add esp, 8
test eax, eax
jne 0x40a82d
mov edx, dword [ebp - 0x20]
push eax
lea ecx, [edx + 4]
call sub.MFC42.DLL_CString::GetBuffer
push eax
call ebx
add esp, 4
mov dword [esi + 0xc4], eax
jmp 0x40a895
mov eax, dword [ebp - 0x20]
push str.FILE_COMPARE_GMT_TIME
mov eax, dword [eax]
push eax
call edi
add esp, 8
test eax, eax
jne 0x40a85b
mov ecx, dword [ebp - 0x20]
push eax
add ecx, 4
call sub.MFC42.DLL_CString::GetBuffer
push eax
call ebx
add esp, 4
mov dword [esi + 0xc8], eax
jmp 0x40a895
mov edx, dword [ebp - 0x20]
push str.INVALID_UPDATE_TIME
mov eax, dword [edx]
push eax
call edi
add esp, 8
test eax, eax
jne 0x40a895
push 1
lea ecx, [ebp - 0x24]
call fcn.0040aa60
push 0
mov ecx, eax
call sub.MFC42.DLL_CString::GetBuffer
push ecx
mov ecx, esp
mov dword [ebp + 0x18], esp
push eax
call fcn.004284f2
mov ecx, esi
call fcn.0040c150
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 9
call fcn.00428744
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 7
call sub.MFC42.DLL_CString::CString
jmp 0x409e84
mov eax, dword [ebp + 0x24]
push str.CXSyncCfg::LoadConfigFromServer__Invalid_Line
push 1
mov ecx, dword [eax + 0xd0]
push ecx
jmp 0x40a028
mov esi, dword [ebp - 0x28]
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x54]
test esi, esi
je 0x40a8df
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx + 4]
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x28], 0
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 0xfffffffe
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x2c