Function at 0x428bc0
Capabilities:
Create directory
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4178
call fcn.004577a0
mov eax, dword [0x4bd544]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocStringLen
push edx
mov dword [ebp - 0x4098], 0
mov dword [ebp - 0x40cc], 0
mov dword [ebp - 0x40c8], 0x42c370
mov dword [ebp - 0x40c4], 0x42c390
mov dword [ebp - 0x40e4], 0x42c370
mov dword [ebp - 0x40e0], 0x42c390
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x40e8], eax
cmp eax, 0xffffffff
jne 0x428c58
call edi
test eax, eax
je 0x428c58
push str.can_not_open_input_file
push str._nERROR:__s_n
jmp 0x42941f
push esi
call fcn.00471f78
add esp, 4
push esi
call fcn.0047232e
add esp, 4
mov dword [ebp - 0x40f0], 0x42c270
lea eax, [ebp - 0x40f0]
mov dword [ebp - 0x40ec], 0x42c290
mov dword [ebp - 0x4094], 0x42c3d0
mov dword [ebp - 0x4090], 0x42c430
mov dword [ebp - 0x408c], 0x42c440
mov dword [ebp - 0x4088], 0x42c490
mov dword [ebp - 0x4084], eax
mov dword [ebp - 0x407c], 0
mov dword [ebp - 0x4080], 0
call fcn.0042c4b0
lea ecx, [ebp - 0x4174]
call fcn.00429580
lea eax, [ebp - 0x40e4]
push eax
lea eax, [ebp - 0x40c8]
push eax
lea edx, [ebp - 0x4094]
call fcn.0042bae0
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x428d11
lea edx, [ebp - 0x40c8]
lea ecx, [ebp - 0x4174]
call fcn.00429650
test ebx, ebx
jne 0x42937e
xor eax, eax
mov ecx, 0x4b1d68
xor esi, esi
mov dword [ebp - 0x40a8], eax
mov dword [ebp - 0x40d0], eax
mov eax, 0x4adffc
mov dword [ebp - 0x40a4], esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x428d51
test dl, dl
je 0x428d4d
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x428d51
add eax, 2
add ecx, 2
test dl, dl
jne 0x428d31
xor eax, eax
jmp 0x428d56
sbb eax, eax
or eax, 1
test eax, eax
jne 0x428d67
mov edi, 1
mov dword [ebp - 0x40a8], edi
jmp 0x428daa
mov ecx, 0x4b1d9c
mov eax, 0x4adffc
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x428d91
test dl, dl
je 0x428d8d
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x428d91
add eax, 2
add ecx, 2
test dl, dl
jne 0x428d71
xor eax, eax
jmp 0x428d96
sbb eax, eax
or eax, 1
test eax, eax
jne 0x428e8e
mov dword [ebp - 0x40d0], 1
xor edi, edi
xor eax, eax
mov dword [ebp - 0x40dc], 0xffffffff
mov dword [ebp - 0x40c0], 0
mov dword [ebp - 0x40d8], 0
mov dword [ebp - 0x409c], eax
cmp dword [ebp - 0x4134], eax
jbe 0x429362
nop dword [eax]
mov ecx, eax
mov dword [ebp - 0x40d4], 0
and ecx, 7
mov dword [ebp - 0x40b0], 0
mov edx, 0x80
sar edx, cl
mov ecx, eax
mov eax, dword [ebp - 0x412c]
shr ecx, 3
mov dword [ebp - 0x40b8], edx
mov dword [ebp - 0x40bc], ecx
movzx eax, byte [ecx + eax]
and eax, edx
mov dword [ebp - 0x40b4], eax
test edi, edi
jne 0x428e33
test eax, eax
je 0x428e33
test esi, esi
je 0x429311
mov eax, dword [ebp - 0x4100]
mov ebx, dword [ebp - 0x409c]
mov esi, dword [eax + ebx*4 + 4]
lea edi, [eax + ebx*4]
sub esi, dword [edi]
cmp esi, dword [ebp - 0x40cc]
jbe 0x428f22
push dword [ebp - 0x4098]
call fcn.00462fb1
add esp, 4
mov dword [ebp - 0x40cc], esi
add esi, esi
je 0x42932c
push esi
call fcn.00465f6e
mov esi, eax
add esp, 4
mov dword [ebp - 0x4098], esi
test esi, esi
je 0x429336
jmp 0x428f28
mov ecx, 0x4b1da0
mov eax, 0x4adffc
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x428eb8
test dl, dl
je 0x428eb4
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x428eb8
add eax, 2
add ecx, 2
test dl, dl
jne 0x428e98
xor eax, eax
jmp 0x428ebd
sbb eax, eax
or eax, 1
test eax, eax
je 0x428da8
mov ecx, 0x4adffc
mov eax, ecx
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x428ef0
test dl, dl
je 0x428eec
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x428ef0
add eax, 2
add ecx, 2
test dl, dl
jne 0x428ed0
xor eax, eax
jmp 0x428ef5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x428f09
mov esi, 1
mov dword [ebp - 0x40a4], esi
jmp 0x428da8
push str.incorrect_command
push str._nERROR:__s_n
call fcn.00407354
mov ebx, 0xb
jmp 0x42937b
mov esi, dword [ebp - 0x4098]
mov edx, dword [edi + 4]
mov ecx, dword [edi]
sub edx, ecx
test esi, esi
je 0x428f66
mov eax, dword [ebp - 0x40fc]
lea esi, [eax + ecx*2]
test edx, edx
je 0x428f60
mov ecx, dword [ebp - 0x4098]
sub esi, ecx
nop dword [eax + eax]
mov ax, word [esi + ecx]
lea ecx, [ecx + 2]
mov word [ecx - 2], ax
sub edx, 1
jne 0x428f50
mov esi, dword [ebp - 0x4098]
mov eax, dword [ebp - 0x40a8]
test eax, eax
je 0x4290e7
mov edx, dword [ebp - 0x4120]
test edx, edx
je 0x428f9a
mov ecx, dword [ebp - 0x40bc]
mov eax, dword [ebp - 0x40b8]
test byte [ecx + edx], al
je 0x428f9a
mov eax, dword [ebp - 0x411c]
mov ecx, dword [eax + ebx*4]
jmp 0x428f9c
xor ecx, ecx
test cl, 0x10
jne 0x428fac
cmp dword [ebp - 0x40b4], 0
mov al, 0x2e
je 0x428fae
mov al, 0x44
mov byte [ebp - 0x10], al
lea edi, [ebp - 0x70]
mov eax, ecx
mov byte [ebp - 0xb], 0
and al, 1
neg al
sbb al, al
and al, 0x24
add al, 0x2e
mov byte [ebp - 0xf], al
mov eax, ecx
and al, 2
neg al
sbb al, al
and al, 0x1a
add al, 0x2e
mov byte [ebp - 0xe], 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 - 0xd], al
mov eax, dword [ebp - 0x4130]
sbb cl, cl
and cl, 0x13
add cl, 0x2e
mov byte [ebp - 0xc], cl
mov ecx, dword [eax + ebx*8 + 8]
sub ecx, dword [eax + ebx*8]
mov edx, dword [eax + ebx*8 + 0xc]
sbb edx, dword [eax + ebx*8 + 4]
xor esi, esi
mov dword [ebp - 0x40a0], ecx
push 0
push 0xa
push edx
push ecx
call fcn.004824b0
mov cl, al
shl cl, 2
lea ebx, [ecx + eax]
mov ecx, dword [ebp - 0x40a0]
add bl, bl
sub cl, bl
add cl, 0x30
mov byte [ebp + esi - 0x50], cl
mov ecx, eax
inc esi
mov dword [ebp - 0x40a0], ecx
or eax, edx
jne 0x429012
mov al, byte [ebp + esi - 0x51]
lea edi, [edi + 1]
mov byte [edi - 1], al
sub esi, 1
jne 0x429043
mov edx, dword [ebp - 0x4118]
mov byte [edi], 0
test edx, edx
je 0x429089
mov ecx, dword [ebp - 0x40bc]
mov eax, dword [ebp - 0x40b8]
test byte [ecx + edx], al
je 0x429089
mov eax, dword [ebp - 0x4114]
lea edx, [ebp - 0x30]
mov ecx, dword [ebp - 0x409c]
lea ecx, [eax + ecx*8]
call fcn.00428900
jmp 0x42909b
movaps xmm0, xmmword [0x4b1eb0]
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x20], 0x202020
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x30]
push eax
push str._s__s__10s
call fcn.00407354
mov ecx, dword [ebp - 0x4098]
add esp, 0x10
call fcn.00428820
mov ebx, eax
test ebx, ebx
jne 0x429362
cmp dword [ebp - 0x40b4], eax
je 0x4292f8
push 0x4b1dcc
call fcn.00407354
add esp, 4
jmp 0x4292f8
push 1
call fcn.00465d00
mov edi, dword [ebp - 0x40d0]
add esp, 4
test edi, edi
mov ecx, str.Extracting
push eax
mov eax, str.Testing
cmove eax, ecx
push eax
call fcn.0046dbdc
add esp, 8
mov ecx, esi
call fcn.00428820
mov ebx, eax
mov dword [ebp - 0x40ac], ebx
test ebx, ebx
jne 0x429362
cmp dword [ebp - 0x40b4], eax
je 0x42913e
push 0x4b1dcc
call fcn.00407354
add esp, 4
jmp 0x42919a
mov ecx, dword [ebp - 0x409c]
lea eax, [ebp - 0x40e4]
push eax
lea eax, [ebp - 0x40c8]
push eax
lea eax, [ebp - 0x40b0]
push eax
lea eax, [ebp - 0x40d4]
push eax
lea eax, [ebp - 0x40d8]
push eax
lea eax, [ebp - 0x40c0]
push eax
lea eax, [ebp - 0x40dc]
push eax
push ecx
lea edx, [ebp - 0x4094]
lea ecx, [ebp - 0x4174]
call fcn.0042bfa0
mov ebx, eax
mov dword [ebp - 0x40ac], eax
add esp, 0x20
test ebx, ebx
jne 0x429362
test edi, edi
jne 0x4292f8
movzx eax, word [esi]
mov edx, esi
mov dword [ebp - 0x40a0], edx
mov ecx, eax
test ax, ax
je 0x429214
mov ebx, dword [ebp - 0x4098]
nop word [eax + eax]
cmp cx, 0x2f
jne 0x4291ff
cmp dword [ebp - 0x40a4], 0
je 0x4291f6
xor eax, eax
push eax
push ebx
mov word [esi], ax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x4291e6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp - 0x40a0]
mov eax, 0x5c
mov word [esi], ax
jmp 0x4291ff
lea edx, [esi + 2]
mov dword [ebp - 0x40a0], edx
inc edi
movzx eax, word [ebx + edi*2]
lea esi, [ebx + edi*2]
mov ecx, eax
test ax, ax
jne 0x4291c0
mov ebx, dword [ebp - 0x40ac]
cmp dword [ebp - 0x40b4], 0
push 0
je 0x42923b
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x4292f8
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
jmp 0x4292f8
push 0x80
push 2
push 0
push 1
push 0x40000000
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x40ac], eax
cmp eax, 0xffffffff
jne 0x42926b
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x42933d
mov ecx, dword [ebp - 0x40c0]
lea eax, [ebp - 0x40b0]
mov edx, dword [ebp - 0x40d4]
mov esi, dword [ebp - 0x40b0]
push eax
mov dword [ebp - 0x40b0], esi
lea edx, [edx + ecx]
lea ecx, [ebp - 0x40ac]
call fcn.0042c200
add esp, 4
test eax, eax
jne 0x42934b
cmp dword [ebp - 0x40b0], esi
jne 0x42934b
lea ecx, [ebp - 0x40ac]
call fcn.0042c160
test eax, eax
jne 0x429344
mov edx, dword [ebp - 0x4120]
test edx, edx
je 0x4292f8
mov ecx, dword [ebp - 0x40bc]
mov eax, dword [ebp - 0x40b8]
test byte [ecx + edx], al
je 0x4292f8
mov eax, dword [ebp - 0x409c]
mov ecx, dword [ebp - 0x411c]
push dword [ecx + eax*4]
push dword [ebp - 0x40a0]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push str._n__
call fcn.00407354
mov esi, dword [ebp - 0x40a4]
add esp, 4
mov edi, dword [ebp - 0x40a8]
mov eax, dword [ebp - 0x409c]
inc eax
mov dword [ebp - 0x409c], eax
cmp eax, dword [ebp - 0x4134]
jb 0x428de0
jmp 0x429362
mov dword [ebp - 0x4098], 0
mov ebx, 2
jmp 0x429362
push str.can_not_open_output_file
jmp 0x429350
push str.can_not_close_output_file
jmp 0x429350
push str.can_not_write_output_file
push str._nERROR:__s_n
call fcn.00407354
add esp, 8
mov ebx, 0xb
push dword [ebp - 0x40c0]
lea eax, [ebp - 0x40c8]
push eax
call dword [ebp - 0x40c4]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
add esp, 8
lea edx, [ebp - 0x40c8]
lea ecx, [ebp - 0x4174]
call fcn.00429650
push dword [ebp - 0x4098]
call fcn.00462fb1
mov eax, dword [ebp - 0x40e8]
add esp, 4
cmp eax, 0xffffffff
je 0x4293c1
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x4293b7
call edi
jmp 0x4293c1
mov dword [ebp - 0x40e8], 0xffffffff
test ebx, ebx
jne 0x4293e5
push str._nEverything_is_Ok_n
call fcn.00407354
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004572b7
mov esp, ebp
pop ebp
ret
cmp ebx, 4
jne 0x4293f6
mov eax, str._nERROR:__s_n
mov ebx, str.decoder_doesnt_support_this_archive
jmp 0x42941d
cmp ebx, 2
jne 0x429407
mov eax, str._nERROR:__s_n
mov ebx, str.can_not_allocate_memory
jmp 0x42941d
cmp ebx, 3
jne 0x429418
mov eax, str._nERROR:__s_n
mov ebx, str.CRC_error
jmp 0x42941d
mov eax, str._nERROR__d_n
push ebx
push eax
call fcn.00407354
mov ecx, dword [ebp - 8]
add esp, 8
xor ecx, ebp
mov eax, 1
pop edi
pop esi
pop ebx
call fcn.004572b7
mov esp, ebp
pop ebp
ret