Function at 0x41cbb0
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 0x51ea53
mov eax, dword fs:[0]
push eax
sub esp, 0x274
mov eax, dword [0x57c8b4]
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 - 0x280], edi
mov dword [ebp - 0x270], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x274], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x264], 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 - 0x25c], eax
mov dword [ebp - 0x260], ecx
jb 0x41cc37
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
cmp ecx, 0x10
jae 0x41cc4e
movups xmm0, xmmword [eax]
movups xmmword [edi], xmm0
mov dword [edi + 0x10], ecx
mov dword [edi + 0x14], 0xf
jmp 0x41cc8f
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.0041fe30
mov ecx, eax
mov eax, dword [ebp - 0x260]
inc eax
mov dword [edi], ecx
push eax
push dword [ebp - 0x25c]
push ecx
call fcn.004aa800
mov eax, dword [ebp - 0x260]
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 - 0x264], 1
call fcn.004a99f0
add esp, 0xc
lea eax, [ebp - 0x240]
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov dword [ebp - 0x38], 0x75004c
mov dword [ebp - 0x34], 0x610064
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 fcn.0040b790
mov ecx, eax
test ecx, ecx
je 0x41d04a
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x25c], eax
lea eax, [ebp - 0x38]
mov dword [ebp - 4], 1
push eax
lea ecx, [ebp - 0x25c]
call fcn.0040ac20
test al, al
jne 0x41cd6f
lea ecx, [ebp - 0x38]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41cd50
sub ecx, edx
lea eax, [ebp - 0x38]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x25c]
call fcn.0040a4c0
mov esi, dword [ebp - 0x25c]
lea eax, [ebp - 0x240]
push esi
push eax
mov byte [ebp - 4], 0
mov dword [ebp - 0x264], 3
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x41cda9
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp - 0x240]
push eax
call esi
test eax, eax
je 0x41d02d
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x244], 0xf
mov byte [ebp - 0x258], 0
lea eax, [ebp - 0x240]
mov dword [ebp - 4], 2
push eax
call esi
test eax, eax
je 0x41d022
xor esi, esi
mov dword [ebp - 0x26c], esi
mov dword [ebp - 0x268], esi
push esi
push 0x80
push 3
push esi
push 1
push SysReAllocString
lea eax, [ebp - 0x240]
mov byte [ebp - 4], 3
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x41ce36
call fcn.0041b6c0
test eax, eax
js 0x41d022
jmp 0x41ce3e
mov esi, eax
mov dword [ebp - 0x26c], 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 0x41ce6c
call fcn.0041b6c0
test eax, eax
js 0x41d011
mov esi, dword [ebp - 0x27c]
mov eax, dword [ebp - 0x278]
test eax, eax
jb 0x41d011
ja 0x41d011
test esi, esi
je 0x41d011
test eax, eax
ja 0x41d011
jb 0x41ce9e
cmp esi, 0x500000
jae 0x41d011
mov ecx, dword [ebp - 0x248]
cmp esi, ecx
ja 0x41cec8
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 0x41ceda
mov eax, esi
sub eax, ecx
lea ecx, [ebp - 0x258]
push 0
push eax
call fcn.0041ff70
cmp dword [ebp - 0x244], 0x10
lea ecx, [ebp - 0x260]
push 0
push ecx
lea eax, [ebp - 0x258]
mov dword [ebp - 0x260], 0
cmovae eax, dword [ebp - 0x258]
push esi
push eax
push dword [ebp - 0x26c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x41cf1c
call fcn.0041b6c0
mov esi, eax
jmp 0x41cf34
xor ecx, ecx
mov eax, 0x80070026
cmp dword [ebp - 0x260], esi
cmovne ecx, eax
mov dword [ebp - 0x25c], ecx
mov esi, ecx
mov eax, dword [ebp - 0x26c]
mov byte [ebp - 4], 2
test eax, eax
je 0x41cf49
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
js 0x41d022
cmp dword [ebp - 0x248], 0
je 0x41d022
cmp dword [ebp - 0x244], 0x10
lea eax, [ebp - 0x258]
cmovae eax, dword [ebp - 0x258]
push eax
call fcn.00440cb0
mov esi, eax
add esp, 4
test esi, esi
je 0x41cfd9
mov eax, dword [ebp - 0x270]
cmp dword [eax + 0x14], 0x10
jb 0x41cf8f
mov eax, dword [eax]
push eax
push esi
call fcn.00440ba0
mov ecx, eax
add esp, 8
test ecx, ecx
jne 0x41cfaa
push esi
call fcn.004409c0
add esp, 4
jmp 0x41d022
mov eax, dword [ebp - 0x274]
cmp dword [eax + 0x14], 0x10
jb 0x41cfb8
mov eax, dword [eax]
push eax
push ecx
call fcn.00440ba0
add esp, 8
test eax, eax
je 0x41cf9f
push dword [eax + 0x10]
mov ecx, edi
call fcn.00420250
push esi
call fcn.004409c0
add esp, 4
mov edx, dword [ebp - 0x244]
cmp edx, 0x10
jb 0x41d02d
mov ecx, dword [ebp - 0x258]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41d005
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41d054
push edx
push ecx
call fcn.00490273
add esp, 8
jmp 0x41d02d
mov eax, dword [ebp - 0x26c]
test eax, eax
je 0x41d022
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x258]
call fcn.00408550
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.00490238
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00408b70
call fcn.004c4d16
int3