Function at 0x4215a8
Capabilities:
Delete file

Disassembly:
push 0x208
mov eax, 0x4bb4f5
call fcn.00431cf2
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.00420e80
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 0x421641
mov dword [ebp - 0x30], 1
xor esi, esi
jmp 0x421651
mov eax, dword [esi + 4]
xor esi, esi
mov dword [ebp - 0x30], eax
test eax, eax
je 0x421719
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.00410820
lea ecx, [ebp - 0xac]
call fcn.0040e718
cmp byte [edi + 0x28], 0
xorps xmm0, xmm0
mov byte [ebp - 4], 1
movlpd qword [ebp - 0xd4], xmm0
jne 0x4216ae
mov eax, dword [ebp - 0x70]
lea ecx, [ebp - 0xd4]
mov eax, dword [eax]
mov eax, dword [eax + esi*4]
push dword [eax]
call fcn.00410905
test al, al
je 0x421710
mov eax, dword [ebp - 0xb4]
shr eax, 4
test al, 1
jne 0x4216fb
push dword [ebp - 0xd0]
lea ecx, [ebp - 0xe0]
push dword [ebp - 0xd4]
call fcn.00415180
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.00431d9a
mov eax, dword [ebp - 0x30]
inc esi
pop ecx
cmp esi, eax
jb 0x42165d
jmp 0x421725
mov dword [ebp - 0x54], str.cant_decompress_folder
push 0x4e38f0
lea eax, [ebp - 0x54]
push eax
call fcn.004769d4
mov dword [ebp - 0x54], str.there_is_no_such_archive
jmp 0x421702
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 0x421743
push eax
call fcn.0043267a
mov esi, eax
mov eax, dword [ebp - 0x30]
pop ecx
mov dword [ebp - 0xec], esi
mov byte [ebp - 4], 2
test eax, eax
je 0x421757
push eax
push 0
push esi
call fcn.00476e20
add esp, 0xc
push 0x168
call fcn.00431c35
pop ecx
mov dword [ebp - 0x54], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x42177e
mov ecx, eax
call fcn.0041e4c4
mov edi, eax
mov dword [ebp - 0x94], eax
jmp 0x421786
xor edi, edi
mov dword [ebp - 0x94], edi
mov byte [ebp - 4], 2
mov dword [ebp - 0x174], edi
test edi, edi
je 0x42179a
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 0x4217d8
cmp eax, 2
jg 0x4217d8
push 0
push eax
jmp 0x4217dc
push 0
push 0
push dword [ecx + 8]
push dword [ecx + 4]
mov ecx, edi
push dword [ebp - 0x3c]
call fcn.0042215a
cmp dword [ebp - 0x30], 1
jbe 0x421813
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 0x421810
mov byte [ebp - 4], 5
jmp 0x422029
mov ebx, dword [ebp - 0x80]
xorps xmm0, xmm0
mov byte [ebp - 0x29], 0
lea ecx, [ebp - 0x6c]
movlpd qword [ebp - 0x5c], xmm0
call fcn.0040e718
mov eax, dword [ebp - 0x30]
xor ecx, ecx
mov byte [ebp - 4], 6
mov dword [ebp - 0x44], ecx
test eax, eax
je 0x421de9
cmp byte [esi + ecx], 0
jne 0x421ddd
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.00410820
lea ecx, [ebp - 0xac]
call fcn.0040e718
mov eax, dword [ebp - 0x34]
mov byte [ebp - 4], 7
cmp byte [eax + 0x28], 0
je 0x421887
and dword [ebp - 0xb4], 0
xorps xmm0, xmm0
movlpd qword [ebp - 0xd4], xmm0
jmp 0x4218b3
mov ecx, dword [ebp - 0x60]
push dword [ecx]
lea ecx, [ebp - 0xd4]
call fcn.00410905
test al, al
je 0x421fef
mov eax, dword [ebp - 0xb4]
shr eax, 4
test al, 1
jne 0x421fef
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 0x421fcb
lea ecx, [ebp - 0x170]
call fcn.00420bf5
push dword [ebp - 0xf0]
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 9
call fcn.00420b3a
lea ecx, [ebp - 0x1c4]
mov byte [ebp - 4], 0xa
call fcn.00420c46
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.0040e73c
push dword [ebp - 0xe4]
lea eax, [ebp - 0x1c4]
push eax
lea ecx, [ebp - 0x170]
call fcn.00423814
mov ecx, eax
mov dword [ebp - 0x3c], ecx
test ecx, ecx
jne 0x421972
cmp dword [ebp - 0x134], eax
jl 0x42197e
inc ecx
mov dword [ebp - 0x3c], ecx
cmp ecx, 0x80004004
je 0x421f83
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 0x421f3a
cmp dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x34]
je 0x421a18
cmp byte [eax + 0x28], 0
mov byte [ebp - 0x29], 1
jne 0x421da5
lea ecx, [ebp - 0x214]
call fcn.00410820
lea ecx, [ebp - 0x1ec]
call fcn.0040e718
mov eax, dword [ebp - 0x60]
lea ecx, [ebp - 0x214]
mov byte [ebp - 4], 0xe
push dword [eax]
call fcn.00410905
test al, al
je 0x421a07
mov eax, dword [ebp - 0x1f4]
shr eax, 4
test al, 1
jne 0x421a07
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.00431d9a
pop ecx
jmp 0x421da5
cmp byte [eax + 0x28], 0
jne 0x421af3
mov eax, dword [ebp - 0x160]
test eax, eax
je 0x421af3
cmp dword [ebp - 0x68], 0
jne 0x421af3
and dword [ebp - 0x74], 0
mov ecx, dword [ebp - 0x158]
mov edx, dword [ebp - 0x154]
test eax, eax
je 0x421aa9
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.004220f0
pop ecx
pop ecx
test eax, eax
js 0x421a85
cmp eax, dword [ebp - 0x44]
jbe 0x421a85
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 0x421a52
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 0x421af3
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 0x421adb
jl 0x421ac7
test eax, eax
jae 0x421adb
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 0x421e24
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 0x421b1d
cmp byte [ebp - 0xaf], 0
jne 0x421b1d
xor eax, eax
inc eax
jmp 0x421b1f
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.00420f1e
add esp, 0x2c
mov dword [ebp - 0x50], eax
test eax, eax
jne 0x421efd
cmp dword [ebp - 0x30], 1
jne 0x421bec
cmp byte [ebx + 0x38], al
je 0x421bec
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 0x421bdd
cmp word [ebp - 0x104], ax
je 0x421bdd
push eax
push 0x1c
lea eax, [ebp - 0x104]
push eax
lea eax, [ebx + 0x3c]
push eax
call fcn.00402788
add esp, 0x10
lea ecx, [ebp - 0x104]
mov byte [ebp - 4], 0xb
call fcn.00411a80
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 0x421cf6
cmp dword [ebp - 0x54], 1
jne 0x421cf6
lea eax, [ebp - 0x110]
mov ecx, edi
push eax
call fcn.0042213a
lea eax, [ebp - 0x1d0]
mov byte [ebp - 4], 0x12
push eax
mov ecx, edi
call fcn.0042213a
push dword [eax]
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x13
push eax
call fcn.00473ad1
push dword [ebp - 0x1d0]
mov byte [ebp - 4], 0x15
call fcn.00431d9a
add esp, 0xc
lea ecx, [ebp - 0x28]
push str..tar
call fcn.00422278
test eax, eax
jne 0x421cda
lea eax, [ebp - 0x1dc]
mov ecx, edi
push eax
call fcn.0042213a
push eax
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0x16
call fcn.0040e73c
push dword [ebp - 0x1dc]
mov byte [ebp - 4], 0x15
call fcn.00431d9a
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.0040e73c
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 0x421e64
call fcn.004022f7
push dword [ebp - 0x110]
call fcn.00431d9a
push dword [ebp - 0x180]
call fcn.00431d9a
pop ecx
jmp 0x421db0
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.004022f7
push dword [ebp - 0x110]
mov byte [ebp - 4], 0xb
call fcn.00431d9a
pop ecx
lea eax, [ebp - 0x6c]
push eax
push dword [ebp - 0x60]
call fcn.004035f1
pop ecx
pop ecx
test al, al
je 0x421d33
lea ecx, [ebp - 0x170]
call fcn.0042315f
lea ecx, [ebp - 0x170]
call fcn.00424b03
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 0x421d62
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 0x421d6e
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 0x421ec0
push dword [ebp - 0x180]
call fcn.00431d9a
pop ecx
lea ecx, [ebp - 0x90]
call fcn.00420cb2
lea ecx, [ebp - 0x170]
call fcn.00420e1c
push dword [ebp - 0xac]
mov byte [ebp - 4], 6
call fcn.00431d9a
mov eax, dword [ebp - 0x30]
pop ecx
mov ecx, dword [ebp - 0x44]
inc ecx
mov dword [ebp - 0x44], ecx
cmp ecx, eax
jb 0x42183b
cmp dword [ebp - 0x30], 1
ja 0x421df9
cmp byte [ebp - 0x29], 0
je 0x422047
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 0x422009
push dword [ebp - 0x6c]
call fcn.00431d9a
pop ecx
mov byte [ebp - 4], 0x19
jmp 0x422029
push dword [ebp - 0x180]
call fcn.00431d9a
pop ecx
lea ecx, [ebp - 0x90]
call fcn.00420cb2
lea ecx, [ebp - 0x170]
call fcn.00420e1c
push dword [ebp - 0xac]
call fcn.00431d9a
push dword [ebp - 0x6c]
call fcn.00431d9a
pop ecx
pop ecx
mov byte [ebp - 4], 0xf
jmp 0x421fe4
call fcn.004022f7
push dword [ebp - 0x110]
call fcn.00431d9a
push dword [ebp - 0x180]
call fcn.00431d9a
pop ecx
pop ecx
lea ecx, [ebp - 0x90]
call fcn.00420cb2
lea ecx, [ebp - 0x170]
call fcn.00420e1c
push dword [ebp - 0xac]
call fcn.00431d9a
push dword [ebp - 0x6c]
call fcn.00431d9a
pop ecx
pop ecx
mov byte [ebp - 4], 0x17
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov ebx, 0x80004005
jmp 0x42202f
push dword [ebp - 0x180]
call fcn.00431d9a
pop ecx
lea ecx, [ebp - 0x90]
call fcn.00420cb2
lea ecx, [ebp - 0x170]
call fcn.00420e1c
push dword [ebp - 0xac]
call fcn.00431d9a
push dword [ebp - 0x6c]
call fcn.00431d9a
pop ecx
pop ecx
mov byte [ebp - 4], 0x18
jmp 0x421eb0
push dword [ebp - 0x180]
call fcn.00431d9a
pop ecx
lea ecx, [ebp - 0x90]
call fcn.00420cb2
lea ecx, [ebp - 0x170]
call fcn.00420e1c
push dword [ebp - 0xac]
call fcn.00431d9a
push dword [ebp - 0x6c]
call fcn.00431d9a
pop ecx
pop ecx
mov byte [ebp - 4], 0x10
jmp 0x421f75
push dword [ebp - 0x180]
call fcn.00431d9a
pop ecx
lea ecx, [ebp - 0x90]
call fcn.00420cb2
lea ecx, [ebp - 0x170]
call fcn.00420e1c
push dword [ebp - 0xac]
call fcn.00431d9a
push dword [ebp - 0x6c]
call fcn.00431d9a
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 0x42202f
push dword [ebp - 0x180]
call fcn.00431d9a
pop ecx
lea ecx, [ebp - 0x90]
call fcn.00420cb2
lea ecx, [ebp - 0x170]
call fcn.00420e1c
push dword [ebp - 0xac]
call fcn.00431d9a
push dword [ebp - 0x6c]
call fcn.00431d9a
pop ecx
pop ecx
mov eax, dword [edi]
push edi
mov byte [ebp - 4], 0xc
call dword [eax + 8]
mov ebx, 0x80004004
jmp 0x42202f
push dword [ebp - 0xac]
call fcn.00431d9a
push dword [ebp - 0x6c]
call fcn.00431d9a
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 0x42202f
mov dword [ebp - 0x84], str.there_is_no_such_archive
lea eax, [ebp - 0x84]
push 0x4e38f0
jmp 0x42170a
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 0x422047
push dword [ebp - 0x6c]
call fcn.00431d9a
pop ecx
mov byte [ebp - 4], 0x1a
mov eax, dword [edi]
push edi
call dword [eax + 8]
push esi
call fcn.00431d9a
push dword [ebp - 0xe0]
call fcn.00431d9a
mov eax, ebx
jmp 0x4220e8
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.00431d9a
pop ecx
mov eax, dword [edi]
push edi
mov byte [ebp - 4], 0x1b
call dword [eax + 8]
push esi
call fcn.00431d9a
push dword [ebp - 0xe0]
call fcn.00431d9a
xor eax, eax
pop ecx
pop ecx
call fcn.00431c9c
ret