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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x184
mov eax, dword [0x1012931c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 8]
push eax
mov dword [ebp - 0x9c], ecx
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x88], 0
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov eax, dword [fcn.100291d0]
mov ecx, dword [fcn.100291b0]
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0xa4], eax
lea eax, [ebp - 0xfc]
push esi
push eax
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0xa8], ecx
call fcn.1002cc60
add esp, 8
test eax, eax
je 0x10028160
push 1
call fcn.100b6b4b
push eax
push str._nERROR:
call fcn.100b8014
push 1
call fcn.100b6b4b
push eax
push str.can_not_open_input_file
jmp 0x10028970
lea eax, [ebp - 0x104]
push edi
push eax
call fcn.1002c8c0
lea eax, [ebp - 0xdc]
push 0
push eax
call fcn.10029300
lea eax, [ebp - 0x70]
mov dword [ebp - 0xc0], 0
push 0x40000
push eax
call dword [ebp - 0x70]
mov esi, eax
add esp, 0x14
mov dword [ebp - 0xc0], esi
mov edi, eax
test esi, esi
je 0x100281cc
lea eax, [ebp - 0x104]
mov dword [ebp - 0xbc], 0x40000
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc8], 0
call fcn.1002c710
lea eax, [ebp - 0x184]
push eax
call fcn.1002aa80
xor ecx, ecx
add esp, 4
test edi, edi
mov eax, 2
cmovne eax, ecx
mov dword [ebp - 0x58], eax
test esi, esi
je 0x1002821b
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0xdc]
push eax
lea eax, [ebp - 0x184]
push eax
call fcn.1002ab50
mov esi, eax
add esp, 0x10
mov dword [ebp - 0x58], esi
jmp 0x1002821e
mov esi, dword [ebp - 0x58]
test esi, esi
jne 0x1002887e
mov ecx, dword [ebp + 0x10]
mov edx, 0x100f9bf0
mov dword [ebp - 0x54], esi
mov eax, ecx
mov dword [ebp - 0x78], esi
mov dword [ebp - 0x60], esi
push ebx
nop word [eax + eax]
mov bl, byte [eax]
cmp bl, byte [edx]
jne 0x10028260
test bl, bl
je 0x1002825c
mov bl, byte [eax + 1]
cmp bl, byte [edx + 1]
jne 0x10028260
add eax, 2
add edx, 2
test bl, bl
jne 0x10028240
xor eax, eax
jmp 0x10028265
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10028358
mov dword [ebp - 0x54], 1
xor ebx, ebx
xor edi, edi
mov dword [ebp - 0x98], 0xffffffff
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x64], edi
cmp dword [ebp - 0x144], edi
jbe 0x1002886d
mov esi, dword [ebp - 0x54]
nop dword [eax + eax]
mov eax, dword [ebp - 0x13c]
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 - 0xa0], ecx
test esi, esi
jne 0x10028305
test eax, eax
je 0x10028305
test ebx, ebx
je 0x1002885a
push 0
lea eax, [ebp - 0x184]
push edi
push eax
call fcn.1002aa30
mov esi, eax
add esp, 0xc
cmp esi, dword [ebp - 0x88]
jbe 0x1002841f
push dword [ebp - 0x68]
push 0
call fcn.100291d0
lea eax, [esi + esi]
mov dword [ebp - 0x88], esi
push eax
push 0
call fcn.100291b0
mov ebx, eax
add esp, 0x10
mov dword [ebp - 0x68], ebx
test ebx, ebx
jne 0x10028422
lea esi, [eax + 2]
jmp 0x1002886d
mov edx, 0x100f9bf4
mov eax, ecx
nop
mov bl, byte [eax]
cmp bl, byte [edx]
jne 0x10028380
test bl, bl
je 0x1002837c
mov bl, byte [eax + 1]
cmp bl, byte [edx + 1]
jne 0x10028380
add eax, 2
add edx, 2
test bl, bl
jne 0x10028360
xor eax, eax
jmp 0x10028385
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10028395
mov dword [ebp - 0x78], 1
jmp 0x10028274
mov edx, 0x100f9bf8
mov eax, ecx
nop dword [eax]
mov bl, byte [eax]
cmp bl, byte [edx]
jne 0x100283c0
test bl, bl
je 0x100283bc
mov bl, byte [eax + 1]
cmp bl, byte [edx + 1]
jne 0x100283c0
add eax, 2
add edx, 2
test bl, bl
jne 0x100283a0
xor eax, eax
jmp 0x100283c5
sbb eax, eax
or eax, 1
test eax, eax
je 0x10028274
mov eax, 0x100f6fdc
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x100283f2
test dl, dl
je 0x100283ee
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x100283f2
add ecx, 2
add eax, 2
test dl, dl
jne 0x100283d2
xor eax, eax
jmp 0x100283f7
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10028408
mov ebx, 1
mov dword [ebp - 0x60], ebx
jmp 0x10028276
push 0x100f9bfc
call fcn.10027f20
add esp, 4
mov esi, 0xb
jmp 0x1002887d
mov ebx, dword [ebp - 0x68]
push ebx
lea eax, [ebp - 0x184]
push edi
push eax
call fcn.1002aa30
add esp, 0xc
cmp dword [ebp - 0x54], 0
je 0x100285b7
mov eax, dword [ebp - 0x130]
mov esi, dword [ebp - 0x5c]
test eax, eax
je 0x1002845d
mov ecx, dword [ebp - 0x50]
test byte [esi + eax], cl
je 0x1002845d
mov eax, dword [ebp - 0x12c]
mov ecx, dword [eax + edi*4]
jmp 0x1002845f
xor ecx, ecx
test cl, 0x10
jne 0x1002846c
cmp dword [ebp - 0x74], 0
mov al, 0x2e
je 0x1002846e
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 - 0x140]
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.10028030
mov eax, dword [ebp - 0x128]
add esp, 0x10
test eax, eax
je 0x10028500
mov ecx, dword [ebp - 0x50]
test byte [esi + eax], cl
je 0x10028500
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x124]
lea eax, [eax + edi*8]
push eax
call fcn.10027c60
add esp, 8
jmp 0x10028512
movaps xmm0, xmmword [str.________________7z]
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0x202020
push 1
call fcn.100b6b4b
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.100b8014
push 1
call fcn.100b6b4b
push eax
push 0x100f9c10
call fcn.100b8014
push 1
call fcn.100b6b4b
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.100b8014
push 1
call fcn.100b6b4b
push eax
push 0x100f9c10
call fcn.100b8014
push 1
call fcn.100b6b4b
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.100b8014
push 1
call fcn.100b6b4b
add esp, 0x40
push eax
push 0x100f9c14
call fcn.100b8014
push ebx
call fcn.10027f60
mov esi, eax
add esp, 0xc
mov dword [ebp - 0x58], esi
test esi, esi
jne 0x1002886d
cmp dword [ebp - 0x74], eax
je 0x1002883f
push 1
call fcn.100b6b4b
push eax
push 0x100f9c18
call fcn.100b8014
add esp, 0xc
jmp 0x1002883f
push 1
call fcn.100b6b4b
cmp dword [ebp - 0x78], 0
mov ecx, str.Extracting
push eax
mov eax, str.Testing
cmove eax, ecx
push eax
call fcn.100b8014
push ebx
call fcn.10027f60
mov esi, eax
add esp, 0x10
mov dword [ebp - 0x58], esi
test esi, esi
jne 0x1002886d
cmp dword [ebp - 0x74], eax
je 0x10028608
push 1
call fcn.100b6b4b
push eax
push 0x100f9c18
call fcn.100b8014
add esp, 0xc
jmp 0x10028657
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x98]
push eax
push edi
lea eax, [ebp - 0xdc]
push eax
lea eax, [ebp - 0x184]
push eax
call fcn.1002a6e0
mov esi, eax
mov dword [ebp - 0x58], eax
add esp, 0x28
test esi, esi
jne 0x1002886d
cmp dword [ebp - 0x78], 0
jne 0x1002883f
movzx eax, word [ebx]
mov edx, ebx
xor edi, edi
mov dword [ebp - 0x80], edx
mov ecx, eax
test ax, ax
je 0x100286b9
mov esi, ebx
cmp cx, 0x2f
jne 0x100286aa
cmp dword [ebp - 0x60], 0
je 0x100286a4
xor eax, eax
push eax
push ebx
mov word [esi], ax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x10028697
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp - 0x80]
mov eax, 0x5c
mov word [esi], ax
jmp 0x100286aa
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 0x10028674
cmp dword [ebp - 0x74], 0
je 0x100286ec
push 0
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x100286d2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 1
call fcn.100b6b4b
push eax
push 0x100f9b70
call fcn.100b8014
mov edi, dword [ebp - 0x64]
jmp 0x10028851
push edx
lea eax, [ebp - 0xec]
push eax
call fcn.1002ce30
add esp, 8
test eax, eax
jne 0x1002890f
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 - 0xec]
push eax
call fcn.1002cbf0
add esp, 0xc
test eax, eax
jne 0x100288f8
mov eax, dword [ebp - 0x90]
cmp eax, dword [ebp - 0x7c]
jne 0x100288f8
mov eax, dword [ebp - 0x128]
xor edx, edx
mov ecx, dword [ebp - 0x50]
xor esi, esi
test eax, eax
je 0x10028788
mov edi, dword [ebp - 0x5c]
test byte [edi + eax], cl
mov edi, dword [ebp - 0x64]
je 0x1002878b
mov eax, dword [ebp - 0x124]
lea edx, [ebp - 0xb0]
lea ecx, [eax + edi*8]
mov eax, dword [ecx]
mov dword [ebp - 0xb0], eax
mov eax, dword [ecx + 4]
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0xac], eax
jmp 0x1002878b
mov edi, dword [ebp - 0x64]
mov eax, dword [ebp - 0x120]
test eax, eax
je 0x100287c0
mov ebx, dword [ebp - 0x5c]
test byte [ebx + eax], cl
mov ebx, dword [ebp - 0x68]
je 0x100287c0
mov eax, dword [ebp - 0x11c]
lea esi, [ebp - 0xb8]
lea ecx, [eax + edi*8]
mov eax, dword [ecx]
mov dword [ebp - 0xb8], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0xb4], eax
test edx, edx
jne 0x100287c8
test esi, esi
je 0x100287d8
push edx
push 0
push esi
push dword [ebp - 0xec]
call dword [sym.imp.KERNEL32.dll_SetFileTime]
lea eax, [ebp - 0xec]
push eax
call fcn.1002ca70
add esp, 4
test eax, eax
jne 0x100288e1
mov eax, dword [ebp - 0x130]
test eax, eax
je 0x10028829
mov edx, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x50]
test byte [edx + eax], cl
je 0x10028829
mov eax, dword [ebp - 0x12c]
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 - 0x9c]
test eax, eax
je 0x1002883f
push dword [ebp - 0xa0]
push ebx
call eax
add esp, 8
push 1
call fcn.100b6b4b
push eax
push 0x100f9b70
call fcn.100b8014
mov ebx, dword [ebp - 0x60]
add esp, 0xc
mov esi, dword [ebp - 0x54]
inc edi
mov dword [ebp - 0x64], edi
cmp edi, dword [ebp - 0x144]
jb 0x100282b0
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.100291d0
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x184]
push eax
call fcn.1002a890
push dword [ebp - 0xc0]
lea eax, [ebp - 0x70]
push eax
call dword [ebp - 0x6c]
lea eax, [ebp - 0xfc]
push eax
call fcn.1002ca70
add esp, 0x1c
pop edi
test esi, esi
jne 0x10028926
push 1
call fcn.100b6b4b
push eax
push str._nEverything_is_Ok_n
call fcn.100b8014
add esp, 0xc
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10081454
mov esp, ebp
pop ebp
ret 0x10
push str.can_not_close_output_file
call fcn.10027f20
add esp, 4
mov esi, 0xb
jmp 0x1002886d
push str.can_not_write_output_file
call fcn.10027f20
add esp, 4
mov esi, 0xb
jmp 0x1002886d
push str.can_not_open_output_file
call fcn.10027f20
add esp, 4
mov esi, 0xb
jmp 0x1002886d
cmp esi, 4
jne 0x1002894c
push 1
call fcn.100b6b4b
push eax
push str._nERROR:
call fcn.100b8014
push 1
call fcn.100b6b4b
push eax
push str.decoder_doesnt_support_this_archive
jmp 0x10028970
cmp esi, 2
jne 0x1002898c
push 1
call fcn.100b6b4b
push eax
push str._nERROR:
call fcn.100b8014
push 1
call fcn.100b6b4b
push eax
push str.can_not_allocate_memory
call fcn.100b8014
push 1
call fcn.100b6b4b
push eax
push 0x100f9b70
call fcn.100b8014
add esp, 0x24
jmp 0x100289bc
cmp esi, 3
jne 0x100289a0
push str.CRC_error
call fcn.10027f20
add esp, 4
jmp 0x100289bc
push 0
lea eax, [ebp - 0x4c]
push eax
mov eax, esi
cdq
push edx
push eax
call fcn.10028030
lea eax, [ebp - 0x4c]
push eax
call fcn.10027f20
add esp, 0x14
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
pop esi
call fcn.10081454
mov esp, ebp
pop ebp
ret 0x10