Function at 0x422530
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x493dbf
mov eax, dword fs:[0]
push eax
mov eax, 0x4158
call fcn.004176b0
mov eax, dword [0x49e398]
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.0041d670
mov dword [ebp - 0x40a4], fcn.0041d650
mov dword [ebp - 0x40a0], 0x41d620
mov dword [ebp - 0x409c], 0x41d600
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x4090]
push ecx
call fcn.0041e2a0
add esp, 8
test eax, eax
je 0x4225c6
push str.can_not_open_input_file
call fcn.0041d030
add esp, 4
mov eax, 1
jmp 0x422d62
lea edx, [ebp - 0x4098]
push edx
call fcn.0041ecb0
add esp, 4
push 0
lea eax, [ebp - 0x408c]
push eax
call fcn.0041d770
add esp, 8
lea ecx, [ebp - 0x4098]
mov dword [ebp - 0x407c], ecx
lea edx, [ebp - 0x408c]
push edx
call fcn.0041d750
add esp, 4
call fcn.0041fc20
lea eax, [ebp - 0x64]
push eax
call fcn.0041dd40
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.004224f0
add esp, 0x10
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x422cc6
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 0x49741c
mov edx, dword [ebp - 0x40b8]
push edx
call fcn.0040b6d0
add esp, 8
test eax, eax
jne 0x422699
mov dword [ebp - 0x40b4], 1
jmp 0x422723
push 0x497420
mov eax, dword [ebp - 0x40b8]
push eax
call fcn.0040b6d0
add esp, 8
test eax, eax
jne 0x4226bd
mov dword [ebp - 0x40b0], 1
jmp 0x422723
push 0x497424
mov ecx, dword [ebp - 0x40b8]
push ecx
call fcn.0040b6d0
add esp, 8
test eax, eax
jne 0x4226e1
mov dword [ebp - 0x40c0], 1
jmp 0x422723
push 0x497428
mov edx, dword [ebp - 0x40b8]
push edx
call fcn.0040b6d0
add esp, 8
test eax, eax
jne 0x42270f
mov dword [ebp - 0x40c0], 1
mov dword [ebp - 0x40bc], 1
jmp 0x422723
push 0x49742c
call fcn.0041d030
add esp, 4
mov dword [ebp - 0x10], 0xb
cmp dword [ebp - 0x10], 0
jne 0x422cc6
mov dword [ebp - 0x40cc], 0xffffffff
mov dword [ebp - 0x40c8], 0
mov dword [ebp - 0x40d0], 0
mov dword [ebp - 0x40c4], 0
jmp 0x422766
mov eax, dword [ebp - 0x40c4]
add eax, 1
mov dword [ebp - 0x40c4], eax
mov ecx, dword [ebp - 0x40c4]
cmp ecx, dword [ebp - 0x48]
jae 0x422caf
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 0x4227bd
mov eax, dword [ebp - 0x40d4]
movzx ecx, byte [eax + 0x19]
test ecx, ecx
je 0x4227bd
cmp dword [ebp - 0x40bc], 0
jne 0x4227bd
jmp 0x422757
push 0
mov edx, dword [ebp - 0x40c4]
push edx
lea eax, [ebp - 0x64]
push eax
call fcn.0041c840
add esp, 0xc
mov dword [ebp - 0x40d8], eax
mov ecx, dword [ebp - 0x40d8]
cmp ecx, dword [ebp - 0x40ac]
jbe 0x422828
mov edx, dword [ebp - 0x68]
push edx
push 0
call fcn.0041d650
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.0041d670
add esp, 8
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0
jne 0x422828
mov dword [ebp - 0x10], 2
jmp 0x422caf
mov edx, dword [ebp - 0x68]
push edx
mov eax, dword [ebp - 0x40c4]
push eax
lea ecx, [ebp - 0x64]
push ecx
call fcn.0041c840
add esp, 0xc
cmp dword [ebp - 0x40b4], 0
je 0x422984
mov edx, dword [ebp - 0x40d4]
movzx eax, byte [edx + 0x1d]
test eax, eax
je 0x42286b
mov ecx, dword [ebp - 0x40d4]
mov edx, dword [ecx + 0x14]
mov dword [ebp - 0x4160], edx
jmp 0x422875
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.0041cfa0
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.0041d110
add esp, 0xc
mov edx, dword [ebp - 0x40d4]
movzx eax, byte [edx + 0x1c]
test eax, eax
je 0x4228d9
lea ecx, [ebp - 0x4128]
push ecx
mov edx, dword [ebp - 0x40d4]
push edx
call fcn.0041de60
add esp, 8
jmp 0x42291b
mov dword [ebp - 0x412c], 0
jmp 0x4228f4
mov eax, dword [ebp - 0x412c]
add eax, 1
mov dword [ebp - 0x412c], eax
cmp dword [ebp - 0x412c], 0x13
jae 0x42290d
mov ecx, dword [ebp - 0x412c]
mov byte [ebp + ecx - 0x4128], 0x20
jmp 0x4228e5
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.0040b86a
add esp, 0x10
mov eax, dword [ebp - 0x68]
push eax
call fcn.0041fbc0
add esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x422957
jmp 0x422caf
mov ecx, dword [ebp - 0x40d4]
movzx edx, byte [ecx + 0x19]
test edx, edx
je 0x422972
push 0x497450
call fcn.0040b86a
add esp, 4
push 0x497454
call fcn.0040b86a
add esp, 4
jmp 0x422757
cmp dword [ebp - 0x40b0], 0
je 0x422999
mov dword [ebp - 0x4164], str.Testing
jmp 0x4229a3
mov dword [ebp - 0x4164], str.Extracting
call fcn.0040b92f
add eax, 0x20
push eax
mov eax, dword [ebp - 0x4164]
push eax
call fcn.0040b57f
add esp, 8
mov ecx, dword [ebp - 0x68]
push ecx
call fcn.0041fbc0
add esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4229d5
jmp 0x422caf
mov edx, dword [ebp - 0x40d4]
movzx eax, byte [edx + 0x19]
test eax, eax
je 0x4229f2
push 0x497470
call fcn.0040b86a
add esp, 4
jmp 0x422a4b
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.004212b0
add esp, 0x28
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x422a4b
jmp 0x422caf
cmp dword [ebp - 0x40b0], 0
jne 0x422c9d
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 0x422a88
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 0x422b0a
mov edx, dword [ebp - 0x415c]
mov eax, dword [ebp - 0x4154]
movzx ecx, word [eax + edx*2]
cmp ecx, 0x2f
jne 0x422b05
cmp dword [ebp - 0x40bc], 0
je 0x422aef
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.0041d1b0
add esp, 4
mov edx, dword [ebp - 0x415c]
mov eax, dword [ebp - 0x4154]
mov word [eax + edx*2], 0x5c
jmp 0x422b05
mov ecx, dword [ebp - 0x415c]
mov edx, dword [ebp - 0x4154]
lea eax, [edx + ecx*2 + 2]
mov dword [ebp - 0x4134], eax
jmp 0x422a79
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.004043f0
mov eax, dword [ebp - 0x40d4]
movzx ecx, byte [eax + 0x19]
test ecx, ecx
je 0x422b75
mov edx, dword [ebp - 0x4134]
push edx
call fcn.0041d1b0
add esp, 4
push 0x497474
call fcn.0040b86a
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4150]
call fcn.00404370
jmp 0x422757
lea ecx, [ebp - 0x4150]
call fcn.00404430
push eax
lea eax, [ebp - 0x4130]
push eax
call fcn.0041ebc0
add esp, 8
test eax, eax
je 0x422bbf
push str.can_not_open_output_file
call fcn.0041d030
add esp, 4
mov dword [ebp - 0x10], 0xb
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4150]
call fcn.00404370
jmp 0x422caf
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.0041d2a0
add esp, 0xc
test eax, eax
jne 0x422c00
mov edx, dword [ebp - 0x4158]
cmp edx, dword [ebp - 0x40dc]
je 0x422c2b
push str.can_not_write_output_file
call fcn.0041d030
add esp, 4
mov dword [ebp - 0x10], 0xb
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4150]
call fcn.00404370
jmp 0x422caf
lea eax, [ebp - 0x4130]
push eax
call fcn.0041d400
add esp, 4
test eax, eax
je 0x422c66
push str.can_not_close_output_file
call fcn.0041d030
add esp, 4
mov dword [ebp - 0x10], 0xb
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4150]
call fcn.00404370
jmp 0x422caf
mov ecx, dword [ebp - 0x40d4]
movzx edx, byte [ecx + 0x1d]
test edx, edx
je 0x422c8b
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.00404370
push 0x4974cc
call fcn.0040b86a
add esp, 4
jmp 0x422757
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.00421170
add esp, 8
mov ecx, dword [ebp - 0x68]
push ecx
push 0
call fcn.0041d650
add esp, 8
lea edx, [ebp - 0x4090]
push edx
call fcn.0041d400
add esp, 4
cmp dword [ebp - 0x10], 0
jne 0x422d0d
push str._nEverything_is_Ok_n
call fcn.0040b86a
add esp, 4
xor eax, eax
jmp 0x422d62
cmp dword [ebp - 0x10], 4
jne 0x422d22
push str.decoder_doesnt_support_this_archive
call fcn.0041d030
add esp, 4
jmp 0x422d5d
cmp dword [ebp - 0x10], 2
jne 0x422d37
push str.can_not_allocate_memory
call fcn.0041d030
add esp, 4
jmp 0x422d5d
cmp dword [ebp - 0x10], 3
jne 0x422d4c
push str.CRC_error
call fcn.0041d030
add esp, 4
jmp 0x422d5d
mov eax, dword [ebp - 0x10]
push eax
push str._nERROR__d_n
call fcn.0040b86a
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.0040806d
mov esp, ebp
pop ebp
ret