Function at 0x1005abe0
Capabilities:
Set file attributes

Disassembly:
mov eax, 0x1400
call fcn.102244a0
mov eax, dword [esp + 0x1408]
push ebx
push ebp
push esi
push edi
mov dword [eax], 0
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0x410]
mov ebx, dword [esp + 0x1414]
rep stosd dword es:[edi], eax
mov ecx, 0x100
lea edi, [esp + 0xc10]
rep stosd dword es:[edi], eax
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x410]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0xc10]
push ecx
push ebx
call sub.platform.dll_Ordinal_13
add esp, 8
cmp eax, 1
jne 0x1005ac85
lea edi, [esp + 0xc10]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x410]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [0x107ab964]
push 0x180
push ebx
mov edx, dword [ecx]
call dword [edx + 0x38]
mov ebp, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 0x80
push ebx
call ebp
mov ecx, dword [0x107ab964]
push ebx
mov eax, dword [ecx]
call dword [eax + 0x3c]
test eax, eax
je 0x1005acc1
mov ecx, dword [esp + 0x1418]
mov dword [ecx], 1
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0x810]
lea edx, [esp + 0x810]
rep stosd dword es:[edi], eax
mov ecx, 0x100
lea edi, [esp + 0x1010]
rep stosd dword es:[edi], eax
lea edi, [esp + 0x410]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x5c
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x814]
push ecx
call dword [sym.imp.MSVCRT.dll_strrchr]
mov edx, eax
add esp, 8
test edx, edx
je 0x1005ae41
inc edx
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea ebx, [esp + 0x1010]
mov eax, ecx
mov esi, edi
shr ecx, 2
mov edi, ebx
push 0
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x100
lea edi, [esp + 0x14]
mov byte [edx], 0
lea edx, [esp + 0x14]
rep stosd dword es:[edi], eax
or ecx, 0xffffffff
lea edi, [esp + 0x814]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
shr ecx, 2
mov edi, edx
lea edx, [esp + 0x14]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x1026601c
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea edx, [esp + 0x14]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x1014]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea edx, [esp + 0x14]
and ecx, 3
push edx
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [0x107ab964]
mov eax, dword [ecx]
call dword [eax]
test eax, eax
jne 0x1005ae41
mov ecx, dword [0x107ab964]
lea edx, [esp + 0x10]
push 0x180
push edx
mov eax, dword [ecx]
call dword [eax + 0x38]
lea eax, [esp + 0x10]
push 0x80
push eax
call ebp
mov ecx, dword [0x107ab964]
lea eax, [esp + 0x410]
push eax
lea eax, [esp + 0x14]
mov edx, dword [ecx]
push eax
call dword [edx + 0x4c]
xor ecx, ecx
cmp eax, 0xffffffff
pop edi
pop esi
setne cl
pop ebp
mov eax, ecx
pop ebx
add esp, 0x1400
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1400
ret