Function at 0x422360
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ac075
mov eax, dword fs:[0]
push eax
mov eax, 0x4158
call fcn.004175a0
mov eax, dword [0x4bc534]
xor eax, ebp
mov dword [ebp - 0x6c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x40ac], 0
mov dword [ebp - 0x40a8], fcn.0041d4a0
mov dword [ebp - 0x40a4], fcn.0041d480
mov dword [ebp - 0x40a0], 0x41d450
mov dword [ebp - 0x409c], 0x41d430
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x4090]
push ecx
call fcn.0041e0d0
add esp, 8
test eax, eax
je 0x4223f6
push str.can_not_open_input_file
call fcn.0041ce60
add esp, 4
mov eax, 1
jmp 0x422b92
lea edx, [ebp - 0x4098]
push edx
call fcn.0041eae0
add esp, 4
push 0
lea eax, [ebp - 0x408c]
push eax
call fcn.0041d5a0
add esp, 8
lea ecx, [ebp - 0x4098]
mov dword [ebp - 0x407c], ecx
lea edx, [ebp - 0x408c]
push edx
call fcn.0041d580
add esp, 4
call fcn.0041fa50
lea eax, [ebp - 0x64]
push eax
call fcn.0041db70
add esp, 4
lea ecx, [ebp - 0x40a0]
push ecx
lea edx, [ebp - 0x40a8]
push edx
lea eax, [ebp - 0x408c]
push eax
lea ecx, [ebp - 0x64]
push ecx
call fcn.00422320
add esp, 0x10
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x422af6
mov dword [ebp - 0x40b8], str.xltex
mov dword [ebp - 0x40b4], 0
mov dword [ebp - 0x40b0], 0
mov dword [ebp - 0x40c0], 0
mov dword [ebp - 0x40bc], 0
push 0x4af40c
mov edx, dword [ebp - 0x40b8]
push edx
call fcn.0040b990
add esp, 8
test eax, eax
jne 0x4224c9
mov dword [ebp - 0x40b4], 1
jmp 0x422553
push 0x4af410
mov eax, dword [ebp - 0x40b8]
push eax
call fcn.0040b990
add esp, 8
test eax, eax
jne 0x4224ed
mov dword [ebp - 0x40b0], 1
jmp 0x422553
push 0x4af414
mov ecx, dword [ebp - 0x40b8]
push ecx
call fcn.0040b990
add esp, 8
test eax, eax
jne 0x422511
mov dword [ebp - 0x40c0], 1
jmp 0x422553
push 0x4af418
mov edx, dword [ebp - 0x40b8]
push edx
call fcn.0040b990
add esp, 8
test eax, eax
jne 0x42253f
mov dword [ebp - 0x40c0], 1
mov dword [ebp - 0x40bc], 1
jmp 0x422553
push 0x4af41c
call fcn.0041ce60
add esp, 4
mov dword [ebp - 0x10], 0xb
cmp dword [ebp - 0x10], 0
jne 0x422af6
mov dword [ebp - 0x40cc], 0xffffffff
mov dword [ebp - 0x40c8], 0
mov dword [ebp - 0x40d0], 0
mov dword [ebp - 0x40c4], 0
jmp 0x422596
mov eax, dword [ebp - 0x40c4]
add eax, 1
mov dword [ebp - 0x40c4], eax
mov ecx, dword [ebp - 0x40c4]
cmp ecx, dword [ebp - 0x48]
jae 0x422adf
mov dword [ebp - 0x40e0], 0
mov dword [ebp - 0x40dc], 0
mov edx, dword [ebp - 0x40c4]
shl edx, 5
add edx, dword [ebp - 0x54]
mov dword [ebp - 0x40d4], edx
cmp dword [ebp - 0x40b4], 0
jne 0x4225ed
mov eax, dword [ebp - 0x40d4]
movzx ecx, byte [eax + 0x19]
test ecx, ecx
je 0x4225ed
cmp dword [ebp - 0x40bc], 0
jne 0x4225ed
jmp 0x422587
push 0
mov edx, dword [ebp - 0x40c4]
push edx
lea eax, [ebp - 0x64]
push eax
call fcn.0041c670
add esp, 0xc
mov dword [ebp - 0x40d8], eax
mov ecx, dword [ebp - 0x40d8]
cmp ecx, dword [ebp - 0x40ac]
jbe 0x422658
mov edx, dword [ebp - 0x68]
push edx
push 0
call fcn.0041d480
add esp, 8
mov eax, dword [ebp - 0x40d8]
mov dword [ebp - 0x40ac], eax
mov ecx, dword [ebp - 0x40ac]
shl ecx, 1
push ecx
push 0
call fcn.0041d4a0
add esp, 8
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0
jne 0x422658
mov dword [ebp - 0x10], 2
jmp 0x422adf
mov edx, dword [ebp - 0x68]
push edx
mov eax, dword [ebp - 0x40c4]
push eax
lea ecx, [ebp - 0x64]
push ecx
call fcn.0041c670
add esp, 0xc
cmp dword [ebp - 0x40b4], 0
je 0x4227b4
mov edx, dword [ebp - 0x40d4]
movzx eax, byte [edx + 0x1d]
test eax, eax
je 0x42269b
mov ecx, dword [ebp - 0x40d4]
mov edx, dword [ecx + 0x14]
mov dword [ebp - 0x4160], edx
jmp 0x4226a5
mov dword [ebp - 0x4160], 0
lea eax, [ebp - 0x40e8]
push eax
mov ecx, dword [ebp - 0x40d4]
movzx edx, byte [ecx + 0x19]
push edx
mov eax, dword [ebp - 0x4160]
push eax
call fcn.0041cdd0
add esp, 0xc
lea ecx, [ebp - 0x4108]
push ecx
mov edx, dword [ebp - 0x40d4]
mov eax, dword [edx + 0xc]
push eax
mov ecx, dword [edx + 8]
push ecx
call fcn.0041cf40
add esp, 0xc
mov edx, dword [ebp - 0x40d4]
movzx eax, byte [edx + 0x1c]
test eax, eax
je 0x422709
lea ecx, [ebp - 0x4128]
push ecx
mov edx, dword [ebp - 0x40d4]
push edx
call fcn.0041dc90
add esp, 8
jmp 0x42274b
mov dword [ebp - 0x412c], 0
jmp 0x422724
mov eax, dword [ebp - 0x412c]
add eax, 1
mov dword [ebp - 0x412c], eax
cmp dword [ebp - 0x412c], 0x13
jae 0x42273d
mov ecx, dword [ebp - 0x412c]
mov byte [ebp + ecx - 0x4128], 0x20
jmp 0x422715
mov edx, dword [ebp - 0x412c]
mov byte [ebp + edx - 0x4128], 0
lea eax, [ebp - 0x4108]
push eax
lea ecx, [ebp - 0x40e8]
push ecx
lea edx, [ebp - 0x4128]
push edx
push str._s__s__10s
call fcn.0040b8be
add esp, 0x10
mov eax, dword [ebp - 0x68]
push eax
call fcn.0041f9f0
add esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x422787
jmp 0x422adf
mov ecx, dword [ebp - 0x40d4]
movzx edx, byte [ecx + 0x19]
test edx, edx
je 0x4227a2
push 0x4af440
call fcn.0040b8be
add esp, 4
push 0x4af444
call fcn.0040b8be
add esp, 4
jmp 0x422587
cmp dword [ebp - 0x40b0], 0
je 0x4227c9
mov dword [ebp - 0x4164], str.Testing
jmp 0x4227d3
mov dword [ebp - 0x4164], str.Extracting
call fcn.0040b743
add eax, 0x20
push eax
mov eax, dword [ebp - 0x4164]
push eax
call fcn.0040b601
add esp, 8
mov ecx, dword [ebp - 0x68]
push ecx
call fcn.0041f9f0
add esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x422805
jmp 0x422adf
mov edx, dword [ebp - 0x40d4]
movzx eax, byte [edx + 0x19]
test eax, eax
je 0x422822
push 0x4af460
call fcn.0040b8be
add esp, 4
jmp 0x42287b
lea ecx, [ebp - 0x40a0]
push ecx
lea edx, [ebp - 0x40a8]
push edx
lea eax, [ebp - 0x40dc]
push eax
lea ecx, [ebp - 0x40e0]
push ecx
lea edx, [ebp - 0x40d0]
push edx
lea eax, [ebp - 0x40c8]
push eax
lea ecx, [ebp - 0x40cc]
push ecx
mov edx, dword [ebp - 0x40c4]
push edx
lea eax, [ebp - 0x408c]
push eax
lea ecx, [ebp - 0x64]
push ecx
call fcn.004210e0
add esp, 0x28
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x42287b
jmp 0x422adf
cmp dword [ebp - 0x40b0], 0
jne 0x422acd
mov edx, dword [ebp - 0x68]
mov dword [ebp - 0x4154], edx
mov eax, dword [ebp - 0x4154]
mov dword [ebp - 0x4134], eax
mov dword [ebp - 0x415c], 0
jmp 0x4228b8
mov ecx, dword [ebp - 0x415c]
add ecx, 1
mov dword [ebp - 0x415c], ecx
mov edx, dword [ebp - 0x415c]
mov eax, dword [ebp - 0x4154]
movzx ecx, word [eax + edx*2]
test ecx, ecx
je 0x42293a
mov edx, dword [ebp - 0x415c]
mov eax, dword [ebp - 0x4154]
movzx ecx, word [eax + edx*2]
cmp ecx, 0x2f
jne 0x422935
cmp dword [ebp - 0x40bc], 0
je 0x42291f
mov edx, dword [ebp - 0x415c]
mov eax, dword [ebp - 0x4154]
mov word [eax + edx*2], 0
mov ecx, dword [ebp - 0x4154]
push ecx
call fcn.0041cfe0
add esp, 4
mov edx, dword [ebp - 0x415c]
mov eax, dword [ebp - 0x4154]
mov word [eax + edx*2], 0x5c
jmp 0x422935
mov ecx, dword [ebp - 0x415c]
mov edx, dword [ebp - 0x4154]
lea eax, [edx + ecx*2 + 2]
mov dword [ebp - 0x4134], eax
jmp 0x4228a9
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x4150]
call fcn.004042f0
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x4134]
push edx
lea ecx, [ebp - 0x4150]
call fcn.004043b0
mov eax, dword [ebp - 0x40d4]
movzx ecx, byte [eax + 0x19]
test ecx, ecx
je 0x4229a5
mov edx, dword [ebp - 0x4134]
push edx
call fcn.0041cfe0
add esp, 4
push 0x4af464
call fcn.0040b8be
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4150]
call fcn.00404330
jmp 0x422587
lea ecx, [ebp - 0x4150]
call fcn.004043f0
push eax
lea eax, [ebp - 0x4130]
push eax
call fcn.0041e9f0
add esp, 8
test eax, eax
je 0x4229ef
push str.can_not_open_output_file
call fcn.0041ce60
add esp, 4
mov dword [ebp - 0x10], 0xb
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4150]
call fcn.00404330
jmp 0x422adf
mov ecx, dword [ebp - 0x40dc]
mov dword [ebp - 0x4158], ecx
lea edx, [ebp - 0x4158]
push edx
mov eax, dword [ebp - 0x40c8]
add eax, dword [ebp - 0x40e0]
push eax
lea ecx, [ebp - 0x4130]
push ecx
call fcn.0041d0d0
add esp, 0xc
test eax, eax
jne 0x422a30
mov edx, dword [ebp - 0x4158]
cmp edx, dword [ebp - 0x40dc]
je 0x422a5b
push str.can_not_write_output_file
call fcn.0041ce60
add esp, 4
mov dword [ebp - 0x10], 0xb
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4150]
call fcn.00404330
jmp 0x422adf
lea eax, [ebp - 0x4130]
push eax
call fcn.0041d230
add esp, 4
test eax, eax
je 0x422a96
push str.can_not_close_output_file
call fcn.0041ce60
add esp, 4
mov dword [ebp - 0x10], 0xb
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4150]
call fcn.00404330
jmp 0x422adf
mov ecx, dword [ebp - 0x40d4]
movzx edx, byte [ecx + 0x1d]
test edx, edx
je 0x422abb
mov eax, dword [ebp - 0x40d4]
mov ecx, dword [eax + 0x14]
push ecx
mov edx, dword [ebp - 0x4134]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4150]
call fcn.00404330
push 0x4af4bc
call fcn.0040b8be
add esp, 4
jmp 0x422587
mov eax, dword [ebp - 0x40c8]
push eax
lea ecx, [ebp - 0x40a8]
push ecx
call dword [ebp - 0x40a4]
add esp, 8
lea edx, [ebp - 0x40a8]
push edx
lea eax, [ebp - 0x64]
push eax
call fcn.00420fa0
add esp, 8
mov ecx, dword [ebp - 0x68]
push ecx
push 0
call fcn.0041d480
add esp, 8
lea edx, [ebp - 0x4090]
push edx
call fcn.0041d230
add esp, 4
cmp dword [ebp - 0x10], 0
jne 0x422b3d
push str._nEverything_is_Ok_n
call fcn.0040b8be
add esp, 4
xor eax, eax
jmp 0x422b92
cmp dword [ebp - 0x10], 4
jne 0x422b52
push str.decoder_doesnt_support_this_archive
call fcn.0041ce60
add esp, 4
jmp 0x422b8d
cmp dword [ebp - 0x10], 2
jne 0x422b67
push str.can_not_allocate_memory
call fcn.0041ce60
add esp, 4
jmp 0x422b8d
cmp dword [ebp - 0x10], 3
jne 0x422b7c
push str.CRC_error
call fcn.0041ce60
add esp, 4
jmp 0x422b8d
mov eax, dword [ebp - 0x10]
push eax
push str._nERROR__d_n
call fcn.0040b8be
add esp, 8
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x6c]
xor ecx, ebp
call fcn.00408023
mov esp, ebp
pop ebp
ret