Function at 0x100ab670
Capabilities:
Set current directory
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x164
mov eax, dword [0x100fb074]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
push eax
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x8c], edi
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov eax, dword [fcn.100abe10]
mov ecx, dword [fcn.100abdf0]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0xa0], eax
lea eax, [ebp - 0xb8]
push esi
push eax
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0xa4], ecx
call fcn.100af0d0
add esp, 8
test eax, eax
je 0x100ab6f0
push str.can_not_open_input_file
call fcn.100ab3f0
add esp, 4
lea eax, [edi + 1]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b47d2
mov esp, ebp
pop ebp
ret 0xc
lea eax, [ebp - 0xc0]
push ebx
push eax
call fcn.100aee30
lea eax, [ebp - 0xe4]
push 0
push eax
call fcn.100abec0
lea eax, [ebp - 0x6c]
mov dword [ebp - 0xc8], edi
push 0x40000
push eax
call dword [ebp - 0x6c]
mov esi, eax
add esp, 0x14
mov dword [ebp - 0xc8], esi
mov ebx, eax
test esi, esi
je 0x100ab750
lea eax, [ebp - 0xc0]
mov dword [ebp - 0xc4], 0x40000
mov dword [ebp - 0xd4], eax
mov dword [ebp - 0xcc], edi
mov dword [ebp - 0xd0], edi
call fcn.100aece0
lea eax, [ebp - 0x164]
push eax
call fcn.100ad410
xor eax, eax
add esp, 4
test ebx, ebx
mov ebx, 2
cmovne ebx, eax
mov dword [ebp - 0x58], ebx
test esi, esi
je 0x100ab79d
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0xe4]
push eax
lea eax, [ebp - 0x164]
push eax
call fcn.100ad4a0
add esp, 0x10
mov dword [ebp - 0x58], eax
mov ebx, eax
test ebx, ebx
jne 0x100abd1b
mov ecx, dword [ebp + 0x10]
mov edx, 0x100dc38c
mov dword [ebp - 0x74], edi
mov eax, ecx
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x60], edi
mov bl, byte [eax]
cmp bl, byte [edx]
jne 0x100ab7d8
test bl, bl
je 0x100ab7d4
mov bl, byte [eax + 1]
cmp bl, byte [edx + 1]
jne 0x100ab7d8
add eax, 2
add edx, 2
test bl, bl
jne 0x100ab7b8
xor eax, eax
jmp 0x100ab7dd
sbb eax, eax
or eax, 1
test eax, eax
jne 0x100ab8bc
mov dword [ebp - 0x74], 1
xor ebx, ebx
xor esi, esi
mov dword [ebp - 0x9c], 0xffffffff
mov dword [ebp - 0x88], edi
mov dword [ebp - 0x98], edi
mov dword [ebp - 0x54], esi
cmp dword [ebp - 0x124], esi
jbe 0x100abd08
mov eax, dword [ebp - 0x11c]
mov ecx, esi
and ecx, 7
mov dword [ebp - 0x90], 0
mov edx, 0x80
mov dword [ebp - 0x80], 0
sar edx, cl
mov ecx, esi
shr ecx, 3
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x70], edx
movzx ecx, byte [ecx + eax]
mov eax, 0
and ecx, edx
mov dword [ebp - 0x7c], ecx
setne al
cmp dword [ebp - 0x74], 0
mov dword [ebp - 0x64], eax
jne 0x100ab869
test ecx, ecx
je 0x100ab869
test ebx, ebx
je 0x100abcce
push 0
lea eax, [ebp - 0x164]
push esi
push eax
call fcn.100ad3c0
mov esi, eax
add esp, 0xc
cmp esi, dword [ebp - 0x8c]
jbe 0x100ab97f
push edi
push 0
call fcn.100abe10
lea eax, [esi + esi]
mov dword [ebp - 0x8c], esi
push eax
push 0
call fcn.100abdf0
mov ebx, eax
add esp, 0x10
mov dword [ebp - 0x50], ebx
test ebx, ebx
jne 0x100ab982
lea ebx, [eax + 2]
mov edi, eax
jmp 0x100abd0b
mov edx, 0x100dc390
mov eax, ecx
mov bl, byte [eax]
cmp bl, byte [edx]
jne 0x100ab8e3
test bl, bl
je 0x100ab8df
mov bl, byte [eax + 1]
cmp bl, byte [edx + 1]
jne 0x100ab8e3
add eax, 2
add edx, 2
test bl, bl
jne 0x100ab8c3
xor eax, eax
jmp 0x100ab8e8
sbb eax, eax
or eax, 1
test eax, eax
jne 0x100ab8f8
mov dword [ebp - 0x78], 1
jmp 0x100ab7ec
mov edx, 0x100dc394
mov eax, ecx
nop
mov bl, byte [eax]
cmp bl, byte [edx]
jne 0x100ab920
test bl, bl
je 0x100ab91c
mov bl, byte [eax + 1]
cmp bl, byte [edx + 1]
jne 0x100ab920
add eax, 2
add edx, 2
test bl, bl
jne 0x100ab900
xor eax, eax
jmp 0x100ab925
sbb eax, eax
or eax, 1
test eax, eax
je 0x100ab7ec
mov eax, 0x100ee16c
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x100ab952
test dl, dl
je 0x100ab94e
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x100ab952
add ecx, 2
add eax, 2
test dl, dl
jne 0x100ab932
xor eax, eax
jmp 0x100ab957
sbb eax, eax
or eax, 1
test eax, eax
jne 0x100ab968
mov ebx, 1
mov dword [ebp - 0x60], ebx
jmp 0x100ab7ee
push 0x100dc398
call fcn.100ab3f0
add esp, 4
mov ebx, 0xb
jmp 0x100abd1b
mov ebx, dword [ebp - 0x50]
mov esi, dword [ebp - 0x54]
lea eax, [ebp - 0x164]
push ebx
push esi
push eax
call fcn.100ad3c0
add esp, 0xc
cmp dword [ebp - 0x74], 0
je 0x100aba98
mov eax, dword [ebp - 0x110]
mov edi, dword [ebp - 0x5c]
test eax, eax
je 0x100ab9c0
mov ecx, dword [ebp - 0x70]
test byte [edi + eax], cl
je 0x100ab9c0
mov eax, dword [ebp - 0x10c]
mov eax, dword [eax + esi*4]
jmp 0x100ab9c2
xor eax, eax
lea ecx, [ebp - 0xc]
push ecx
push dword [ebp - 0x64]
push eax
call fcn.100ab340
mov eax, dword [ebp - 0x120]
mov ecx, dword [eax + esi*8 + 8]
lea edx, [eax + esi*8]
sub ecx, dword [edx]
lea eax, [ebp - 0x4c]
push 0xa
push eax
mov eax, dword [edx + 0xc]
sbb eax, dword [edx + 4]
push eax
push ecx
call fcn.100ab470
mov eax, dword [ebp - 0x108]
add esp, 0x1c
test eax, eax
je 0x100aba1e
mov ecx, dword [ebp - 0x70]
test byte [edi + eax], cl
je 0x100aba1e
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x104]
lea eax, [eax + esi*8]
push eax
call fcn.100ab150
add esp, 8
jmp 0x100aba30
movaps xmm0, xmmword [str.________________7z]
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0x202020
lea eax, [ebp - 0x2c]
push eax
call fcn.100ab3d0
push 0x100edcd0
call fcn.100ab3d0
lea eax, [ebp - 0xc]
push eax
call fcn.100ab3d0
push 0x100edcd0
call fcn.100ab3d0
lea eax, [ebp - 0x4c]
push eax
call fcn.100ab3d0
push 0x100ed638
call fcn.100ab3d0
push ebx
call fcn.100ab420
add esp, 0x1c
mov dword [ebp - 0x58], eax
test eax, eax
jne 0x100abd05
cmp dword [ebp - 0x7c], eax
je 0x100abcc3
push 0x100dc3ac
call fcn.100ab3d0
add esp, 4
jmp 0x100abcc3
cmp dword [ebp - 0x78], 0
mov ecx, str.Extracting
mov eax, str.Testing
cmove eax, ecx
push eax
call fcn.100ab3d0
push ebx
call fcn.100ab420
mov edi, eax
add esp, 8
mov dword [ebp - 0x58], edi
test edi, edi
jne 0x100abd05
cmp dword [ebp - 0x7c], eax
je 0x100abad9
push 0x100dc3ac
call fcn.100ab3d0
add esp, 4
jmp 0x100abb26
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x9c]
push eax
push esi
lea eax, [ebp - 0xe4]
push eax
lea eax, [ebp - 0x164]
push eax
call fcn.100ad1b0
add esp, 0x28
mov dword [ebp - 0x58], eax
test eax, eax
jne 0x100abd05
cmp dword [ebp - 0x78], 0
jne 0x100abcc3
movzx eax, word [ebx]
mov edx, ebx
xor edi, edi
mov dword [ebp - 0x64], edx
mov ecx, eax
test ax, ax
je 0x100abb82
mov esi, ebx
cmp cx, 0x2f
jne 0x100abb70
cmp dword [ebp - 0x60], 0
je 0x100abb6a
xor eax, eax
push ebx
mov word [esi], ax
call fcn.100ab3a0
mov edx, dword [ebp - 0x64]
mov eax, 0x5c
add esp, 4
mov word [esi], ax
jmp 0x100abb70
lea edx, [esi + 2]
mov dword [ebp - 0x64], edx
inc edi
movzx eax, word [ebx + edi*2]
lea esi, [ebx + edi*2]
mov ecx, eax
test ax, ax
jne 0x100abb43
mov esi, dword [ebp - 0x54]
cmp dword [ebp - 0x7c], 0
push edx
je 0x100abb96
call fcn.100ab3a0
add esp, 4
jmp 0x100abcc3
lea eax, [ebp - 0x84]
push eax
call fcn.100ab3c0
add esp, 8
test eax, eax
jne 0x100abcfe
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x94], eax
lea eax, [ebp - 0x94]
push eax
mov eax, dword [ebp - 0x90]
add eax, dword [ebp - 0x88]
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.100af060
add esp, 0xc
test eax, eax
jne 0x100abce7
mov eax, dword [ebp - 0x94]
cmp eax, dword [ebp - 0x80]
jne 0x100abce7
mov eax, dword [ebp - 0x108]
xor edx, edx
mov ebx, dword [ebp - 0x70]
xor esi, esi
mov ecx, dword [ebp - 0x5c]
mov edi, dword [ebp - 0x54]
test eax, eax
je 0x100abc2f
test byte [ecx + eax], bl
je 0x100abc2f
mov eax, dword [ebp - 0x104]
lea edx, [ebp - 0xac]
lea ecx, [eax + edi*8]
mov eax, dword [ecx]
mov dword [ebp - 0xac], eax
mov eax, dword [ecx + 4]
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x100]
test eax, eax
je 0x100abc5e
test byte [ecx + eax], bl
je 0x100abc5e
mov eax, dword [ebp - 0xfc]
lea esi, [ebp - 0xb4]
lea ecx, [eax + edi*8]
mov eax, dword [ecx]
mov dword [ebp - 0xb4], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0xb0], eax
test edx, edx
jne 0x100abc66
test esi, esi
je 0x100abc76
push edx
push 0
push esi
push dword [ebp - 0x84]
call dword [sym.imp.KERNEL32.dll_SetFileTime]
lea eax, [ebp - 0x84]
push eax
call fcn.100aee90
add esp, 4
test eax, eax
jne 0x100abce0
mov eax, dword [ebp - 0x110]
mov esi, dword [ebp - 0x54]
test eax, eax
je 0x100abcc3
mov edi, dword [ebp - 0x5c]
test byte [edi + eax], bl
je 0x100abcc3
mov eax, dword [ebp - 0x10c]
mov edx, dword [eax + esi*4]
mov ecx, edx
mov eax, edx
and ecx, 0x7fff
and eax, 0xf0000000
cmove ecx, edx
push ecx
push dword [ebp - 0x64]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
call fcn.100ab410
mov edi, dword [ebp - 0x50]
mov ebx, dword [ebp - 0x60]
inc esi
mov dword [ebp - 0x54], esi
cmp esi, dword [ebp - 0x124]
jb 0x100ab815
jmp 0x100abd08
push str.can_not_close_output_file
jmp 0x100abcec
push str.can_not_write_output_file
call fcn.100ab3f0
mov edi, dword [ebp - 0x50]
add esp, 4
mov ebx, 0xb
jmp 0x100abd0b
push str.can_not_open_output_file
jmp 0x100abcec
mov edi, dword [ebp - 0x50]
mov ebx, dword [ebp - 0x58]
push dword [ebp - 0x88]
lea eax, [ebp - 0x6c]
push eax
call dword [ebp - 0x68]
add esp, 8
push edi
push 0
call fcn.100abe10
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x164]
push eax
call fcn.100ad340
push dword [ebp - 0xc8]
lea eax, [ebp - 0x6c]
push eax
call dword [ebp - 0x68]
lea eax, [ebp - 0xb8]
push eax
call fcn.100aee90
add esp, 0x1c
test ebx, ebx
jne 0x100abd75
push str._nEverything_is_Ok_n
call fcn.100ab3d0
add esp, 4
xor eax, eax
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b47d2
mov esp, ebp
pop ebp
ret 0xc
cmp ebx, 4
jne 0x100abd89
push str.decoder_doesnt_support_this_archive
call fcn.100ab3f0
add esp, 4
jmp 0x100abdcd
cmp ebx, 2
jne 0x100abd9d
push str.can_not_allocate_memory
call fcn.100ab3f0
add esp, 4
jmp 0x100abdcd
cmp ebx, 3
jne 0x100abdb1
push str.CRC_error
call fcn.100ab3f0
add esp, 4
jmp 0x100abdcd
push 0
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
cdq
push edx
push eax
call fcn.100ab470
lea eax, [ebp - 0x4c]
push eax
call fcn.100ab3f0
add esp, 0x14
mov ecx, dword [ebp - 4]
mov eax, 1
pop ebx
pop edi
xor ecx, ebp
pop esi
call fcn.100b47d2
mov esp, ebp
pop ebp
ret 0xc