Function at 0x45da50
Capabilities:
Contain obfuscated stackstrings
Get common file path
Get file size
Get startup folder
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x270]
sub esp, 0x270
push 0xffffffffffffffff
push 0x4a14df
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x4c3008]
xor eax, ebp
mov dword [ebp + 0x26c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x278]
mov ebx, 0x6c
mov esi, dword [ebp + 0x27c]
mov dword [ebp - 0x14], eax
xor eax, eax
push 0x208
push eax
mov word [ebp + 0x268], ax
lea eax, [ebp + 0x2c]
push eax
mov dword [ebp + 0x234], 0x61004d
mov dword [ebp + 0x238], 0x720063
mov dword [ebp + 0x23c], 0x6d006f
mov dword [ebp + 0x240], 0x640065
mov dword [ebp + 0x244], 0x46005c
mov dword [ebp + 0x248], 0x61006c
mov dword [ebp + 0x24c], 0x680073
mov dword [ebp + 0x250], 0x56005c
mov dword [ebp + 0x254], 0x720065
mov dword [ebp + 0x258], 0x690073
mov dword [ebp + 0x25c], 0x6e006f
mov dword [ebp + 0x260], 0x64002e
mov dword [ebp + 0x264], 0x6c006c
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp + 0x2c]
push eax
push 0
push 0
push 0x29
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
xor eax, eax
mov dword [ebp - 0x34], 0
lea ecx, [ebp + 0x234]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
lea edx, [ecx + 2]
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45db77
sub ecx, edx
lea eax, [ebp + 0x234]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x44]
call fcn.00402ec0
mov dword [ebp - 4], 0
xor eax, eax
lea ecx, [ebp + 0x2c]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
lea edx, [ecx + 2]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45dbc5
sub ecx, edx
lea eax, [ebp + 0x2c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.00402ec0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x44]
push eax
lea edx, [ebp - 0x2c]
lea ecx, [ebp]
call fcn.00464d80
add esp, 4
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x45dc37
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45dc2d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x45dc2d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00495444
add esp, 8
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x30]
cmp edx, 8
jb 0x45dc8b
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45dc81
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x45dc81
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00495444
add esp, 8
xor eax, eax
mov dword [ebp - 0x34], 0
lea ecx, [ebp]
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
call fcn.00466920
mov byte [esi], al
test al, al
jne 0x45dcb4
xor bl, bl
jmp 0x45de42
push 4
mov dword [ebp - 0x10], 0
call fcn.00495414
add esp, 4
mov dword [ebp + 0x24], eax
mov byte [ebp - 4], 5
mov dword [eax], 0
mov dword [eax], 0xffffffff
mov byte [ebp - 4], 4
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 6
lea eax, [ebp]
push 0x80
push 3
push 1
push 0x80000000
push eax
lea ecx, [ebp - 0x10]
call fcn.0047c070
mov ecx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x10]
test al, al
jne 0x45dd11
xor bl, bl
jmp 0x45de14
xor bl, bl
test esi, esi
je 0x45de0e
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x45ddfa
lea ecx, [ebp + 0x18]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp + 0x24], eax
cmp eax, 0xffffffff
jne 0x45dd49
call edi
test eax, eax
jne 0x45ddf4
mov ecx, dword [ebp + 0x18]
xor eax, eax
add eax, dword [ebp + 0x24]
adc ecx, 0
jne 0x45dd5f
cmp eax, 8
jb 0x45ddf4
sub eax, 8
sbb ecx, 0
cmp dword [esi], 0xffffffff
je 0x45ddf4
mov dword [ebp + 0x24], ecx
lea ecx, [ebp + 0x24]
push 0
push ecx
push eax
mov dword [ebp + 0x20], eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp + 0x20], eax
cmp eax, 0xffffffff
jne 0x45dd91
call edi
test eax, eax
jne 0x45ddf4
mov dword [ebp + 0x1c], 0
mov dword [ebp + 0x28], 0
cmp dword [esi], 0xffffffff
je 0x45ddf4
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [ebp + 0x28]
push 0
push eax
push 4
lea eax, [ebp + 0x1c]
push eax
push dword [esi]
call edi
test eax, eax
je 0x45ddf4
cmp dword [ebp + 0x1c], 0xff2144
jne 0x45ddf4
mov eax, dword [ebp - 0x14]
mov dword [ebp + 0x28], 0
test eax, eax
je 0x45ddf4
cmp dword [esi], 0xffffffff
je 0x45ddf4
push 0
lea ecx, [ebp + 0x28]
push ecx
push 4
push eax
push dword [esi]
call edi
test eax, eax
movzx ebx, bl
mov ecx, 1
cmovne ebx, ecx
mov ecx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x45de0e
push eax
call ecx
test eax, eax
je 0x45de0e
mov dword [esi], 0xffffffff
mov ecx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 4
test esi, esi
je 0x45de42
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x45de30
test eax, eax
je 0x45de30
push eax
call ecx
mov dword [esi], 0
push 4
push esi
call fcn.00495444
add esp, 8
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 0x14]
cmp edx, 8
jb 0x45de85
mov ecx, dword [ebp]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45de7b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x45de7b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00495444
add esp, 8
xor eax, eax
mov dword [ebp + 0x10], 0
mov word [ebp], ax
mov al, bl
mov dword [ebp + 0x14], 7
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x26c]
xor ecx, ebp
call fcn.00495403
lea esp, [ebp + 0x270]
pop ebp
ret 8