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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a067b
mov eax, dword fs:[0]
push eax
sub esp, 0x82c
mov eax, dword [0x4be014]
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 [0x4c0f30], 0
je 0x426ee7
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 0x4b4940
push eax
call fcn.0041da40
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 0x426ee7
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 0x426d75
test ebx, ebx
je 0x426ee7
push ebx
call dword [sym.imp.mfc140u.dll_operator_1]
add esp, 4
jmp 0x426ee7
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xorps xmm0, xmm0
mov dword [ebp - 0x824], 0
push 0x4b4950
mov edx, ebx
movq qword [ebp - 0x82c], xmm0
lea ecx, [ebp - 0x82c]
call fcn.00425050
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 0x426ec3
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.00425050
mov eax, dword [ebp - 0x81c]
add esp, 4
mov esi, dword [ebp - 0x820]
sub eax, esi
sar eax, 2
cmp eax, 6
jb 0x426e73
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 0x426ea7
mov eax, dword [ebp - 0x818]
sub eax, esi
sar eax, 2
push eax
push esi
call fcn.00436c20
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 0x426de0
mov ebx, dword [ebp - 0x838]
test ebx, ebx
je 0x426ed1
push ebx
call dword [sym.imp.mfc140u.dll_operator_1]
add esp, 4
test esi, esi
je 0x426ee7
mov eax, dword [ebp - 0x824]
sub eax, esi
sar eax, 2
push eax
push esi
call fcn.00436c20
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.004429bd
mov esp, ebp
pop ebp
ret