Function at 0x4010e0
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44fcd7
mov eax, dword fs:[0]
push eax
mov eax, 0x40cc
call fcn.0043a4d0
mov eax, dword [0x47bd50]
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.00402f73
pop ecx
pop ecx
test eax, eax
je 0x40118b
push str.InFile_OpenW_failed_with_archive_path:
lea ecx, [ebp - 0x403c]
call fcn.00402148
push esi
lea ecx, [ebp - 0x403c]
mov dword [ebp - 4], ebx
call fcn.00401f1d
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x403c]
push ecx
push 0x1fbd0
mov ecx, eax
mov edx, 0x480a54
call fcn.0040c5be
mov ecx, dword [ebp - 0x403c]
add ecx, 0xfffffff0
call fcn.004025ca
push 0xb
pop eax
jmp 0x401646
lea eax, [ebp - 0x4078]
mov dword [ebp - 0x4078], 0x40309b
mov dword [ebp - 0x4074], 0x4030bc
mov dword [ebp - 0x4030], 0x404d9e
mov dword [ebp - 0x402c], 0x404ded
mov dword [ebp - 0x4028], 0x404dfb
mov dword [ebp - 0x4024], 0x404e47
mov dword [ebp - 0x4020], eax
mov dword [ebp - 0x4018], ebx
mov dword [ebp - 0x401c], ebx
mov dword [ebp - 0x405c], fcn.004025e4
mov dword [ebp - 0x4058], 0x4025f9
mov dword [ebp - 0x4068], fcn.004025e4
mov dword [ebp - 0x4064], 0x4025f9
call fcn.0040263d
lea eax, [ebp - 0x40d8]
call fcn.00403226
lea eax, [ebp - 0x4068]
push eax
lea eax, [ebp - 0x405c]
push eax
lea eax, [ebp - 0x40d8]
push eax
lea ecx, [ebp - 0x4030]
call fcn.004048ed
mov edi, eax
add esp, 0xc
cmp edi, ebx
je 0x401251
lea esi, [ebp - 0x405c]
lea eax, [ebp - 0x40d8]
call fcn.00403255
mov dword [ebp - 0x4044], edi
cmp edi, ebx
jne 0x4015d9
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 0x4015b0
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 0x4012ed
push dword [ebp - 0x4038]
call fcn.0043475e
pop ecx
lea eax, [esi + esi]
push eax
push ebx
mov dword [ebp - 0x4048], esi
call fcn.004025e4
mov esi, eax
pop ecx
pop ecx
mov dword [ebp - 0x4038], esi
cmp esi, ebx
jne 0x4012f3
mov dword [ebp - 0x4044], 2
jmp 0x4015b0
mov esi, dword [ebp - 0x4038]
mov edx, dword [ebp - 0x403c]
push esi
lea eax, [ebp - 0x40d8]
call fcn.00404230
pop ecx
cmp byte [edi + 0x19], bl
jne 0x40135d
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.00404b77
add esp, 0x24
mov dword [ebp - 0x4044], eax
cmp esi, ebx
je 0x4012de
mov dword [ebp - 0x4040], ebx
cmp word [esi], bx
je 0x4013a9
cmp word [esi], 0x2f
jne 0x40138d
push dword [ebp - 0x4038]
xor eax, eax
mov word [esi], ax
call fcn.0040101b
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 0x401370
mov esi, eax
push esi
cmp byte [edi + 0x19], bl
je 0x4013ba
call fcn.0040101b
pop ecx
jmp 0x40147d
lea eax, [ebp - 0x4050]
xor esi, esi
push eax
inc esi
mov eax, esi
call fcn.00402f73
pop ecx
pop ecx
test eax, eax
jne 0x40149d
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.00401034
pop ecx
pop ecx
test eax, eax
jne 0x401541
mov eax, dword [ebp - 0x4054]
cmp dword [ebp - 0x4040], eax
jne 0x401541
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.00402fb5
test eax, eax
jne 0x40150c
cmp byte [edi + 0x1d], bl
je 0x40147d
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 0x40128a
jmp 0x4015b0
push dword [ebp - 0x4038]
lea ecx, [ebp - 0x4048]
call fcn.00402148
push str.can_not_open_output_file
lea ecx, [ebp - 0x4034]
mov dword [ebp - 4], esi
call fcn.00402148
push ebx
lea eax, [ebp - 0x4048]
push eax
lea eax, [ebp - 0x4034]
push eax
push esi
mov byte [ebp - 4], 2
call fcn.0040dd5d
mov ecx, dword [ebp - 0x4034]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004025ca
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x4048]
add ecx, 0xfffffff0
call fcn.004025ca
mov dword [ebp - 0x4044], 0xb
jmp 0x4015b0
push str.can_not_close_output_file
lea ecx, [ebp - 0x4034]
call fcn.00402148
push ebx
lea eax, [ebp - 0x4034]
push eax
push 1
mov dword [ebp - 4], 5
call fcn.0040e1e3
add esp, 0xc
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x4034]
jmp 0x4014f5
push dword [ebp - 0x4038]
lea ecx, [ebp - 0x4048]
call fcn.00402148
push str.can_not_write_output_file:
lea ecx, [ebp - 0x4034]
mov dword [ebp - 4], 3
call fcn.00402148
push ebx
lea eax, [ebp - 0x4048]
push eax
lea eax, [ebp - 0x4034]
push eax
push 1
mov byte [ebp - 4], 4
call fcn.0040dd5d
mov ecx, dword [ebp - 0x4034]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004025ca
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x4048]
add ecx, 0xfffffff0
call fcn.004025ca
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 0x4015d9
push dword [ebp - 0x4038]
call fcn.0043475e
pop ecx
lea esi, [ebp - 0x405c]
lea eax, [ebp - 0x40d8]
call fcn.00403255
lea esi, [ebp - 0x4070]
call fcn.00402fb5
cmp dword [ebp - 0x4044], ebx
je 0x401640
push str.Extract_Files_ERROR_DATA
lea ecx, [ebp - 0x4040]
call fcn.00402148
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, 0x480a54
call fcn.0040c5be
mov ecx, dword [ebp - 0x4040]
add ecx, 0xfffffff0
call fcn.004025ca
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.00433fff
leave
ret