Function at 0x453230
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x540e20
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov eax, dword [0x5ab980]
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov dword [esp + 0x10], eax
xor ebx, ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0x28], ebx
mov eax, dword [esp + 0x30]
mov byte [esp + 0x28], 1
cmp eax, ebx
jne 0x453273
mov eax, str.Spanned_File
push eax
lea ecx, [esp + 0x18]
call fcn.00512a6d
lea ebp, [esi + 0xe8]
mov ecx, 0x18
xor eax, eax
mov edi, ebp
rep stosd dword es:[edi], eax
mov ecx, dword [esi + 0x164]
lea eax, [esp + 0x1c]
push ebx
push eax
push 0x60
push ebp
push ecx
mov dword [esp + 0x30], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4533a2
cmp dword [ebp], 0x1315476
jne 0x453590
mov ax, word [esi + 0x140]
cmp ax, bx
je 0x453590
mov edx, dword [0x5ab980]
mov dword [esp + 0x18], edx
and eax, 0xffff
lea ecx, [esp + 0x18]
inc eax
mov byte [esp + 0x28], 5
push eax
call fcn.00512d14
xor edx, edx
lea ecx, [esp + 0x1c]
mov dx, word [esi + 0x140]
push ebx
push ecx
push edx
push eax
mov eax, dword [esi + 0x164]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x453400
xor ecx, ecx
mov cx, word [esi + 0x140]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00512d63
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x45355d
mov edx, dword [esp + 0x18]
push eax
push edx
call fcn.004f9670
add esp, 8
cmp eax, ebx
je 0x45349a
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
push eax
lea edx, [esp + 0x1c]
push ecx
push edx
mov ecx, esi
call fcn.004530b0
mov edi, eax
mov byte [esp + 0x28], 1
cmp edi, ebx
lea ecx, [esp + 0x18]
jne 0x453470
call fcn.005128e4
mov ecx, 0x18
xor eax, eax
mov edi, ebp
push ebx
rep stosd dword es:[edi], eax
mov ecx, dword [esi + 0x164]
lea eax, [esp + 0x20]
push eax
push 0x60
push ebp
push ecx
mov dword [esp + 0x30], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4532b0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esp + 0x38]
push eax
mov dword [edx], eax
lea eax, [esp + 0x3c]
push eax
call fcn.004226f0
add esp, 8
mov ecx, dword [eax]
mov edx, dword [esp + 0x14]
push ecx
push edx
lea eax, [esp + 0x18]
push str.FileStorage__Read_1__:__s___s
push eax
mov byte [esp + 0x38], 2
call fcn.0050e6c7
add esp, 0x10
lea ecx, [esp + 0x38]
mov byte [esp + 0x28], 1
call fcn.005128e4
mov ecx, dword [esp + 0x10]
push 0xffffb14a
push ecx
call fcn.004227e0
add esp, 8
jmp 0x45362c
push ebx
lea ecx, [esp + 0x1c]
call fcn.00512d63
mov edx, dword [esp + 0x38]
lea eax, [esp + 0x38]
push 0xd
push eax
mov dword [edx], 0xd
call fcn.004226f0
add esp, 8
mov ecx, dword [eax]
mov edx, dword [esp + 0x14]
push ecx
push edx
lea eax, [esp + 0x18]
push str.FileStorage__Read_Name__:__s___s
push eax
mov byte [esp + 0x38], 6
call fcn.0050e6c7
add esp, 0x10
lea ecx, [esp + 0x38]
mov byte [esp + 0x28], 5
call fcn.005128e4
mov ecx, dword [esp + 0x10]
push 0xffffb148
push ecx
call fcn.004227e0
add esp, 8
mov byte [esp + 0x28], 1
lea ecx, [esp + 0x18]
jmp 0x453627
call fcn.005128e4
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], bl
call fcn.005128e4
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0xffffffff
call fcn.005128e4
mov eax, edi
jmp 0x45364f
mov edx, dword [esi + 0xec]
mov eax, dword [esp + 0x34]
cmp edx, eax
jle 0x453513
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0x30]
push 0xd
push ecx
mov dword [eax], 0xd
call fcn.004226f0
add esp, 8
mov edx, dword [eax]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push edx
push eax
push ecx
lea edx, [esp + 0x1c]
push str.FileStorage__Read_FileId__:__s__s___s
push edx
mov byte [esp + 0x3c], 7
call fcn.0050e6c7
add esp, 0x14
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 5
call fcn.005128e4
mov eax, dword [esp + 0x10]
push 0xffffb147
push eax
call fcn.004227e0
add esp, 8
mov byte [esp + 0x28], 1
lea ecx, [esp + 0x18]
jmp 0x453627
cmp dword [esi + 0x10c], ebx
je 0x45355d
mov edx, dword [esp + 0x38]
mov ecx, dword [esi + 0x110]
mov byte [esp + 0x28], 1
mov dword [edx], ecx
lea ecx, [esp + 0x18]
call fcn.005128e4
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], bl
call fcn.005128e4
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0xffffffff
call fcn.005128e4
mov eax, 0xffffffea
jmp 0x45364f
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], 1
call fcn.005128e4
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], bl
call fcn.005128e4
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0xffffffff
call fcn.005128e4
xor eax, eax
jmp 0x45364f
mov edi, dword [esp + 0x38]
mov dword [edi], 0xd
mov eax, dword [0x5ab980]
mov dword [esp + 0x38], eax
mov edx, dword [esi + 0x164]
push ebx
lea ecx, [esp + 0x3c]
push edi
push ecx
push edx
mov ecx, esi
mov byte [esp + 0x38], 3
call fcn.00453670
test eax, eax
jne 0x4535cf
mov byte [esp + 0x28], 1
lea ecx, [esp + 0x38]
jmp 0x453530
mov eax, dword [edi]
lea ecx, [esp + 0x3c]
push eax
push ecx
call fcn.004226f0
add esp, 8
mov edx, dword [eax]
mov eax, dword [esp + 0x14]
push edx
push eax
lea ecx, [esp + 0x18]
push str.FileStorage__Read_File_version__:__s___s
push ecx
mov byte [esp + 0x38], 4
call fcn.0050e6c7
add esp, 0x10
lea ecx, [esp + 0x3c]
mov byte [esp + 0x28], 3
call fcn.005128e4
mov edx, dword [esp + 0x10]
push 0xffffb149
push edx
call fcn.004227e0
add esp, 8
mov byte [esp + 0x28], 1
lea ecx, [esp + 0x38]
call fcn.005128e4
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], bl
call fcn.005128e4
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0xffffffff
call fcn.005128e4
mov eax, 0xffffffec
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 0x10