Function at 0x408e1d
Capabilities:
Delete file

Disassembly:
mov eax, 0x41bc7e
call fcn.00418ff0
sub esp, 0x34
push ebx
push esi
lea eax, [ebp - 0x40]
push edi
push eax
mov esi, ecx
call fcn.00415c40
pop ecx
and dword [ebp - 4], 0
mov ecx, eax
call dword [sym.imp.MSVCP71.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
push 0
lea ecx, [ebp - 0x18]
call fcn.0040f35d
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea eax, [ebp - 0x18]
mov ecx, eax
mov dword [ebp - 0x10], eax
call fcn.0040f3c0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x40]
push eax
call fcn.00415850
pop ecx
mov byte [ebp - 4], 4
push eax
mov ecx, esi
call dword [0x41e210]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea eax, [ebp - 0x40]
push eax
call fcn.0040cd92
pop ecx
mov byte [ebp - 4], 5
lea edi, [esi + 0x1c]
push eax
mov ecx, edi
call dword [0x41e210]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea eax, [ebp - 0x40]
push edi
push eax
call fcn.00403f4f
pop ecx
pop ecx
mov byte [ebp - 4], 6
push eax
mov ecx, edi
call dword [0x41e210]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea eax, [ebp - 0x40]
push eax
call fcn.0040cded
pop ecx
mov byte [ebp - 4], 7
push eax
lea ecx, [esi + 0x38]
call dword [0x41e210]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
push esi
lea eax, [ebp - 0x40]
push eax
call fcn.00415d40
pop ecx
pop ecx
mov byte [ebp - 4], 8
lea edi, [esi + 0x74]
push eax
mov ecx, edi
call dword [0x41e210]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ebx, [esi + 0xe4]
push edi
push ebx
call fcn.004140c0
pop ecx
pop ecx
mov ecx, esi
call fcn.004073a1
lea ecx, [ebp - 0x24]
call fcn.004087f1
mov byte [ebp - 4], 9
lea eax, [ebp - 0x24]
push eax
mov ecx, esi
call fcn.004082e9
lea eax, [ebp - 0x24]
push eax
mov ecx, esi
call fcn.0040815d
cmp dword [esi + 0xec], 0
je 0x408f79
push edi
push ebx
call fcn.00414980
pop ecx
pop ecx
jmp 0x408f88
mov ecx, edi
call dword [sym.imp.MSVCP71.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x24]
call fcn.0040871f
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call fcn.0040f3cc
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.0040f3a8
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
leave
ret