Function at 0x4070d5
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41a0c0
mov eax, dword fs:[0]
push eax
mov eax, 0x4108
call fcn.00419cd0
mov eax, dword [0x422004]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x40a0], eax
mov esi, ebx
lea eax, [ebp - 0x40c4]
mov dword [ebp - 0x4068], esi
mov dword [ebp - 0x4080], ebx
mov dword [ebp - 0x407c], fcn.004024f3
mov dword [ebp - 0x4078], 0x40250b
mov dword [ebp - 0x40b0], fcn.004024f3
mov dword [ebp - 0x40ac], 0x40250b
mov dword [ebp - 0x40bc], ecx
mov dword [ebp - 0x40b8], edx
mov dword [ebp - 0x40b4], ebx
mov dword [ebp - 0x40c4], 0x4027e4
mov dword [ebp - 0x40c0], 0x402822
mov dword [ebp - 0x4064], 0x40482a
mov dword [ebp - 0x4060], 0x40487f
mov dword [ebp - 0x405c], 0x40488f
mov dword [ebp - 0x4058], 0x4048db
mov dword [ebp - 0x4054], eax
mov dword [ebp - 0x404c], ebx
mov dword [ebp - 0x4050], ebx
call fcn.004026b5
lea ecx, [ebp - 0x4114]
call fcn.00402b66
lea eax, [ebp - 0x40b0]
push eax
lea eax, [ebp - 0x407c]
push eax
lea edx, [ebp - 0x4064]
call fcn.00404371
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x4071f8
lea edx, [ebp - 0x407c]
lea ecx, [ebp - 0x4114]
call fcn.00402b95
test edi, edi
jne 0x4074be
or dword [ebp - 0x409c], 0xffffffff
mov dword [ebp - 0x4074], ebx
mov dword [ebp - 0x4098], ebx
mov dword [ebp - 0x4090], ebx
cmp dword [ebp - 0x40f8], ebx
jbe 0x4074a9
mov esi, dword [ebp - 0x4104]
add esi, 0x14
mov dword [ebp - 0x4094], esi
mov eax, dword [ebp - 0x40d4]
and dword [ebp - 0x4084], 0
and dword [ebp - 0x4070], 0
mov edi, dword [eax + ebx*4 + 4]
sub edi, dword [eax + ebx*4]
cmp edi, dword [ebp - 0x4080]
jbe 0x407282
push dword [ebp - 0x4068]
call fcn.0040e07d
pop ecx
lea eax, [edi + edi]
mov dword [ebp - 0x4080], edi
push eax
push 0
call fcn.004024f3
mov edi, eax
mov dword [ebp - 0x4068], edi
pop ecx
pop ecx
test edi, edi
jne 0x407288
push 2
pop edi
jmp 0x4074a3
mov edi, dword [ebp - 0x4068]
push edi
mov edx, ebx
lea ecx, [ebp - 0x4114]
call fcn.00403c9e
pop ecx
mov ecx, edi
call fcn.00402919
mov edi, eax
test edi, edi
jne 0x4074a3
cmp byte [esi + 5], al
je 0x4072ba
push 0x420698
call fcn.00402444
pop ecx
jmp 0x40730a
lea eax, [ebp - 0x40b0]
push eax
lea eax, [ebp - 0x407c]
push eax
lea eax, [ebp - 0x4070]
push eax
lea eax, [ebp - 0x4084]
push eax
lea eax, [ebp - 0x4098]
push eax
lea eax, [ebp - 0x4074]
push eax
lea eax, [ebp - 0x409c]
push eax
push ebx
lea edx, [ebp - 0x4064]
lea ecx, [ebp - 0x4114]
call fcn.0040463d
mov edi, eax
add esp, 0x20
test edi, edi
jne 0x4074a3
push dword [ebp - 0x40a0]
lea ecx, [ebp - 0x44]
call fcn.004074fa
mov esi, eax
and dword [ebp - 4], 0
push 0x42069c
call fcn.0040e082
pop ecx
push eax
push 0x42069c
mov ecx, esi
call fcn.00407629
push dword [ebp - 0x4068]
mov esi, eax
call fcn.0040e082
pop ecx
push eax
push dword [ebp - 0x4068]
mov ecx, esi
call fcn.00407629
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040752b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.004075b0
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
cmovae ecx, dword [ebp - 0x2c]
xor edx, edx
mov dword [ebp - 0x40a4], eax
mov dword [ebp - 0x408c], ecx
movzx eax, word [eax]
mov dword [ebp - 0x406c], edx
mov esi, eax
mov dword [ebp - 0x40a8], esi
test ax, ax
je 0x4073e6
mov ebx, dword [ebp - 0x40a4]
mov esi, ebx
movzx ecx, ax
cmp cx, 0x2f
jne 0x4073c6
xor eax, eax
mov ecx, ebx
mov word [esi], ax
call fcn.004028fe
mov edx, dword [ebp - 0x406c]
push 0x5c
pop eax
mov word [esi], ax
inc edx
mov dword [ebp - 0x406c], edx
lea esi, [ebx + edx*2]
movzx eax, word [esi]
mov ecx, eax
test ax, ax
jne 0x4073a8
mov ebx, dword [ebp - 0x4090]
mov ecx, dword [ebp - 0x408c]
mov esi, dword [ebp - 0x4094]
cmp byte [esi + 5], 0
je 0x4073f9
call fcn.004028fe
jmp 0x407472
push ecx
mov edx, ecx
lea ecx, [ebp - 0x4088]
call fcn.00402730
pop ecx
test eax, eax
jne 0x407498
mov eax, dword [ebp - 0x4070]
lea ecx, [ebp - 0x4088]
mov edx, dword [ebp - 0x4084]
mov dword [ebp - 0x406c], eax
lea eax, [ebp - 0x406c]
push eax
mov eax, dword [ebp - 0x4074]
lea edx, [edx + eax]
call fcn.00402783
pop ecx
test eax, eax
jne 0x407498
mov eax, dword [ebp - 0x4070]
cmp dword [ebp - 0x406c], eax
jne 0x407498
lea ecx, [ebp - 0x4088]
call fcn.00402761
test eax, eax
jne 0x407498
cmp byte [esi + 9], al
je 0x407472
push dword [esi]
push dword [ebp - 0x408c]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea ecx, [ebp - 0x2c]
call fcn.004075b0
inc ebx
add esi, 0x20
mov dword [ebp - 0x4090], ebx
mov dword [ebp - 0x4094], esi
cmp ebx, dword [ebp - 0x40f8]
jb 0x40722c
jmp 0x4074a3
push 0xb
pop edi
lea ecx, [ebp - 0x2c]
call fcn.004075b0
mov esi, dword [ebp - 0x4068]
push dword [ebp - 0x4074]
lea eax, [ebp - 0x407c]
push eax
call dword [ebp - 0x4078]
pop ecx
pop ecx
lea edx, [ebp - 0x407c]
lea ecx, [ebp - 0x4114]
call fcn.00402b95
push esi
call fcn.0040e07d
test edi, edi
pop ecx
sete al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004082db
leave
ret