Function at 0x4071de
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41a8e0
mov eax, dword fs:[0]
push eax
mov eax, 0x4108
call fcn.0041a4f0
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 edi, edi
mov dword [ebp - 0x40a0], eax
mov ebx, edi
lea eax, [ebp - 0x40c0]
mov dword [ebp - 0x4068], ebx
mov dword [ebp - 0x4084], edi
mov dword [ebp - 0x4080], fcn.00402652
mov dword [ebp - 0x407c], 0x40266a
mov dword [ebp - 0x40ac], fcn.00402652
mov dword [ebp - 0x40a8], 0x40266a
mov dword [ebp - 0x40b8], ecx
mov dword [ebp - 0x40b4], edx
mov dword [ebp - 0x40b0], edi
mov dword [ebp - 0x40c0], 0x40293d
mov dword [ebp - 0x40bc], 0x40297e
mov dword [ebp - 0x4064], 0x40497a
mov dword [ebp - 0x4060], 0x4049cd
mov dword [ebp - 0x405c], 0x4049dd
mov dword [ebp - 0x4058], 0x404a27
mov dword [ebp - 0x4054], eax
mov dword [ebp - 0x404c], edi
mov dword [ebp - 0x4050], edi
call fcn.00402806
lea ecx, [ebp - 0x4114]
call fcn.00402ccf
lea eax, [ebp - 0x40ac]
push eax
lea eax, [ebp - 0x4080]
push eax
lea edx, [ebp - 0x4064]
call fcn.004044bc
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x407301
lea edx, [ebp - 0x4080]
lea ecx, [ebp - 0x4114]
call fcn.00402cfe
test esi, esi
jne 0x4075c4
or dword [ebp - 0x409c], 0xffffffff
mov dword [ebp - 0x4078], edi
mov dword [ebp - 0x4098], edi
mov dword [ebp - 0x4094], edi
cmp dword [ebp - 0x40f8], ebx
jbe 0x4075af
mov ebx, dword [ebp - 0x4104]
add ebx, 0x14
mov dword [ebp - 0x4074], ebx
xor eax, eax
mov dword [ebp - 0x4088], eax
mov dword [ebp - 0x4070], eax
mov eax, dword [ebp - 0x40d4]
mov esi, dword [eax + edi*4 + 4]
sub esi, dword [eax + edi*4]
cmp esi, dword [ebp - 0x4084]
jbe 0x40738c
push dword [ebp - 0x4068]
call fcn.0040e98d
pop ecx
lea eax, [esi + esi]
mov dword [ebp - 0x4084], esi
push eax
xor eax, eax
push eax
call fcn.00402652
mov esi, eax
mov dword [ebp - 0x4068], esi
pop ecx
pop ecx
test esi, esi
jne 0x407392
push 2
pop esi
jmp 0x4075a9
mov esi, dword [ebp - 0x4068]
push esi
mov edx, edi
lea ecx, [ebp - 0x4114]
call fcn.00403ddf
pop ecx
mov ecx, esi
call fcn.00402a71
mov esi, eax
test esi, esi
jne 0x4075a9
cmp byte [ebx + 5], al
je 0x4073c4
push 0x420578
call fcn.00402527
pop ecx
jmp 0x407414
lea eax, [ebp - 0x40ac]
push eax
lea eax, [ebp - 0x4080]
push eax
lea eax, [ebp - 0x4070]
push eax
lea eax, [ebp - 0x4088]
push eax
lea eax, [ebp - 0x4098]
push eax
lea eax, [ebp - 0x4078]
push eax
lea eax, [ebp - 0x409c]
push eax
push edi
lea edx, [ebp - 0x4064]
lea ecx, [ebp - 0x4114]
call fcn.0040478a
mov esi, eax
add esp, 0x20
test esi, esi
jne 0x4075a9
push dword [ebp - 0x40a0]
xor eax, eax
mov dword [ebp - 0x30], 7
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x34], eax
mov word [ebp - 0x44], ax
call fcn.004076ad
xor eax, eax
mov ebx, 0x42057c
push ebx
mov dword [ebp - 4], eax
call fcn.0040e992
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x44]
call fcn.004077e8
push dword [ebp - 0x4068]
mov ecx, eax
call fcn.004075fd
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040762e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
xor eax, eax
push eax
push 1
call fcn.00407656
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
lea edx, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
cmovae edx, dword [ebp - 0x2c]
xor ebx, ebx
xor ecx, ecx
mov dword [ebp - 0x4090], edx
mov dword [ebp - 0x406c], ecx
cmp word [eax], bx
mov ebx, dword [ebp - 0x4074]
je 0x4074e8
mov ebx, eax
xor eax, eax
mov edi, ebx
cmp word [edi], 0x2f
jne 0x4074c7
xor eax, eax
mov ecx, ebx
mov word [edi], ax
call fcn.00402a56
mov ecx, dword [ebp - 0x406c]
push 0x5c
pop eax
mov word [edi], ax
xor eax, eax
inc ecx
mov dword [ebp - 0x406c], ecx
lea edi, [ebx + ecx*2]
cmp word [edi], ax
jne 0x4074a7
mov edi, dword [ebp - 0x4094]
mov ebx, dword [ebp - 0x4074]
mov edx, dword [ebp - 0x4090]
cmp byte [ebx + 5], 0
je 0x4074f7
mov ecx, edx
call fcn.00402a56
jmp 0x40756e
push ecx
lea ecx, [ebp - 0x408c]
call fcn.00402882
pop ecx
test eax, eax
jne 0x407599
mov eax, dword [ebp - 0x4070]
lea ecx, [ebp - 0x408c]
mov edx, dword [ebp - 0x4088]
mov dword [ebp - 0x406c], eax
lea eax, [ebp - 0x406c]
push eax
mov eax, dword [ebp - 0x4078]
lea edx, [edx + eax]
call fcn.004028d5
pop ecx
test eax, eax
jne 0x407599
mov eax, dword [ebp - 0x4070]
cmp dword [ebp - 0x406c], eax
jne 0x407599
lea ecx, [ebp - 0x408c]
call fcn.004028b3
test eax, eax
jne 0x407599
cmp byte [ebx + 9], al
je 0x40756e
push dword [ebx]
push dword [ebp - 0x4090]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
xor eax, eax
lea ecx, [ebp - 0x2c]
push eax
push 1
call fcn.00407656
inc edi
add ebx, 0x20
mov dword [ebp - 0x4094], edi
mov dword [ebp - 0x4074], ebx
cmp edi, dword [ebp - 0x40f8]
jb 0x407335
jmp 0x4075a9
push 0xb
pop esi
xor eax, eax
lea ecx, [ebp - 0x2c]
push eax
push 1
call fcn.00407656
mov ebx, dword [ebp - 0x4068]
push dword [ebp - 0x4078]
lea eax, [ebp - 0x4080]
push eax
call dword [ebp - 0x407c]
pop ecx
pop ecx
lea edx, [ebp - 0x4080]
lea ecx, [ebp - 0x4114]
call fcn.00402cfe
push ebx
call fcn.0040e98d
test esi, esi
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.004084f5
mov esp, ebp
pop ebp
ret