Function at 0x403050
Capabilities:
Delete file
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x436130
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x8c
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x54], ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xa4], 3
call sub.MFC42.DLL_CString::CString
push 0x5c
lea ecx, [esp + 0xb0]
mov byte [esp + 0xa8], 4
call sub.MFC42.DLL_CString::ReverseFind
mov ecx, dword [esp + 0xac]
lea edx, [esp + 0x18]
mov ecx, dword [ecx - 8]
sub ecx, eax
dec ecx
push ecx
push edx
lea ecx, [esp + 0xb4]
call sub.MFC42.DLL_CString::Right
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0xa8], 5
call fcn.00434ed8
lea ecx, [esp + 0x18]
mov byte [esp + 0xa4], 4
call fcn.00434eae
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CFile::CFile_1
mov eax, dword [esp + 0xac]
xor ebp, ebp
push ebp
push ebp
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0xb0], 6
call sub.MFC42.DLL_CFile::Open
test eax, eax
je 0x4033cc
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CFile::GetLength
cmp eax, 2
jb 0x4033cc
push 0x44a1d8
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [eax]
mov ecx, dword [esp + 0xb8]
mov esi, dword [sym.imp.MSVCRT.dll__mbscmp]
push eax
push ecx
call esi
add esp, 8
lea ecx, [esp + 0x18]
test eax, eax
sete bl
call fcn.00434eae
test bl, bl
je 0x403815
mov edx, dword [esp + 0x34]
push ebp
push ebp
lea ecx, [esp + 0x3c]
call dword [edx + 0x30]
lea eax, [esp + 0x4c]
push 4
push eax
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CFile::Read
mov ecx, dword [esp + 0x4c]
push ecx
call sub.MFC42.DLL_operatornew
mov edx, dword [esp + 0x50]
add esp, 4
mov edi, eax
lea ecx, [esp + 0x34]
push edx
push edi
mov dword [esp + 0x58], edi
call sub.MFC42.DLL_CFile::Read
push 0x44cbb8
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esp + 0x4c]
xor esi, esi
cmp eax, ebp
mov byte [esp + 0xa4], 7
jle 0x4031d0
mov al, byte [esi + edi]
lea ecx, [esp + 0x2c]
sub al, 0x63
push eax
call sub.MFC42.DLL_CString::operator
mov eax, dword [esp + 0x4c]
inc esi
cmp esi, eax
jl 0x4031b8
lea ecx, [esp + 0xac]
push 0x44a1d0
lea edx, [esp + 0x34]
push ecx
push edx
call sub.MFC42.DLL_operator
mov eax, dword [esp + 0x30]
push 0x1001
push eax
lea ecx, [esp + 0x8c]
mov byte [esp + 0xac], 8
call sub.MFC42.DLL_CFile::CFile
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x2c]
push ecx
push edx
lea ecx, [esp + 0x8c]
mov byte [esp + 0xac], 9
call sub.MFC42.DLL_CFile::Write
lea ecx, [esp + 0x84]
call sub.MFC42.DLL_CFile::Close
push ebp
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [esp + 0x24], ebp
lea eax, [esp + 0x14]
mov byte [esp + 0xa4], 0xa
push eax
push 0x44a1c0
push 7
push ebp
push 0x43db20
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebp
jl 0x403292
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ole32.dll_OleRun]
mov esi, eax
cmp esi, ebp
jl 0x403284
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x24]
push ecx
push 0x44a1b0
mov edx, dword [eax]
push eax
call dword [edx]
mov esi, eax
mov eax, dword [esp + 0x14]
push eax
mov edx, dword [eax]
call dword [edx + 8]
cmp esi, ebp
jge 0x4032b7
push ebp
push ebp
push 0x44a194
call sub.MFC42.DLL_AfxMessageBox
mov eax, dword [esp + 0x24]
mov byte [esp + 0xa4], 9
cmp eax, ebp
je 0x403396
jmp 0x403390
mov eax, dword [esp + 0x30]
mov word [esp + 0x74], 8
push eax
mov esi, eax
call fcn.0043588e
cmp eax, ebp
mov dword [esp + 0x7c], eax
jne 0x4032e0
cmp esi, ebp
je 0x4032e0
push 0x8007000e
call fcn.004359d3
mov eax, dword [esp + 0x24]
mov byte [esp + 0xa4], 0xb
cmp eax, ebp
jne 0x4032fe
push 0x80004003
call fcn.004359d3
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0x74]
lea ecx, [esp + 0x10]
push ecx
mov edx, dword [eax]
sub esp, 0x10
mov esi, eax
mov ecx, esp
push eax
mov dword [ecx], ebx
mov ebx, dword [esp + 0x90]
mov dword [ecx + 4], ebx
mov ebx, dword [esp + 0x94]
mov dword [ecx + 8], ebx
mov ebx, dword [esp + 0x98]
mov dword [ecx + 0xc], ebx
call dword [edx + 0xe8]
cmp eax, ebp
jge 0x403347
push 0x44a1b0
push esi
push eax
call fcn.004359e1
cmp word [esp + 0x10], bp
lea edx, [esp + 0x74]
push edx
mov byte [esp + 0xa8], 0xa
sete bl
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp eax, ebp
jge 0x40336c
push eax
call fcn.004359d3
test bl, bl
je 0x40345e
push ebp
push ebp
push 0x44a180
call sub.MFC42.DLL_AfxMessageBox
mov eax, dword [esp + 0x24]
mov byte [esp + 0xa4], 9
cmp eax, ebp
je 0x403396
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [esp + 0x84]
mov byte [esp + 0xa4], 8
call fcn.004350dc
lea ecx, [esp + 0x30]
mov byte [esp + 0xa4], 7
call fcn.00434eae
lea ecx, [esp + 0x2c]
mov byte [esp + 0xa4], 6
call fcn.00434eae
lea ecx, [esp + 0x34]
mov byte [esp + 0xa4], 4
call fcn.004350dc
lea ecx, [esp + 0x20]
mov byte [esp + 0xa4], 3
call fcn.00434eae
lea ecx, [esp + 0xac]
mov byte [esp + 0xa4], 2
call fcn.00434eae
lea ecx, [esp + 0xb0]
mov byte [esp + 0xa4], 1
call fcn.00434eae
lea ecx, [esp + 0xb4]
mov byte [esp + 0xa4], 0
call fcn.00434eae
lea ecx, [esp + 0xb8]
mov dword [esp + 0xa4], 0xffffffff
call fcn.00434eae
xor eax, eax
mov ecx, dword [esp + 0x9c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x98
ret 0x10
cmp dword [esp + 0x24], ebp
jne 0x40346e
push 0x80004003
call fcn.004359d3
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x18]
push edx
call fcn.00403e20
mov ecx, dword [esp + 0x18]
mov byte [esp + 0xa4], 0xc
cmp ecx, ebp
je 0x40378b
lea eax, [esp + 0x10]
push eax
call fcn.00403c40
mov eax, dword [esp + 0x10]
mov byte [esp + 0xa4], 0xd
cmp eax, ebp
jne 0x4034b8
push 0x80004003
call fcn.004359d3
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
lea edx, [esp + 0x28]
push edx
push eax
mov esi, eax
call dword [ecx + 0x20]
cmp eax, ebp
jge 0x4034d5
push 0x44a170
push esi
push eax
call fcn.004359e1
mov eax, dword [esp + 0x28]
test eax, eax
jle 0x403775
mov eax, dword [esp + 0x54]
lea ebx, [eax + 0x184]
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x4034fd
push 0x80004003
call fcn.004359d3
lea ecx, [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x14]
call fcn.00403d80
mov esi, eax
mov eax, dword [esi]
mov byte [esp + 0xa4], 0xe
test eax, eax
jne 0x403525
push 0x80004003
call fcn.004359d3
mov ecx, dword [esi]
lea edx, [esp + 0x44]
push edx
call fcn.00403c90
mov esi, eax
mov eax, dword [esi]
mov byte [esp + 0xa4], 0xf
test eax, eax
jne 0x40354b
push 0x80004003
call fcn.004359d3
mov ecx, dword [esi]
lea eax, [esp + 0x54]
push 0
push eax
call fcn.00403dd0
mov esi, eax
mov eax, dword [esi]
mov byte [esp + 0xa4], 0x10
test eax, eax
jne 0x403573
push 0x80004003
call fcn.004359d3
mov ecx, dword [esi]
lea edx, [esp + 0x14]
push edx
call fcn.00403ce0
mov eax, dword [esp + 0x54]
mov byte [esp + 0xa4], 0x14
test eax, eax
je 0x403595
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x44]
mov byte [esp + 0xa4], 0x13
test eax, eax
je 0x4035ab
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x48]
mov byte [esp + 0xa4], 0x12
test eax, eax
je 0x4035c1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4035f6
mov ecx, dword [eax + 4]
lea esi, [eax + 4]
test ecx, ecx
mov edi, eax
jne 0x4035f2
mov edx, dword [eax]
push edx
call fcn.00435903
test eax, eax
mov dword [esi], eax
jne 0x4035f2
cmp dword [edi], 0
je 0x4035f2
push 0x8007000e
call fcn.004359d3
mov eax, dword [esi]
jmp 0x4035f8
xor eax, eax
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
mov esi, eax
push esi
call sub.MFC42.DLL_operatornew
add esp, 8
mov edi, eax
lea ecx, [esp + 0x34]
push esi
push edi
call sub.MFC42.DLL_CFile::Read
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 0xb4]
push 0x44a16c
lea ecx, [esp + 0x5c]
push eax
push ecx
mov byte [esp + 0xb0], 0x15
call sub.MFC42.DLL_operator
lea edx, [esp + 0x20]
mov byte [esp + 0xa4], 0x16
push edx
push eax
lea eax, [esp + 0x68]
push eax
call sub.MFC42.DLL_operator_1
push str.__d__d.swf
lea ecx, [esp + 0x60]
push eax
push ecx
mov byte [esp + 0xb0], 0x17
call sub.MFC42.DLL_operator
mov edx, dword [esp + 0x28]
mov eax, dword [eax]
inc ebp
mov byte [esp + 0xa4], 0x18
push ebp
push edx
push eax
lea eax, [esp + 0x28]
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0x10
lea ecx, [esp + 0x5c]
mov byte [esp + 0xa4], 0x17
call fcn.00434eae
lea ecx, [esp + 0x60]
mov byte [esp + 0xa4], 0x16
call fcn.00434eae
lea ecx, [esp + 0x58]
mov byte [esp + 0xa4], 0x15
call fcn.00434eae
mov ecx, dword [esp + 0x1c]
push 0x1001
push ecx
lea ecx, [esp + 0x6c]
call sub.MFC42.DLL_CFile::CFile
push esi
push edi
lea ecx, [esp + 0x6c]
mov byte [esp + 0xac], 0x19
call sub.MFC42.DLL_CFile::Write
lea ecx, [esp + 0x64]
call sub.MFC42.DLL_CFile::Close
push edi
call sub.MFC42.DLL_operatordelete
mov eax, dword [ebx + 8]
add esp, 4
lea edx, [esp + 0x1c]
mov ecx, ebx
push edx
push eax
call sub.MFC42.DLL_CStringArray::SetAtGrow
mov byte [esp + 0xa4], 0x15
lea ecx, [esp + 0x64]
call fcn.004350dc
lea ecx, [esp + 0x1c]
mov byte [esp + 0xa4], 0x12
call fcn.00434eae
mov eax, dword [esp + 0x14]
mov byte [esp + 0xa4], 0xd
test eax, eax
je 0x403767
mov esi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x40375f
test esi, esi
je 0x40375f
mov ecx, esi
call fcn.00403bf0
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [esp + 0x14], 0
cmp ebp, dword [esp + 0x28]
jl 0x4034eb
mov edi, dword [esp + 0x50]
mov eax, dword [esp + 0x10]
mov byte [esp + 0xa4], 0xc
test eax, eax
je 0x40378b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CFile::Close
push edi
call sub.MFC42.DLL_operatordelete
mov edx, dword [esp + 0x34]
add esp, 4
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [esp + 0x18]
mov byte [esp + 0xa4], 0xa
test eax, eax
je 0x4037c4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x24]
mov byte [esp + 0xa4], 9
test eax, eax
je 0x4037da
mov edx, dword [eax]
push eax
call dword [edx + 8]
lea ecx, [esp + 0x84]
mov byte [esp + 0xa4], 8
call fcn.004350dc
lea ecx, [esp + 0x30]
mov byte [esp + 0xa4], 7
call fcn.00434eae
lea ecx, [esp + 0x2c]
mov byte [esp + 0xa4], 6
call fcn.00434eae
jmp 0x403b1b
push 0x44a15c
lea ecx, [esp + 0x54]
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [eax]
push eax
mov eax, dword [esp + 0xbc]
push eax
call esi
add esp, 8
lea ecx, [esp + 0x50]
test eax, eax
sete bl
call fcn.00434eae
test bl, bl
je 0x4033cc
mov edx, dword [esp + 0x34]
push ebp
push ebp
lea ecx, [esp + 0x3c]
call dword [edx + 0x30]
lea eax, [esp + 0x98]
push 4
push eax
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CFile::Read
lea ecx, [esp + 0x94]
push 4
push ecx
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CFile::Read
lea edx, [esp + 0x44]
push 4
push edx
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CFile::Read
lea eax, [esp + 0x1c]
push 4
push eax
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CFile::Read
mov ecx, dword [esp + 0x1c]
push ecx
call sub.MFC42.DLL_operatornew
mov edx, dword [esp + 0x20]
add esp, 4
mov esi, eax
lea ecx, [esp + 0x34]
push edx
push esi
mov dword [esp + 0x34], esi
call sub.MFC42.DLL_CFile::Read
mov eax, dword [esp + 0x1c]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 1
push eax
mov dword [esp + 0x2c], eax
call sub.MFC42.DLL_operatornew
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x2c]
push ecx
push esi
push edx
push eax
mov dword [esp + 0x2c], eax
call fcn.00432500
mov eax, dword [esp + 0x58]
add esp, 0x14
test eax, eax
jle 0x403afb
mov bl, 0x1b
cmp ebp, 0x32
jge 0x403afb
lea eax, [esp + 0x10]
push 4
push eax
lea ecx, [esp + 0x3c]
mov dword [esp + 0x18], 0
call sub.MFC42.DLL_CFile::Read
mov ecx, dword [esp + 0x10]
push ecx
call sub.MFC42.DLL_operatornew
mov edx, dword [esp + 0x14]
add esp, 4
mov esi, eax
lea ecx, [esp + 0x34]
push edx
push esi
call sub.MFC42.DLL_CFile::Read
mov eax, dword [esp + 0x10]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 1
push eax
mov dword [esp + 0x4c], eax
call sub.MFC42.DLL_operatornew
mov edi, eax
mov eax, dword [esp + 0x14]
push eax
lea ecx, [esp + 0x50]
push esi
push ecx
push edi
call fcn.00432500
add esp, 0x14
lea ecx, [esp + 0x5c]
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x48]
lea ecx, [esp + 0x14]
mov byte [esp + 0xa4], 0x1a
lea eax, [eax + edx + 8]
mov dword [esp + 0x74], 0x9535746
mov dword [esp + 0x78], eax
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xb4]
push 0x44a16c
lea edx, [esp + 0x64]
push ecx
push edx
mov byte [esp + 0xb0], bl
call sub.MFC42.DLL_operator
lea ecx, [esp + 0x20]
lea edx, [esp + 0x58]
push ecx
push eax
push edx
mov byte [esp + 0xb0], 0x1c
call sub.MFC42.DLL_operator_1
push str.__d__d.swf
push eax
lea eax, [esp + 0x58]
mov byte [esp + 0xac], 0x1d
push eax
call sub.MFC42.DLL_operator
mov ecx, dword [esp + 0x44]
mov eax, dword [eax]
inc ebp
lea edx, [esp + 0x14]
push ebp
push ecx
push eax
push edx
mov byte [esp + 0xb4], 0x1e
call sub.MFC42.DLL_CString::Format
add esp, 0x10
lea ecx, [esp + 0x50]
mov byte [esp + 0xa4], 0x1d
call fcn.00434eae
lea ecx, [esp + 0x58]
mov byte [esp + 0xa4], 0x1c
call fcn.00434eae
lea ecx, [esp + 0x60]
mov byte [esp + 0xa4], bl
call fcn.00434eae
mov eax, dword [esp + 0x14]
push 0x1001
push eax
lea ecx, [esp + 0x6c]
call sub.MFC42.DLL_CFile::CFile
lea ecx, [esp + 0x74]
push 8
push ecx
lea ecx, [esp + 0x6c]
mov byte [esp + 0xac], 0x1f
call sub.MFC42.DLL_CFile::Write
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x18]
push edx
push eax
lea ecx, [esp + 0x6c]
call sub.MFC42.DLL_CFile::Write
mov ecx, dword [esp + 0x48]
push ecx
push edi
lea ecx, [esp + 0x6c]
call sub.MFC42.DLL_CFile::Write
lea ecx, [esp + 0x64]
call sub.MFC42.DLL_CFile::Flush
lea ecx, [esp + 0x64]
call sub.MFC42.DLL_CFile::Close
mov edx, dword [esp + 0x54]
mov eax, dword [edx + 0x18c]
lea ecx, [edx + 0x184]
lea edx, [esp + 0x14]
push edx
push eax
call sub.MFC42.DLL_CStringArray::SetAtGrow
push esi
call sub.MFC42.DLL_operatordelete
push edi
call sub.MFC42.DLL_operatordelete
add esp, 8
lea ecx, [esp + 0x64]
mov byte [esp + 0xa4], bl
call fcn.004350dc
lea ecx, [esp + 0x14]
mov byte [esp + 0xa4], 0x1a
call fcn.00434eae
lea ecx, [esp + 0x5c]
mov byte [esp + 0xa4], 6
call fcn.00434eae
cmp ebp, dword [esp + 0x44]
jl 0x4038fa
mov eax, dword [esp + 0x2c]
push eax
call sub.MFC42.DLL_operatordelete
mov ecx, dword [esp + 0x1c]
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 8
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CFile::Close
lea ecx, [esp + 0x34]
mov byte [esp + 0xa4], 4
call fcn.004350dc
lea ecx, [esp + 0x20]
mov byte [esp + 0xa4], 3
call fcn.00434eae
lea ecx, [esp + 0xac]
mov byte [esp + 0xa4], 2
call fcn.00434eae
lea ecx, [esp + 0xb0]
mov byte [esp + 0xa4], 1
call fcn.00434eae
lea ecx, [esp + 0xb4]
mov byte [esp + 0xa4], 0
call fcn.00434eae
lea ecx, [esp + 0xb8]
mov dword [esp + 0xa4], 0xffffffff
call fcn.00434eae
mov eax, 1
jmp 0x403443