Function at 0x4297c0
Capabilities:
Get common file path
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a41ab
mov eax, dword fs:[0]
push eax
sub esp, 0x82c
mov eax, dword [0x4c3014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x830], ecx
cmp dword [0x4c61a8], 0
je 0x429a47
push 0x400
lea eax, [ebp - 0x410]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0x400
lea eax, [ebp - 0x810]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x18
lea eax, [ebp - 0x410]
push 0
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x810]
push 0x4ba398
push eax
call fcn.0041fb60
add esp, 0xc
lea eax, [ebp - 0x810]
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x429a47
lea eax, [ebp - 0x814]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
lea ecx, [esi + 1]
push ecx
call dword [sym.imp.mfc140u.dll_operator]
add esp, 4
mov ebx, eax
lea eax, [ebp - 0x814]
mov dword [ebp - 0x838], ebx
push 0
push eax
push esi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [ebp - 0x814], esi
je 0x4298d5
test ebx, ebx
je 0x429a47
push ebx
call dword [sym.imp.mfc140u.dll_operator_1]
add esp, 4
jmp 0x429a47
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xorps xmm0, xmm0
mov dword [ebp - 0x824], 0
push 0x4ba3a8
mov edx, ebx
movq qword [ebp - 0x82c], xmm0
lea ecx, [ebp - 0x82c]
call fcn.00427980
add esp, 4
mov dword [ebp - 4], 0
xor edi, edi
mov eax, dword [ebp - 0x828]
mov esi, dword [ebp - 0x82c]
sub eax, esi
sar eax, 2
mov dword [ebp - 0x834], eax
test eax, eax
jle 0x429a23
mov ebx, dword [ebp - 0x830]
add ebx, 8
nop word [eax + eax]
mov edx, dword [esi + edi*4]
lea ecx, [ebp - 0x820]
xorps xmm0, xmm0
mov dword [ebp - 0x818], 0
push str.____
movq qword [ebp - 0x820], xmm0
call fcn.00427980
mov eax, dword [ebp - 0x81c]
add esp, 4
mov esi, dword [ebp - 0x820]
sub eax, esi
sar eax, 2
cmp eax, 6
jb 0x4299d3
push dword [esi]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoll]
mov dword [ebx - 8], eax
push dword [esi + 4]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoll]
mov dword [ebx - 4], eax
push dword [esi + 8]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoll]
mov dword [ebx], eax
push dword [esi + 0xc]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
movzx eax, al
mov dword [ebx + 4], eax
push dword [esi + 0x10]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
movzx eax, al
mov dword [ebx + 8], eax
push dword [esi + 0x14]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
movzx eax, al
add esp, 0x18
mov dword [ebx + 0xc], eax
test esi, esi
je 0x429a07
mov eax, dword [ebp - 0x818]
sub eax, esi
sar eax, 2
push eax
push esi
call fcn.0043a4a0
mov dword [ebp - 0x820], 0
mov dword [ebp - 0x81c], 0
mov dword [ebp - 0x818], 0
mov esi, dword [ebp - 0x82c]
inc edi
add ebx, 0x1c
cmp edi, dword [ebp - 0x834]
jl 0x429940
mov ebx, dword [ebp - 0x838]
test ebx, ebx
je 0x429a31
push ebx
call dword [sym.imp.mfc140u.dll_operator_1]
add esp, 4
test esi, esi
je 0x429a47
mov eax, dword [ebp - 0x824]
sub eax, esi
sar eax, 2
push eax
push esi
call fcn.0043a4a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044632d
mov esp, ebp
pop ebp
ret