Function at 0x10015687
Capabilities:
Delete file

Disassembly:
mov eax, 0x10048a3b
call fcn.100464e0
sub esp, 0x244
push ebx
push esi
xor ebx, ebx
push edi
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x2c], ebx
call sub.MFC42u.DLL_CString::CString_1
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 1
call sub.MFC42u.DLL_CString::CString_1
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call sub.MFC42u.DLL_CString::CString_1
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call sub.MFC42u.DLL_CString::CString_1
mov esi, dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
mov ecx, 0x82
xor eax, eax
lea edi, [ebp - 0x24e]
mov word [ebp - 0x250], bx
mov byte [ebp - 4], 4
rep stosd dword es:[edi], eax
mov dword [ebp - 0x24], ebx
lea eax, [ebp - 0x30]
push eax
call fcn.1001550d
pop ecx
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.100460f4
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 4
call sub.MFC42u.DLL_CString::CString
push ecx
lea eax, [ebp - 0x14]
mov ecx, esp
mov dword [ebp - 0x20], esp
push eax
call fcn.100460c4
lea eax, [ebp - 0x38]
push eax
call fcn.10014f86
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 6
call fcn.100460f4
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 4
call sub.MFC42u.DLL_CString::CString
lea eax, [ebp - 0x250]
push ebx
push eax
push 0x104
push dword [ebp - 0x14]
call esi
lea eax, [ebp - 0x250]
lea ecx, [ebp - 0x14]
push eax
call sub.MFC42u.DLL_CString::operator
lea eax, [ebp - 0x14]
push eax
call fcn.100010ca
pop ecx
lea ecx, [ebp - 0x14]
call fcn.100026db
sub esp, 0x10
mov dword [ebp - 0x20], eax
mov al, byte [ebp + 0xb]
mov edi, esp
mov dword [ebp - 0x40], esp
push ebx
mov ecx, edi
mov byte [edi], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
push dword [ebp - 0x20]
call dword [sym.imp.MSVCRT.dll_wcslen]
pop ecx
push eax
mov ecx, edi
push dword [ebp - 0x20]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::assign_unsigned_short_int_const___unsigned_int_]
call fcn.10001682
lea eax, [ebp - 0x44]
push eax
call fcn.100155ca
add esp, 0x14
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 7
call fcn.100460f4
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 4
call sub.MFC42u.DLL_CString::CString
lea eax, [ebp - 0x3c]
push eax
call fcn.10015940
pop ecx
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 8
call fcn.100460f4
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 4
call sub.MFC42u.DLL_CString::CString
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x28]
push eax
call sub.MFC42u.DLL_operator
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 9
push ecx
push eax
lea eax, [ebp - 0x34]
push eax
call sub.MFC42u.DLL_operator
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0xa
call fcn.100460f4
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 9
call sub.MFC42u.DLL_CString::CString
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
call sub.MFC42u.DLL_CString::CString
push ebx
push ebx
push 1
pop edi
push edi
push ebx
push ebx
push 0xc0000000
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x100158e0
inc dword [ebp - 0x24]
cmp dword [ebp - 0x24], 0x64
jl 0x100156f1
push str._TEMP__a35765.dat
lea ecx, [ebp - 0x10]
call sub.MFC42u.DLL_CString::operator
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp - 0x40], esp
push eax
call fcn.100460c4
lea eax, [ebp - 0x28]
push eax
call fcn.10014f86
pop ecx
pop ecx
lea ecx, [ebp - 0x28]
call sub.MFC42u.DLL_CString::CString
push 0x20a
lea eax, [ebp - 0x250]
push ebx
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x250]
push ebx
push eax
push 0x104
push dword [ebp - 0x10]
call esi
lea eax, [ebp - 0x250]
lea ecx, [ebp - 0x10]
push eax
call sub.MFC42u.DLL_CString::operator
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.100460c4
mov dword [ebp - 0x2c], edi
jmp 0x100158ff
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.100460c4
mov dword [ebp - 0x2c], edi
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call sub.MFC42u.DLL_CString::CString
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call sub.MFC42u.DLL_CString::CString
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call sub.MFC42u.DLL_CString::CString
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret