Function at 0x4210b0
Capabilities:
Delete file

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d66e3
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x320
mov eax, dword [0x693f30]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x308], esi
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x304], eax
mov eax, dword [esi + 0xc]
cmp dword [eax - 4], 1
jle 0x421116
push dword [eax - 0xc]
lea ecx, [esi + 0xc]
call fcn.0040f2c0
mov edx, dword [esi + 0xc]
mov ecx, edx
mov dword [ebp - 0x270], 0
mov dword [ebp - 0x260], 0
mov dword [ebp - 0x25c], 0
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x421140
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x270]
call fcn.004066d0
mov dword [ebp - 4], 0
mov eax, dword [esi + 0x10]
cmp dword [eax - 4], 1
jle 0x421177
push dword [eax - 0xc]
lea ecx, [esi + 0x10]
call fcn.0040f2c0
mov edx, dword [esi + 0x10]
mov ecx, edx
mov dword [ebp - 0x258], 0
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x244], 0
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4211a0
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x258]
call fcn.004066d0
mov byte [ebp - 4], 1
cmp dword [ebp - 0x260], 0
jne 0x421263
mov edx, dword [esi + 0x94]
lea edi, [esi + 0x80]
mov ecx, dword [edi + 0x10]
mov eax, edx
sub eax, ecx
cmp eax, 0xf
jb 0x421213
lea eax, [ecx + 0xf]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0x10
jb 0x4211f4
mov eax, dword [edi]
push 0xf
lea esi, [ecx + eax]
push str.dump_file_empty
push esi
call fcn.005a4460
mov byte [esi + 0xf], 0
add esp, 0xc
mov esi, dword [ebp - 0x308]
jmp 0x421229
push 0xf
push str.dump_file_empty
push dword [ebp - 0x304]
mov ecx, edi
push 0xf
call fcn.00406db0
mov edx, dword [edi + 0x14]
mov eax, edx
mov ecx, dword [edi + 0x10]
sub eax, ecx
cmp eax, 1
jb 0x42124d
lea eax, [ecx + 1]
mov dword [edi + 0x10], eax
cmp edx, 0x10
jb 0x421245
mov edi, dword [edi]
mov word [edi + ecx], 9
jmp 0x421263
push 1
push 0x67813c
push dword [ebp - 0x304]
mov ecx, edi
push 1
call fcn.00406db0
cmp dword [ebp - 0x248], 0
jne 0x421300
mov edx, dword [esi + 0x94]
lea edi, [esi + 0x80]
mov ecx, dword [edi + 0x10]
mov eax, edx
sub eax, ecx
cmp eax, 0xf
jb 0x4212b0
lea eax, [ecx + 0xf]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0x10
jb 0x421297
mov eax, dword [edi]
push 0xf
lea esi, [eax + ecx]
push str.text_file_empty
push esi
call fcn.005a4460
add esp, 0xc
mov byte [esi + 0xf], 0
jmp 0x4212c6
push 0xf
push str.text_file_empty
push dword [ebp - 0x304]
mov ecx, edi
push 0xf
call fcn.00406db0
mov edx, dword [edi + 0x14]
mov eax, edx
mov ecx, dword [edi + 0x10]
sub eax, ecx
cmp eax, 1
jb 0x4212ea
lea eax, [ecx + 1]
mov dword [edi + 0x10], eax
cmp edx, 0x10
jb 0x4212e2
mov edi, dword [edi]
mov word [edi + ecx], 9
jmp 0x421300
push 1
push 0x67813c
push dword [ebp - 0x304]
mov ecx, edi
push 1
call fcn.00406db0
push 0x20a
lea eax, [ebp - 0x228]
push 0
push eax
call fcn.005a49e0
add esp, 0xc
cmp dword [ebp - 0x260], 0
jne 0x421335
cmp dword [ebp - 0x244], 8
lea eax, [ebp - 0x258]
cmovae eax, dword [ebp - 0x258]
jmp 0x421349
cmp dword [ebp - 0x25c], 8
lea eax, [ebp - 0x270]
cmovae eax, dword [ebp - 0x270]
push eax
push 0x6781b4
lea eax, [ebp - 0x228]
push 0x104
push eax
call fcn.004106c0
add esp, 0x10
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveExtensionW]
lea ecx, [ebp - 0x228]
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x230], 0
lea edx, [ecx + 2]
mov dword [ebp - 0x22c], 0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x421397
sub ecx, edx
lea eax, [ebp - 0x228]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x240]
call fcn.004066d0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x22c]
mov eax, ecx
mov edi, dword [ebp - 0x230]
sub eax, edi
cmp eax, 4
jb 0x421407
cmp ecx, 8
lea esi, [ebp - 0x240]
lea eax, [edi + 4]
cmovae esi, dword [ebp - 0x240]
push 8
mov dword [ebp - 0x230], eax
push str..zip
lea eax, [esi + edi*2]
push eax
call fcn.005a4460
add esp, 0xc
xor eax, eax
mov word [esi + edi*2 + 8], ax
jmp 0x421421
push 4
push str..zip
push dword [ebp - 0x304]
lea ecx, [ebp - 0x240]
push 4
call fcn.004065a0
lea eax, [ebp - 0x270]
push eax
lea ecx, [ebp - 0x288]
call fcn.004057d0
mov dword [ebp - 0x314], 0
mov dword [ebp - 0x310], 0
mov dword [ebp - 0x30c], 0
mov esi, dword [ebp - 0x308]
lea eax, [ebp - 0x314]
push eax
mov ecx, esi
mov byte [ebp - 4], 4
call fcn.00424790
push dword [ebp - 0x304]
lea eax, [ebp - 0x314]
mov ecx, esi
push dword [ebx + 8]
push eax
lea eax, [ebp - 0x270]
push eax
lea eax, [ebp - 0x240]
push eax
call fcn.00420240
test al, al
je 0x4214b8
cmp dword [ebp - 0x22c], 8
lea eax, [ebp - 0x240]
push dword [ebp - 0x230]
cmovae eax, dword [ebp - 0x240]
lea ecx, [ebp - 0x288]
push eax
call fcn.00405fb0
movq xmm0, qword [str.bug_report]
mov ax, word [0x6781d0]
mov cl, byte [esi + 0xc0]
mov dword [ebp - 0x320], 0xa
mov dword [ebp - 0x31c], 0xf
movq qword [ebp - 0x330], xmm0
mov word [ebp - 0x328], ax
mov byte [ebp - 0x326], 0
movups xmm0, xmmword [ebp - 0x330]
mov byte [ebp - 0x300], cl
movups xmmword [ebp - 0x2fc], xmm0
movq xmm0, qword [ebp - 0x320]
movq qword [ebp - 0x2ec], xmm0
mov dword [ebp - 0x320], 0
mov dword [ebp - 0x31c], 0xf
mov byte [ebp - 0x330], 0
mov dword [ebp - 0x2e4], esi
mov dword [ebp - 0x2e0], 0
mov dword [ebp - 0x2dc], 0
mov dword [ebp - 0x2d8], 0
mov dword [ebp - 0x2c8], 0
mov dword [ebp - 0x2c4], 0xf
mov byte [ebp - 0x2d8], 0
mov dword [ebp - 0x2c0], 0
mov dword [ebp - 0x2b0], 0
mov dword [ebp - 0x2ac], 0xf
mov byte [ebp - 0x2c0], 0
mov byte [ebp - 4], 0xc
push 0x40
mov dword [ebp - 0x2a8], 0
mov dword [ebp - 0x2a4], 0
call fcn.005a2092
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [ebp - 0x2a8], eax
mov dword [ebp - 0x2a0], 0
mov dword [ebp - 0x290], 0
mov dword [ebp - 0x28c], 0xf
mov byte [ebp - 0x2a0], 0
lea eax, [esi + 0x50]
mov byte [ebp - 4], 0xe
push eax
lea eax, [ebp - 0x288]
push eax
lea ecx, [ebp - 0x300]
call fcn.0045ec60
movzx edi, al
lea ecx, [ebp - 0x300]
lea eax, [esi + 0x68]
push eax
lea eax, [ebp - 0x258]
push eax
call fcn.0045ec60
cmp dword [ebp - 0x25c], 8
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
movzx eax, al
mov dword [ebp - 0x304], eax
lea eax, [ebp - 0x270]
cmovae eax, dword [ebp - 0x270]
push eax
call esi
cmp dword [ebp - 0x244], 8
lea eax, [ebp - 0x258]
cmovae eax, dword [ebp - 0x258]
push eax
call esi
cmp dword [ebp - 0x274], 8
lea eax, [ebp - 0x288]
cmovae eax, dword [ebp - 0x288]
push eax
call esi
mov ecx, dword [ebp - 0x308]
lea ecx, [ecx + 0x14]
call fcn.004135d0
test edi, edi
jne 0x421695
cmp dword [ebp - 0x304], edi
je 0x42169a
mov edi, 1
lea ecx, [ebp - 0x300]
call fcn.004218b0
mov ecx, dword [ebp - 0x314]
test ecx, ecx
je 0x421729
mov edx, dword [ebp - 0x310]
push ecx
call fcn.0040fdf0
mov ecx, dword [ebp - 0x30c]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x314]
add esp, 4
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x421701
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42189e
push ecx
push esi
call fcn.005a242d
add esp, 8
mov dword [ebp - 0x314], 0
mov dword [ebp - 0x310], 0
mov dword [ebp - 0x30c], 0
mov ecx, dword [ebp - 0x274]
cmp ecx, 8
jb 0x421769
mov edx, dword [ebp - 0x288]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x42175f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42189e
push ecx
push edx
call fcn.005a242d
add esp, 8
mov ecx, dword [ebp - 0x22c]
xor eax, eax
mov dword [ebp - 0x278], 0
mov dword [ebp - 0x274], 7
mov word [ebp - 0x288], ax
cmp ecx, 8
jb 0x4217c6
mov edx, dword [ebp - 0x240]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4217bc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42189e
push ecx
push edx
call fcn.005a242d
add esp, 8
mov ecx, dword [ebp - 0x244]
xor eax, eax
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 7
mov word [ebp - 0x240], ax
cmp ecx, 8
jb 0x421823
mov edx, dword [ebp - 0x258]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x421819
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42189e
push ecx
push edx
call fcn.005a242d
add esp, 8
mov ecx, dword [ebp - 0x25c]
xor eax, eax
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x244], 7
mov word [ebp - 0x258], ax
cmp ecx, 8
jb 0x42187c
mov edx, dword [ebp - 0x270]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x421872
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42189e
push ecx
push edx
call fcn.005a242d
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005a1c7e
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
call fcn.005a7b3f
int3