Function at 0x4c6de0
Capabilities:
Delete file

Disassembly:
push edi
push esi
push ebx
mov ebx, ecx
sub esp, 0x10
mov eax, dword [ecx + 8]
mov dword [ecx], vtable._P.1.0
test eax, eax
jns 0x4c6f00
cmp byte [ebx + 4], 0
je 0x4c6e12
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x14]
mov dword [esp], ebx
call fcn.0042f270
mov byte [ebx + 4], 0
mov eax, dword [ebx + 8]
mov dword [ebx], method._P.1.virtual_0
test eax, eax
jns 0x4c6e70
cmp byte [ebx + 4], 0
je 0x4c6e39
mov eax, dword [ebx + 0xc]
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll__wremove]
mov dword [esp], ebx
call fcn.0042f270
mov eax, dword [ebx + 0xc]
cmp eax, dword [ebx + 0x10]
je 0x4c6e49
mov dword [esp], eax
call sub.msvcrt.dll_free
mov eax, dword [ebx + 0x18]
mov dword [esp], eax
call sub.msvcrt.dll_free
mov eax, dword [ebx + 0x10]
mov dword [esp], eax
call sub.msvcrt.dll_free
add esp, 0x10
pop ebx
pop esi
pop edi
ret
mov dword [esp], eax
call sub.msvcrt.dll__close
test eax, eax
je 0x4c6f98
mov eax, dword [0x677e60]
test eax, eax
jne 0x4c6fc8
mov dword [esp], 0x40000
call sub.msvcrt.dll_malloc
mov edi, eax
test eax, eax
je 0x4c6fdd
mov dword [esp], 0x40000
call sub.msvcrt.dll_malloc
mov esi, eax
test eax, eax
je 0x4c6fdd
mov eax, dword [ebx + 0x10]
mov dword [esp + 4], 0x5a5b73
mov dword [esp], edi
mov dword [esp + 8], eax
call fcn.004bf1f0
mov dword [esp + 4], esi
mov dword [esp], edi
call fcn.0042e7f0
mov dword [esp + 4], esi
mov dword [esp], 0x5a5af8
call fcn.004bf160
mov dword [esp], 2
call sub.msvcrt.dll_exit
lea esi, [esi]
nop
mov dword [esp], eax
call sub.msvcrt.dll__close
test eax, eax
je 0x4c6f88
mov edx, dword [0x677e60]
test edx, edx
jne 0x4c6fc8
mov dword [esp], 0x40000
call sub.msvcrt.dll_malloc
mov edi, eax
test eax, eax
je 0x4c703e
mov dword [esp], 0x40000
call sub.msvcrt.dll_malloc
mov esi, eax
test eax, eax
je 0x4c703e
mov eax, dword [ebx + 0x10]
mov dword [esp + 4], 0x5a5b73
mov dword [esp], edi
mov dword [esp + 8], eax
call fcn.004bf1f0
mov dword [esp + 4], esi
mov dword [esp], edi
call fcn.0042e7f0
mov dword [esp + 4], esi
mov dword [esp], 0x5a5af8
call fcn.004bf160
mov dword [esp], 2
call sub.msvcrt.dll_exit
lea esi, [esi]
mov dword [ebx + 8], 0xffffffff
jmp 0x4c6df9
cmp byte [ebx + 4], 0
mov dword [ebx + 8], 0xffffffff
je 0x4c6e39
mov eax, dword [ebx]
mov eax, dword [eax + 0x14]
cmp eax, 0x4c73c0
je 0x4c6e25
mov ecx, ebx
call eax
jmp 0x4c6e31
mov dword [esp + 4], 1
mov dword [esp], 0x677e20
call dword [sym.imp.msvcrt.dll_longjmp]
cmp dword [0x677e60], 0
jne 0x4c6fc8
mov eax, 0x40000
call fcn.00434d40
mov esi, eax
mov eax, 0x40000
call fcn.00434d40
mov dword [esp + 8], 0x40000
mov dword [esp + 4], 0x5a5ad4
mov ebx, eax
mov dword [esp], esi
call fcn.004bf1f0
mov dword [esp + 4], ebx
mov dword [esp], esi
call fcn.0042e7f0
mov dword [esp + 4], ebx
mov dword [esp], 0x5a5af8
call fcn.004bf160
mov dword [esp], 2
call sub.msvcrt.dll_exit
cmp dword [0x677e60], 0
jne 0x4c6fc8
mov eax, 0x40000
call fcn.00434d40
mov esi, eax
mov eax, 0x40000
call fcn.00434d40
mov dword [esp + 8], 0x40000
mov dword [esp + 4], 0x5a5ad4
mov ebx, eax
mov dword [esp], esi
call fcn.004bf1f0
mov dword [esp + 4], ebx
mov dword [esp], esi
call fcn.0042e7f0
mov dword [esp + 4], ebx
mov dword [esp], 0x5a5af8
call fcn.004bf160
mov dword [esp], 2
call sub.msvcrt.dll_exit
nop
mov eax, 0x6e
ret 8