Function at 0x422630
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4c953a
mov eax, dword fs:[0]
push eax
sub esp, 0x618
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x610], eax
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x628]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x18], edi
mov eax, dword [ebp + 0xc]
lea ecx, [esp + 0x5c]
mov esi, dword [ebp + 8]
mov dword [esp + 0x1c], eax
call fcn.0040e57a
xor eax, eax
lea ecx, [esp + 0x20]
push esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x634], eax
call fcn.004b9cf7
mov dword [esp + 0x20], vtable.micro::files::QPathStr.0
lea eax, [esp + 0x5c]
mov byte [esp + 0x630], 1
push eax
lea eax, [esp + 0x24]
push eax
lea ecx, [edi + 0x30]
call fcn.004bbda7
mov byte [esp + 0x630], 0
lea ecx, [esp + 0x20]
mov bl, al
mov dword [esp + 0x20], vtable.micro::utils::QString.0
call fcn.004b9e50
test bl, bl
je 0x422956
xor ebx, ebx
lea ecx, [edi + 0x14]
mov eax, dword [ecx]
push ebx
push dword [esp + 0x8c]
push dword [esp + 0x8c]
call dword [eax + 0x18]
mov ecx, dword [esp + 0x1c]
mov edi, 0x4ef644
mov eax, edi
push 0x1000
cmp dword [ecx + 4], ebx
cmovne eax, dword [ecx + 4]
lea ecx, [esp + 0x54]
push eax
call fcn.004bac46
cmp dword [esp + 0x54], ebx
jne 0x42272e
mov dword [esp + 0x14], ebx
jmp 0x422945
xor ecx, ecx
mov dword [esp + 0x40], ebx
inc ecx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], ebx
mov eax, vtable.micro::utils::QBuffer.0
mov dword [esp + 0x3c], eax
mov esi, ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x28], eax
mov byte [esp + 0x630], 6
mov eax, dword [esp + 0x7c]
or eax, dword [esp + 0x80]
jne 0x4227e1
mov esi, dword [esp + 0x6c]
lea ecx, [esp + 0x28]
push esi
call fcn.00404481
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x30], esi
test ecx, ecx
je 0x42290b
mov edx, dword [esp + 0x18]
push esi
push ecx
mov eax, dword [edx + 0x14]
lea ecx, [edx + 0x14]
call dword [eax + 0xc]
test eax, eax
je 0x42290b
push esi
push dword [esp + 0x3c]
lea ecx, [esp + 0x58]
call fcn.004bae6a
cmp eax, esi
je 0x4228cf
lea ecx, [esp + 0x50]
call fcn.004baeaf
mov eax, dword [esp + 0x1c]
cmp dword [eax + 4], 0
cmovne edi, dword [eax + 4]
push edi
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
jmp 0x42290b
cmp dword [esp + 0x7c], ecx
jne 0x4227aa
cmp dword [esp + 0x80], ebx
jne 0x4227aa
lea ecx, [esp + 0xc4]
call fcn.00423787
mov byte [esp + 0x630], 7
lea ecx, [esp + 0x3c]
mov esi, dword [esp + 0x74]
push esi
mov dword [esp + 0x24], esi
call fcn.00404481
mov dword [esp + 0x44], esi
lea ecx, [esp + 0x28]
mov esi, dword [esp + 0x6c]
push esi
call fcn.00404481
cmp dword [esp + 0x4c], 0
mov dword [esp + 0x30], esi
je 0x42288a
cmp dword [esp + 0x38], 0
je 0x42288a
mov edx, dword [esp + 0x18]
push dword [esp + 0x20]
push dword [esp + 0x50]
mov eax, dword [edx + 0x14]
lea ecx, [edx + 0x14]
call dword [eax + 0xc]
test eax, eax
je 0x42288a
push ecx
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0xd0]
call fcn.004238ce
test al, al
jne 0x4228ab
lea ecx, [esp + 0x50]
call fcn.004baeaf
mov eax, dword [esp + 0x1c]
cmp dword [eax + 4], 0
cmovne edi, dword [eax + 4]
push edi
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
mov byte [esp + 0x630], 6
lea ecx, [esp + 0xc4]
mov dword [esp + 0xc4], vtable.mc::MyZipReader.0
call fcn.004bbb58
jmp 0x42290b
mov byte [esp + 0x630], 6
lea ecx, [esp + 0xc4]
mov dword [esp + 0xc4], vtable.mc::MyZipReader.0
call fcn.004bbb58
jmp 0x4227aa
mov esi, dword [esp + 0x18]
mov ecx, dword [esi + 0x64]
test ecx, ecx
je 0x422911
push dword [esp + 0x70]
mov eax, dword [ecx]
push dword [esp + 0x70]
push dword [esp + 0x78]
push dword [esp + 0x78]
call dword [eax + 0x14]
mov ecx, dword [esi + 0x64]
push dword [esp + 0x70]
push dword [esp + 0x70]
mov eax, dword [ecx]
call dword [eax + 0x20]
mov ecx, dword [esi + 0x64]
mov eax, dword [ecx]
call dword [eax + 0x24]
test al, al
je 0x422911
mov dword [esp + 0x14], ebx
jmp 0x422916
mov byte [esp + 0x14], 1
mov byte [esp + 0x630], 4
lea ecx, [esp + 0x28]
mov esi, vtable.micro::utils::QBuffer.0
mov dword [esp + 0x28], esi
call fcn.004044fd
mov byte [esp + 0x630], 2
lea ecx, [esp + 0x3c]
mov dword [esp + 0x3c], esi
call fcn.004044fd
lea ecx, [esp + 0x50]
mov dword [esp + 0x50], vtable.micro::files::QFile.0
call fcn.004baeaf
or dword [esp + 0x630], 0xffffffff
lea ecx, [esp + 0x5c]
call fcn.0040e543
mov al, byte [esp + 0x14]
mov ecx, dword [esp + 0x628]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x610]
xor ecx, esp
call fcn.00401000
mov esp, ebp
pop ebp
ret 8