Function at 0x10018110
Capabilities:
Check if file exists
Contain obfuscated stackstrings
Get common file path
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f01c8
mov eax, dword fs:[0]
push eax
sub esp, 0x274
mov eax, dword [0x10136674]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x270], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x280], edi
mov dword [ebp - 0x274], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x26c], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
mov dword [ebp - 4], 0
mov dword [ebp - 0x260], eax
mov dword [ebp - 0x25c], ecx
jb 0x10018197
mov eax, dword [eax]
mov dword [ebp - 0x260], eax
cmp ecx, 0x10
jae 0x100181ae
movups xmm0, xmmword [eax]
movups xmmword [edi], xmm0
mov dword [edi + 0x10], ecx
mov dword [edi + 0x14], 0xf
jmp 0x100181ef
mov esi, ecx
mov eax, SysReAllocString
or esi, 0xf
mov ecx, edi
cmp esi, eax
cmova esi, eax
lea eax, [esi + 1]
push eax
call fcn.1001b7f0
mov ecx, eax
mov eax, dword [ebp - 0x25c]
inc eax
mov dword [edi], ecx
push eax
push dword [ebp - 0x260]
push ecx
call fcn.1007c8f0
mov eax, dword [ebp - 0x25c]
add esp, 0xc
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], esi
push 0x208
lea eax, [ebp - 0x240]
mov dword [ebp - 4], 0
push 0
push eax
mov dword [ebp - 0x26c], 1
call fcn.1007bae0
add esp, 0xc
lea eax, [ebp - 0x240]
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x38]
mov dword [ebp - 0x38], 0x75004c
push eax
lea eax, [ebp - 0x240]
mov dword [ebp - 0x34], 0x610064
push eax
mov dword [ebp - 0x30], 0x680073
mov dword [ebp - 0x2c], 0x5c0069
mov dword [ebp - 0x28], 0x770073
mov dword [ebp - 0x24], 0x740069
mov dword [ebp - 0x20], 0x680063
mov dword [ebp - 0x1c], 0x6a002e
mov dword [ebp - 0x18], 0x6f0073
mov dword [ebp - 0x14], 0x6e
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp - 0x240]
push eax
call esi
test eax, eax
je 0x10018504
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x244], 0xf
mov byte [ebp - 0x258], 0
lea eax, [ebp - 0x240]
mov dword [ebp - 4], 1
push eax
call esi
test eax, eax
je 0x100184f9
xor esi, esi
mov dword [ebp - 0x268], esi
mov dword [ebp - 0x264], esi
push esi
push 0x80
push 3
push esi
push 1
push SysReAllocString
lea eax, [ebp - 0x240]
mov byte [ebp - 4], 2
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x1001830d
call fcn.10016b50
test eax, eax
js 0x100184f9
jmp 0x10018315
mov esi, eax
mov dword [ebp - 0x268], esi
lea eax, [ebp - 0x278]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
mov dword [ebp - 0x27c], esi
cmp esi, 0xffffffff
jne 0x10018343
call fcn.10016b50
test eax, eax
js 0x100184e8
mov esi, dword [ebp - 0x27c]
mov eax, dword [ebp - 0x278]
test eax, eax
jb 0x100184e8
ja 0x100184e8
test esi, esi
je 0x100184e8
test eax, eax
ja 0x100184e8
jb 0x10018375
cmp esi, 0x500000
jae 0x100184e8
mov ecx, dword [ebp - 0x248]
cmp esi, ecx
ja 0x1001839f
cmp dword [ebp - 0x244], 0x10
lea eax, [ebp - 0x258]
mov dword [ebp - 0x248], esi
cmovae eax, dword [ebp - 0x258]
mov byte [eax + esi], 0
jmp 0x100183b1
mov eax, esi
sub eax, ecx
lea ecx, [ebp - 0x258]
push 0
push eax
call fcn.1001b930
cmp dword [ebp - 0x244], 0x10
lea ecx, [ebp - 0x25c]
push 0
push ecx
lea eax, [ebp - 0x258]
mov dword [ebp - 0x25c], 0
cmovae eax, dword [ebp - 0x258]
push esi
push eax
push dword [ebp - 0x268]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x100183f3
call fcn.10016b50
mov esi, eax
jmp 0x1001840b
xor ecx, ecx
mov eax, 0x80070026
cmp dword [ebp - 0x25c], esi
cmovne ecx, eax
mov dword [ebp - 0x260], ecx
mov esi, ecx
mov eax, dword [ebp - 0x268]
mov byte [ebp - 4], 1
test eax, eax
je 0x10018420
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
js 0x100184f9
cmp dword [ebp - 0x248], 0
je 0x100184f9
cmp dword [ebp - 0x244], 0x10
lea eax, [ebp - 0x258]
cmovae eax, dword [ebp - 0x258]
push eax
call fcn.1002d840
mov esi, eax
add esp, 4
test esi, esi
je 0x100184b0
mov eax, dword [ebp - 0x270]
cmp dword [eax + 0x14], 0x10
jb 0x10018466
mov eax, dword [eax]
push eax
push esi
call fcn.1002d730
mov ecx, eax
add esp, 8
test ecx, ecx
jne 0x10018481
push esi
call fcn.1002d550
add esp, 4
jmp 0x100184f9
mov eax, dword [ebp - 0x274]
cmp dword [eax + 0x14], 0x10
jb 0x1001848f
mov eax, dword [eax]
push eax
push ecx
call fcn.1002d730
add esp, 8
test eax, eax
je 0x10018476
push dword [eax + 0x10]
mov ecx, edi
call fcn.1001bc10
push esi
call fcn.1002d550
add esp, 4
mov edx, dword [ebp - 0x244]
cmp edx, 0x10
jb 0x10018504
mov ecx, dword [ebp - 0x258]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100184dc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10018521
push edx
push ecx
call fcn.10069b93
add esp, 8
jmp 0x10018504
mov eax, dword [ebp - 0x268]
test eax, eax
je 0x100184f9
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x258]
call fcn.10005af0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10069b58
mov esp, ebp
pop ebp
ret
call fcn.10096e03
int3