Function at 0x409250
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fc6bd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x104
push esi
push edi
push ecx
lea edi, [ebp - 0x110]
mov ecx, 0x41
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
add eax, 0xfc
push ecx
mov ecx, esp
mov dword [ebp - 0x38], 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 - 0x88], eax
mov ecx, dword [ebp - 0x88]
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x10]
add edx, 0x104
push ecx
mov ecx, esp
mov dword [ebp - 0x3c], esp
mov esi, esp
push edx
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
cmp esi, esp
call fcn.004f90e1
mov dword [ebp - 0x90], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
call fcn.0040ce00
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x94], 0
je 0x409661
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x134], 0
je 0x409320
push 1
mov ecx, dword [ebp - 0x10]
call fcn.0040a990
jmp 0x40965c
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x12c], 1
lea edx, [ebp - 0x18]
push edx
call fcn.004d30c0
add esp, 4
mov dword [ebp - 4], 1
mov esi, esp
push 0x511920
lea ecx, [ebp - 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_2]
cmp esi, esp
call fcn.004f90e1
mov esi, esp
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x120
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator]
cmp esi, esp
call fcn.004f90e1
mov esi, esp
push 0
lea ecx, [ebp - 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetBuffer_1]
cmp esi, esp
call fcn.004f90e1
push eax
call fcn.004d3a20
add esp, 4
mov ecx, dword [ebp - 0x10]
add ecx, 0x118
push ecx
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x40]
push eax
call fcn.0040e2d0
add esp, 0xc
mov dword [ebp - 0x98], eax
mov ecx, dword [ebp - 0x98]
mov dword [ebp - 0x9c], ecx
mov byte [ebp - 4], 2
push 0x511928
mov edx, dword [ebp - 0x9c]
push edx
lea eax, [ebp - 0x24]
push eax
call fcn.0040e420
add esp, 0xc
mov byte [ebp - 4], 4
mov esi, esp
lea ecx, [ebp - 0x40]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
cmp esi, esp
call fcn.004f90e1
mov esi, esp
lea ecx, [ebp - 0x24]
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 ecx, dword [ebp - 0x10]
add ecx, 0x118
push ecx
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x44]
push eax
call fcn.0040e2d0
add esp, 0xc
mov dword [ebp - 0xa0], eax
mov ecx, dword [ebp - 0xa0]
mov dword [ebp - 0xa4], ecx
mov byte [ebp - 4], 5
push 0x51192c
mov edx, dword [ebp - 0xa4]
push edx
lea eax, [ebp - 0x48]
push eax
call fcn.0040e420
add esp, 0xc
mov dword [ebp - 0xa8], eax
mov ecx, dword [ebp - 0xa8]
mov dword [ebp - 0xac], ecx
mov byte [ebp - 4], 6
mov esi, esp
mov edx, dword [ebp - 0xac]
push edx
lea ecx, [ebp - 0x24]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator]
cmp esi, esp
call fcn.004f90e1
mov byte [ebp - 4], 5
mov esi, esp
lea ecx, [ebp - 0x48]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
cmp esi, esp
call fcn.004f90e1
mov byte [ebp - 4], 4
mov esi, esp
lea ecx, [ebp - 0x44]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
cmp esi, esp
call fcn.004f90e1
mov esi, esp
lea ecx, [ebp - 0x24]
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 eax, dword [ebp - 0x10]
add eax, 0x118
push eax
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x4c]
push edx
call fcn.0040e2d0
add esp, 0xc
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0xb4], eax
mov byte [ebp - 4], 7
mov esi, esp
mov ecx, dword [ebp - 0xb4]
push ecx
lea ecx, [ebp - 0x24]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator]
cmp esi, esp
call fcn.004f90e1
mov byte [ebp - 4], 4
mov esi, esp
lea ecx, [ebp - 0x4c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
cmp esi, esp
call fcn.004f90e1
mov esi, esp
lea ecx, [ebp - 0x24]
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 edx, dword [ebp - 0x10]
add edx, 0x10c
push ecx
mov ecx, esp
mov dword [ebp - 0x50], esp
mov esi, esp
push edx
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
cmp esi, esp
call fcn.004f90e1
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0xbc], eax
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x10]
add ecx, 0x118
push ecx
mov edx, esp
mov dword [ebp - 0x54], esp
mov esi, esp
push ecx
mov ecx, edx
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
cmp esi, esp
call fcn.004f90e1
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0xc4], eax
mov byte [ebp - 4], 9
push ecx
mov ecx, esp
mov dword [ebp - 0x58], 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 - 0xc8], eax
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0xcc], eax
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x10]
add ecx, 0x108
push ecx
mov edx, esp
mov dword [ebp - 0x5c], esp
mov esi, esp
push ecx
mov ecx, edx
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
cmp esi, esp
call fcn.004f90e1
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x20]
push ecx
mov byte [ebp - 4], 4
mov ecx, dword [0x553e54]
call fcn.0045e6c0
mov byte [ebp - 4], 1
mov esi, esp
lea ecx, [ebp - 0x24]
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
jmp 0x409a01
push 0
push 0
push 0xc03
mov ecx, dword [ebp - 0x10]
call fcn.0040e9a0
mov ecx, eax
call fcn.00401c00
mov ecx, dword [ebp - 0x10]
add ecx, 0x140
call fcn.0040e760
test eax, eax
jbe 0x409a01
lea edx, [ebp - 0x60]
push edx
call fcn.004d30c0
add esp, 4
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0xd8], eax
mov dword [ebp - 4], 0xb
push 0x511938
mov ecx, dword [ebp - 0xd8]
push ecx
lea edx, [ebp - 0x30]
push edx
call fcn.0040e420
add esp, 0xc
mov byte [ebp - 4], 0xd
mov esi, esp
lea ecx, [ebp - 0x60]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
cmp esi, esp
call fcn.004f90e1
mov esi, esp
push 0
lea ecx, [ebp - 0x30]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetBuffer_1]
cmp esi, esp
call fcn.004f90e1
push eax
call fcn.004d3a20
add esp, 4
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x150]
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x140
call fcn.0040e7b0
mov edx, dword [eax]
add edx, 4
push edx
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x64]
push ecx
call fcn.0040e2d0
add esp, 0xc
mov dword [ebp - 0xdc], eax
mov esi, esp
mov ecx, dword [ebp - 0xdc]
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
lea ecx, [ebp - 0x64]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
cmp esi, esp
call fcn.004f90e1
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x150]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x140
call fcn.0040e7b0
mov ecx, dword [eax]
add ecx, 4
push ecx
lea edx, [ebp - 0x30]
push edx
lea eax, [ebp - 0x68]
push eax
call fcn.0040e2d0
add esp, 0xc
mov dword [ebp - 0xe0], eax
mov ecx, dword [ebp - 0xe0]
mov dword [ebp - 0xe4], ecx
mov byte [ebp - 4], 0xe
push 0x511940
mov edx, dword [ebp - 0xe4]
push edx
lea eax, [ebp - 0x6c]
push eax
call fcn.0040e420
add esp, 0xc
mov dword [ebp - 0xe8], eax
mov esi, esp
mov ecx, dword [ebp - 0xe8]
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
lea ecx, [ebp - 0x6c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
cmp esi, esp
call fcn.004f90e1
mov byte [ebp - 4], 0xd
mov esi, esp
lea ecx, [ebp - 0x68]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
cmp esi, esp
call fcn.004f90e1
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x150]
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x140
call fcn.0040e7b0
mov eax, dword [eax]
add eax, 4
push eax
lea ecx, [ebp - 0x30]
push ecx
lea edx, [ebp - 0x70]
push edx
call fcn.0040e2d0
add esp, 0xc
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0xf0], eax
mov byte [ebp - 4], 0xf
push 0x511944
mov ecx, dword [ebp - 0xf0]
push ecx
lea edx, [ebp - 0x74]
push edx
call fcn.0040e420
add esp, 0xc
mov dword [ebp - 0xf4], eax
mov esi, esp
mov ecx, dword [ebp - 0xf4]
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
lea ecx, [ebp - 0x74]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
cmp esi, esp
call fcn.004f90e1
mov byte [ebp - 4], 0xd
mov esi, esp
lea ecx, [ebp - 0x70]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
cmp esi, esp
call fcn.004f90e1
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x150]
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x140
call fcn.0040e7b0
mov edx, dword [eax]
add edx, 0x10
push ecx
mov ecx, esp
mov dword [ebp - 0x78], esp
mov esi, esp
push edx
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
cmp esi, esp
call fcn.004f90e1
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0xfc], eax
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x150]
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x140
call fcn.0040e7b0
mov eax, dword [eax]
add eax, 4
push ecx
mov ecx, esp
mov dword [ebp - 0x7c], 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 - 0x100], eax
mov ecx, dword [ebp - 0x100]
mov dword [ebp - 0x104], ecx
mov byte [ebp - 4], 0x11
push ecx
mov ecx, esp
mov dword [ebp - 0x80], esp
mov esi, esp
lea edx, [ebp - 0x30]
push edx
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
cmp esi, esp
call fcn.004f90e1
mov dword [ebp - 0x108], eax
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0x10c], eax
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x150]
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x140
call fcn.0040e7b0
mov eax, dword [eax]
add eax, 0xc
push ecx
mov ecx, esp
mov dword [ebp - 0x84], 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 - 0x110], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x20]
push edx
mov byte [ebp - 4], 0xd
mov ecx, dword [0x553e54]
call fcn.0045e6c0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x19c], 1
mov dword [ebp - 4], 0xffffffff
mov esi, esp
lea ecx, [ebp - 0x30]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
cmp esi, esp
call fcn.004f90e1
push edx
mov ecx, ebp
push eax
lea edx, [0x409a2f]
call fcn.004f9104
pop eax
pop edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
add esp, 0x110
cmp ebp, esp
call fcn.004f90e1
mov esp, ebp
pop ebp
ret