Function at 0x4e1a00
Capabilities:
Create directory
Set current directory
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x188
mov eax, dword [0x70d06c]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0xa0], ecx
mov ecx, dword [ebp + 0x18]
push eax
mov dword [ebp - 0xa4], ecx
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x88], 0
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov eax, dword [fcn.004e2520]
mov ecx, dword [fcn.004e2500]
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0xa8], eax
lea eax, [ebp - 0x100]
push esi
push eax
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0xac], ecx
call fcn.004e5bf0
add esp, 8
test eax, eax
je 0x4e1a99
push 1
call fcn.00505b6f
push eax
push str._nERROR:
call fcn.0051e644
push 1
call fcn.00505b6f
push eax
push str.can_not_open_input_file
jmp 0x4e22b4
lea eax, [ebp - 0x108]
push edi
push eax
call fcn.004e5a00
lea eax, [ebp - 0xe0]
push 0
push eax
call fcn.004e2600
lea eax, [ebp - 0x70]
mov dword [ebp - 0xc4], 0
push 0x40000
push eax
call dword [ebp - 0x70]
mov esi, eax
add esp, 0x14
mov dword [ebp - 0xc4], esi
mov edi, eax
test esi, esi
je 0x4e1b05
lea eax, [ebp - 0x108]
mov dword [ebp - 0xc0], 0x40000
mov dword [ebp - 0xd0], eax
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xcc], 0
call fcn.004e58b0
lea eax, [ebp - 0x188]
push eax
call fcn.004e3c20
xor ecx, ecx
add esp, 4
test edi, edi
mov eax, 2
cmovne eax, ecx
mov dword [ebp - 0x58], eax
test esi, esi
je 0x4e1b54
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0xe0]
push eax
lea eax, [ebp - 0x188]
push eax
call fcn.004e3cf0
mov esi, eax
add esp, 0x10
mov dword [ebp - 0x58], esi
jmp 0x4e1b57
mov esi, dword [ebp - 0x58]
test esi, esi
jne 0x4e21c2
mov ecx, dword [ebp + 0x10]
mov edx, 0x68cbd4
mov dword [ebp - 0x54], esi
mov eax, ecx
mov dword [ebp - 0x78], esi
mov dword [ebp - 0x60], esi
push ebx
mov bl, byte [eax]
cmp bl, byte [edx]
jne 0x4e1b93
test bl, bl
je 0x4e1b8f
mov bl, byte [eax + 1]
cmp bl, byte [edx + 1]
jne 0x4e1b93
add eax, 2
add edx, 2
test bl, bl
jne 0x4e1b73
xor eax, eax
jmp 0x4e1b98
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4e1c88
mov dword [ebp - 0x54], 1
xor ebx, ebx
xor edi, edi
mov dword [ebp - 0x9c], 0xffffffff
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x64], edi
cmp dword [ebp - 0x148], edi
jbe 0x4e21b1
mov esi, dword [ebp - 0x54]
nop dword [eax + eax]
mov eax, dword [ebp - 0x140]
mov ecx, edi
and ecx, 7
mov dword [ebp - 0x8c], 0
mov edx, 0x80
mov dword [ebp - 0x7c], 0
sar edx, cl
mov ecx, edi
shr ecx, 3
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x50], edx
movzx eax, byte [ecx + eax]
mov ecx, 0
and eax, edx
mov dword [ebp - 0x74], eax
setne cl
mov dword [ebp - 0x94], ecx
test esi, esi
jne 0x4e1c35
test eax, eax
je 0x4e1c35
test ebx, ebx
je 0x4e219e
push 0
lea eax, [ebp - 0x188]
push edi
push eax
call fcn.004e3bd0
mov esi, eax
add esp, 0xc
cmp esi, dword [ebp - 0x88]
jbe 0x4e1d4f
push dword [ebp - 0x68]
push 0
call fcn.004e2520
lea eax, [esi + esi]
mov dword [ebp - 0x88], esi
push eax
push 0
call fcn.004e2500
mov ebx, eax
add esp, 0x10
mov dword [ebp - 0x68], ebx
test ebx, ebx
jne 0x4e1d52
lea esi, [eax + 2]
jmp 0x4e21b1
mov edx, 0x68cbd8
mov eax, ecx
nop
mov bl, byte [eax]
cmp bl, byte [edx]
jne 0x4e1cb0
test bl, bl
je 0x4e1cac
mov bl, byte [eax + 1]
cmp bl, byte [edx + 1]
jne 0x4e1cb0
add eax, 2
add edx, 2
test bl, bl
jne 0x4e1c90
xor eax, eax
jmp 0x4e1cb5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4e1cc5
mov dword [ebp - 0x78], 1
jmp 0x4e1ba7
mov edx, 0x68cbdc
mov eax, ecx
nop dword [eax]
mov bl, byte [eax]
cmp bl, byte [edx]
jne 0x4e1cf0
test bl, bl
je 0x4e1cec
mov bl, byte [eax + 1]
cmp bl, byte [edx + 1]
jne 0x4e1cf0
add eax, 2
add edx, 2
test bl, bl
jne 0x4e1cd0
xor eax, eax
jmp 0x4e1cf5
sbb eax, eax
or eax, 1
test eax, eax
je 0x4e1ba7
mov eax, 0x6f5628
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x4e1d22
test dl, dl
je 0x4e1d1e
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x4e1d22
add ecx, 2
add eax, 2
test dl, dl
jne 0x4e1d02
xor eax, eax
jmp 0x4e1d27
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4e1d38
mov ebx, 1
mov dword [ebp - 0x60], ebx
jmp 0x4e1ba9
push 0x68cbe0
call fcn.004e1850
add esp, 4
mov esi, 0xb
jmp 0x4e21c1
mov ebx, dword [ebp - 0x68]
push ebx
lea eax, [ebp - 0x188]
push edi
push eax
call fcn.004e3bd0
add esp, 0xc
cmp dword [ebp - 0x54], 0
je 0x4e1ee7
mov eax, dword [ebp - 0x134]
mov esi, dword [ebp - 0x5c]
test eax, eax
je 0x4e1d8d
mov ecx, dword [ebp - 0x50]
test byte [esi + eax], cl
je 0x4e1d8d
mov eax, dword [ebp - 0x130]
mov ecx, dword [eax + edi*4]
jmp 0x4e1d8f
xor ecx, ecx
test cl, 0x10
jne 0x4e1d9c
cmp dword [ebp - 0x74], 0
mov al, 0x2e
je 0x4e1d9e
mov al, 0x44
mov byte [ebp - 0xc], al
mov eax, ecx
and al, 1
mov byte [ebp - 7], 0
neg al
push 0xa
sbb al, al
and al, 0x24
add al, 0x2e
mov byte [ebp - 0xb], al
mov eax, ecx
and al, 2
neg al
sbb al, al
and al, 0x1a
add al, 0x2e
mov byte [ebp - 0xa], al
mov eax, ecx
and al, 4
neg al
sbb al, al
and cl, 0x20
and al, 0x25
add al, 0x2e
neg cl
mov byte [ebp - 9], al
mov eax, dword [ebp - 0x144]
sbb cl, cl
and cl, 0x13
lea edx, [eax + edi*8]
add cl, 0x2e
lea eax, [ebp - 0x4c]
mov byte [ebp - 8], cl
mov ecx, dword [edx + 8]
sub ecx, dword [edx]
push eax
mov eax, dword [edx + 0xc]
sbb eax, dword [edx + 4]
push eax
push ecx
call fcn.004e1960
mov eax, dword [ebp - 0x12c]
add esp, 0x10
test eax, eax
je 0x4e1e30
mov ecx, dword [ebp - 0x50]
test byte [esi + eax], cl
je 0x4e1e30
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x128]
lea eax, [eax + edi*8]
push eax
call fcn.004e1590
add esp, 8
jmp 0x4e1e42
movaps xmm0, xmmword [str.________________7z]
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0x202020
push 1
call fcn.00505b6f
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0051e644
push 1
call fcn.00505b6f
push eax
push 0x679d64
call fcn.0051e644
push 1
call fcn.00505b6f
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.0051e644
push 1
call fcn.00505b6f
push eax
push 0x679d64
call fcn.0051e644
push 1
call fcn.00505b6f
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.0051e644
push 1
call fcn.00505b6f
add esp, 0x40
push eax
push 0x6f5600
call fcn.0051e644
push ebx
call fcn.004e1890
mov esi, eax
add esp, 0xc
mov dword [ebp - 0x58], esi
test esi, esi
jne 0x4e21b1
cmp dword [ebp - 0x74], eax
je 0x4e2183
push 1
call fcn.00505b6f
push eax
push 0x688b54
call fcn.0051e644
add esp, 0xc
jmp 0x4e2183
push 1
call fcn.00505b6f
cmp dword [ebp - 0x78], 0
mov ecx, str.Extracting
push eax
mov eax, str.Testing
cmove eax, ecx
push eax
call fcn.0051e644
push ebx
call fcn.004e1890
mov esi, eax
add esp, 0x10
mov dword [ebp - 0x58], esi
test esi, esi
jne 0x4e21b1
cmp dword [ebp - 0x74], eax
je 0x4e1f38
push 1
call fcn.00505b6f
push eax
push 0x688b54
call fcn.0051e644
add esp, 0xc
jmp 0x4e1f87
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x9c]
push eax
push edi
lea eax, [ebp - 0xe0]
push eax
lea eax, [ebp - 0x188]
push eax
call fcn.004e3880
mov esi, eax
mov dword [ebp - 0x58], eax
add esp, 0x28
test esi, esi
jne 0x4e21b1
cmp dword [ebp - 0x78], 0
jne 0x4e2183
movzx eax, word [ebx]
mov esi, ebx
xor edi, edi
mov dword [ebp - 0x80], esi
mov ecx, eax
test ax, ax
je 0x4e1fe7
cmp cx, 0x2f
jne 0x4e1fd5
cmp dword [ebp - 0x60], 0
je 0x4e1fcf
xor eax, eax
push eax
push ebx
mov word [esi], ax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x4e1fc5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, 0x5c
mov word [esi], ax
jmp 0x4e1fd5
lea edx, [esi + 2]
mov dword [ebp - 0x80], edx
inc edi
movzx eax, word [ebx + edi*2]
lea esi, [ebx + edi*2]
mov ecx, eax
test ax, ax
jne 0x4e1fa2
mov esi, dword [ebp - 0x80]
mov eax, dword [ebp - 0xa0]
test eax, eax
je 0x4e1ffd
push dword [ebp - 0x94]
push ebx
call eax
add esp, 8
cmp dword [ebp - 0x74], 0
je 0x4e2030
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x4e2016
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 1
call fcn.00505b6f
push eax
push 0x68cb54
call fcn.0051e644
mov edi, dword [ebp - 0x64]
jmp 0x4e2195
lea eax, [ebp - 0xf0]
push esi
push eax
call fcn.004e5d40
add esp, 8
test eax, eax
jne 0x4e2253
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x90], eax
lea eax, [ebp - 0x90]
push eax
mov eax, dword [ebp - 0x8c]
add eax, dword [ebp - 0x84]
push eax
lea eax, [ebp - 0xf0]
push eax
call fcn.004e5b80
add esp, 0xc
test eax, eax
jne 0x4e223c
mov eax, dword [ebp - 0x90]
cmp eax, dword [ebp - 0x7c]
jne 0x4e223c
mov eax, dword [ebp - 0x12c]
xor edx, edx
mov ecx, dword [ebp - 0x50]
xor esi, esi
test eax, eax
je 0x4e20cc
mov edi, dword [ebp - 0x5c]
test byte [edi + eax], cl
mov edi, dword [ebp - 0x64]
je 0x4e20cf
mov eax, dword [ebp - 0x128]
lea edx, [ebp - 0xb4]
lea ecx, [eax + edi*8]
mov eax, dword [ecx]
mov dword [ebp - 0xb4], eax
mov eax, dword [ecx + 4]
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0xb0], eax
jmp 0x4e20cf
mov edi, dword [ebp - 0x64]
mov eax, dword [ebp - 0x124]
test eax, eax
je 0x4e2104
mov ebx, dword [ebp - 0x5c]
test byte [ebx + eax], cl
mov ebx, dword [ebp - 0x68]
je 0x4e2104
mov eax, dword [ebp - 0x120]
lea esi, [ebp - 0xbc]
lea ecx, [eax + edi*8]
mov eax, dword [ecx]
mov dword [ebp - 0xbc], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0xb8], eax
test edx, edx
jne 0x4e210c
test esi, esi
je 0x4e211c
push edx
push 0
push esi
push dword [ebp - 0xf0]
call dword [sym.imp.KERNEL32.dll_SetFileTime]
lea eax, [ebp - 0xf0]
push eax
call fcn.004e5ae0
add esp, 4
test eax, eax
jne 0x4e2225
mov eax, dword [ebp - 0x134]
test eax, eax
je 0x4e216d
mov edx, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x50]
test byte [edx + eax], cl
je 0x4e216d
mov eax, dword [ebp - 0x130]
mov edx, dword [eax + edi*4]
mov ecx, edx
mov eax, edx
and ecx, 0x7fff
and eax, 0xf0000000
cmove ecx, edx
push ecx
push dword [ebp - 0x80]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov eax, dword [ebp - 0xa4]
test eax, eax
je 0x4e2183
push dword [ebp - 0x94]
push ebx
call eax
add esp, 8
push 1
call fcn.00505b6f
push eax
push 0x68cb54
call fcn.0051e644
mov ebx, dword [ebp - 0x60]
add esp, 0xc
mov esi, dword [ebp - 0x54]
inc edi
mov dword [ebp - 0x64], edi
cmp edi, dword [ebp - 0x148]
jb 0x4e1be0
mov esi, dword [ebp - 0x58]
push dword [ebp - 0x84]
lea eax, [ebp - 0x70]
push eax
call dword [ebp - 0x6c]
add esp, 8
pop ebx
push dword [ebp - 0x68]
push 0
call fcn.004e2520
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x188]
push eax
call fcn.004e3a30
push dword [ebp - 0xc4]
lea eax, [ebp - 0x70]
push eax
call dword [ebp - 0x6c]
lea eax, [ebp - 0x100]
push eax
call fcn.004e5ae0
add esp, 0x1c
pop edi
test esi, esi
jne 0x4e226a
push 1
call fcn.00505b6f
push eax
push str._nEverything_is_Ok_n
call fcn.0051e644
add esp, 0xc
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004296e5
mov esp, ebp
pop ebp
ret 0x14
push str.can_not_close_output_file
call fcn.004e1850
add esp, 4
mov esi, 0xb
jmp 0x4e21b1
push str.can_not_write_output_file
call fcn.004e1850
add esp, 4
mov esi, 0xb
jmp 0x4e21b1
push str.can_not_open_output_file
call fcn.004e1850
add esp, 4
mov esi, 0xb
jmp 0x4e21b1
cmp esi, 4
jne 0x4e2290
push 1
call fcn.00505b6f
push eax
push str._nERROR:
call fcn.0051e644
push 1
call fcn.00505b6f
push eax
push str.decoder_doesnt_support_this_archive
jmp 0x4e22b4
cmp esi, 2
jne 0x4e22d0
push 1
call fcn.00505b6f
push eax
push str._nERROR:
call fcn.0051e644
push 1
call fcn.00505b6f
push eax
push str.can_not_allocate_memory
call fcn.0051e644
push 1
call fcn.00505b6f
push eax
push 0x68cb54
call fcn.0051e644
add esp, 0x24
jmp 0x4e2300
cmp esi, 3
jne 0x4e22e4
push str.CRC_error
call fcn.004e1850
add esp, 4
jmp 0x4e2300
push 0
lea eax, [ebp - 0x4c]
push eax
mov eax, esi
cdq
push edx
push eax
call fcn.004e1960
lea eax, [ebp - 0x4c]
push eax
call fcn.004e1850
add esp, 0x14
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
pop esi
call fcn.004296e5
mov esp, ebp
pop ebp
ret 0x14