Function at 0x426f20
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b532b
mov eax, dword fs:[0]
push eax
mov eax, 0x414c
call fcn.004b1b80
mov eax, dword [0x4e50cc]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x40f8], edx
mov esi, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x40f4], eax
mov dword [ebp - 4], 0
xor edi, edi
mov ecx, dword [ebp + 0x1c]
mov dword [ebp - 0x40d0], edi
mov dword [ebp - 0x40fc], edi
mov dword [ebp - 0xa0], 0x420db0
mov dword [ebp - 0x9c], 0x420dd0
mov dword [ebp - 0xa8], 0x420db0
mov dword [ebp - 0xa4], 0x420dd0
test ecx, ecx
je 0x426fc1
lea edx, [ebp - 0x64]
mov dword [ebp - 0x64], 4
mov dword [ebp - 0x68], 1
mov eax, dword [ecx]
push edx
lea edx, [ebp - 0x68]
push edx
call dword [eax + 8]
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x90], eax
cmp eax, 0xffffffff
jne 0x426ffe
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x426ffe
push str.can_not_open_input_file
push str._nERROR:__s_n
jmp 0x427923
lea eax, [ebp - 0x98]
mov dword [ebp - 0x98], 0x4213e0
mov dword [ebp - 0x94], 0x421400
mov dword [ebp - 0x40cc], 0x424240
mov dword [ebp - 0x40c8], 0x4242a0
mov dword [ebp - 0x40c4], 0x4242b0
mov dword [ebp - 0x40c0], 0x424300
mov dword [ebp - 0x40bc], eax
mov dword [ebp - 0x40b4], edi
mov dword [ebp - 0x40b8], edi
call fcn.00420ef0
lea ecx, [ebp - 0x4154]
call fcn.00421c80
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0xa0]
push eax
lea edx, [ebp - 0x40cc]
call fcn.00423ba0
mov esi, eax
add esp, 8
test esi, esi
je 0x42709d
lea edx, [ebp - 0xa0]
lea ecx, [ebp - 0x4154]
call fcn.00421cf0
test esi, esi
jne 0x42778c
mov ecx, dword [ebp + 0x1c]
test ecx, ecx
je 0x4270bf
lea edx, [ebp - 0x64]
mov dword [ebp - 0x64], 4
mov dword [ebp - 0x68], 2
mov eax, dword [ecx]
push edx
lea edx, [ebp - 0x68]
push edx
call dword [eax + 8]
mov dword [ebp - 0x40e8], edi
mov ecx, str.lxet
mov dword [ebp - 0x40e4], edi
mov eax, 0x4c78b0
mov dword [ebp - 0x40dc], edi
jmp 0x4270e0
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x427100
test dl, dl
je 0x4270fc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x427100
add eax, 2
add ecx, 2
test dl, dl
jne 0x4270e0
xor eax, eax
jmp 0x427105
sbb eax, eax
or eax, 1
test eax, eax
jne 0x427230
mov dword [ebp - 0x40e8], 1
xor edx, edx
mov dword [ebp - 0x88], 0xffffffff
mov dword [ebp - 0x40e0], edi
mov dword [ebp - 0x4100], edi
mov dword [ebp - 0x40d8], edx
cmp dword [ebp - 0x4138], edx
jbe 0x427770
mov dword [ebp - 0x40ec], edx
jmp 0x427150
cmp dword [ebp - 0x40e8], 0
mov eax, dword [ebp - 0x4144]
mov edi, dword [ebp - 0x40ec]
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x40f0], 0
lea ecx, [eax + edi]
mov dword [ebp - 0x60], ecx
jne 0x427190
cmp byte [eax + edi + 0x19], 0
je 0x427190
cmp dword [ebp - 0x40dc], 0
je 0x4276aa
mov eax, dword [ebp - 0x4114]
mov esi, dword [eax + edx*4 + 4]
lea edi, [eax + edx*4]
sub esi, dword [edi]
cmp esi, dword [ebp - 0x40fc]
jbe 0x4271dd
mov eax, dword [ebp - 0x40d0]
push eax
call dword [sym.imp.MSVCR120.dll_free]
add esp, 4
mov dword [ebp - 0x40fc], esi
add esi, esi
je 0x4276d1
push esi
call dword [sym.imp.MSVCR120.dll_malloc]
add esp, 4
mov dword [ebp - 0x40d0], eax
test eax, eax
je 0x4276d9
mov edx, dword [edi + 4]
mov ecx, dword [edi]
sub edx, ecx
mov edi, dword [ebp - 0x40d0]
test edi, edi
je 0x42720e
mov eax, dword [ebp - 0x4110]
lea esi, [eax + ecx*2]
test edx, edx
je 0x42720e
mov ecx, edi
sub esi, edi
nop
mov ax, word [esi + ecx]
lea ecx, [ecx + 2]
mov word [ecx - 2], ax
dec edx
jne 0x427200
cmp dword [ebp - 0x40e8], 0
je 0x4273a5
mov esi, dword [ebp - 0x60]
cmp byte [esi + 0x1d], 0
je 0x427309
mov ecx, dword [esi + 0x14]
jmp 0x42730b
mov ecx, 0x4c78b8
mov eax, 0x4c78b0
lea ebx, [ebx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x427260
test dl, dl
je 0x42725c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x427260
add eax, 2
add ecx, 2
test dl, dl
jne 0x427240
xor eax, eax
jmp 0x427265
sbb eax, eax
or eax, 1
test eax, eax
jne 0x427278
mov dword [ebp - 0x40e4], 1
jmp 0x427117
mov ecx, 0x4c78b4
mov eax, 0x4c78b0
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4272a2
test dl, dl
je 0x42729e
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4272a2
add eax, 2
add ecx, 2
test dl, dl
jne 0x427282
xor eax, eax
jmp 0x4272a7
sbb eax, eax
or eax, 1
test eax, eax
je 0x427117
mov ecx, 0x4c78b0
mov eax, ecx
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4272d6
test dl, dl
je 0x4272d2
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4272d6
add eax, 2
add ecx, 2
test dl, dl
jne 0x4272b6
xor eax, eax
jmp 0x4272db
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4272ee
mov dword [ebp - 0x40dc], 1
jmp 0x427117
mov eax, dword [sym.imp.MSVCR120.dll_printf]
push str.incorrect_command
push str._nERROR:__s_n
call eax
mov esi, 0xb
jmp 0x427789
xor ecx, ecx
movzx edx, byte [esi + 0x19]
lea eax, [ebp - 0x3c]
push eax
call fcn.00421870
add esp, 4
lea ecx, [ebp - 0x5c]
push dword [esi + 0xc]
push dword [esi + 8]
call fcn.00421570
add esp, 8
cmp byte [esi + 0x1c], 0
je 0x42733e
lea edx, [ebp - 0x34]
mov ecx, esi
call fcn.00421650
jmp 0x427352
movdqa xmm0, xmmword [str.]
movdqu xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x24], 0x202020
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x34]
push eax
mov eax, dword [sym.imp.MSVCR120.dll_printf]
push 0x4c78bc
call eax
add esp, 0x10
mov ecx, edi
call fcn.00421510
mov dword [ebp - 0x40d4], eax
test eax, eax
jne 0x42776a
cmp byte [esi + 0x19], al
je 0x427395
push 0x4c4638
call dword [sym.imp.MSVCR120.dll_printf]
add esp, 4
push 0x4c78ec
call dword [sym.imp.MSVCR120.dll_printf]
jmp 0x4276a1
call dword [sym.imp.MSVCR120.dll___iob_func]
add eax, 0x20
mov ecx, str.Extracting
cmp dword [ebp - 0x40e4], 0
push eax
mov eax, str.Testing
cmove eax, ecx
push eax
call dword [sym.imp.MSVCR120.dll_fputs]
xor eax, eax
mov dword [ebp - 0x6c], 7
add esp, 8
mov dword [ebp - 0x70], 0
mov word [ebp - 0x80], ax
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.00421510
mov edi, dword [ebp - 0x60]
mov esi, eax
mov dword [ebp - 0x40d4], esi
movzx eax, byte [edi + 0x19]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x40d0]
cmp word [eax], 0
jne 0x427411
xor ecx, ecx
jmp 0x42742b
mov ecx, eax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x427416
mov eax, dword [ebp - 0x40d0]
sub ecx, edx
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x80]
call fcn.00402ddd
mov ecx, dword [ebp - 0x40f4]
lea eax, [ebp - 0x84]
push eax
call fcn.00427970
test esi, esi
jne 0x42773c
cmp byte [edi + 0x19], 0
je 0x427465
push 0x4c4638
call dword [sym.imp.MSVCR120.dll_printf]
add esp, 4
jmp 0x4274bd
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x40f0]
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x4100]
push eax
lea eax, [ebp - 0x40e0]
push eax
lea eax, [ebp - 0x88]
push eax
push dword [ebp - 0x40d8]
lea edx, [ebp - 0x40cc]
lea ecx, [ebp - 0x4154]
call fcn.00423f40
mov esi, eax
add esp, 0x20
mov dword [ebp - 0x40d4], esi
test esi, esi
jne 0x42773c
cmp dword [ebp - 0x40e4], 0
jne 0x42767e
mov edx, dword [ebp - 0x40d0]
xor ecx, ecx
mov esi, edx
cmp word [edx], cx
je 0x42750d
mov eax, edx
jmp 0x4274e0
cmp word [eax], 0x2f
jne 0x427502
cmp dword [ebp - 0x40dc], 0
je 0x4274ff
mov edx, 0x5c
mov word [eax], dx
mov edx, dword [ebp - 0x40d0]
jmp 0x427502
lea esi, [eax + 2]
inc ecx
cmp word [edx + ecx*2], 0
lea eax, [edx + ecx*2]
jne 0x4274e0
mov ecx, dword [ebp + 0x1c]
test ecx, ecx
je 0x427535
lea edx, [ebp - 0x60]
mov dword [ebp - 0x60], 4
mov dword [ebp - 0x8c], 3
mov eax, dword [ecx]
push edx
lea edx, [ebp - 0x8c]
push edx
call dword [eax + 8]
xor eax, eax
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov eax, dword [ebp - 0x40f8]
mov dword [ebp - 0x1c], 0
cmp word [eax], 0
jne 0x427559
xor ecx, ecx
jmp 0x427575
mov ecx, eax
lea edx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x427560
mov eax, dword [ebp - 0x40f8]
sub ecx, edx
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.00402ddd
mov byte [ebp - 4], 2
cmp word [esi], 0
jne 0x42758d
xor ecx, ecx
jmp 0x4275a1
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x427592
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x2c]
call fcn.00404056
cmp byte [edi + 0x19], 0
je 0x4275ef
push 0x4c78ec
call dword [sym.imp.MSVCR120.dll_printf]
mov edi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
cmp dword [ebp - 0x18], 8
jb 0x4275d3
push dword [ebp - 0x2c]
call edi
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
mov byte [ebp - 4], al
jmp 0x427696
cmp dword [ebp - 0x18], 8
lea edx, [ebp - 0x2c]
push ecx
cmovae edx, dword [ebp - 0x2c]
lea ecx, [ebp - 0x64]
call fcn.00421090
add esp, 4
test eax, eax
jne 0x427735
mov ecx, dword [ebp - 0x40e0]
mov edx, dword [ebp - 0x68]
mov eax, dword [ebp - 0x40f0]
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x60]
push eax
lea edx, [edx + ecx]
lea ecx, [ebp - 0x64]
call fcn.00421290
add esp, 4
test eax, eax
jne 0x42772e
mov eax, dword [ebp - 0x40f0]
cmp dword [ebp - 0x60], eax
jne 0x42772e
lea ecx, [ebp - 0x64]
call fcn.004211c0
test eax, eax
jne 0x4276e3
cmp byte [edi + 0x1d], al
je 0x427668
push dword [edi + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [ebp - 0x18], 8
mov edi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
jb 0x427684
push dword [ebp - 0x2c]
call edi
add esp, 4
jmp 0x427684
mov edi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
push 0x4c78ec
call dword [sym.imp.MSVCR120.dll_printf]
add esp, 4
mov byte [ebp - 4], 0
cmp dword [ebp - 0x6c], 8
jb 0x4276a4
push dword [ebp - 0x80]
call edi
add esp, 4
mov esi, dword [ebp - 0x40d4]
mov eax, dword [ebp - 0x40d8]
add dword [ebp - 0x40ec], 0x20
inc eax
mov dword [ebp - 0x40d8], eax
cmp eax, dword [ebp - 0x4138]
jae 0x427770
mov edx, eax
jmp 0x427150
xor eax, eax
mov dword [ebp - 0x40d0], eax
mov esi, 2
jmp 0x427770
push str.can_not_close_output_file
push str._nERROR:__s_n
call dword [sym.imp.MSVCR120.dll_printf]
mov edi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 8
cmp dword [ebp - 0x18], 8
mov esi, 0xb
jb 0x42770f
push dword [ebp - 0x2c]
call edi
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], 7
mov byte [ebp - 4], al
cmp dword [ebp - 0x6c], 8
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
jb 0x427754
jmp 0x42774c
push str.can_not_write_output_file
jmp 0x4276e8
push str.can_not_open_output_file
jmp 0x4276e8
mov byte [ebp - 4], 0
cmp dword [ebp - 0x6c], 8
jb 0x427754
mov edi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
push dword [ebp - 0x80]
call edi
add esp, 4
xor eax, eax
mov dword [ebp - 0x6c], 7
mov dword [ebp - 0x70], 0
mov word [ebp - 0x80], ax
jmp 0x427770
mov esi, dword [ebp - 0x40d4]
push dword [ebp - 0x40e0]
lea eax, [ebp - 0xa0]
push eax
call dword [ebp - 0x9c]
mov edi, dword [ebp - 0x40d0]
add esp, 8
push dword [ebp - 0x4124]
lea eax, [ebp - 0xa0]
push eax
call dword [ebp - 0x9c]
push dword [ebp - 0x4120]
lea eax, [ebp - 0xa0]
push eax
call dword [ebp - 0x9c]
push dword [ebp - 0x411c]
lea eax, [ebp - 0xa0]
push eax
call dword [ebp - 0x9c]
push dword [ebp - 0x4118]
lea eax, [ebp - 0xa0]
push eax
call dword [ebp - 0x9c]
push dword [ebp - 0x4114]
lea eax, [ebp - 0xa0]
push eax
call dword [ebp - 0x9c]
push dword [ebp - 0x4110]
lea eax, [ebp - 0xa0]
push eax
call dword [ebp - 0x9c]
lea edx, [ebp - 0xa0]
mov dword [ebp - 0x4110], 0
lea ecx, [ebp - 0x4154]
mov dword [ebp - 0x410c], 0
call fcn.00421bd0
push edi
call dword [sym.imp.MSVCR120.dll_free]
mov ecx, dword [ebp + 0x1c]
add esp, 0x34
test ecx, ecx
je 0x42785b
lea edx, [ebp - 0x8c]
mov dword [ebp - 0x8c], 4
mov dword [ebp - 0x88], 4
mov eax, dword [ecx]
push edx
lea edx, [ebp - 0x88]
push edx
call dword [eax + 8]
mov eax, dword [ebp - 0x90]
cmp eax, 0xffffffff
je 0x427883
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x427879
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x427883
mov dword [ebp - 0x90], 0xffffffff
test esi, esi
jne 0x4278ea
mov eax, dword [ebp - 0x40f4]
push 0x420ae0
mov esi, dword [eax + 4]
mov edi, esi
mov ecx, dword [eax]
sub edi, ecx
mov eax, 0x92492493
imul edi
add edx, edi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, esi
push eax
call fcn.00427c80
push str._nEverything_is_Ok_n
call dword [sym.imp.MSVCR120.dll_printf]
mov dword [ebp - 4], 0xffffffff
add esp, 0xc
mov ecx, dword [ebp + 0x1c]
test ecx, ecx
je 0x4278e3
mov edx, dword [ecx]
lea eax, [ebp + 0xc]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov eax, 1
jmp 0x42794d
cmp esi, 4
jne 0x4278fb
push str.decoder_doesnt_support_this_archive
push str._nERROR:__s_n
jmp 0x427923
cmp esi, 2
jne 0x42790c
push str.can_not_allocate_memory
push str._nERROR:__s_n
jmp 0x427923
cmp esi, 3
jne 0x42791d
push str.CRC_error
push str._nERROR:__s_n
jmp 0x427923
push esi
push str._nERROR__d_n
call dword [sym.imp.MSVCR120.dll_printf]
mov dword [ebp - 4], 0xffffffff
add esp, 8
mov ecx, dword [ebp + 0x1c]
test ecx, ecx
je 0x42794b
mov edx, dword [ecx]
lea eax, [ebp + 0xc]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004a5ae0
mov esp, ebp
pop ebp
ret