Function at 0x407e50
Capabilities:
Download url
Print debug messages
Receive data

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x40f7de
push eax
mov eax, 0x164c
mov dword fs:[0], esp
call fcn.0040ee40
push ebx
push ebp
push esi
push edi
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString
xor ebx, ebx
lea ecx, [esp + 0x10]
mov dword [esp + 0x1664], ebx
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x1664], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1664], 2
call sub.MFC42.DLL_CString::CString
mov dword [esp + 0x44], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x48], ebx
push ebx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1668], 5
call fcn.00404c60
mov dword [esp + 0x40], ebx
lea eax, [esp + 0x258]
push str.https:__ebanks.cgbchina.com.cn_perbank_file_download_upgrade_mw.xml
push eax
mov byte [esp + 0x166c], 6
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push str..xml
lea ecx, [esp + 0x158]
push str.CGB_MW_Upgrade
push ecx
call fcn.00407420
mov ebp, eax
add esp, 0xc
cmp ebp, ebx
jne 0x40805c
lea edx, [esp + 0x154]
lea ecx, [esp + 0x14]
push edx
call sub.MFC42.DLL_CString::operator_1
lea eax, [esp + 0x258]
push eax
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntry]
mov ecx, dword [esp + 0x14]
push ebx
push ebx
lea edx, [esp + 0x260]
push ecx
push edx
push ebx
call sub.urlmon.dll_URLDownloadToFileA
cmp eax, ebx
jne 0x408031
lea eax, [esp + 0x258]
lea ecx, [esp + 0x10]
push eax
push 0x4130f0
push ecx
call sub.MFC42.DLL_CString::Format
mov edx, dword [esp + 0x1c]
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
add esp, 0xc
push edx
call esi
mov edi, dword [esp + 0x166c]
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x65c]
push eax
push edi
push ecx
call fcn.00407780
mov ebp, eax
add esp, 0xc
cmp ebp, ebx
je 0x407fc2
lea edx, [esp + 0x258]
push ebp
push edx
lea eax, [esp + 0x18]
push 0x413b7c
push eax
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x20]
add esp, 0x10
push ecx
call esi
jmp 0x40805c
lea edx, [esp + 0x54]
lea eax, [esp + 0x65c]
push edx
push eax
call fcn.00407270
add esp, 8
test eax, eax
jne 0x407ffb
lea ecx, [esp + 0x10]
push 0x413b68
push ecx
call sub.MFC42.DLL_CString::Format
mov edx, dword [esp + 0x18]
add esp, 8
push edx
call esi
mov ebp, 0xffff0005
jmp 0x40805c
add edi, 0x50d
lea eax, [esp + 0x54]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x40805c
lea ecx, [esp + 0x10]
push 0x413b54
push ecx
call sub.MFC42.DLL_CString::Format
mov edx, dword [esp + 0x18]
add esp, 8
push edx
call esi
mov ebp, 0xffff0006
jmp 0x40805c
push eax
lea eax, [esp + 0x25c]
push eax
lea ecx, [esp + 0x18]
push 0x413b2c
push ecx
call sub.MFC42.DLL_CString::Format
mov edx, dword [esp + 0x20]
add esp, 0x10
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ebp, 0xffff0004
mov eax, dword [esp + 0x4c]
xor esi, esi
dec eax
mov byte [esp + 0x1664], 9
sar eax, 0x10
inc eax
test eax, eax
jle 0x408091
mov ecx, dword [esp + 0x48]
mov eax, dword [ecx + esi*4]
push eax
call sub.MFC42.DLL_operatordelete
mov edx, dword [esp + 0x50]
add esp, 4
inc esi
dec edx
sar edx, 0x10
inc edx
cmp esi, edx
jl 0x408073
mov eax, dword [esp + 0x48]
cmp eax, ebx
je 0x4080a2
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x44]
mov byte [esp + 0x1664], 8
cmp ecx, ebx
je 0x4080ed
xor edi, edi
mov eax, dword [edi + ecx]
cmp eax, ebx
je 0x4080dc
mov ecx, dword [eax - 4]
lea esi, [eax - 4]
push 0x406e90
push ecx
push 0xc
push eax
call fcn.0040ed48
push esi
call sub.MFC42.DLL_operatordelete
mov ecx, dword [esp + 0x48]
add esp, 4
add edi, 4
cmp edi, 0x1c
jl 0x4080b4
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x1c]
mov dword [esp + 0x44], ebx
mov byte [esp + 0x1664], 7
call fcn.0040ea52
lea ecx, [esp + 0x18]
mov byte [esp + 0x1664], 1
call fcn.0040ea52
lea ecx, [esp + 0x10]
mov byte [esp + 0x1664], bl
call fcn.0040ea52
lea ecx, [esp + 0x14]
mov dword [esp + 0x1664], 0xffffffff
call fcn.0040ea52
mov ecx, dword [esp + 0x165c]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1658
ret