Function at 0x40bbe0
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x40dc52
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x41401c]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push ebp
push edi
mov eax, dword [0x41401c]
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 0x40bd61
mov edi, edi
mov eax, dword [esi + 0x20]
call fcn.0040c390
mov edi, eax
cmp edi, ebp
je 0x40bd3a
mov eax, dword [edi + 0x44]
cmp eax, ebp
je 0x40bc4a
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 0x40bcc7
cmp ebx, dword [edi + 0x40]
jg 0x40bca0
mov ecx, esi
call fcn.0040b660
mov dword [esp + 0x10], eax
cmp eax, ebp
je 0x40bca0
mov eax, dword [esi + 0xc]
inc ebx
cmp eax, ebp
jne 0x40bca0
cmp ebx, dword [edi + 0x40]
jg 0x40bc9b
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [esi + 0xc], 0
jne 0x40bc99
inc ebp
cmp ebp, 0xa
jl 0x40bc85
xor ebp, ebp
cmp dword [esi + 0xc], ebp
je 0x40bc64
cmp dword [esi + 0xc], ebp
jne 0x40bcc7
mov eax, dword [edi + 0x44]
cmp eax, ebp
je 0x40bcc1
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 0x40bce6
cmp dword [edi + 0x30], ebp
je 0x40bce6
cmp dword [edi + 0x58], ebp
je 0x40bce6
cmp dword [edi + 0x34], 8
jb 0x40bcdc
mov eax, dword [edi + 0x20]
jmp 0x40bcdf
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 0x40bd02
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 0x40bd5b
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 0x40bd50
mov edx, dword [esi + 0x24]
push 0x2710
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x80
je 0x40bd61
cmp dword [esi + 0xc], ebp
je 0x40bc20
jmp 0x40bd61
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.0040cd4c
add esp, 0x30
ret