Function at 0x4010f3
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x458122
mov eax, dword fs:[0]
push eax
mov eax, 0x40cc
call fcn.00441d90
mov eax, dword [0x489d50]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push dword [esi]
lea eax, [ebp - 0x4070]
xor ebx, ebx
push eax
xor eax, eax
mov dword [ebp - 0x4038], ebx
mov dword [ebp - 0x4048], ebx
call fcn.00402f8f
pop ecx
pop ecx
test eax, eax
je 0x40119e
push str.InFile_OpenW_failed_with_archive_path:
lea ecx, [ebp - 0x403c]
call fcn.0040215a
push esi
lea ecx, [ebp - 0x403c]
mov dword [ebp - 4], ebx
call fcn.00401f30
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x403c]
push ecx
push 0x1fbd0
mov ecx, eax
mov edx, 0x48eabc
call fcn.0040d172
mov ecx, dword [ebp - 0x403c]
add ecx, 0xfffffff0
call fcn.004025dc
push 0xb
pop eax
jmp 0x401659
lea eax, [ebp - 0x4078]
mov dword [ebp - 0x4078], 0x4030b7
mov dword [ebp - 0x4074], 0x4030d8
mov dword [ebp - 0x4030], 0x404dba
mov dword [ebp - 0x402c], 0x404e09
mov dword [ebp - 0x4028], 0x404e17
mov dword [ebp - 0x4024], 0x404e63
mov dword [ebp - 0x4020], eax
mov dword [ebp - 0x4018], ebx
mov dword [ebp - 0x401c], ebx
mov dword [ebp - 0x405c], fcn.0040260b
mov dword [ebp - 0x4058], 0x402600
mov dword [ebp - 0x4068], fcn.0040260b
mov dword [ebp - 0x4064], 0x402600
call fcn.00402659
lea eax, [ebp - 0x40d8]
call fcn.00403242
lea eax, [ebp - 0x4068]
push eax
lea eax, [ebp - 0x405c]
push eax
lea eax, [ebp - 0x40d8]
push eax
lea ecx, [ebp - 0x4030]
call fcn.00404909
mov edi, eax
add esp, 0xc
cmp edi, ebx
je 0x401264
lea esi, [ebp - 0x405c]
lea eax, [ebp - 0x40d8]
call fcn.00403271
mov dword [ebp - 0x4044], edi
cmp edi, ebx
jne 0x4015ec
or dword [ebp - 0x406c], 0xffffffff
mov dword [ebp - 0x404c], ebx
mov dword [ebp - 0x4060], ebx
mov dword [ebp - 0x403c], ebx
cmp dword [ebp - 0x40bc], ebx
jbe 0x4015c3
mov edi, dword [ebp - 0x40c8]
mov ecx, dword [ebp - 0x403c]
mov eax, dword [ebp - 0x4098]
shl ecx, 2
mov esi, dword [ecx + eax + 4]
sub esi, dword [ecx + eax]
mov dword [ebp - 0x4034], ebx
mov dword [ebp - 0x4054], ebx
cmp esi, dword [ebp - 0x4048]
jbe 0x401300
push dword [ebp - 0x4038]
call fcn.0043beb0
pop ecx
lea eax, [esi + esi]
push eax
push ebx
mov dword [ebp - 0x4048], esi
call fcn.0040260b
mov esi, eax
pop ecx
pop ecx
mov dword [ebp - 0x4038], esi
cmp esi, ebx
jne 0x401306
mov dword [ebp - 0x4044], 2
jmp 0x4015c3
mov esi, dword [ebp - 0x4038]
mov edx, dword [ebp - 0x403c]
push esi
lea eax, [ebp - 0x40d8]
call fcn.0040424c
pop ecx
cmp byte [edi + 0x19], bl
jne 0x401370
lea eax, [ebp - 0x4068]
push eax
lea eax, [ebp - 0x405c]
push eax
lea eax, [ebp - 0x4054]
push eax
lea eax, [ebp - 0x4034]
push eax
lea eax, [ebp - 0x4060]
push eax
lea eax, [ebp - 0x404c]
push eax
lea eax, [ebp - 0x406c]
push eax
push dword [ebp - 0x403c]
lea eax, [ebp - 0x4030]
push eax
lea eax, [ebp - 0x40d8]
call fcn.00404b93
add esp, 0x24
mov dword [ebp - 0x4044], eax
cmp esi, ebx
je 0x4012f1
mov dword [ebp - 0x4040], ebx
cmp word [esi], bx
je 0x4013bc
cmp word [esi], 0x2f
jne 0x4013a0
push dword [ebp - 0x4038]
xor eax, eax
mov word [esi], ax
call fcn.0040102e
pop ecx
push 0x5c
pop eax
mov word [esi], ax
inc dword [ebp - 0x4040]
mov eax, dword [ebp - 0x4038]
mov ecx, dword [ebp - 0x4040]
lea esi, [eax + ecx*2]
cmp word [esi], bx
jne 0x401383
mov esi, eax
push esi
cmp byte [edi + 0x19], bl
je 0x4013cd
call fcn.0040102e
pop ecx
jmp 0x401490
lea eax, [ebp - 0x4050]
xor esi, esi
push eax
inc esi
mov eax, esi
call fcn.00402f8f
pop ecx
pop ecx
test eax, eax
jne 0x4014b0
mov eax, dword [ebp - 0x4054]
mov ecx, dword [ebp - 0x404c]
mov dword [ebp - 0x4040], eax
mov eax, dword [ebp - 0x4034]
add eax, ecx
push eax
lea eax, [ebp - 0x4050]
push eax
lea esi, [ebp - 0x4040]
call fcn.00401047
pop ecx
pop ecx
test eax, eax
jne 0x401554
mov eax, dword [ebp - 0x4054]
cmp dword [ebp - 0x4040], eax
jne 0x401554
mov eax, dword [edi]
mov ecx, dword [edi + 4]
mov dword [ebp - 0x4088], eax
mov dword [ebp - 0x4080], eax
lea eax, [ebp - 0x4088]
push eax
push ebx
lea eax, [ebp - 0x4080]
push eax
push dword [ebp - 0x4050]
mov dword [ebp - 0x4084], ecx
mov dword [ebp - 0x407c], ecx
call dword [sym.imp.KERNEL32.dll_SetFileTime]
lea esi, [ebp - 0x4050]
call fcn.00402fd1
test eax, eax
jne 0x40151f
cmp byte [edi + 0x1d], bl
je 0x401490
push dword [edi + 0x14]
push dword [ebp - 0x4038]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
inc dword [ebp - 0x403c]
mov eax, dword [ebp - 0x403c]
add edi, 0x20
cmp eax, dword [ebp - 0x40bc]
jb 0x40129d
jmp 0x4015c3
push dword [ebp - 0x4038]
lea ecx, [ebp - 0x4048]
call fcn.0040215a
push str.can_not_open_output_file
lea ecx, [ebp - 0x4034]
mov dword [ebp - 4], esi
call fcn.0040215a
push ebx
lea eax, [ebp - 0x4048]
push eax
lea eax, [ebp - 0x4034]
push eax
push esi
mov byte [ebp - 4], 2
call fcn.0040e8c7
mov ecx, dword [ebp - 0x4034]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004025dc
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x4048]
add ecx, 0xfffffff0
call fcn.004025dc
mov dword [ebp - 0x4044], 0xb
jmp 0x4015c3
push str.can_not_close_output_file
lea ecx, [ebp - 0x4034]
call fcn.0040215a
push ebx
lea eax, [ebp - 0x4034]
push eax
push 1
mov dword [ebp - 4], 5
call fcn.0040ed4d
add esp, 0xc
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x4034]
jmp 0x401508
push dword [ebp - 0x4038]
lea ecx, [ebp - 0x4048]
call fcn.0040215a
push str.can_not_write_output_file:
lea ecx, [ebp - 0x4034]
mov dword [ebp - 4], 3
call fcn.0040215a
push ebx
lea eax, [ebp - 0x4048]
push eax
lea eax, [ebp - 0x4034]
push eax
push 1
mov byte [ebp - 4], 4
call fcn.0040e8c7
mov ecx, dword [ebp - 0x4034]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004025dc
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x4048]
add ecx, 0xfffffff0
call fcn.004025dc
mov dword [ebp - 0x4044], 9
push dword [ebp - 0x404c]
lea eax, [ebp - 0x405c]
push eax
call dword [ebp - 0x4058]
pop ecx
pop ecx
cmp dword [ebp - 0x4038], ebx
je 0x4015ec
push dword [ebp - 0x4038]
call fcn.0043beb0
pop ecx
lea esi, [ebp - 0x405c]
lea eax, [ebp - 0x40d8]
call fcn.00403271
lea esi, [ebp - 0x4070]
call fcn.00402fd1
cmp dword [ebp - 0x4044], ebx
je 0x401653
push str.Extract_Files_ERROR_DATA
lea ecx, [ebp - 0x4040]
call fcn.0040215a
mov dword [ebp - 4], 6
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x4040]
push ecx
push 0x1fbd0
mov ecx, eax
mov edx, 0x48eabc
call fcn.0040d172
mov ecx, dword [ebp - 0x4040]
add ecx, 0xfffffff0
call fcn.004025dc
mov eax, dword [ebp - 0x4044]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043b751
leave
ret