Function at 0x402e50
Capabilities:
Delete file
Set current directory

Disassembly:
push 0xffffffffffffffff
push 0x408e86
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebp
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x10]
xor ebp, ebp
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
lea ecx, [esp + 0x14]
mov dword [esp + 0x24], ebp
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
push 0x6b
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], 2
call dword [sym.imp.MFC71.DLL_ATL::CStringT::LoadStringA]
push 0x40a708
or esi, 0xffffffff
call fcn.00404a10
push 0x2e
lea eax, [esp + 0x20]
push 0x413298
push eax
call fcn.00402c90
add esp, 0x10
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 3
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_1]
lea ecx, [esp + 0x18]
mov byte [esp + 0x24], 2
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
test eax, eax
jne 0x402f39
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x15
jne 0x402f39
push 0x78
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::LoadStringA]
push ebp
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
mov ecx, dword [edi + 0x158]
mov edx, dword [ecx]
push eax
push edx
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x402fde
push 0x40a6f8
lea eax, [esp + 0x1c]
push 0x413298
push eax
call fcn.00402bf0
add esp, 0xc
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 4
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_1]
lea ecx, [esp + 0x18]
mov byte [esp + 0x24], 2
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
push 0
push 0x80
push 2
push 0
push 2
push 0x40000000
lea ecx, [esp + 0x24]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x402fd9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x13
jne 0x402fd9
push 0x79
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::LoadStringA]
push 0
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
mov ecx, dword [edi + 0x158]
mov edx, dword [ecx]
push eax
push edx
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x402fde
mov ebp, 1
push 0x40a6f8
lea eax, [esp + 0x1c]
push 0x413298
push eax
call fcn.00402bf0
add esp, 0xc
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 5
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_1]
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
cmp esi, 0xffffffff
je 0x40302c
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
mov eax, ebp
pop ebp
mov dword fs:[0], ecx
add esp, 0x1c
ret