Function at 0x41c880
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 0x512628
mov eax, dword fs:[0]
push eax
sub esp, 0x274
mov eax, dword [0x56e6c4]
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 0x41c907
mov eax, dword [eax]
mov dword [ebp - 0x260], eax
cmp ecx, 0x10
jae 0x41c91e
movups xmm0, xmmword [eax]
movups xmmword [edi], xmm0
mov dword [edi + 0x10], ecx
mov dword [edi + 0x14], 0xf
jmp 0x41c95f
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.0040c460
mov ecx, eax
mov eax, dword [ebp - 0x25c]
inc eax
mov dword [edi], ecx
push eax
push dword [ebp - 0x260]
push ecx
call fcn.0049e790
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.0049d980
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 0x41cc74
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 0x41cc69
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 0x41ca7d
call fcn.0041b2c0
test eax, eax
js 0x41cc69
jmp 0x41ca85
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 0x41cab3
call fcn.0041b2c0
test eax, eax
js 0x41cc58
mov esi, dword [ebp - 0x27c]
mov eax, dword [ebp - 0x278]
test eax, eax
jb 0x41cc58
ja 0x41cc58
test esi, esi
je 0x41cc58
test eax, eax
ja 0x41cc58
jb 0x41cae5
cmp esi, 0x500000
jae 0x41cc58
mov ecx, dword [ebp - 0x248]
cmp esi, ecx
ja 0x41cb0f
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 0x41cb21
mov eax, esi
sub eax, ecx
lea ecx, [ebp - 0x258]
push 0
push eax
call fcn.0041fe80
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 0x41cb63
call fcn.0041b2c0
mov esi, eax
jmp 0x41cb7b
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 0x41cb90
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
js 0x41cc69
cmp dword [ebp - 0x248], 0
je 0x41cc69
cmp dword [ebp - 0x244], 0x10
lea eax, [ebp - 0x258]
cmovae eax, dword [ebp - 0x258]
push eax
call fcn.00434bd0
mov esi, eax
add esp, 4
test esi, esi
je 0x41cc20
mov eax, dword [ebp - 0x270]
cmp dword [eax + 0x14], 0x10
jb 0x41cbd6
mov eax, dword [eax]
push eax
push esi
call fcn.00434ac0
mov ecx, eax
add esp, 8
test ecx, ecx
jne 0x41cbf1
push esi
call fcn.004348e0
add esp, 4
jmp 0x41cc69
mov eax, dword [ebp - 0x274]
cmp dword [eax + 0x14], 0x10
jb 0x41cbff
mov eax, dword [eax]
push eax
push ecx
call fcn.00434ac0
add esp, 8
test eax, eax
je 0x41cbe6
push dword [eax + 0x10]
mov ecx, edi
call fcn.00420160
push esi
call fcn.004348e0
add esp, 4
mov edx, dword [ebp - 0x244]
cmp edx, 0x10
jb 0x41cc74
mov ecx, dword [ebp - 0x258]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41cc4c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41cc91
push edx
push ecx
call fcn.00483553
add esp, 8
jmp 0x41cc74
mov eax, dword [ebp - 0x268]
test eax, eax
je 0x41cc69
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x258]
call fcn.00408370
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.00483518
mov esp, ebp
pop ebp
ret
call fcn.004b8ca3
int3