Function at 0x1003e090
Capabilities:
Set file attributes

Disassembly:
sub esp, 0xc00
lea eax, [esp + 0x400]
push ebx
mov ebx, dword [esp + 0xc08]
push esi
push edi
push eax
push ebx
call sub.platform.dll_Ordinal_13
add esp, 8
test eax, eax
jne 0x1003e0d9
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x40c]
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 eax, dword [esp + 0xc14]
push eax
push ebx
mov dword [eax], 0
mov ecx, dword [0x107ab964]
push ecx
call fcn.1002bac0
add esp, 0xc
test eax, eax
jne 0x1003e105
pop edi
pop esi
pop ebx
add esp, 0xc00
ret
lea edi, [esp + 0x40c]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xc]
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
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x40c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 6
jl 0x1003e301
cmp dword [esp + ecx + 0x408], 0x6578652e
jne 0x1003e301
lea ecx, [esp + 0xc]
push 0x5c
push ecx
call dword [sym.imp.MSVCRT.dll_strrchr]
mov edx, eax
add esp, 8
test edx, edx
je 0x1003e301
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0x80c]
inc edx
rep stosd dword es:[edi], eax
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea ebx, [esp + 0x80c]
mov eax, ecx
mov esi, edi
mov edi, ebx
push 0
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x810]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
mov byte [edx], 0x76
mov byte [edx + 1], 0
sub edi, ecx
lea edx, [esp + 0x10]
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 + 0x10]
and ecx, 3
push edx
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [0x107ab964]
mov eax, dword [ecx]
call dword [eax]
mov ebx, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x1003e243
mov ecx, dword [0x107ab964]
lea edx, [esp + 0xc]
push 0x180
push edx
mov eax, dword [ecx]
call dword [eax + 0x38]
lea eax, [esp + 0xc]
push 0x80
push eax
call ebx
test eax, eax
je 0x1003e301
mov ecx, dword [0x107ab964]
lea eax, [esp + 0x40c]
push eax
lea eax, [esp + 0x10]
mov edx, dword [ecx]
push eax
call dword [edx + 0x4c]
cmp eax, 0xffffffff
je 0x1003e301
lea edi, [esp + 0xc]
or ecx, 0xffffffff
xor eax, eax
push ebp
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, str..ico
push eax
lea edx, [esp + ecx + 0x10]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov byte [edx], al
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea eax, [esp + 0x14]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [0x107ab964]
mov edx, dword [ecx]
call dword [edx]
test eax, eax
pop ebp
jne 0x1003e301
mov ecx, dword [0x107ab964]
push eax
lea eax, [esp + 0x10]
push 0x8000
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov esi, eax
cmp esi, 0xffffffff
je 0x1003e301
mov ecx, dword [0x107ab964]
push esi
mov edx, dword [ecx]
call dword [edx + 0x20]
mov ecx, dword [0x107ab964]
mov edi, eax
push esi
mov eax, dword [ecx]
call dword [eax + 0x18]
test edi, edi
jne 0x1003e301
mov ecx, dword [0x107ab964]
lea eax, [esp + 0xc]
push 0x180
push eax
mov edx, dword [ecx]
call dword [edx + 0x38]
lea ecx, [esp + 0xc]
push 0x80
push ecx
call ebx
mov ecx, dword [0x107ab964]
lea eax, [esp + 0xc]
push eax
mov edx, dword [ecx]
call dword [edx + 0x3c]
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0xc00
ret