Function at 0x1003db48
Capabilities:
Set file attributes

Disassembly:
mov eax, 0x100594ca
call fcn.10052270
sub esp, 0x474
push ebx
push esi
push edi
mov ebx, ecx
and byte [ebp - 0x118], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x117]
mov esi, dword [sym.imp.MSVCRT.dll__mbscmp]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, 0x10078b14
mov dword [ebp - 4], 3
push edi
push dword [ebp + 8]
call esi
pop ecx
test eax, eax
pop ecx
jne 0x1003dc86
push edi
push dword [ebp + 0xc]
call esi
pop ecx
test eax, eax
pop ecx
je 0x1003dedc
xor edi, edi
mov dword [ebp - 0x10], edi
mov ecx, dword [ebx + 0x908]
test ecx, ecx
je 0x1003dedc
mov eax, dword [ebx + 0x90c]
sub eax, ecx
mov ecx, 0x10c
cdq
idiv ecx
cmp edi, eax
jae 0x1003dedc
mov eax, dword [0x10070040]
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x908]
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 4], 4
push dword [ecx + eax + 0x108]
lea eax, [ebp - 0x14]
push 0x100717f4
push eax
call fcn.10009c35
push dword [ebp - 0x14]
push dword [ebp + 0xc]
call esi
add esp, 0x14
test eax, eax
je 0x1003dc20
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.1000349d
inc edi
add dword [ebp - 0x10], 0x10c
jmp 0x1003dbab
imul edi, edi, 0x10c
mov ebx, dword [ebx + 0x908]
lea eax, [ebp - 0x118]
add edi, ebx
push edi
push 0x10070ee4
push 0x104
push eax
call fcn.10001f81
add esp, 0x10
lea eax, [ebp + 0x10]
push eax
lea eax, [ebp - 0x10]
push 0x10070940
push eax
call fcn.10018353
push dword [ebp - 0x10]
lea eax, [ebp - 0x118]
mov byte [ebp - 4], 5
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.1000349d
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x14]
jmp 0x1003ded7
lea eax, [ebp + 0x10]
push eax
lea eax, [ebp - 0x10]
push 0x10071574
push eax
call fcn.10018353
push str.CSIDL_APPDATA
mov byte [ebp - 4], 6
push dword [ebp + 8]
call esi
pop ecx
test eax, eax
pop ecx
jne 0x1003dcb7
lea eax, [ebp - 0x118]
push eax
push 0x1a
jmp 0x1003dcd0
push str.CSIDL_LOCAL_APPDATA
push dword [ebp + 8]
call esi
pop ecx
test eax, eax
pop ecx
jne 0x1003dcd7
lea eax, [ebp - 0x118]
push eax
push 0x1c
call fcn.1001dcaa
pop ecx
pop ecx
push dword [ebp - 0x10]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathAppendA]
lea eax, [ebp - 0x118]
push eax
call ebx
push 0x100769ac
push dword [ebp + 0x14]
call esi
pop ecx
test eax, eax
pop ecx
jne 0x1003ddcf
push 5
lea eax, [ebp - 0x118]
push 0x10076b80
push eax
lea ecx, [ebp - 0x480]
call fcn.1002c683
push 0x40
mov byte [ebp - 4], 7
and byte [ebp - 0x21c], 0
pop ecx
xor eax, eax
lea edi, [ebp - 0x21b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [ebp - 0x480]
stosb byte es:[edi], al
call fcn.1002c72a
test eax, eax
je 0x1003ddb1
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x480]
push eax
call fcn.1000bb68
push dword [eax]
lea eax, [ebp - 0x21c]
mov byte [ebp - 4], 8
push 0x10070ee4
push 0x103
push eax
call fcn.10001f81
add esp, 0x10
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 7
call fcn.1000349d
lea eax, [ebp - 0x21c]
push str...prefs.js
push eax
call ebx
lea eax, [ebp - 0x21c]
push eax
call fcn.1001e196
test eax, eax
pop ecx
je 0x1003ddb1
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x118]
push 0x104
push eax
call fcn.1000516a
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 9
call fcn.1002eb43
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x480]
jmp 0x1003decb
push 0x10076b70
push dword [ebp + 0xc]
call esi
pop ecx
test eax, eax
pop ecx
jne 0x1003ded0
push 5
lea eax, [ebp - 0x118]
push 0x10076b80
push eax
lea ecx, [ebp - 0x480]
call fcn.1002c683
push 0x40
mov byte [ebp - 4], 0xb
and byte [ebp - 0x21c], 0
pop ecx
xor eax, eax
lea edi, [ebp - 0x21b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [ebp - 0x480]
stosb byte es:[edi], al
call fcn.1002c72a
test eax, eax
je 0x1003deb2
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x480]
push eax
call fcn.1000bb68
push dword [eax]
lea eax, [ebp - 0x21c]
mov byte [ebp - 4], 0xc
push 0x10070ee4
push 0x103
push eax
call fcn.10001f81
add esp, 0x10
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xb
call fcn.1000349d
lea eax, [ebp - 0x21c]
push str.profile
push eax
call fcn.1001d7f7
pop ecx
test eax, eax
pop ecx
jne 0x1003de89
lea eax, [ebp - 0x21c]
push str...operaprefs.ini
push eax
call ebx
lea eax, [ebp - 0x21c]
push eax
call fcn.1001e196
test eax, eax
pop ecx
je 0x1003deb2
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x118]
push 0x104
push eax
call fcn.1000516a
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 0xd
call fcn.1002eb43
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x480]
call fcn.1000bd32
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x10]
call fcn.1000349d
lea eax, [ebp - 0x118]
push eax
call fcn.1001e196
pop ecx
pop edi
pop esi
pop ebx
test eax, eax
je 0x1003df59
lea eax, [ebp - 0x118]
push eax
call fcn.1001db0e
push eax
call fcn.1001e336
pop ecx
test eax, eax
pop ecx
jne 0x1003df1a
lea eax, [ebp - 0x118]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea eax, [ebp - 0x118]
push eax
call fcn.1001db0e
push eax
call fcn.1001e314
pop ecx
test eax, eax
pop ecx
je 0x1003df59
lea eax, [ebp - 0x118]
test eax, eax
je 0x1003df49
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [ebp - 0x118]
push ecx
mov ecx, dword [ebp + 0x18]
push eax
call fcn.100035e4
lea ecx, [ebp + 8]
mov byte [ebp - 4], 2
call fcn.1000349d
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.1000349d
and byte [ebp - 4], 0
lea ecx, [ebp + 0x10]
call fcn.1000349d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x14]
call fcn.1000349d
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret 0x14