Function at 0x629ff0
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6de841
mov eax, dword fs:[0]
push eax
sub esp, 0x300
mov eax, dword [0x7e500c]
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.00427050
lea ebx, [esi + 0x2a8]
mov dword [ebp - 4], 0
push ecx
mov ecx, ebx
mov dword [ebp - 0x2dc], ebx
call fcn.0064cf00
nop dword [eax + eax]
lea eax, [ebp - 0x2c0]
mov ecx, ebx
push eax
call fcn.0064cff0
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x40]
call fcn.00427050
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x30]
test ecx, ecx
je 0x62a0aa
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
cmp word [eax + ecx*2 - 2], 0x5c
je 0x62a0aa
push 1
push 0x71b0d0
lea ecx, [ebp - 0x40]
call fcn.004272f0
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 0x62a0d0
sub ecx, edx
lea eax, [ebp - 0x2c0]
push ecx
push eax
lea ecx, [ebp - 0x2f4]
call fcn.00427530
push ecx
lea edx, [ebp - 0x2f4]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x70]
call fcn.005d6060
add esp, 4
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x2e0]
cmp edx, 0x10
jb 0x62a140
mov ecx, dword [ebp - 0x2f4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x62a136
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x62a5bc
push edx
push ecx
call fcn.0065106e
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.0062b2e0
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 0x62a196
sub ecx, edx
lea eax, [ebp - 0x2c0]
push ecx
push eax
lea ecx, [ebp - 0x30c]
call fcn.00427530
push ecx
lea edx, [ebp - 0x30c]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x58]
call fcn.005d6060
add esp, 4
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x2f8]
cmp edx, 0x10
jb 0x62a206
mov ecx, dword [ebp - 0x30c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x62a1fc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x62a5bc
push edx
push ecx
call fcn.0065106e
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.004272f0
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
mov esi, dword [ebp - 0x94]
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.00684a14
mov edi, eax
push 0x5c
push edi
call fcn.006aa595
add esp, 0xc
test eax, eax
je 0x62a26d
xor ecx, ecx
mov word [eax], cx
mov ecx, ebx
push edi
call fcn.0064d180
push edi
call fcn.0066bcce
add esp, 4
cmp byte [ebp - 0x8c], 0
je 0x62a2b0
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
test esi, esi
je 0x62a29b
cmp esi, 0xffffffff
je 0x62a29b
push esi
push eax
call dword [sym.imp.KERNEL32.DLL_SetFileAttributesW]
lea ecx, [ebp - 0x58]
call fcn.00427170
lea ecx, [ebp - 0x70]
call fcn.00427170
jmp 0x62a568
mov ebx, dword [ebp - 0x2d0]
mov eax, dword [ebx + 0x2b0]
test eax, eax
je 0x62a2d8
cmp dword [eax + 0x38], 0
je 0x62a2d8
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 + 0x7a0d50]
divsd xmm0, xmm1
movsd qword [ebp - 0x18], xmm0
fld qword [ebp - 0x18]
fstp qword [esp]
call fcn.006ac400
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 - 0x48]
add eax, dword [ebp - 0xa0]
add eax, esi
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x7a0d50]
divsd xmm0, xmm1
movsd qword [ebp - 0x2cc], xmm0
fld qword [ebp - 0x2cc]
fstp qword [esp]
call fcn.006ac400
fstp qword [ebp - 0x2cc]
cvttsd2si esi, qword [ebp - 0x2cc]
push 0x10
call fcn.0066f597
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 0x62a3ca
mov ecx, eax
cmp dword [ecx + 0x10], esi
jge 0x62a3bd
mov ecx, dword [ecx + 8]
jmp 0x62a3c1
mov edi, ecx
mov ecx, dword [ecx]
cmp byte [ecx + 0xd], 0
je 0x62a3b3
mov cl, byte [eax + 0xd]
cmp byte [edi + 0xd], 0
jne 0x62a3d5
cmp esi, dword [edi + 0x10]
jge 0x62a3d7
mov edi, edx
cmp edi, edx
je 0x62a433
test cl, cl
jne 0x62a3f4
nop
cmp dword [eax + 0x10], esi
jge 0x62a3ea
mov eax, dword [eax + 8]
jmp 0x62a3ee
mov edx, eax
mov eax, dword [eax]
cmp byte [eax + 0xd], 0
je 0x62a3e0
cmp byte [edx + 0xd], 0
jne 0x62a3ff
cmp esi, dword [edx + 0x10]
jge 0x62a405
mov edx, dword [ebx + 0x88]
mov eax, dword [edx + 0x1c]
lea ecx, [edx + 0x18]
cmp eax, dword [ecx + 8]
je 0x62a421
mov edx, dword [ebp - 0x2c8]
mov dword [eax], edx
add dword [ecx + 4], 4
jmp 0x62a552
lea edx, [ebp - 0x2c8]
push edx
push eax
call fcn.005d7300
jmp 0x62a552
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.005d7300
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebx + 0x88]
call fcn.0062b300
mov cl, byte [ebp - 0x28]
lea edi, [eax + 4]
mov byte [eax], cl
lea eax, [ebp - 0x24]
cmp edi, eax
je 0x62a54a
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 0x62a537
cmp esi, 0x3fffffff
ja 0x62a5c1
mov eax, ecx
shr eax, 1
mov dword [ebp - 0x2c8], eax
mov eax, 0x3fffffff
sub eax, dword [ebp - 0x2c8]
cmp ecx, eax
ja 0x62a4d6
mov eax, dword [ebp - 0x2c8]
add eax, ecx
cmp eax, esi
cmovb eax, esi
mov esi, eax
test edx, edx
je 0x62a523
shl ecx, 2
cmp ecx, 0x1000
jb 0x62a505
mov eax, dword [edx - 4]
add ecx, 0x23
sub edx, eax
mov dword [ebp - 0x2c8], eax
lea eax, [edx - 4]
cmp eax, 0x1f
ja 0x62a5bc
mov edx, dword [ebp - 0x2c8]
push ecx
push edx
call fcn.0065106e
mov dword [edi], 0
add esp, 8
mov dword [edi + 4], 0
mov dword [edi + 8], 0
push esi
call fcn.004eed80
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.00663770
lea eax, [esi + ebx]
add esp, 0xc
mov dword [edi + 4], eax
lea ecx, [ebp - 0x24]
call fcn.004c63d0
lea ecx, [ebp - 0x58]
call fcn.00427170
lea ecx, [ebp - 0x70]
call fcn.00427170
mov ebx, dword [ebp - 0x2dc]
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0
call fcn.00427170
push ecx
mov ecx, ebx
call fcn.0064cf60
test al, al
je 0x62a58b
mov esi, dword [ebp - 0x2d0]
jmp 0x62a060
mov eax, dword [ebp - 0x2d0]
lea ecx, [ebp - 0x88]
mov byte [eax + 0xa], 1
call fcn.00427170
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.00650ddc
mov esp, ebp
pop ebp
ret
call fcn.0066bea5
call fcn.00430750
int3