Function at 0x100cdca0
Capabilities:
Get common file path
Get file size
Get startup folder
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1011f25a
mov eax, dword fs:[0]
push eax
sub esp, 0x290
mov eax, dword [0x10159e80]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x268], edi
mov dword [ebp - 0x24c], edi
mov dword [ebp - 0x26c], edi
xorps xmm0, xmm0
mov dword [ebp - 0x228], 0
xor eax, eax
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
push 0x208
mov dword [ebp - 4], eax
push eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x228], 1
push eax
call fcn.100efb50
add esp, 0xc
lea eax, [ebp - 0x218]
push 0
push 0x25
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
xorps xmm0, xmm0
mov dword [ebp - 0x234], 0
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x230], 0
movups xmmword [ebp - 0x244], xmm0
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100cdd70
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x244]
call fcn.100023d0
mov dword [ebp - 4], 1
mov eax, Ordinal_1
mov ecx, dword [ebp - 0x234]
sub eax, ecx
cmp eax, 0x12
jb 0x100ce0f9
cmp dword [ebp - 0x230], 7
lea eax, [ebp - 0x244]
push 0x12
cmova eax, dword [ebp - 0x244]
push str.driversetchosts
push ecx
push eax
push ecx
push dword [ebp - 0x26c]
lea ecx, [ebp - 0x29c]
call fcn.10002200
cmp dword [ebp - 0x288], 7
lea eax, [ebp - 0x29c]
push 0
cmova eax, dword [ebp - 0x29c]
push 0
push 3
push 0
push 1
push Ordinal_1
push eax
mov dword [ebp - 0x228], 3
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x220], esi
lea ecx, [ebp - 0x29c]
call fcn.10002530
lea ecx, [ebp - 0x244]
mov byte [ebp - 4], 3
call fcn.10002530
cmp esi, 0xffffffff
je 0x100ce0d5
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x22c], eax
test eax, eax
je 0x100ce0d1
lea edi, [eax + 1]
push edi
call fcn.100edc53
push edi
mov edi, eax
mov dword [ebp - 0x248], eax
push 0
push edi
call fcn.100efb50
add esp, 0x10
mov dword [ebp - 0x21c], 0
lea eax, [ebp - 0x21c]
push 0
push eax
push dword [ebp - 0x22c]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, edi
mov dword [ebp - 0x274], 0
xorps xmm0, xmm0
mov dword [ebp - 0x270], 0
movups xmmword [ebp - 0x284], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100cdeb5
sub ecx, edx
push ecx
push edi
lea ecx, [ebp - 0x284]
call fcn.10003040
xor eax, eax
mov byte [ebp - 4], 5
cmp dword [ebp - 0x270], 0xf
lea edi, [ebp - 0x284]
push eax
cmova edi, dword [ebp - 0x284]
xorps xmm0, xmm0
push eax
push 0xffffffffffffffff
push edi
push eax
movups xmmword [ebp - 0x264], xmm0
push 0xfde9
mov dword [ebp - 0x254], 0
mov dword [ebp - 0x250], 7
mov word [ebp - 0x264], ax
mov dword [ebp - 0x228], 7
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [ebp - 0x22c], eax
test eax, eax
je 0x100ce018
mov ecx, 2
mul ecx
mov ecx, 0xffffffff
cmovb eax, ecx
push eax
call fcn.100edc53
add esp, 4
mov dword [ebp - 0x24c], eax
push dword [ebp - 0x22c]
push eax
push 0xffffffffffffffff
push edi
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov edi, dword [ebp - 0x24c]
xorps xmm0, xmm0
mov ecx, edi
mov dword [ebp - 0x234], 0
movups xmmword [ebp - 0x244], xmm0
mov dword [ebp - 0x230], 0
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100cdf91
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x244]
call fcn.100023d0
lea ecx, [ebp - 0x264]
call fcn.10002530
movups xmm0, xmmword [ebp - 0x244]
xor eax, eax
lea ecx, [ebp - 0x244]
mov word [ebp - 0x244], ax
movups xmmword [ebp - 0x294], xmm0
movups xmmword [ebp - 0x264], xmm0
movq xmm0, qword [ebp - 0x234]
movq qword [ebp - 0x224], xmm0
movq qword [ebp - 0x254], xmm0
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x230], 7
call fcn.10002530
push edi
call fcn.100edc4e
add esp, 4
jmp 0x100ce036
movq xmm0, qword [ebp - 0x254]
movq qword [ebp - 0x224], xmm0
movups xmm0, xmmword [ebp - 0x264]
movups xmmword [ebp - 0x294], xmm0
mov edi, dword [ebp - 0x268]
lea eax, [ebp - 0x264]
cmp edi, eax
je 0x100ce081
mov ecx, edi
call fcn.10002530
movups xmm0, xmmword [ebp - 0x294]
xor eax, eax
mov dword [ebp - 0x254], 0
mov dword [ebp - 0x250], 7
movups xmmword [edi], xmm0
mov word [ebp - 0x264], ax
movq xmm0, qword [ebp - 0x224]
movq qword [edi + 0x10], xmm0
lea ecx, [ebp - 0x264]
call fcn.10002530
mov ecx, dword [ebp - 0x270]
cmp ecx, 0xf
jbe 0x100ce0c2
mov edx, dword [ebp - 0x284]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100ce0b8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100ce0fe
push ecx
push edx
call fcn.100edbed
add esp, 8
mov eax, dword [ebp - 0x248]
push eax
call fcn.100edc4e
add esp, 4
test esi, esi
je 0x100ce0dc
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
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.100edbdf
mov esp, ebp
pop ebp
ret
call fcn.10002e80
call fcn.100f2e4f
int3