Function at 0x452aa0
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x540d93
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x7c
mov eax, dword [0x5ab980]
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov dword [esp + 0x10], eax
xor ebx, ebx
push 0x2710
push 0x5b08e8
mov dword [esp + 0x9c], ebx
call fcn.004224c0
add esp, 8
test eax, eax
je 0x452af3
push reloc.oledlg.dll_OleUIInsertObjectA
call fcn.0041e1e0
add esp, 4
lea edx, [esi + 0x148]
mov ecx, 6
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x18]
push ebx
push ecx
push 0x18
mov dword [esp + 0x28], edx
push edx
mov edx, dword [esi + 0x164]
mov dword [esp + 0x28], ebx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x452b89
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0xa4]
lea edx, [esp + 0x1c]
push eax
push edx
mov dword [ecx], eax
call fcn.004226f0
add esp, 8
mov ecx, dword [esp + 0x9c]
mov eax, dword [eax]
push eax
lea eax, [esp + 0x14]
mov edx, dword [ecx]
mov byte [esp + 0x98], 1
push edx
push str.FileBlockStorage__Read_1__:__s___s
push eax
call fcn.0050e6c7
add esp, 0x10
lea ecx, [esp + 0x1c]
mov byte [esp + 0x94], bl
call fcn.005128e4
mov ecx, dword [esp + 0x10]
push 0xffffb140
push ecx
jmp 0x452d80
mov ecx, dword [esi + 0x14c]
cmp ecx, 0x1315476
jne 0x452f80
mov edx, dword [esi + 0x150]
mov eax, dword [esi + 0xec]
cmp edx, eax
jne 0x452f80
mov ax, word [esi + 0x158]
cmp ax, word [esi + 0x15a]
jb 0x452f80
mov ecx, dword [esi + 0x174]
and eax, 0xffff
add eax, 2
cmp ecx, eax
jge 0x452be3
push 0xffffffffffffffff
push eax
lea ecx, [esi + 0x16c]
call fcn.00511241
mov edi, dword [esi + 0x170]
cmp edi, ebx
jne 0x452c74
mov eax, dword [esp + 0xa4]
lea ecx, [esp + 0x1c]
push 7
push ecx
mov dword [eax], 7
call fcn.004226f0
add esp, 8
mov edx, dword [eax]
mov eax, dword [esp + 0x9c]
push edx
lea edx, [esp + 0x14]
mov ecx, dword [eax]
mov byte [esp + 0x98], 3
push ecx
push str.FileBlockStorage__Read_Memory_Fault__:__s___s
push edx
call fcn.0050e6c7
add esp, 0x10
lea ecx, [esp + 0x1c]
mov byte [esp + 0x94], bl
call fcn.005128e4
mov eax, dword [esp + 0x10]
push 0xffffb13e
push eax
call fcn.004227e0
add esp, 8
lea ecx, [esp + 0x10]
mov dword [esp + 0x94], 0xffffffff
call fcn.005128e4
mov eax, 0xfffffc22
jmp 0x45308c
xor ebp, ebp
mov dword [esp + 0x14], ebx
mov bp, word [esi + 0x15a]
cmp ebp, ebx
jne 0x452ca0
lea ecx, [esp + 0x10]
mov dword [esp + 0x94], 0xffffffff
call fcn.005128e4
xor eax, eax
jmp 0x45308c
mov edx, dword [esi + 0x164]
lea ecx, [esp + 0x14]
push ebx
push ecx
push ebp
push edi
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, ebx
jne 0x452d19
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0xa4]
lea edx, [esp + 0x1c]
push eax
push edx
mov dword [ecx], eax
call fcn.004226f0
add esp, 8
mov ecx, dword [esp + 0x9c]
mov eax, dword [eax]
push eax
lea eax, [esp + 0x14]
mov edx, dword [ecx]
mov byte [esp + 0x98], 4
push edx
push str.FileBlockStorage__ReadData_read__:__s___s
push eax
call fcn.0050e6c7
add esp, 0x10
lea ecx, [esp + 0x1c]
mov byte [esp + 0x94], bl
call fcn.005128e4
mov ecx, dword [esp + 0x10]
push 0xffffb13d
push ecx
jmp 0x452d80
cmp ebp, dword [esp + 0x14]
je 0x452da6
mov edx, dword [esp + 0xa4]
lea eax, [esp + 0x1c]
push 0x1e
push eax
mov dword [edx], 0x1e
call fcn.004226f0
add esp, 8
mov edx, dword [esp + 0x9c]
mov ecx, dword [eax]
push ecx
lea ecx, [esp + 0x14]
mov eax, dword [edx]
mov byte [esp + 0x98], 5
push eax
push str.FileBlockStorage__ReadData_check__:__s___s
push ecx
call fcn.0050e6c7
add esp, 0x10
lea ecx, [esp + 0x1c]
mov byte [esp + 0x94], bl
call fcn.005128e4
mov edx, dword [esp + 0x10]
push 0xffffb13d
push edx
call fcn.004227e0
add esp, 8
mov dword [esp + 0x94], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.005128e4
mov eax, 0xffffffec
jmp 0x45308c
cmp dword [esp + 0xa0], ebx
jne 0x452dca
mov dword [esp + 0x94], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.005128e4
xor eax, eax
jmp 0x45308c
test byte [esi + 0x15c], 1
je 0x452f30
push 0x400
lea ecx, [esp + 0x68]
call fcn.0051c058
xor eax, eax
lea ecx, [esp + 0x3c]
mov ax, word [esi + 0x158]
mov byte [esp + 0x94], 6
add eax, 2
push eax
call fcn.0051c058
xor ecx, ecx
push ebx
mov cx, word [esi + 0x15a]
mov byte [esp + 0x98], 7
push ecx
push edi
lea ecx, [esp + 0x70]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x2c], 0xffffffff
call fcn.0051c0e0
lea edx, [esp + 0x20]
push ebx
lea eax, [esi + 0x194]
push edx
lea ecx, [esp + 0x44]
push eax
lea edx, [esp + 0x70]
push ecx
push edx
lea ecx, [esp + 0x3c]
call fcn.00477990
lea ecx, [esp + 0x64]
mov ebp, eax
call fcn.0051c10b
cmp ebp, 1
je 0x452e99
lea ecx, [esp + 0x3c]
mov byte [esp + 0x94], 6
call fcn.0051c11d
lea ecx, [esp + 0x64]
mov byte [esp + 0x94], bl
call fcn.0051c11d
lea ecx, [esp + 0x10]
mov dword [esp + 0x94], 0xffffffff
call fcn.005128e4
or eax, 0xffffffff
jmp 0x45308c
lea ecx, [esp + 0x3c]
call fcn.0051749b
xor ecx, ecx
mov cx, word [esi + 0x158]
cmp ecx, eax
je 0x452eee
lea ecx, [esp + 0x3c]
mov byte [esp + 0x94], 6
call fcn.0051c11d
lea ecx, [esp + 0x64]
mov byte [esp + 0x94], bl
call fcn.0051c11d
lea ecx, [esp + 0x10]
mov dword [esp + 0x94], 0xffffffff
call fcn.005128e4
mov eax, 0xffffff88
jmp 0x45308c
mov edx, dword [esp + 0x3c]
push ebx
push ebx
lea ecx, [esp + 0x44]
call dword [edx + 0x28]
xor eax, eax
lea ecx, [esp + 0x3c]
mov ax, word [esi + 0x158]
push eax
push edi
call fcn.0051c23a
lea ecx, [esp + 0x3c]
mov byte [esp + 0x94], 6
call fcn.0051c11d
lea ecx, [esp + 0x64]
mov byte [esp + 0x94], bl
call fcn.0051c11d
xor ecx, ecx
lea edx, [esp + 0x24]
mov cx, word [esi + 0x158]
add esi, 0x160
push esi
push edx
push edi
mov dword [esp + 0x30], ecx
call fcn.004ed3f0
mov ecx, dword [esp + 0x28]
add esp, 0xc
mov dword [esi], eax
mov dword [esp + 0x94], 0xffffffff
mov edx, dword [ecx]
lea ecx, [esp + 0x10]
cmp eax, edx
je 0x452dbe
call fcn.005128e4
mov eax, 0xffffff88
jmp 0x45308c
mov eax, dword [esi + 0x150]
or edi, 0xffffffff
cmp eax, edi
jne 0x453000
cmp dword [esi + 0x154], 0xfffffffe
jne 0x452fa2
cmp ecx, 0x1315476
je 0x453077
cmp eax, edi
jne 0x453000
cmp dword [esi + 0x154], edi
jne 0x453000
cmp ecx, 0x1315476
je 0x452fc2
mov dword [esp + 0x94], edi
jmp 0x452d93
mov ecx, esi
call fcn.00452a50
mov ebp, dword [esi + 0x10]
mov edx, dword [esp + 0xa8]
mov eax, dword [esp + 0xa0]
inc ebp
push edx
push eax
mov ecx, esi
mov dword [esi + 0x10], ebp
call fcn.00453c90
lea ecx, [esp + 0x10]
mov esi, eax
mov dword [esp + 0x94], edi
call fcn.005128e4
mov eax, esi
jmp 0x45308c
mov ecx, dword [esp + 0xa4]
lea edx, [esp + 0x1c]
push 0xd
push edx
mov dword [ecx], 0xd
call fcn.004226f0
add esp, 8
mov ecx, dword [esp + 0x9c]
mov eax, dword [eax]
push eax
lea eax, [esp + 0x14]
mov edx, dword [ecx]
mov byte [esp + 0x98], 2
push edx
push str.FileBlockStorage__Read_FileId_or_Schema__:__s___s
push eax
call fcn.0050e6c7
add esp, 0x10
lea ecx, [esp + 0x1c]
mov byte [esp + 0x94], bl
call fcn.005128e4
mov ecx, dword [esp + 0x10]
push 0xffffb13f
push ecx
call fcn.004227e0
mov edx, dword [esi + 0x164]
add esp, 8
push 1
push ebx
push 0xffffffffffffffe8
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea ecx, [esp + 0x10]
mov dword [esp + 0x94], edi
call fcn.005128e4
mov eax, 0xffffffea
mov ecx, dword [esp + 0x8c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x88
ret 0x10