Function at 0x4c6b10
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 0x4c6c40
cmp byte [ebx + 4], 0
je 0x4c6b42
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 0x4c6bb0
cmp byte [ebx + 4], 0
je 0x4c6b69
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 0x4c6b79
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
mov dword [esp], ebx
mov dword [esp + 4], 0x1c
call fcn.0056dd60
add esp, 0x10
pop ebx
pop esi
pop edi
ret
mov dword [esp], eax
call sub.msvcrt.dll__close
test eax, eax
je 0x4c6cd8
mov eax, dword [0x677e60]
test eax, eax
jne 0x4c6d08
mov dword [esp], 0x40000
call sub.msvcrt.dll_malloc
mov edi, eax
test eax, eax
je 0x4c6d1d
mov dword [esp], 0x40000
call sub.msvcrt.dll_malloc
mov esi, eax
test eax, eax
je 0x4c6d1d
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 0x4c6cc8
mov edx, dword [0x677e60]
test edx, edx
jne 0x4c6d08
mov dword [esp], 0x40000
call sub.msvcrt.dll_malloc
mov edi, eax
test eax, eax
je 0x4c6d7e
mov dword [esp], 0x40000
call sub.msvcrt.dll_malloc
mov esi, eax
test eax, eax
je 0x4c6d7e
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 0x4c6b29
cmp byte [ebx + 4], 0
mov dword [ebx + 8], 0xffffffff
je 0x4c6b69
mov eax, dword [ebx]
mov eax, dword [eax + 0x14]
cmp eax, 0x4c73c0
je 0x4c6b55
mov ecx, ebx
call eax
jmp 0x4c6b61
mov dword [esp + 4], 1
mov dword [esp], 0x677e20
call dword [sym.imp.msvcrt.dll_longjmp]
cmp dword [0x677e60], 0
jne 0x4c6d08
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 0x4c6d08
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