Function at 0x1001f600
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x1002e702
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x1004004c]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push ebp
push edi
mov eax, dword [0x1004004c]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov eax, dword [esi + 0xc]
xor ebp, ebp
cmp eax, ebp
jne 0x1001f781
mov edi, edi
mov eax, dword [esi + 0x20]
call fcn.1001fe10
mov edi, eax
cmp edi, ebp
je 0x1001f75a
mov eax, dword [edi + 0x44]
cmp eax, ebp
je 0x1001f66a
mov ecx, dword [edi + 0x4c]
mov edx, dword [edi + 0x48]
push ebp
push ebp
push 1
push ecx
push edx
call eax
add esp, 0x14
push edi
lea ecx, [esp + 0x18]
xor ebx, ebx
mov dword [esp + 0x14], ebp
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 0x1001f6e7
cmp ebx, dword [edi + 0x40]
jg 0x1001f6c0
mov ecx, esi
call fcn.1001f060
mov dword [esp + 0x10], eax
cmp eax, ebp
je 0x1001f6c0
mov eax, dword [esi + 0xc]
inc ebx
cmp eax, ebp
jne 0x1001f6c0
cmp ebx, dword [edi + 0x40]
jg 0x1001f6bb
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [esi + 0xc], 0
jne 0x1001f6b9
inc ebp
cmp ebp, 0xa
jl 0x1001f6a5
xor ebp, ebp
cmp dword [esi + 0xc], ebp
je 0x1001f684
cmp dword [esi + 0xc], ebp
jne 0x1001f6e7
mov eax, dword [edi + 0x44]
cmp eax, ebp
je 0x1001f6e1
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 0x1001f706
cmp dword [edi + 0x30], ebp
je 0x1001f706
cmp dword [edi + 0x5c], ebp
je 0x1001f706
cmp dword [edi + 0x34], 8
jb 0x1001f6fc
mov eax, dword [edi + 0x20]
jmp 0x1001f6ff
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 0x1001f722
push eax
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
add esp, 4
mov dword [edi + 0x38], ebp
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__
add esp, 4
mov dword [esp + 0x3c], 0xffffffff
lea ecx, [esp + 0x14]
cmp dword [esi + 0xc], ebp
jne 0x1001f77b
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 0x1001f770
mov edx, dword [esi + 0x24]
push 0x2710
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x80
je 0x1001f781
cmp dword [esi + 0xc], ebp
je 0x1001f640
jmp 0x1001f781
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.1002c7c6
add esp, 0x30
ret