Function at 0x43e6d1
Capabilities:
Delete file
Move file

Disassembly:
push 0x48
mov eax, 0x4cc157
call fcn.0040193b
mov edi, ecx
xor ebx, ebx
inc ebx
mov dword [ebp - 4], ebx
call fcn.0042cad3
test al, al
je 0x43e6f9
mov byte [edi + 0xb2], bl
jmp 0x43e99e
push ecx
push ecx
lea eax, [ebp + 0xc]
mov ecx, esp
push eax
call fcn.004b9cf7
lea eax, [ebp + 0x14]
mov ecx, edi
push eax
call fcn.0043dece
test al, al
je 0x43e99e
cmp dword [ebp + 0x10], 0
mov esi, 0x4ef644
mov ecx, dword [edi + 0x2c]
mov edx, esi
cmovne edx, dword [ebp + 0x10]
add ecx, 0x24
push edx
mov eax, dword [ecx]
call dword [eax + 0xc]
cmp dword [ebp + 0x18], 0
mov edx, esi
mov ecx, dword [edi + 0x2c]
cmovne edx, dword [ebp + 0x18]
add ecx, 0x24
push edx
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp byte [ebp + 8], 0
je 0x43e78f
cmp dword [ebp + 0x18], 0
mov ecx, esi
mov eax, esi
cmovne ecx, dword [ebp + 0x18]
cmp dword [ebp + 0x10], 0
push ecx
cmovne eax, dword [ebp + 0x10]
push eax
call fcn.0043f5a3
test al, al
je 0x43e78f
cmp dword [ebp + 0x18], 0
mov eax, esi
push ebx
cmovne eax, dword [ebp + 0x18]
cmp dword [ebp + 0x10], 0
push eax
cmovne esi, dword [ebp + 0x10]
push esi
call dword [sym.imp.KERNEL32.DLL_MoveFileExW]
jmp 0x43e99e
and dword [ebp - 0x3c], 0
mov eax, vtable.micro::files::QFile.0
mov dword [ebp - 0x40], eax
and dword [ebp - 0x30], 0
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 3
cmp dword [ebp + 0x10], 0
lea ecx, [ebp - 0x40]
mov eax, esi
cmovne eax, dword [ebp + 0x10]
push 0x80000
push eax
call fcn.004bac83
cmp dword [ebp - 0x3c], 0
jne 0x43e814
cmp dword [edi + 0xac], 0x3e9
jne 0x43e983
push 0xffffffffffffffff
push str.Cannot_open_file_
lea ecx, [ebp - 0x28]
call fcn.004b9d49
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp + 0xc]
mov ecx, edi
push eax
call fcn.0043d0b6
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
mov bl, al
mov dword [ebp - 0x28], vtable.micro::utils::QString.0
call fcn.004b9e50
test bl, bl
je 0x43e7a6
jmp 0x43e983
cmp dword [ebp + 0x18], 0
lea ecx, [ebp - 0x34]
mov eax, esi
cmovne eax, dword [ebp + 0x18]
push 0x1000
push eax
call fcn.004bac83
cmp dword [ebp - 0x30], 0
jne 0x43e882
cmp dword [edi + 0xac], 0x3e9
jne 0x43e983
push 0xffffffffffffffff
push str.Cannot_create_file_
lea ecx, [ebp - 0x28]
call fcn.004b9d49
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp + 0x14]
mov ecx, edi
push eax
call fcn.0043d0b6
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
mov bl, al
mov dword [ebp - 0x28], vtable.micro::utils::QString.0
call fcn.004b9e50
test bl, bl
je 0x43e814
jmp 0x43e983
xor eax, eax
lea ecx, [ebp - 0x40]
and dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], eax
call fcn.004bae28
mov ebx, eax
mov dword [ebp - 0x18], edx
push 0x100000
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x24], ebx
call fcn.0041eab3
and dword [ebp - 0x20], 0
cmp dword [ebp - 0x18], 0
mov byte [ebp - 4], 6
jb 0x43e957
ja 0x43e8c3
test ebx, ebx
je 0x43e957
push 0x100000
push dword [ebp - 0x44]
lea ecx, [ebp - 0x40]
call fcn.004bae44
mov ebx, eax
test ebx, ebx
je 0x43e957
push ebx
push dword [ebp - 0x44]
lea ecx, [ebp - 0x34]
call fcn.004bae6a
cmp ebx, eax
jne 0x43e9e9
mov edx, dword [ebp - 0x1c]
push dword [ebp - 0x18]
mov ecx, dword [edi + 0x2c]
add edx, ebx
push dword [ebp - 0x24]
adc dword [ebp - 0x14], 0
add ecx, 0x24
push dword [ebp - 0x14]
mov dword [ebp - 0x1c], edx
push edx
mov eax, dword [ecx]
call dword [eax + 0x14]
mov ecx, dword [edi + 0x2c]
add ecx, 0x24
push 0
push ebx
mov eax, dword [ecx]
call dword [eax + 0x20]
mov eax, dword [ebp - 0x20]
xor edx, edx
inc eax
push 0xa
pop ecx
mov dword [ebp - 0x20], eax
div ecx
test edx, edx
je 0x43e93d
mov ecx, edi
call fcn.0042cad3
test al, al
jne 0x43e9c9
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x18]
ja 0x43e957
jb 0x43e8c3
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x24]
jb 0x43e8c3
cmp byte [ebp + 8], 0
je 0x43e970
lea ecx, [ebp - 0x40]
call fcn.004baeaf
lea eax, [ebp + 0xc]
mov ecx, edi
push eax
call fcn.0043ea24
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x54], vtable.micro::utils::QBuffer.0
call fcn.004044fd
mov esi, vtable.micro::files::QFile.0
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x34], esi
call fcn.004baeaf
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], esi
call fcn.004baeaf
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
mov ebx, vtable.micro::utils::QString.0
mov dword [ebp + 0xc], ebx
call fcn.004b9e50
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x14]
mov dword [ebp + 0x14], ebx
call fcn.004b9e50
call fcn.00401a13
ret 0x14
lea ecx, [ebp - 0x34]
mov byte [edi + 0xb2], 1
call fcn.004baeaf
cmp dword [ebp + 0x18], 0
cmovne esi, dword [ebp + 0x18]
push esi
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
jmp 0x43e970
mov eax, dword [edi + 0x2c]
push 0
push str.Message
push str.Error_witting_file__disk_may_be_full__
push dword [eax + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [ebp - 0x34]
call fcn.004baeaf
cmp dword [ebp + 0x18], 0
cmovne esi, dword [ebp + 0x18]
push esi
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
mov byte [edi + 0xb2], 1
jmp 0x43e970