Function at 0x40eef0
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x4113d2
mov eax, dword fs:[0]
push eax
add esp, 0xffffffdc
mov eax, dword [0x41901c]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push ebp
push edi
mov eax, dword [0x41901c]
xor eax, esp
xor ebp, ebp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov eax, dword [esi + 0xc]
cmp eax, ebp
jne 0x40f071
mov edi, edi
mov eax, dword [esi + 0x20]
call fcn.0040f6b0
mov edi, eax
cmp edi, ebp
je 0x40f04a
mov eax, dword [edi + 0x44]
cmp eax, ebp
je 0x40ef5a
mov ecx, dword [edi + 0x4c]
mov edx, dword [edi + 0x48]
push ebp
push ebp
push 1
push ecx
push edx
call eax
sub esp, 0xffffffec
xor ebx, ebx
push edi
mov dword [esp + 0x14], ebp
lea ecx, [esp + 0x18]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
mov dword [esp + 0x3c], ebp
cmp dword [esi + 0xc], ebp
jne 0x40efd7
cmp ebx, dword [edi + 0x40]
jg 0x40efb0
mov ecx, esi
call fcn.0040e950
mov dword [esp + 0x10], eax
cmp eax, ebp
je 0x40efb0
inc ebx
mov eax, dword [esi + 0xc]
cmp eax, ebp
jne 0x40efb0
cmp ebx, dword [edi + 0x40]
jg 0x40efab
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [esi + 0xc], 0
jne 0x40efa9
inc ebp
cmp ebp, 0xa
jl 0x40ef95
xor ebp, ebp
cmp dword [esi + 0xc], ebp
je 0x40ef74
cmp dword [esi + 0xc], ebp
jne 0x40efd7
mov eax, dword [edi + 0x44]
cmp eax, ebp
je 0x40efd1
mov ecx, dword [esp + 0x10]
mov edx, dword [edi + 0x4c]
push edi
push ecx
mov ecx, dword [edi + 0x48]
push 3
push edx
push ecx
call eax
add esp, 0x14
cmp dword [esp + 0x10], ebp
je 0x40eff6
cmp dword [edi + 0x30], ebp
je 0x40eff6
cmp dword [edi + 0x5c], ebp
je 0x40eff6
cmp dword [edi + 0x34], 8
jb 0x40efec
mov eax, dword [edi + 0x20]
jmp 0x40efef
lea eax, [edi + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [esp + 0x10], edi
mov byte [esp + 0x3c], 1
mov eax, dword [edi + 0x38]
cmp eax, ebp
je 0x40f012
push eax
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
mov dword [edi + 0x38], ebp
sub esp, 0xfffffffc
lea ecx, [edi + 0x1c]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov ecx, edi
mov byte [esp + 0x3c], 0
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
push edi
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
sub esp, 0xfffffffc
lea ecx, [esp + 0x14]
mov dword [esp + 0x3c], 0xffffffff
cmp dword [esi + 0xc], ebp
jne 0x40f06b
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
jmp 0x40f060
mov edx, dword [esi + 0x24]
push 0x2710
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x80
je 0x40f071
cmp dword [esi + 0xc], ebp
je 0x40ef30
jmp 0x40f071
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0041045c
sub esp, 0xffffffd0
ret