Function at 0x426fd0
Capabilities:
Get file size
Read file on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x48da81
push eax
mov dword fs:[0], esp
sub esp, 0xbc
push ebx
push ebp
push esi
mov esi, ecx
push edi
cmp byte [esi + 0x10], 0xdb
je 0x427004
xor ebp, ebp
push ebp
call fcn.0041c9b0
add esp, 4
jmp 0x427006
xor ebp, ebp
mov eax, dword [esi + 0x14]
cmp eax, ebp
je 0x427020
mov cl, byte [esi + 0x11]
test cl, cl
jne 0x42701d
push eax
call fcn.0047d7af
add esp, 4
mov dword [esi + 0x14], ebp
lea ecx, [esp + 0x44]
mov dword [esi + 0x18], ebp
mov dword [esi + 0x1c], ebp
mov byte [esi + 0x11], 0
call fcn.00420f80
mov eax, dword [esp + 0xdc]
lea ecx, [esp + 0x44]
push eax
mov dword [esp + 0xd8], ebp
call fcn.00421300
mov edi, dword [esp + 0xe0]
lea ecx, [esp + 0x18]
push edi
lea edx, [esp + 0x48]
push ecx
push edx
call fcn.00423790
mov ebx, eax
add esp, 0xc
cmp ebx, 0xffffffff
je 0x427132
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x4270c5
test edi, edi
je 0x427127
lea ecx, [esp + 0x1c]
call fcn.0041d9e0
lea ecx, [esp + 0x1c]
mov byte [esp + 0xd4], 1
call fcn.0041ef70
mov esi, dword [edi]
lea ecx, [esp + 0x1c]
call fcn.0041c940
push eax
mov ecx, edi
call dword [esi + 0x10]
lea ecx, [esp + 0x1c]
mov byte [esp + 0xd4], 0
call fcn.0041dcd0
jmp 0x427127
test ebp, ebp
jne 0x4270ee
push ebp
push ebx
call fcn.004563b0
add esp, 8
lea ecx, [esp + 0x44]
mov dword [esp + 0xd4], 0xffffffff
call fcn.00421050
mov al, 1
jmp 0x427214
lea eax, [ebp + 4]
push eax
call fcn.0047dc6a
mov edi, eax
add esp, 4
test edi, edi
mov dword [esi + 0x14], edi
jne 0x42714d
mov esi, dword [esp + 0xe0]
test esi, esi
je 0x427127
mov eax, dword [esi]
push str.Out_of_memory_when_loading_Unicode_file_into_data_buffer.
mov ecx, esi
call dword [eax + 0x10]
mov edx, dword [esi]
push ebp
push str.fileSize
mov ecx, esi
call dword [edx + 0x2c]
push 0
push ebx
call fcn.004563b0
add esp, 8
lea ecx, [esp + 0x44]
mov dword [esp + 0xd4], 0xffffffff
call fcn.00421050
xor al, al
jmp 0x427214
lea ecx, [ebp + 4]
xor eax, eax
mov edx, ecx
push 0
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [esi + 0x14]
lea eax, [esp + 0x18]
push eax
push ebp
push ecx
push ebx
mov dword [esi + 0x18], ebp
mov dword [esi + 0x1c], ebp
mov dword [esp + 0x28], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov esi, dword [esp + 0xe0]
mov byte [esp + 0x13], 1
test eax, eax
jne 0x4271d6
test esi, esi
je 0x4271d1
lea ecx, [esp + 0x1c]
call fcn.0041d9e0
lea ecx, [esp + 0x1c]
mov byte [esp + 0xd4], 2
call fcn.0041ef70
mov edi, dword [esi]
lea ecx, [esp + 0x1c]
call fcn.0041c940
push eax
mov ecx, esi
call dword [edi + 0x10]
lea ecx, [esp + 0x1c]
mov byte [esp + 0xd4], 0
call fcn.0041dcd0
mov byte [esp + 0x13], 0
cmp dword [esp + 0x14], ebp
je 0x4271f1
test esi, esi
je 0x4271ec
mov edx, dword [esi]
push str.Failed_to_read_the_entire_file
mov ecx, esi
call dword [edx + 0x10]
mov byte [esp + 0x13], 0
push 0
push ebx
call fcn.004563b0
add esp, 8
lea ecx, [esp + 0x44]
mov dword [esp + 0xd4], 0xffffffff
call fcn.00421050
mov al, byte [esp + 0x13]
mov ecx, dword [esp + 0xcc]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xc8
ret 8