Function at 0x4940e0
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f3331
mov eax, dword fs:[0]
push eax
sub esp, 0x31c
mov eax, dword [0x67d070]
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 + 0x250]
xor ecx, ecx
push 0xffffffffffffffff
push ecx
add eax, 0xe0
mov word [ebp - 0x88], cx
push eax
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x74], 7
mov dword [ebp - 0x78], 0
call fcn.00407550
lea ebx, [esi + 0x258]
mov dword [ebp - 4], 0
push ecx
mov ecx, ebx
call fcn.004cf4e0
add esi, 0x60
mov dword [ebp - 0x2e8], esi
lea eax, [ebp - 0x2c0]
mov ecx, ebx
push eax
call fcn.004cf5e0
xor eax, eax
mov dword [ebp - 0x14], 7
push 0xffffffffffffffff
push eax
mov word [ebp - 0x28], ax
lea ecx, [ebp - 0x28]
lea eax, [ebp - 0x88]
mov dword [ebp - 0x18], 0
push eax
call fcn.00407550
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x4941c6
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
cmp word [eax + ecx*2 - 2], 0x5c
je 0x4941c6
push 1
push 0x62325c
lea ecx, [ebp - 0x28]
call fcn.004097c0
cmp byte [ebp - 0x2c0], 0
mov dword [ebp - 0x2ec], 0xf
mov dword [ebp - 0x2f0], 0
mov byte [ebp - 0x300], 0
jne 0x4941ee
xor ecx, ecx
jmp 0x494200
lea ecx, [ebp - 0x2c0]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4941f7
sub ecx, edx
push ecx
lea eax, [ebp - 0x2c0]
push eax
lea ecx, [ebp - 0x300]
call fcn.00407200
push ecx
lea edx, [ebp - 0x300]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x70]
call fcn.004a7200
add esp, 4
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x2ec]
cmp eax, 0x10
jb 0x49424b
inc eax
lea ecx, [ebp - 0x300]
push eax
push dword [ebp - 0x300]
call fcn.00407440
lea eax, [ebp - 0x70]
mov dword [ebp - 0x2ec], 0xf
push eax
lea eax, [ebp - 0x320]
mov dword [ebp - 0x2f0], 0
push eax
mov ecx, esi
mov byte [ebp - 0x300], 0
call fcn.00495c20
mov ecx, dword [ebp - 0x320]
mov al, byte [ebp - 0x8c]
mov dword [ebp - 0x304], 0xf
mov dword [ebp - 0x308], 0
mov byte [ecx + 0x28], al
cmp byte [ebp - 0x2c0], 0
mov byte [ebp - 0x318], 0
jne 0x4942af
xor ecx, ecx
jmp 0x4942c1
lea ecx, [ebp - 0x2c0]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4942b8
sub ecx, edx
push ecx
lea eax, [ebp - 0x2c0]
push eax
lea ecx, [ebp - 0x318]
call fcn.00407200
push ecx
lea edx, [ebp - 0x318]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x58]
call fcn.004a7200
add esp, 4
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x304]
cmp eax, 0x10
jb 0x49430c
inc eax
lea ecx, [ebp - 0x318]
push eax
push dword [ebp - 0x318]
call fcn.00407440
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
mov dword [ebp - 0x304], 0xf
push eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x308], 0
mov byte [ebp - 0x318], 0
call fcn.00408dc0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov esi, dword [ebp - 0x94]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.005cf1ec
mov edi, eax
push 0x5c
push edi
call fcn.005b3c62
add esp, 0xc
test eax, eax
je 0x49436c
xor ecx, ecx
mov word [eax], cx
mov ecx, ebx
push edi
call fcn.004cf770
push edi
call fcn.005b3b4d
add esp, 4
cmp byte [ebp - 0x8c], 0
je 0x4943a7
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
test esi, esi
je 0x4945e7
cmp esi, 0xffffffff
je 0x4945e7
push esi
push eax
call dword [sym.imp.KERNEL32.DLL_SetFileAttributesW]
jmp 0x4945e7
mov eax, dword [ebx + 8]
test eax, eax
je 0x4943c6
cmp dword [eax + 0x38], 0
je 0x4943c6
mov ecx, dword [eax + 0x34]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x2e0], ecx
mov dword [ebp - 0x2e4], eax
mov esi, dword [ebp - 0x90]
sub esp, 8
mov edi, dword [ebp - 0x2d0]
mov eax, esi
shr eax, 0x1f
movd xmm0, esi
movd xmm1, dword [edi + 0x10]
cvtdq2pd xmm0, xmm0
cvtdq2pd xmm1, xmm1
addsd xmm0, qword [eax*8 + 0x654980]
divsd xmm0, xmm1
movsd qword [ebp - 0x30], xmm0
fld qword [ebp - 0x30]
fstp qword [esp]
call fcn.005e3870
movd xmm1, dword [edi + 0x10]
add esi, 0x1e
fstp qword [ebp - 0x30]
cvttsd2si eax, qword [ebp - 0x30]
cvtdq2pd xmm1, xmm1
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0xa0]
add eax, esi
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x654980]
divsd xmm0, xmm1
movsd qword [ebp - 0x2c8], xmm0
fld qword [ebp - 0x2c8]
fstp qword [esp]
call fcn.005e3870
fstp qword [ebp - 0x2c8]
cvttsd2si esi, qword [ebp - 0x2c8]
push 0x10
call fcn.005bca01
mov ecx, dword [ebp - 0x2e0]
add esp, 0xc
mov dword [ebp - 0x2c4], eax
mov dword [eax], ecx
mov ecx, dword [ebp - 0x2e4]
mov dword [eax + 4], ecx
mov dword [eax + 8], esi
mov byte [eax + 0xc], 0
mov eax, dword [edi + 0x58]
mov edx, eax
mov esi, dword [ebp - 0x2c]
mov ecx, dword [eax + 4]
cmp byte [ecx + 0xd], 0
jne 0x4944b4
nop dword [eax]
cmp dword [ecx + 0x10], esi
jge 0x4944aa
mov ecx, dword [ecx + 8]
jmp 0x4944ae
mov edx, ecx
mov ecx, dword [ecx]
cmp byte [ecx + 0xd], 0
je 0x4944a0
cmp edx, eax
je 0x4944bd
cmp esi, dword [edx + 0x10]
jge 0x4944bf
mov edx, eax
cmp edx, eax
je 0x494503
mov ecx, eax
mov edx, dword [ecx + 4]
cmp byte [edx + 0xd], 0
jne 0x4944e4
nop
cmp dword [edx + 0x10], esi
jge 0x4944da
mov edx, dword [edx + 8]
jmp 0x4944de
mov eax, edx
mov edx, dword [edx]
cmp byte [edx + 0xd], 0
je 0x4944d0
cmp eax, ecx
je 0x4944ed
cmp esi, dword [eax + 0x10]
jge 0x4944ef
mov eax, ecx
lea ecx, [ebp - 0x2c4]
push ecx
lea ecx, [eax + 0x18]
call fcn.00494c20
jmp 0x4945e7
lea eax, [ebp - 0x2dc]
mov byte [ebp - 0x2c9], 0
push eax
lea edx, [ebp - 0x2c9]
mov dword [ebp - 0x2dc], 0
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2d8], 0
mov dword [ebp - 0x2d4], 0
call fcn.00495550
add esp, 4
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x2dc]
test ecx, ecx
je 0x49457e
mov eax, dword [ebp - 0x2d4]
sub eax, ecx
sar eax, 2
push eax
push ecx
call fcn.0040ac60
mov dword [ebp - 0x2dc], 0
mov dword [ebp - 0x2d8], 0
mov dword [ebp - 0x2d4], 0
lea eax, [ebp - 0x2c4]
mov byte [ebp - 0x40], 0
push eax
lea ecx, [ebp - 0x3c]
call fcn.00494c20
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x328]
push eax
lea ecx, [edi + 0x58]
call fcn.00495b90
mov ecx, dword [ebp - 0x328]
mov al, byte [ebp - 0x40]
mov byte [ecx + 0x14], al
lea eax, [ebp - 0x3c]
push eax
add ecx, 0x18
call fcn.00494da0
mov ecx, dword [ebp - 0x3c]
test ecx, ecx
je 0x4945e7
mov eax, dword [ebp - 0x34]
sub eax, ecx
sar eax, 2
push eax
push ecx
call fcn.0040ac60
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x4945fc
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00407b40
xor eax, eax
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x44], 7
cmp eax, 8
jb 0x494625
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.00407b40
xor eax, eax
mov byte [ebp - 4], al
mov word [ebp - 0x70], ax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
cmp eax, 8
jb 0x494651
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00407b40
push ecx
mov ecx, ebx
call fcn.004cf540
mov esi, dword [ebp - 0x2e8]
test al, al
jne 0x494165
mov esi, dword [ebp - 0x2d0]
mov eax, dword [ebp - 0x74]
mov byte [esi + 0xa], 1
cmp eax, 8
jb 0x49468c
inc eax
lea ecx, [ebp - 0x88]
push eax
push dword [ebp - 0x88]
call fcn.00407b40
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.00599c70
mov esp, ebp
pop ebp
ret