Function at 0x6a5410
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x74c7d1
mov eax, dword fs:[0]
push eax
sub esp, 0x300
mov eax, dword [0x857060]
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
mov dword [ebp - 0x2d0], esi
mov eax, dword [esi + 0x298]
lea ecx, [ebp - 0x88]
add eax, 0xfc
push eax
call fcn.00449230
lea ebx, [esi + 0x2a8]
mov dword [ebp - 4], 0
push ecx
mov ecx, ebx
mov dword [ebp - 0x2dc], ebx
call fcn.00670560
nop dword [eax + eax]
lea eax, [ebp - 0x2c0]
mov ecx, ebx
push eax
call fcn.00670650
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x40]
call fcn.00449230
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x30]
test ecx, ecx
je 0x6a54ca
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
cmp word [eax + ecx*2 - 2], 0x5c
je 0x6a54ca
push 1
push 0x79a7b0
lea ecx, [ebp - 0x40]
call fcn.0044a2e0
lea ecx, [ebp - 0x2c0]
mov dword [ebp - 0x2e4], 0
mov dword [ebp - 0x2e0], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x2f4], 0
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x6a54f0
sub ecx, edx
lea eax, [ebp - 0x2c0]
push ecx
push eax
lea ecx, [ebp - 0x2f4]
call fcn.00426e90
push ecx
lea edx, [ebp - 0x2f4]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x70]
call fcn.00650210
add esp, 4
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x2e0]
cmp edx, 0x10
jb 0x6a5560
mov ecx, dword [ebp - 0x2f4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x6a5556
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x6a59dc
push edx
push ecx
call fcn.006d0bf7
add esp, 8
lea eax, [ebp - 0x70]
mov dword [ebp - 0x2e4], 0
push eax
lea ecx, [esi + 0x90]
mov dword [ebp - 0x2e0], 0xf
mov byte [ebp - 0x2f4], 0
call fcn.006a66b0
mov cl, byte [ebp - 0x8c]
mov dword [ebp - 0x2fc], 0
mov dword [ebp - 0x2f8], 0xf
mov byte [eax], cl
lea ecx, [ebp - 0x2c0]
mov byte [ebp - 0x30c], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x6a55b6
sub ecx, edx
lea eax, [ebp - 0x2c0]
push ecx
push eax
lea ecx, [ebp - 0x30c]
call fcn.00426e90
push ecx
lea edx, [ebp - 0x30c]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x58]
call fcn.00650210
add esp, 4
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x2f8]
cmp edx, 0x10
jb 0x6a5626
mov ecx, dword [ebp - 0x30c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x6a561c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x6a59dc
push edx
push ecx
call fcn.006d0bf7
add esp, 8
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
push dword [ebp - 0x48]
cmovae eax, dword [ebp - 0x58]
lea ecx, [ebp - 0x40]
push eax
mov dword [ebp - 0x2fc], 0
mov dword [ebp - 0x2f8], 0xf
mov byte [ebp - 0x30c], 0
call fcn.0044a2e0
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
mov esi, dword [ebp - 0x94]
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.007064d2
mov edi, eax
push 0x5c
push edi
call fcn.006e87b3
add esp, 0xc
test eax, eax
je 0x6a568d
xor ecx, ecx
mov word [eax], cx
mov ecx, ebx
push edi
call fcn.006707e0
push edi
call fcn.006f6ded
add esp, 4
cmp byte [ebp - 0x8c], 0
je 0x6a56d0
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
test esi, esi
je 0x6a56bb
cmp esi, 0xffffffff
je 0x6a56bb
push esi
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea ecx, [ebp - 0x58]
call fcn.00426ce0
lea ecx, [ebp - 0x70]
call fcn.00426ce0
jmp 0x6a5988
mov ebx, dword [ebp - 0x2d0]
mov eax, dword [ebx + 0x2b0]
test eax, eax
je 0x6a56f8
cmp dword [eax + 0x38], 0
je 0x6a56f8
mov ecx, dword [eax + 0x34]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x2d4], ecx
mov dword [ebp - 0x2d8], eax
mov esi, dword [ebp - 0x90]
sub esp, 8
movd xmm1, dword [ebx + 0x10]
mov eax, esi
shr eax, 0x1f
cvtdq2pd xmm1, xmm1
movd xmm0, esi
cvtdq2pd xmm0, xmm0
addsd xmm0, qword [eax*8 + 0x813fb0]
divsd xmm0, xmm1
movsd qword [ebp - 0x18], xmm0
fld qword [ebp - 0x18]
fstp qword [esp]
call fcn.0071cd40
movd xmm1, dword [ebx + 0x10]
add esi, 0x1e
fstp qword [ebp - 0x18]
cvttsd2si eax, qword [ebp - 0x18]
cvtdq2pd xmm1, xmm1
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xa0]
add eax, esi
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x813fb0]
divsd xmm0, xmm1
movsd qword [ebp - 0x2cc], xmm0
fld qword [ebp - 0x2cc]
fstp qword [esp]
call fcn.0071cd40
fstp qword [ebp - 0x2cc]
cvttsd2si esi, qword [ebp - 0x2cc]
push 0x10
call fcn.006f782c
mov ecx, dword [ebp - 0x2d4]
add esp, 0xc
mov dword [ebp - 0x2c8], eax
mov dword [eax], ecx
mov ecx, dword [ebp - 0x2d8]
mov dword [eax + 4], ecx
mov dword [eax + 8], esi
mov word [eax + 0xc], 0
mov edx, dword [ebx + 0x88]
mov edi, edx
mov esi, dword [ebp - 0x14]
mov eax, dword [edx + 4]
mov cl, byte [eax + 0xd]
test cl, cl
jne 0x6a57e7
mov ecx, eax
cmp dword [ecx + 0x10], esi
jge 0x6a57da
mov ecx, dword [ecx + 8]
jmp 0x6a57de
mov edi, ecx
mov ecx, dword [ecx]
cmp byte [ecx + 0xd], 0
je 0x6a57d0
mov cl, byte [eax + 0xd]
cmp byte [edi + 0xd], 0
jne 0x6a57f2
cmp esi, dword [edi + 0x10]
jge 0x6a57f4
mov edi, edx
cmp edi, edx
je 0x6a5853
test cl, cl
jne 0x6a5814
nop dword [eax]
cmp dword [eax + 0x10], esi
jge 0x6a580a
mov eax, dword [eax + 8]
jmp 0x6a580e
mov edx, eax
mov eax, dword [eax]
cmp byte [eax + 0xd], 0
je 0x6a5800
cmp byte [edx + 0xd], 0
jne 0x6a581f
cmp esi, dword [edx + 0x10]
jge 0x6a5825
mov edx, dword [ebx + 0x88]
mov eax, dword [edx + 0x1c]
lea ecx, [edx + 0x18]
cmp eax, dword [ecx + 8]
je 0x6a5841
mov edx, dword [ebp - 0x2c8]
mov dword [eax], edx
add dword [ecx + 4], 4
jmp 0x6a5972
lea edx, [ebp - 0x2c8]
push edx
push eax
call fcn.005ae060
jmp 0x6a5972
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
lea eax, [ebp - 0x2c8]
mov byte [ebp - 4], 8
push eax
push 0
lea ecx, [ebp - 0x24]
mov byte [ebp - 0x28], 0
call fcn.005ae060
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebx + 0x88]
call fcn.006a66d0
mov cl, byte [ebp - 0x28]
lea edi, [eax + 4]
mov byte [eax], cl
lea eax, [ebp - 0x24]
cmp edi, eax
je 0x6a596a
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
sub ebx, eax
mov ecx, dword [edi + 8]
mov esi, ebx
mov edx, dword [edi]
sub ecx, edx
sar esi, 2
sar ecx, 2
cmp esi, ecx
jbe 0x6a5957
cmp esi, 0x3fffffff
ja 0x6a59e1
mov eax, ecx
shr eax, 1
mov dword [ebp - 0x2c8], eax
mov eax, 0x3fffffff
sub eax, dword [ebp - 0x2c8]
cmp ecx, eax
ja 0x6a58f6
mov eax, dword [ebp - 0x2c8]
add eax, ecx
cmp eax, esi
cmovb eax, esi
mov esi, eax
test edx, edx
je 0x6a5943
shl ecx, 2
cmp ecx, 0x1000
jb 0x6a5925
mov eax, dword [edx - 4]
add ecx, 0x23
sub edx, eax
mov dword [ebp - 0x2c8], eax
lea eax, [edx - 4]
cmp eax, 0x1f
ja 0x6a59dc
mov edx, dword [ebp - 0x2c8]
push ecx
push edx
call fcn.006d0bf7
mov dword [edi], 0
add esp, 8
mov dword [edi + 4], 0
mov dword [edi + 8], 0
push esi
call fcn.0044b250
mov dword [edi], eax
mov dword [edi + 4], eax
lea eax, [eax + esi*4]
mov dword [edi + 8], eax
mov eax, dword [ebp - 0x24]
mov esi, dword [edi]
push ebx
push eax
push esi
call fcn.006e8910
lea eax, [esi + ebx]
add esp, 0xc
mov dword [edi + 4], eax
lea ecx, [ebp - 0x24]
call fcn.0044a120
lea ecx, [ebp - 0x58]
call fcn.00426ce0
lea ecx, [ebp - 0x70]
call fcn.00426ce0
mov ebx, dword [ebp - 0x2dc]
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0
call fcn.00426ce0
push ecx
mov ecx, ebx
call fcn.006705c0
test al, al
je 0x6a59ab
mov esi, dword [ebp - 0x2d0]
jmp 0x6a5480
mov eax, dword [ebp - 0x2d0]
lea ecx, [ebp - 0x88]
mov byte [eax + 0xa], 1
call fcn.00426ce0
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.006d0965
mov esp, ebp
pop ebp
ret
call fcn.006f1bea
call fcn.0044e9f0
int3