Function at 0x403ca0
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42407e
mov eax, dword fs:[0]
push eax
sub esp, 0x8a0
mov eax, dword [0x435028]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
xor edi, edi
push edi
push edi
push edi
push edi
push 1
mov ebx, ecx
push edi
lea ecx, [ebp - 0x8a4]
mov dword [ebp - 0x874], eax
call sub.MFC80U.DLL_Ordinal_421
push edi
push 4
lea ecx, [ebp - 0x87c]
push ecx
mov dword [ebp - 4], edi
mov byte [ebp - 4], 1
push 2
lea ecx, [ebp - 0x8a4]
mov dword [ebp - 0x878], edi
mov dword [ebp - 0x87c], 0x7530
call sub.MFC80U.DLL_Ordinal_5914
cmp dword [ebx + 0x18], 8
jb 0x403d29
mov eax, dword [ebx + 4]
jmp 0x403d2c
lea eax, [ebx + 4]
push edi
push edi
push 0x80400002
push edi
push eax
lea ecx, [ebp - 0x8a4]
call sub.MFC80U.DLL_Ordinal_5105
mov esi, eax
cmp esi, edi
mov dword [ebp - 0x878], esi
je 0x403e2e
mov edx, dword [ebp - 0x874]
push str.newbanner.jpg
add edx, 0x1c
push edx
lea eax, [ebp - 0x838]
push eax
call dword [sym.imp.MSVCP80.dll_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_std::operator_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___wchar_t_const__]
add esp, 0xc
lea ecx, [ebp - 0x890]
mov byte [ebp - 4], 2
call sub.MFC80U.DLL_Ordinal_556
mov byte [ebp - 4], 3
cmp dword [ebp - 0x820], 8
mov eax, dword [ebp - 0x834]
jae 0x403d97
lea eax, [ebp - 0x834]
push edi
push 0x9001
push eax
lea ecx, [ebp - 0x890]
call sub.MFC80U.DLL_Ordinal_5091
cmp eax, edi
je 0x403dde
lea ecx, [ecx]
mov edx, dword [esi]
mov edx, dword [edx + 0x3c]
push 0x800
lea eax, [ebp - 0x81c]
push eax
mov ecx, esi
call edx
cmp eax, edi
jbe 0x403dde
push eax
lea eax, [ebp - 0x81c]
push eax
lea ecx, [ebp - 0x890]
call sub.MFC80U.DLL_Ordinal_6291
jmp 0x403db0
mov edx, dword [esi]
mov eax, dword [edx + 4]
push 1
mov ecx, esi
call eax
lea ecx, [ebp - 0x890]
call sub.MFC80U.DLL_Ordinal_2904
lea ecx, [ebp - 0x890]
mov esi, eax
mov edi, edx
call sub.MFC80U.DLL_Ordinal_1443
mov eax, dword [ebx + 0x1c]
cdq
cmp esi, eax
jne 0x403e0f
cmp edi, edx
je 0x403e60
lea ecx, [ebp - 0x890]
mov byte [ebp - 4], 2
call sub.MFC80U.DLL_Ordinal_744
lea ecx, [ebp - 0x838]
mov byte [ebp - 4], 1
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [ebp - 0x8a4]
mov dword [ebp - 4], 0xffffffff
call sub.MFC80U.DLL_Ordinal_655
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.00422de8
mov esp, ebp
pop ebp
ret 4
mov esi, dword [ebp - 0x874]
mov edi, dword [sym.imp.MSVCP80.dll_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_std::operator_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___wchar_t_const__]
push str.banner.jpg
add esi, 0x1c
lea ecx, [ebp - 0x854]
push esi
push ecx
call edi
add esp, 0xc
mov byte [ebp - 4], 4
cmp dword [ebp - 0x83c], 8
mov eax, dword [ebp - 0x850]
jae 0x403e9a
lea eax, [ebp - 0x850]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 0x850]
mov eax, 8
cmp dword [ebp - 0x83c], eax
jae 0x403ec5
lea ecx, [ebp - 0x850]
cmp dword [ebp - 0x820], eax
mov eax, dword [ebp - 0x834]
jae 0x403ed9
lea eax, [ebp - 0x834]
push ecx
push eax
call dword [sym.imp.MSVCR80.dll__wrename]
push str.banner.ini
lea edx, [ebp - 0x870]
push esi
push edx
call edi
mov ecx, dword [ebp - 0x86c]
mov eax, 8
add esp, 0x14
cmp dword [ebp - 0x858], eax
jae 0x403f0c
lea ecx, [ebp - 0x86c]
cmp dword [ebx + 0x38], eax
jb 0x403f16
mov eax, dword [ebx + 0x24]
jmp 0x403f19
lea eax, [ebx + 0x24]
push ecx
push eax
push 0x427eb8
push str.ReferralLink
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [ebp - 0x870]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [ebp - 0x854]
mov byte [ebp - 4], 3
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [ebp - 0x890]
mov byte [ebp - 4], 2
call sub.MFC80U.DLL_Ordinal_744
lea ecx, [ebp - 0x838]
mov byte [ebp - 4], 1
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [ebp - 0x8a4]
mov dword [ebp - 4], 0xffffffff
call sub.MFC80U.DLL_Ordinal_655
mov al, 1
jmp 0x403e42