Function at 0x45989b
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4cf087
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x6074
call fcn.00401910
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x6070], eax
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x6088]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x24], esi
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
and dword [esp + 0x4c], 0
push 0x2c
mov dword [esp + 0x38], eax
lea eax, [esp + 0x54]
push 0
push eax
mov dword [esp + 0x28], edi
call sub.msvcrt.dll_memset
add esp, 0xc
mov ebx, 0x4ef644
cmp dword [edi + 4], 0
lea ecx, [esp + 0x38]
mov eax, ebx
mov dword [esp + 0x38], 0xfde9
cmovne eax, dword [edi + 4]
push eax
call fcn.0041ea35
and dword [esp + 0x6090], 0
mov eax, 0x4dbde7
mov edi, dword [esp + 0x3c]
test edi, edi
push 0
cmovne eax, edi
mov edi, dword [esi + 0x1c]
mov dword [esp + 0x1c], eax
call dword [sym.imp.msvcrt.dll__time64]
mov ebx, dword [esp + 0x1c]
mov esi, eax
pop ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x2c], edx
lea eax, [esp + 0x4c]
mov edx, ebx
push eax
mov ecx, edi
call fcn.00478c97
cmp dword [edi + 0x50], 0
pop ecx
mov dword [esp + 0x30], eax
je 0x459997
test eax, eax
jne 0x459997
cmp dword [edi + 0x130], 0xffffffdb
jne 0x459997
push dword [esp + 0x2c]
mov ecx, edi
push esi
call fcn.00479b52
pop ecx
pop ecx
test eax, eax
je 0x45995f
or dword [esp + 0x6090], 0xffffffff
mov ebx, 0x4ef644
mov edi, dword [esp + 0x3c]
mov esi, dword [esp + 0x24]
test edi, edi
je 0x4599b8
push edi
call dword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void__]
pop ecx
cmp dword [esp + 0x30], 0
jne 0x4599f6
mov eax, dword [esi + 0x1c]
cmp dword [eax + 0x130], 0xffffffdb
jne 0x4599db
mov ecx, esi
call fcn.004592a6
mov edi, dword [esp + 0x1c]
jmp 0x45990f
and dword [esp + 0x18], 0
lea edx, [esp + 0x18]
push ecx
push ecx
mov ecx, eax
call fcn.0047a4c4
pop ecx
pop ecx
xor al, al
jmp 0x459bb3
and dword [esp + 0x44], 0
mov dword [esp + 0x40], vtable.micro::files::QFile.0
mov ecx, dword [esp + 0x34]
xor eax, eax
inc eax
mov dword [esp + 0x6090], eax
mov dword [esp + 0x18], eax
mov eax, ebx
cmp dword [ecx + 4], 0
push 0x1000
cmovne eax, dword [ecx + 4]
lea ecx, [esp + 0x44]
push eax
call fcn.004bac83
cmp dword [esp + 0x44], 0
je 0x459b99
mov eax, dword [esp + 0x60]
cdq
mov edi, eax
mov eax, edx
xor edx, edx
mov dword [esp + 0x24], eax
and dword [esp + 0x1c], edx
mov dword [esp + 0x20], edx
mov byte [esp + 0x28], dl
test eax, eax
jb 0x459b6d
ja 0x459a66
test edi, edi
je 0x459b6d
xor ebx, ebx
inc ebx
mov eax, edi
mov ecx, 0x6000
sub eax, edx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x24]
sbb eax, dword [esp + 0x1c]
test eax, eax
ja 0x459a8e
jb 0x459a8a
cmp dword [esp + 0x14], ecx
jae 0x459a8e
mov ecx, edi
sub ecx, edx
push ecx
mov ecx, dword [esp + 0x34]
lea eax, [esp + 0x80]
push eax
call fcn.00474a5f
mov dword [esp + 0x1c], eax
pop ecx
pop ecx
test eax, eax
jle 0x459b62
push eax
lea eax, [esp + 0x80]
push eax
lea ecx, [esp + 0x48]
call fcn.004bae6a
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
cdq
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x20]
add edx, eax
mov dword [esp + 0x38], eax
mov eax, dword [esi + 4]
adc ecx, dword [esp + 0x2c]
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], ecx
test eax, eax
je 0x459b27
push dword [esp + 0x24]
mov eax, dword [eax]
push edi
push ecx
mov ecx, dword [esi + 4]
push edx
call dword [eax + 0x14]
mov ecx, dword [esi + 4]
push dword [esp + 0x2c]
push dword [esp + 0x3c]
mov eax, dword [ecx]
call dword [eax + 0x20]
mov ecx, dword [esi + 4]
mov eax, dword [ecx]
call dword [eax + 0x24]
mov ecx, dword [esp + 0x28]
test al, al
mov edx, dword [esp + 0x20]
movzx ecx, cl
cmovne ecx, ebx
mov dword [esp + 0x28], ecx
jmp 0x459b2b
mov ecx, dword [esp + 0x28]
test cl, cl
je 0x459a69
mov eax, dword [esp + 0x14]
test cl, cl
jne 0x459b68
cmp eax, 0xffffffdb
jne 0x459b68
mov eax, dword [esp + 0x24]
cmp dword [esp + 0x1c], eax
ja 0x459b68
jb 0x459b52
cmp dword [esp + 0x20], edi
jae 0x459b68
mov ecx, esi
call fcn.004592a6
mov edx, dword [esp + 0x20]
jmp 0x459a69
mov ecx, dword [esp + 0x28]
jmp 0x459b37
mov ebx, 0x4ef644
mov ecx, dword [esp + 0x30]
call fcn.00475134
cmp byte [esp + 0x28], 0
je 0x459b9e
lea ecx, [esp + 0x40]
call fcn.004baeaf
mov eax, dword [esp + 0x34]
cmp dword [eax + 4], 0
cmovne ebx, dword [eax + 4]
push ebx
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
mov byte [esp + 0x18], 0
lea ecx, [esp + 0x40]
mov dword [esp + 0x40], vtable.micro::files::QFile.0
call fcn.004baeaf
mov al, byte [esp + 0x18]
mov ecx, dword [esp + 0x6088]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x6070]
xor ecx, esp
call fcn.00401000
mov esp, ebp
pop ebp
ret 8