Function at 0x4010d8
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x461cbe
mov eax, dword fs:[0]
push eax
mov eax, 0x40cc
call fcn.0044bb70
mov eax, dword [0x498d50]
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.00402ef1
pop ecx
pop ecx
test eax, eax
je 0x401183
push str.InFile_OpenW_failed_with_archive_path:
lea ecx, [ebp - 0x403c]
call fcn.00402060
push esi
lea ecx, [ebp - 0x403c]
mov dword [ebp - 4], ebx
call fcn.00401e6a
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x403c]
push ecx
push 0x1fbd0
mov ecx, eax
mov edx, 0x49dcc0
call fcn.00410436
mov ecx, dword [ebp - 0x403c]
add ecx, 0xfffffff0
call fcn.0040253e
push 0xb
pop eax
jmp 0x40163e
lea eax, [ebp - 0x4078]
mov dword [ebp - 0x4078], 0x403019
mov dword [ebp - 0x4074], 0x40303a
mov dword [ebp - 0x4030], 0x404d1c
mov dword [ebp - 0x402c], 0x404d6b
mov dword [ebp - 0x4028], 0x404d79
mov dword [ebp - 0x4024], 0x404dc5
mov dword [ebp - 0x4020], eax
mov dword [ebp - 0x4018], ebx
mov dword [ebp - 0x401c], ebx
mov dword [ebp - 0x405c], fcn.00402562
mov dword [ebp - 0x4058], 0x402577
mov dword [ebp - 0x4068], fcn.00402562
mov dword [ebp - 0x4064], 0x402577
call fcn.004025bb
lea eax, [ebp - 0x40d8]
call fcn.004031a4
lea eax, [ebp - 0x4068]
push eax
lea eax, [ebp - 0x405c]
push eax
lea eax, [ebp - 0x40d8]
push eax
lea ecx, [ebp - 0x4030]
call fcn.0040486b
mov edi, eax
add esp, 0xc
cmp edi, ebx
je 0x401249
lea esi, [ebp - 0x405c]
lea eax, [ebp - 0x40d8]
call fcn.004031d3
mov dword [ebp - 0x4044], edi
cmp edi, ebx
jne 0x4015d1
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 0x4015a8
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 0x4012e5
push dword [ebp - 0x4038]
call fcn.00445bc9
pop ecx
lea eax, [esi + esi]
push eax
push ebx
mov dword [ebp - 0x4048], esi
call fcn.00402562
mov esi, eax
pop ecx
pop ecx
mov dword [ebp - 0x4038], esi
cmp esi, ebx
jne 0x4012eb
mov dword [ebp - 0x4044], 2
jmp 0x4015a8
mov esi, dword [ebp - 0x4038]
mov edx, dword [ebp - 0x403c]
push esi
lea eax, [ebp - 0x40d8]
call fcn.004041ae
pop ecx
cmp byte [edi + 0x19], bl
jne 0x401355
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.00404af5
add esp, 0x24
mov dword [ebp - 0x4044], eax
cmp esi, ebx
je 0x4012d6
mov dword [ebp - 0x4040], ebx
cmp word [esi], bx
je 0x4013a1
cmp word [esi], 0x2f
jne 0x401385
push dword [ebp - 0x4038]
xor eax, eax
mov word [esi], ax
call fcn.00401013
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 0x401368
mov esi, eax
push esi
cmp byte [edi + 0x19], bl
je 0x4013b2
call fcn.00401013
pop ecx
jmp 0x401475
lea eax, [ebp - 0x4050]
xor esi, esi
push eax
inc esi
mov eax, esi
call fcn.00402ef1
pop ecx
pop ecx
test eax, eax
jne 0x401495
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.0040102c
pop ecx
pop ecx
test eax, eax
jne 0x401539
mov eax, dword [ebp - 0x4054]
cmp dword [ebp - 0x4040], eax
jne 0x401539
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.00402f33
test eax, eax
jne 0x401504
cmp byte [edi + 0x1d], bl
je 0x401475
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 0x401282
jmp 0x4015a8
push dword [ebp - 0x4038]
lea ecx, [ebp - 0x4048]
call fcn.00402060
push str.can_not_open_output_file
lea ecx, [ebp - 0x4034]
mov dword [ebp - 4], esi
call fcn.00402060
push ebx
lea eax, [ebp - 0x4048]
push eax
lea eax, [ebp - 0x4034]
push eax
push esi
mov byte [ebp - 4], 2
call fcn.00411b31
mov ecx, dword [ebp - 0x4034]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.0040253e
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x4048]
add ecx, 0xfffffff0
call fcn.0040253e
mov dword [ebp - 0x4044], 0xb
jmp 0x4015a8
push str.can_not_close_output_file
lea ecx, [ebp - 0x4034]
call fcn.00402060
push ebx
lea eax, [ebp - 0x4034]
push eax
push 1
mov dword [ebp - 4], 5
call fcn.00411fb7
add esp, 0xc
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x4034]
jmp 0x4014ed
push dword [ebp - 0x4038]
lea ecx, [ebp - 0x4048]
call fcn.00402060
push str.can_not_write_output_file:
lea ecx, [ebp - 0x4034]
mov dword [ebp - 4], 3
call fcn.00402060
push ebx
lea eax, [ebp - 0x4048]
push eax
lea eax, [ebp - 0x4034]
push eax
push 1
mov byte [ebp - 4], 4
call fcn.00411b31
mov ecx, dword [ebp - 0x4034]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.0040253e
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x4048]
add ecx, 0xfffffff0
call fcn.0040253e
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 0x4015d1
push dword [ebp - 0x4038]
call fcn.00445bc9
pop ecx
lea esi, [ebp - 0x405c]
lea eax, [ebp - 0x40d8]
call fcn.004031d3
lea esi, [ebp - 0x4070]
call fcn.00402f33
cmp dword [ebp - 0x4044], ebx
je 0x401638
push str.Extract_Files_ERROR_DATA
lea ecx, [ebp - 0x4040]
call fcn.00402060
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, 0x49dcc0
call fcn.00410436
mov ecx, dword [ebp - 0x4040]
add ecx, 0xfffffff0
call fcn.0040253e
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.0044546a
leave
ret