Function at 0x46be70
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x503805
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x124
push esi
push edi
push ecx
lea edi, [ebp - 0x130]
mov ecx, 0x49
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 0x10], ecx
lea eax, [ebp - 0x18]
push eax
call fcn.004d30c0
add esp, 4
mov dword [ebp - 4], 0
push str.ad_tab_text_ad.xml
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x9c]
push edx
call fcn.0040e420
add esp, 0xc
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0xec], eax
mov byte [ebp - 4], 1
mov esi, esp
mov ecx, dword [ebp - 0xec]
push ecx
lea ecx, [ebp - 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator]
cmp esi, esp
call fcn.004f90e1
mov byte [ebp - 4], 0
mov esi, esp
lea ecx, [ebp - 0x9c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
cmp esi, esp
call fcn.004f90e1
mov esi, esp
lea ecx, [ebp - 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
cmp esi, esp
call fcn.004f90e1
mov esi, esp
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp esi, esp
call fcn.004f90e1
mov esi, esp
push 0
call dword [sym.imp.MSVCR71.dll_time]
add esp, 4
cmp esi, esp
call fcn.004f90e1
mov dword [ebp - 0x20], eax
mov esi, esp
lea ecx, [ebp - 0x28]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_5]
cmp esi, esp
call fcn.004f90e1
mov byte [ebp - 4], 2
mov esi, esp
mov edx, dword [ebp - 0x20]
push edx
push str.http:__www.raydown.com_data_Tab_Ad_Files_tab_text_ad.xml_time_d
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Format]
add esp, 0xc
cmp esi, esp
call fcn.004f90e1
push ecx
mov ecx, esp
mov dword [ebp - 0xa0], esp
mov esi, esp
lea edx, [ebp - 0x18]
push edx
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
cmp esi, esp
call fcn.004f90e1
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0xf4], eax
mov byte [ebp - 4], 3
push ecx
mov ecx, esp
mov dword [ebp - 0xa4], esp
mov esi, esp
lea edx, [ebp - 0x28]
push edx
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
cmp esi, esp
call fcn.004f90e1
mov dword [ebp - 0xf8], eax
mov byte [ebp - 4], 2
call fcn.004d2880
add esp, 8
mov dword [ebp - 0xfc], eax
cmp dword [ebp - 0xfc], 0
je 0x46c535
push 0x46
mov ecx, dword [ebp - 0x10]
call fcn.0040e960
mov ecx, dword [ebp - 0x10]
add ecx, 0x8b8
call fcn.0046e0b0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x8c8], 0
lea ecx, [ebp - 0x6c]
call fcn.0040d480
mov byte [ebp - 4], 4
mov esi, esp
lea ecx, [ebp - 0x78]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_5]
cmp esi, esp
call fcn.004f90e1
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x94]
call fcn.0046dd80
mov byte [ebp - 4], 6
push ecx
mov ecx, esp
mov dword [ebp - 0xa8], esp
lea edx, [ebp - 0x18]
push edx
call fcn.0040d440
lea ecx, [ebp - 0x6c]
call fcn.004e8980
movzx eax, al
test eax, eax
je 0x46c460
push ecx
mov ecx, esp
mov dword [ebp - 0xac], esp
push 0x518cf4
call fcn.0040d420
lea ecx, [ebp - 0x6c]
call fcn.004e9200
movzx ecx, al
test ecx, ecx
je 0x46c45e
push ecx
mov ecx, esp
mov dword [ebp - 0xb0], esp
push 0x518cfc
call fcn.0040d420
lea edx, [ebp - 0xb4]
push edx
lea ecx, [ebp - 0x6c]
call fcn.0042edb0
mov dword [ebp - 0x100], eax
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0x104], eax
mov byte [ebp - 4], 7
mov esi, esp
mov ecx, dword [ebp - 0x104]
push ecx
lea ecx, [ebp - 0x78]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator]
cmp esi, esp
call fcn.004f90e1
mov byte [ebp - 4], 6
mov esi, esp
lea ecx, [ebp - 0xb4]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
cmp esi, esp
call fcn.004f90e1
mov esi, esp
push 0
lea ecx, [ebp - 0x78]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetBuffer_1]
cmp esi, esp
call fcn.004f90e1
mov esi, esp
push eax
call dword [sym.imp.MSVCR71.dll_atoi]
add esp, 4
cmp esi, esp
call fcn.004f90e1
imul eax, eax, 0x3e8
mov dword [0x555f70], eax
push ecx
mov ecx, esp
mov dword [ebp - 0xb8], esp
push 0x518d04
call fcn.0040d420
lea edx, [ebp - 0xbc]
push edx
lea ecx, [ebp - 0x6c]
call fcn.0042edb0
mov dword [ebp - 0x108], eax
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0x10c], eax
mov byte [ebp - 4], 8
mov esi, esp
mov ecx, dword [ebp - 0x10c]
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x8cc
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator]
cmp esi, esp
call fcn.004f90e1
mov byte [ebp - 4], 6
mov esi, esp
lea ecx, [ebp - 0xbc]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
cmp esi, esp
call fcn.004f90e1
lea ecx, [ebp - 0x6c]
call fcn.0040d5c0
push ecx
mov ecx, esp
mov dword [ebp - 0xc0], esp
push 0x518d0c
call fcn.0040d420
lea ecx, [ebp - 0x6c]
call fcn.004e9290
movzx edx, al
test edx, edx
je 0x46c45e
lea ecx, [ebp - 0x6c]
call fcn.004eafd0
push ecx
mov ecx, esp
mov dword [ebp - 0xc4], esp
push 0x518d14
call fcn.0040d420
lea ecx, [ebp - 0x6c]
call fcn.004e9290
movzx eax, al
test eax, eax
je 0x46c298
lea ecx, [ebp - 0x6c]
call fcn.004eafd0
lea ecx, [ebp - 0xc8]
push ecx
lea ecx, [ebp - 0x6c]
call fcn.0040d5f0
mov dword [ebp - 0x110], eax
mov edx, dword [ebp - 0x110]
mov dword [ebp - 0x114], edx
mov byte [ebp - 4], 9
mov esi, esp
mov eax, dword [ebp - 0x114]
push eax
lea ecx, [ebp - 0x78]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator]
cmp esi, esp
call fcn.004f90e1
mov byte [ebp - 4], 6
mov esi, esp
lea ecx, [ebp - 0xc8]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
cmp esi, esp
call fcn.004f90e1
mov esi, esp
push 0
lea ecx, [ebp - 0x78]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetBuffer_1]
cmp esi, esp
call fcn.004f90e1
mov esi, esp
push eax
call dword [sym.imp.MSVCR71.dll_atoi]
add esp, 4
cmp esi, esp
call fcn.004f90e1
mov dword [ebp - 0x94], eax
lea ecx, [ebp - 0x6c]
call fcn.004eb020
push ecx
mov ecx, esp
mov dword [ebp - 0xcc], esp
push 0x518d1c
call fcn.0040d420
lea ecx, [ebp - 0x6c]
call fcn.004e9290
movzx ecx, al
test ecx, ecx
je 0x46c324
lea ecx, [ebp - 0x6c]
call fcn.004eafd0
lea edx, [ebp - 0xd0]
push edx
lea ecx, [ebp - 0x6c]
call fcn.0040d5f0
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x11c], eax
mov byte [ebp - 4], 0xa
mov esi, esp
mov ecx, dword [ebp - 0x11c]
push ecx
lea ecx, [ebp - 0x90]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator]
cmp esi, esp
call fcn.004f90e1
mov byte [ebp - 4], 6
mov esi, esp
lea ecx, [ebp - 0xd0]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
cmp esi, esp
call fcn.004f90e1
lea ecx, [ebp - 0x6c]
call fcn.004eb020
push ecx
mov ecx, esp
mov dword [ebp - 0xd4], esp
push 0x518d24
call fcn.0040d420
lea ecx, [ebp - 0x6c]
call fcn.004e9290
movzx edx, al
test edx, edx
je 0x46c3b0
lea ecx, [ebp - 0x6c]
call fcn.004eafd0
lea eax, [ebp - 0xd8]
push eax
lea ecx, [ebp - 0x6c]
call fcn.0040d5f0
mov dword [ebp - 0x120], eax
mov ecx, dword [ebp - 0x120]
mov dword [ebp - 0x124], ecx
mov byte [ebp - 4], 0xb
mov esi, esp
mov edx, dword [ebp - 0x124]
push edx
lea ecx, [ebp - 0x8c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator]
cmp esi, esp
call fcn.004f90e1
mov byte [ebp - 4], 6
mov esi, esp
lea ecx, [ebp - 0xd8]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
cmp esi, esp
call fcn.004f90e1
lea ecx, [ebp - 0x6c]
call fcn.004eb020
push ecx
mov ecx, esp
mov dword [ebp - 0xdc], esp
push 0x518d2c
call fcn.0040d420
lea ecx, [ebp - 0x6c]
call fcn.004e9290
movzx eax, al
test eax, eax
je 0x46c43c
lea ecx, [ebp - 0x6c]
call fcn.004eafd0
lea ecx, [ebp - 0xe0]
push ecx
lea ecx, [ebp - 0x6c]
call fcn.0040d5f0
mov dword [ebp - 0x128], eax
mov edx, dword [ebp - 0x128]
mov dword [ebp - 0x12c], edx
mov byte [ebp - 4], 0xc
mov esi, esp
mov eax, dword [ebp - 0x12c]
push eax
lea ecx, [ebp - 0x84]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator]
cmp esi, esp
call fcn.004f90e1
mov byte [ebp - 4], 6
mov esi, esp
lea ecx, [ebp - 0xe0]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
cmp esi, esp
call fcn.004f90e1
lea ecx, [ebp - 0x6c]
call fcn.004eb020
lea ecx, [ebp - 0x94]
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x8b8
call fcn.0046e020
lea ecx, [ebp - 0x6c]
call fcn.004eb020
jmp 0x46c1b0
jmp 0x46c470
push 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x724
call sub.MFC71.DLL_CWnd::ShowWindow
mov ecx, dword [ebp - 0x10]
add ecx, 0x8b8
call fcn.0046df80
test eax, eax
jbe 0x46c4f4
push 0
mov edx, dword [0x555f70]
push edx
push 0x46
mov ecx, dword [ebp - 0x10]
call fcn.0040e910
push 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x8b8
call fcn.0046dfd0
add eax, 4
push ecx
mov ecx, esp
mov dword [ebp - 0xe4], esp
mov esi, esp
push eax
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
cmp esi, esp
call fcn.004f90e1
mov dword [ebp - 0x130], eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x724
call fcn.004800e0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x8c8], 0
push 5
mov ecx, dword [ebp - 0x10]
add ecx, 0x724
call sub.MFC71.DLL_CWnd::ShowWindow
jmp 0x46c504
push 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x724
call sub.MFC71.DLL_CWnd::ShowWindow
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x94]
call fcn.0046de00
mov byte [ebp - 4], 4
mov esi, esp
lea ecx, [ebp - 0x78]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
cmp esi, esp
call fcn.004f90e1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x6c]
call fcn.0040d530
mov byte [ebp - 4], 0
mov esi, esp
lea ecx, [ebp - 0x28]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
cmp esi, esp
call fcn.004f90e1
mov dword [ebp - 4], 0xffffffff
mov esi, esp
lea ecx, [ebp - 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
cmp esi, esp
call fcn.004f90e1
push edx
mov ecx, ebp
push eax
lea edx, [0x46c592]
call fcn.004f9104
pop eax
pop edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
add esp, 0x130
cmp ebp, esp
call fcn.004f90e1
mov esp, ebp
pop ebp
ret