Function at 0x45dcf1
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4cf827
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x6834
call fcn.00401910
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x6830], eax
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x6848]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
mov edx, 0x4ef644
mov ecx, dword [ebp + 0x14]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], 0xfde9
cmp dword [eax + 4], 0
cmovne edx, dword [eax + 4]
push edx
call fcn.0041ea35
mov esi, dword [esp + 0x28]
mov eax, 0x4dbde7
test esi, esi
cmovne eax, esi
push eax
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.msvcrt.dll_strcpy]
pop ecx
pop ecx
test esi, esi
je 0x45dd89
push esi
call dword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void__]
pop ecx
xor ebx, ebx
push ebx
push ebx
lea eax, [esp + 0x44]
push 1
push eax
call dword [sym.imp.msvcrt.dll_strlen]
pop ecx
mov ecx, dword [edi + 0x20]
lea edx, [esp + 0x48]
push eax
call fcn.0047b8eb
add esp, 0x10
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x45ddcf
mov eax, dword [edi + 0x1c]
cmp dword [eax + 0x130], 0xffffffdb
jne 0x45ddc8
mov ecx, edi
call fcn.0045e363
jmp 0x45dd8b
xor al, al
jmp 0x45df1a
mov dword [esp + 0x20], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x30], vtable.micro::files::QFile.0
mov dword [esp + 0x34], ebx
mov ecx, dword [esp + 0x2c]
mov esi, 0x4ef644
mov dword [esp + 0x6850], ebx
mov eax, esi
push 0x1000
cmp dword [ecx + 4], 0
cmovne eax, dword [ecx + 4]
lea ecx, [esp + 0x34]
push eax
call fcn.004bac83
cmp dword [esp + 0x34], 0
je 0x45df07
push ebx
call dword [sym.imp.msvcrt.dll__time64]
pop ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x14], edx
push ecx
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x840]
call fcn.0047b95b
pop ecx
mov ecx, eax
cmp ecx, 0xffffffdb
jne 0x45de74
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov ecx, dword [eax + 0x4c]
cmp dword [ecx + 0x50], ebx
je 0x45de6b
push dword [esp + 0x14]
push dword [esp + 0x28]
call fcn.00479b52
pop ecx
pop ecx
mov ecx, eax
test ecx, ecx
je 0x45de27
cmp ecx, 0xffffffdb
jne 0x45de74
mov ecx, edi
call fcn.0045e363
jmp 0x45de17
test ecx, ecx
jle 0x45defc
mov eax, ecx
cdq
add dword [esp + 0x20], eax
mov dword [esp + 0x14], eax
lea eax, [esp + 0x83c]
adc dword [esp + 0x18], edx
push ecx
push eax
lea ecx, [esp + 0x38]
mov dword [esp + 0x2c], edx
call fcn.004bae6a
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x45de17
push dword [ebp + 0x10]
mov edx, dword [esp + 0x1c]
push dword [ebp + 0xc]
mov eax, dword [ecx]
push edx
push dword [esp + 0x2c]
call dword [eax + 0x14]
mov ecx, dword [edi + 4]
push dword [esp + 0x24]
push dword [esp + 0x18]
mov eax, dword [ecx]
call dword [eax + 0x20]
mov ecx, dword [edi + 4]
mov eax, dword [ecx]
call dword [eax + 0x24]
test al, al
je 0x45de17
lea ecx, [esp + 0x30]
call fcn.004baeaf
mov eax, dword [esp + 0x2c]
cmp dword [eax + 4], 0
cmovne esi, dword [eax + 4]
push esi
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
mov ecx, dword [esp + 0x1c]
call fcn.0047c4ac
mov bl, 1
lea ecx, [esp + 0x30]
mov dword [esp + 0x30], vtable.micro::files::QFile.0
call fcn.004baeaf
mov al, bl
mov ecx, dword [esp + 0x6848]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x6830]
xor ecx, esp
call fcn.00401000
mov esp, ebp
pop ebp
ret 0x10