Function at 0x468da0
Capabilities:
Set file attributes

Disassembly:
sub esp, 0x110
push ebx
push ebp
push esi
mov esi, dword [esp + 0x120]
xor ebp, ebp
xor ebx, ebx
mov eax, dword [esi + 0x1c]
push edi
cmp eax, ebp
mov dword [esp + 0x10], ebp
je 0x468dcd
cmp dword [esp + 0x128], ebp
jne 0x468dcd
xor eax, eax
jmp 0x468dd2
mov eax, 1
lea edx, [esi + 0xc9dc]
mov dword [esi + 0x74], eax
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
mov dword [esi + 0xcb34], ebp
mov dword [esi + 0xcb38], ebp
mov dword [esp + 0x14], edx
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x128]
not ecx
dec ecx
cmp eax, ebp
mov dword [esi + 0xcb3c], ecx
je 0x468ec2
mov eax, edx
cmp byte [eax], 0
je 0x468e2a
cmp byte [eax], 0x5c
jne 0x468e1b
mov byte [eax], 0x2f
push eax
call fcn.00472893
mov cl, byte [eax]
add esp, 4
test cl, cl
jne 0x468e13
mov al, byte [esi + 0xc9dc]
lea ebx, [esi + 0xc9dc]
cmp al, 0x2f
mov dword [esp + 0x14], ebx
jne 0x468e54
mov dword [esi + 0xcb38], 1
mov byte [esp + 0x1c], al
mov byte [esp + 0x1d], 0
inc ebx
jmp 0x468ec2
cmp dword [0x49821c], 1
jle 0x468e72
and eax, 0xff
push 0x103
push eax
call fcn.0047229e
add esp, 8
jmp 0x468e86
mov ecx, dword [str.________________________________H]
and eax, 0xff
mov ax, word [ecx + eax*2]
and eax, 0x103
cmp eax, ebp
je 0x468ec2
cmp byte [esi + 0xc9dd], 0x3a
jne 0x468ec2
mov dword [esi + 0xcb38], 1
mov dl, byte [ebx]
mov al, byte [ebx + 1]
inc ebx
inc ebx
mov byte [esp + 0x1d], al
mov byte [esp + 0x1c], dl
lea eax, [esp + 0x1e]
cmp byte [ebx], 0x2f
jne 0x468ebf
mov byte [esp + 0x1e], 0x2f
lea eax, [esp + 0x1f]
inc ebx
mov byte [eax], 0
lea ecx, [esp + 0x1c]
push 1
push ecx
push esi
call fcn.00469220
add esp, 0xc
cmp eax, ebp
mov dword [esp + 0x18], eax
jne 0x469166
mov eax, dword [esp + 0x128]
mov byte [esp + 0x1c], 0
test eax, eax
lea ebp, [esp + 0x1c]
jne 0x468f15
mov eax, dword [esi + 0x24]
test eax, eax
je 0x468f0a
mov edx, dword [esp + 0x14]
push 0x2f
push edx
call fcn.004718ef
add esp, 8
mov ebx, eax
test ebx, ebx
jne 0x468f14
mov ebx, dword [esp + 0x14]
jmp 0x468f15
inc ebx
xor eax, eax
mov al, byte [ebx]
mov esi, eax
test esi, esi
je 0x469025
lea eax, [esi - 0x20]
cmp eax, 0x5c
ja case.0x468f37.36
xor ecx, ecx
mov cl, byte [eax + 0x469188]
jmp dword [ecx*4 + 0x469174]
mov eax, dword [esp + 0x124]
lea edx, [esp + 0x1c]
push 2
push edx
push eax
mov byte [ebp], 0
call fcn.00469220
add esp, 0xc
cmp eax, 1
mov dword [esp + 0x18], eax
jg 0x469166
lea ebp, [esp + 0x1c]
mov dword [esp + 0x10], 0
jmp 0x46900c
mov dword [esp + 0x10], ebp
mov byte [ebp], 0x3b
inc ebp
jmp 0x46900c
mov eax, dword [esp + 0x124]
mov ecx, dword [eax + 0x3c]
test ecx, ecx
jne case.0x468f37.33
lea ecx, [eax + 0xc9dc]
push ecx
push eax
call fcn.004691f0
add esp, 8
test eax, eax
jne case.0x468f37.33
mov byte [ebp], 0x20
inc ebp
jmp 0x46900c
mov byte [ebp], 0x5f
inc ebp
jmp 0x46900c
cmp dword [0x49821c], 1
jle 0x468fce
push 0x157
push esi
call fcn.0047229e
add esp, 8
jmp 0x468fdd
mov ecx, dword [str.________________________________H]
mov ax, word [ecx + esi*2]
and eax, 0x157
test eax, eax
jne 0x468fe6
cmp esi, 0x7f
jb 0x46900c
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, eax
mov esi, ebx
mov edx, ecx
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.00472893
add esp, 4
mov ebp, eax
push ebx
call fcn.00472893
mov ebx, eax
xor eax, eax
add esp, 4
mov al, byte [ebx]
mov esi, eax
test esi, esi
jne 0x468f23
mov esi, dword [esp + 0x124]
mov byte [ebp], 0
mov eax, dword [esi + 0x54]
test eax, eax
jne 0x46907a
mov ebx, dword [esp + 0x10]
test ebx, ebx
je 0x46907a
lea edi, [ebx + 1]
cmp dword [0x49821c], 1
jle 0x46905c
xor ecx, ecx
push 4
mov cl, byte [edi]
push ecx
call fcn.0047229e
add esp, 8
jmp 0x46906b
mov eax, dword [str.________________________________H]
xor edx, edx
mov dl, byte [edi]
mov al, byte [eax + edx*2]
and eax, 4
test eax, eax
je 0x469072
inc edi
jmp 0x469042
cmp byte [edi], 0
jne 0x46907a
mov byte [ebx], 0
mov ecx, dword [esi + 0xcb3c]
lea edi, [esi + 0xc9dc]
push ecx
push edi
call fcn.00467d40
mov cl, byte [eax]
add esp, 8
cmp cl, 0x2f
jne 0x4690e5
push 4
push edi
push esi
call fcn.00469220
mov eax, dword [esi + 0xcb34]
add esp, 0xc
test eax, eax
je 0x4690d5
mov edx, dword [esi + 0x8d4]
mov eax, dword [edx + 0x18]
test al, 0x6f
je 0x4690c5
and eax, 0x7f
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
pop edi
pop esi
pop ebp
mov eax, 0x4d
pop ebx
add esp, 0x110
ret
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
add esp, 0x110
ret
mov al, byte [esp + 0x1c]
test al, al
jne 0x4690fd
pop edi
pop esi
pop ebp
mov eax, 3
pop ebx
add esp, 0x110
ret
lea eax, [esp + 0x1c]
push 3
push eax
push esi
call fcn.00469220
push 4
push edi
push esi
call fcn.00469220
mov ecx, dword [esi + 0x8d4]
add esp, 0x18
test byte [ecx + 0x1c], 0x20
je 0x469162
mov dl, byte [esi + 0xcb40]
mov ax, word [0x494da8]
mov cl, byte [0x494daa]
add dl, 0x60
mov byte [esp + 0x10], dl
lea edx, [esp + 0x10]
push edi
push edx
mov word [esp + 0x19], ax
mov byte [esp + 0x1b], cl
call dword [sym.imp.KERNEL32.dll_SetVolumeLabelA]
neg eax
pop edi
pop esi
sbb eax, eax
pop ebp
add eax, 3
pop ebx
add esp, 0x110
ret
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x110
ret