Function at 0x421517
Capabilities:
Delete file

Disassembly:
push 0x208
mov eax, 0x4bf36b
call fcn.00435efd
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0x30]
mov ecx, ebx
mov esi, dword [ebp + 0x14]
mov edi, dword [ebp + 0x20]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x80], ebx
call fcn.00420def
and dword [ebp - 0xe0], 0
xorps xmm0, xmm0
and dword [ebp - 0xdc], 0
and dword [ebp - 0xd8], 0
movlpd qword [ebp - 0x5c], xmm0
and dword [ebp - 4], 0
cmp byte [edi + 0x28], 0
je 0x4215b0
mov dword [ebp - 0x30], 1
xor esi, esi
jmp 0x4215c0
mov eax, dword [esi + 4]
xor esi, esi
mov dword [ebp - 0x30], eax
test eax, eax
je 0x421688
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x38], eax
lea ecx, [ebp - 0xd4]
call fcn.004107bc
lea ecx, [ebp - 0xac]
call fcn.0040e708
cmp byte [edi + 0x28], 0
xorps xmm0, xmm0
mov byte [ebp - 4], 1
movlpd qword [ebp - 0xd4], xmm0
jne 0x42161d
mov eax, dword [ebp - 0x70]
lea ecx, [ebp - 0xd4]
mov eax, dword [eax]
mov eax, dword [eax + esi*4]
push dword [eax]
call fcn.004108a1
test al, al
je 0x42167f
mov eax, dword [ebp - 0xb4]
shr eax, 4
test al, 1
jne 0x42166a
push dword [ebp - 0xd0]
lea ecx, [ebp - 0xe0]
push dword [ebp - 0xd4]
call fcn.00415124
mov eax, dword [ebp - 0x38]
add eax, dword [ebp - 0xd4]
push dword [ebp - 0xac]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x48]
adc eax, dword [ebp - 0xd0]
mov dword [ebp - 0x48], eax
mov byte [ebp - 4], 0
call fcn.00435fa5
mov eax, dword [ebp - 0x30]
inc esi
pop ecx
cmp esi, eax
jb 0x4215cc
jmp 0x421694
mov dword [ebp - 0x54], str.cant_decompress_folder
push 0x4e8c10
lea eax, [ebp - 0x54]
push eax
call fcn.0047a0f4
mov dword [ebp - 0x54], str.there_is_no_such_archive
jmp 0x421671
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x48], ecx
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x38], ecx
xor esi, esi
mov dword [ebp - 0xec], esi
test eax, eax
je 0x4216b2
push eax
call fcn.0043688a
mov esi, eax
mov eax, dword [ebp - 0x30]
pop ecx
mov dword [ebp - 0xec], esi
mov byte [ebp - 4], 2
test eax, eax
je 0x4216c6
push eax
push 0
push esi
call fcn.0047a540
add esp, 0xc
push 0x168
call fcn.00435e40
pop ecx
mov dword [ebp - 0x54], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x4216ed
mov ecx, eax
call fcn.0041e4d3
mov edi, eax
mov dword [ebp - 0x94], eax
jmp 0x4216f5
xor edi, edi
mov dword [ebp - 0x94], edi
mov byte [ebp - 4], 2
mov dword [ebp - 0x174], edi
test edi, edi
je 0x421709
mov eax, dword [edi]
push edi
call dword [eax + 4]
mov eax, dword [ebp - 0x34]
cmp dword [ebp - 0x30], 1
mov byte [ebp - 4], 4
seta byte [ebp - 0x3c]
mov cl, byte [eax + 0x49]
mov dl, byte [eax + 0x4a]
mov al, byte [eax + 0x48]
mov byte [edi + 0xa3], cl
mov ecx, dword [ebp - 0x34]
mov byte [edi + 0xa2], al
mov byte [edi + 0xa4], dl
mov eax, dword [ecx + 0xc]
test eax, eax
js 0x421747
cmp eax, 2
jg 0x421747
push 0
push eax
jmp 0x42174b
push 0
push 0
push dword [ecx + 8]
push dword [ecx + 4]
mov ecx, edi
push dword [ebp - 0x3c]
call fcn.004220c9
cmp dword [ebp - 0x30], 1
jbe 0x421782
mov ecx, dword [ebp - 0x4c]
push dword [ebp - 0x48]
push dword [ebp - 0x38]
mov eax, dword [ecx]
push ecx
call dword [eax + 0xc]
mov ebx, eax
test ebx, ebx
je 0x42177f
mov byte [ebp - 4], 5
jmp 0x421f98
mov ebx, dword [ebp - 0x80]
xorps xmm0, xmm0
mov byte [ebp - 0x29], 0
lea ecx, [ebp - 0x6c]
movlpd qword [ebp - 0x5c], xmm0
call fcn.0040e708
mov eax, dword [ebp - 0x30]
xor ecx, ecx
mov byte [ebp - 4], 6
mov dword [ebp - 0x44], ecx
test eax, eax
je 0x421d58
cmp byte [esi + ecx], 0
jne 0x421d4c
mov eax, dword [ebp - 0x70]
mov eax, dword [eax]
mov eax, dword [eax + ecx*4]
lea ecx, [ebp - 0xd4]
mov dword [ebp - 0x60], eax
call fcn.004107bc
lea ecx, [ebp - 0xac]
call fcn.0040e708
mov eax, dword [ebp - 0x34]
mov byte [ebp - 4], 7
cmp byte [eax + 0x28], 0
je 0x4217f6
and dword [ebp - 0xb4], 0
xorps xmm0, xmm0
movlpd qword [ebp - 0xd4], xmm0
jmp 0x421822
mov ecx, dword [ebp - 0x60]
push dword [ecx]
lea ecx, [ebp - 0xd4]
call fcn.004108a1
test al, al
je 0x421f5e
mov eax, dword [ebp - 0xb4]
shr eax, 4
test al, 1
jne 0x421f5e
mov eax, dword [ebp - 0x34]
movzx eax, byte [eax + 0x2b]
mov ecx, dword [ebp - 0x4c]
push eax
mov eax, dword [ebp - 0x60]
mov edx, dword [ecx]
push dword [eax]
call dword [edx + 0x28]
mov dword [ebp - 0x3c], eax
test eax, eax
jne 0x421f3a
lea ecx, [ebp - 0x170]
call fcn.00420b64
push dword [ebp - 0xf0]
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 9
call fcn.00420aa9
lea ecx, [ebp - 0x1c4]
mov byte [ebp - 4], 0xa
call fcn.00420bb5
mov eax, dword [ebp - 0x78]
lea ecx, [ebp - 0x180]
push dword [ebp - 0x60]
and dword [ebp - 0x194], 0
mov dword [ebp - 0x1c4], eax
lea eax, [ebp - 0x90]
mov dword [ebp - 0x19c], eax
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0x198], eax
mov eax, dword [ebp - 0x34]
mov byte [ebp - 4], 0xb
mov al, byte [eax + 0x28]
mov byte [ebp - 0x184], al
call fcn.0040e72c
push dword [ebp - 0xe4]
lea eax, [ebp - 0x1c4]
push eax
lea ecx, [ebp - 0x170]
call fcn.00423843
mov ecx, eax
mov dword [ebp - 0x3c], ecx
test ecx, ecx
jne 0x4218e1
cmp dword [ebp - 0x134], eax
jl 0x4218ed
inc ecx
mov dword [ebp - 0x3c], ecx
cmp ecx, 0x80004004
je 0x421ef2
mov edx, dword [ebp - 0x4c]
push ecx
mov ecx, dword [ebp - 0x60]
mov eax, dword [edx]
push dword [ecx]
lea ecx, [ebp - 0x170]
push ecx
push dword [ebp - 0x78]
mov ecx, edx
call dword [eax + 0x2c]
mov dword [ebp - 0x50], eax
test eax, eax
jne 0x421ea9
cmp dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x34]
je 0x421987
cmp byte [eax + 0x28], 0
mov byte [ebp - 0x29], 1
jne 0x421d14
lea ecx, [ebp - 0x214]
call fcn.004107bc
lea ecx, [ebp - 0x1ec]
call fcn.0040e708
mov eax, dword [ebp - 0x60]
lea ecx, [ebp - 0x214]
mov byte [ebp - 4], 0xe
push dword [eax]
call fcn.004108a1
test al, al
je 0x421976
mov eax, dword [ebp - 0x1f4]
shr eax, 4
test al, 1
jne 0x421976
mov eax, dword [ebp - 0x214]
add dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x210]
adc dword [ebp - 0x58], eax
push dword [ebp - 0x1ec]
call fcn.00435fa5
pop ecx
jmp 0x421d14
cmp byte [eax + 0x28], 0
jne 0x421a62
mov eax, dword [ebp - 0x160]
test eax, eax
je 0x421a62
cmp dword [ebp - 0x68], 0
jne 0x421a62
and dword [ebp - 0x74], 0
mov ecx, dword [ebp - 0x158]
mov edx, dword [ebp - 0x154]
test eax, eax
je 0x421a18
mov ebx, ecx
mov edi, edx
mov eax, dword [ebp - 0x164]
mov ecx, dword [ebp - 0x74]
push dword [eax + ecx*4]
push dword [ebp - 0xe8]
call fcn.0042205f
pop ecx
pop ecx
test eax, eax
js 0x4219f4
cmp eax, dword [ebp - 0x44]
jbe 0x4219f4
mov ecx, dword [ebp - 0xe0]
mov byte [eax + esi], 1
sub ebx, dword [ecx + eax*8]
sbb edi, dword [ecx + eax*8 + 4]
mov eax, dword [ebp - 0x74]
inc eax
mov dword [ebp - 0x74], eax
cmp eax, dword [ebp - 0x160]
jb 0x4219c1
mov dword [ebp - 0x3c], edi
mov edi, dword [ebp - 0x94]
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x50], ebx
mov ebx, dword [ebp - 0x80]
mov ecx, dword [ebp - 0x50]
mov eax, ecx
or eax, edx
je 0x421a62
add ecx, dword [ebp - 0x38]
mov eax, ecx
adc edx, dword [ebp - 0x48]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x48], edx
test edx, edx
jg 0x421a4a
jl 0x421a36
test eax, eax
jae 0x421a4a
xorps xmm0, xmm0
movlpd qword [ebp - 0x40], xmm0
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x4c]
push edx
push dword [ebp - 0x38]
mov eax, dword [ecx]
push ecx
call dword [eax + 0xc]
mov dword [ebp - 0x3c], eax
test eax, eax
jne 0x421d93
mov ecx, dword [ebp - 0x16c]
mov eax, dword [ebp - 0x170]
mov edx, dword [eax + ecx*4 - 4]
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x3c], edx
cmp byte [ecx + 0x28], 0
jne 0x421a8c
cmp byte [ebp - 0xaf], 0
jne 0x421a8c
xor eax, eax
inc eax
jmp 0x421a8e
xor eax, eax
mov byte [edx + 0xa4], al
mov eax, dword [ebp - 0xbc]
mov dword [edx + 0x9c], eax
mov eax, dword [ebp - 0xb8]
mov dword [edx + 0xa0], eax
lea eax, [ebp - 0x9c]
push eax
push dword [ebp - 0x7c]
mov eax, dword [ebp - 0x154]
push edi
push dword [ebp - 0x4c]
push 0
push ecx
mov ecx, dword [ebp - 0x158]
add ecx, dword [ebp - 0xd4]
push dword [ebp - 0x84]
adc eax, dword [ebp - 0xd0]
push eax
push ecx
lea eax, [ebp - 0x170]
push eax
push dword [ebp - 0x78]
call fcn.00420e8d
add esp, 0x2c
mov dword [ebp - 0x50], eax
test eax, eax
jne 0x421e6c
cmp dword [ebp - 0x30], 1
jne 0x421b5b
cmp byte [ebx + 0x38], al
je 0x421b5b
and dword [ebp - 0xfc], eax
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0x104]
push edx
push 0x1c
mov byte [ebp - 4], 0x11
mov eax, dword [eax]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
test eax, eax
jne 0x421b4c
cmp word [ebp - 0x104], ax
je 0x421b4c
push eax
push 0x1c
lea eax, [ebp - 0x104]
push eax
lea eax, [ebx + 0x3c]
push eax
call fcn.004027e4
add esp, 0x10
lea ecx, [ebp - 0x104]
mov byte [ebp - 4], 0xb
call fcn.00411a1c
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0x54]
and dword [ebp - 0x54], 0
push edx
mov eax, dword [eax]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
test eax, eax
jne 0x421c65
cmp dword [ebp - 0x54], 1
jne 0x421c65
lea eax, [ebp - 0x110]
mov ecx, edi
push eax
call fcn.004220a9
lea eax, [ebp - 0x1d0]
mov byte [ebp - 4], 0x12
push eax
mov ecx, edi
call fcn.004220a9
push dword [eax]
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x13
push eax
call fcn.0047448c
push dword [ebp - 0x1d0]
mov byte [ebp - 4], 0x15
call fcn.00435fa5
add esp, 0xc
lea ecx, [ebp - 0x28]
push str..tar
call fcn.004221e7
test eax, eax
jne 0x421c49
lea eax, [ebp - 0x1dc]
mov ecx, edi
push eax
call fcn.004220a9
push eax
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0x16
call fcn.0040e72c
push dword [ebp - 0x1dc]
mov byte [ebp - 4], 0x15
call fcn.00435fa5
mov eax, dword [ebp - 0x70]
pop ecx
lea ecx, [ebp - 0x6c]
push ecx
mov eax, dword [eax]
mov ecx, dword [ebp - 0x44]
mov ecx, dword [eax + ecx*4]
call fcn.0040e72c
mov eax, dword [ebp - 0x7c]
xor ecx, ecx
dec dword [ebp - 0x44]
push ecx
push 1
cmp dword [eax + 4], ecx
lea ecx, [ebp - 0x28]
jne 0x421dd3
call fcn.00402353
push dword [ebp - 0x110]
call fcn.00435fa5
push dword [ebp - 0x180]
call fcn.00435fa5
pop ecx
jmp 0x421d1f
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.00402353
push dword [ebp - 0x110]
mov byte [ebp - 4], 0xb
call fcn.00435fa5
pop ecx
lea eax, [ebp - 0x6c]
push eax
push dword [ebp - 0x60]
call fcn.00403653
pop ecx
pop ecx
test al, al
je 0x421ca2
lea ecx, [ebp - 0x170]
call fcn.0042313a
lea ecx, [ebp - 0x170]
call fcn.00424b32
push dword [ebp - 0x6c]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x6c]
and dword [ebp - 0x68], 0
xor ecx, ecx
mov word [eax], cx
mov eax, dword [ebp - 0x34]
cmp byte [eax + 0x28], 0
jne 0x421cd1
mov ecx, dword [ebp - 0x158]
add ecx, dword [ebp - 0xd4]
mov edx, dword [ebp - 0x154]
adc edx, dword [ebp - 0xd0]
mov dword [ebp - 0x9c], ecx
mov dword [ebp - 0x98], edx
jmp 0x421cdd
mov edx, dword [ebp - 0x98]
mov ecx, dword [ebp - 0x9c]
add dword [ebp - 0x5c], ecx
adc dword [ebp - 0x58], edx
mov eax, dword [edi + 0x138]
add dword [eax + 0x20], ecx
adc dword [eax + 0x24], edx
mov ecx, dword [edi + 0x138]
mov eax, dword [edi + 0x158]
mov dword [ecx + 0x28], eax
mov eax, dword [edi + 0x15c]
mov dword [ecx + 0x2c], eax
mov eax, dword [ebp - 0x7c]
cmp dword [eax + 4], 0
jne 0x421e2f
push dword [ebp - 0x180]
call fcn.00435fa5
pop ecx
lea ecx, [ebp - 0x90]
call fcn.00420c21
lea ecx, [ebp - 0x170]
call fcn.00420d8b
push dword [ebp - 0xac]
mov byte [ebp - 4], 6
call fcn.00435fa5
mov eax, dword [ebp - 0x30]
pop ecx
mov ecx, dword [ebp - 0x44]
inc ecx
mov dword [ebp - 0x44], ecx
cmp ecx, eax
jb 0x4217aa
cmp dword [ebp - 0x30], 1
ja 0x421d68
cmp byte [ebp - 0x29], 0
je 0x421fb6
mov ecx, dword [ebp - 0x4c]
push dword [ebp - 0x48]
push dword [ebp - 0x38]
mov eax, dword [ecx]
push ecx
call dword [eax + 0xc]
mov ebx, eax
test ebx, ebx
je 0x421f78
push dword [ebp - 0x6c]
call fcn.00435fa5
pop ecx
mov byte [ebp - 4], 0x19
jmp 0x421f98
push dword [ebp - 0x180]
call fcn.00435fa5
pop ecx
lea ecx, [ebp - 0x90]
call fcn.00420c21
lea ecx, [ebp - 0x170]
call fcn.00420d8b
push dword [ebp - 0xac]
call fcn.00435fa5
push dword [ebp - 0x6c]
call fcn.00435fa5
pop ecx
pop ecx
mov byte [ebp - 4], 0xf
jmp 0x421f53
call fcn.00402353
push dword [ebp - 0x110]
call fcn.00435fa5
push dword [ebp - 0x180]
call fcn.00435fa5
pop ecx
pop ecx
lea ecx, [ebp - 0x90]
call fcn.00420c21
lea ecx, [ebp - 0x170]
call fcn.00420d8b
push dword [ebp - 0xac]
call fcn.00435fa5
push dword [ebp - 0x6c]
call fcn.00435fa5
pop ecx
pop ecx
mov byte [ebp - 4], 0x17
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov ebx, 0x80004005
jmp 0x421f9e
push dword [ebp - 0x180]
call fcn.00435fa5
pop ecx
lea ecx, [ebp - 0x90]
call fcn.00420c21
lea ecx, [ebp - 0x170]
call fcn.00420d8b
push dword [ebp - 0xac]
call fcn.00435fa5
push dword [ebp - 0x6c]
call fcn.00435fa5
pop ecx
pop ecx
mov byte [ebp - 4], 0x18
jmp 0x421e1f
push dword [ebp - 0x180]
call fcn.00435fa5
pop ecx
lea ecx, [ebp - 0x90]
call fcn.00420c21
lea ecx, [ebp - 0x170]
call fcn.00420d8b
push dword [ebp - 0xac]
call fcn.00435fa5
push dword [ebp - 0x6c]
call fcn.00435fa5
pop ecx
pop ecx
mov byte [ebp - 4], 0x10
jmp 0x421ee4
push dword [ebp - 0x180]
call fcn.00435fa5
pop ecx
lea ecx, [ebp - 0x90]
call fcn.00420c21
lea ecx, [ebp - 0x170]
call fcn.00420d8b
push dword [ebp - 0xac]
call fcn.00435fa5
push dword [ebp - 0x6c]
call fcn.00435fa5
pop ecx
pop ecx
mov byte [ebp - 4], 0xd
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov ebx, dword [ebp - 0x50]
jmp 0x421f9e
push dword [ebp - 0x180]
call fcn.00435fa5
pop ecx
lea ecx, [ebp - 0x90]
call fcn.00420c21
lea ecx, [ebp - 0x170]
call fcn.00420d8b
push dword [ebp - 0xac]
call fcn.00435fa5
push dword [ebp - 0x6c]
call fcn.00435fa5
pop ecx
pop ecx
mov eax, dword [edi]
push edi
mov byte [ebp - 4], 0xc
call dword [eax + 8]
mov ebx, 0x80004004
jmp 0x421f9e
push dword [ebp - 0xac]
call fcn.00435fa5
push dword [ebp - 0x6c]
call fcn.00435fa5
pop ecx
pop ecx
mov byte [ebp - 4], 8
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov ebx, dword [ebp - 0x3c]
jmp 0x421f9e
mov dword [ebp - 0x84], str.there_is_no_such_archive
lea eax, [ebp - 0x84]
push 0x4e8c10
jmp 0x421679
mov ecx, dword [ebp - 0x4c]
lea edx, [ebp - 0x5c]
push edx
push ecx
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ebx, eax
test ebx, ebx
je 0x421fb6
push dword [ebp - 0x6c]
call fcn.00435fa5
pop ecx
mov byte [ebp - 4], 0x1a
mov eax, dword [edi]
push edi
call dword [eax + 8]
push esi
call fcn.00435fa5
push dword [ebp - 0xe0]
call fcn.00435fa5
mov eax, ebx
jmp 0x422057
mov edx, dword [ebp - 0x80]
mov eax, dword [edi + 0x140]
push dword [ebp - 0x6c]
mov dword [edx + 0x20], eax
mov eax, dword [edi + 0x144]
mov dword [edx + 0x24], eax
mov eax, dword [edi + 0x148]
mov dword [edx + 0x28], eax
mov eax, dword [edi + 0x14c]
mov dword [edx + 0x2c], eax
mov eax, dword [edi + 0x150]
mov dword [edx + 0x30], eax
mov eax, dword [edi + 0x154]
mov dword [edx + 0x34], eax
mov eax, dword [edi + 0x158]
mov dword [edx + 8], eax
mov eax, dword [edi + 0x15c]
mov dword [edx + 0xc], eax
mov eax, dword [edi + 0x160]
mov dword [edx + 0x10], eax
mov eax, dword [edi + 0x164]
mov dword [edx + 0x14], eax
mov eax, dword [ebp - 0x70]
mov eax, dword [eax + 4]
and dword [edx + 4], 0
mov dword [edx], eax
mov ecx, dword [edi + 0x138]
mov eax, dword [ecx + 0x20]
mov dword [edx + 0x18], eax
mov eax, dword [ecx + 0x24]
mov dword [edx + 0x1c], eax
call fcn.00435fa5
pop ecx
mov eax, dword [edi]
push edi
mov byte [ebp - 4], 0x1b
call dword [eax + 8]
push esi
call fcn.00435fa5
push dword [ebp - 0xe0]
call fcn.00435fa5
xor eax, eax
pop ecx
pop ecx
call fcn.00435ea7
ret