Function at 0x4088a0
Capabilities:
Read file on windows

Disassembly:
push ebx
push ebp
push esi
push edi
call fcn.00409040
mov esi, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov ecx, 0x11
xor eax, eax
mov edi, esi
xor ebx, ebx
rep stosd dword es:[edi], eax
mov eax, dword [ebp]
mov edi, dword [esp + 0x14]
test eax, eax
jne 0x4088d3
push ebp
push edi
call fcn.00408970
add esp, 8
cmp dword [ebp], 0
je 0x408956
push 0x44
push esi
push edi
call fcn.0041f817
add esp, 0xc
xor ebx, ebx
cmp eax, 0x44
sete bl
test ebx, ebx
je 0x40893a
mov eax, dword [esi + 0x34]
test eax, eax
je 0x408923
mov ecx, dword [esi + 0x38]
push 0
add ecx, eax
push ecx
push edi
call fcn.00423e77
add esp, 0xc
cmp eax, 0xffffffff
jne 0x408923
call fcn.0041fecb
mov edx, dword [eax]
push edx
push str.ReadComponent:_no_seek_past_component
call fcn.00409020
add esp, 8
push 1
push 0
push edi
call fcn.00423e77
add esp, 0xc
mov dword [ebp], eax
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
ret
call fcn.0041fecb
mov eax, dword [eax]
push eax
push str.ReadComponent:_no_read
call fcn.00409020
add esp, 8
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
ret
push 0xffffffffffffffff
push str.ReadComponent:_no_read_position
call fcn.00409020
add esp, 8
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x408c60
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
push edi
xor ebp, ebp
call fcn.00409040
mov ebx, dword [esp + 0x64]
mov eax, dword [esp + 0x68]
mov esi, dword [esp + 0x58]
mov dword [ebx], ebp
mov dword [eax], ebp
test esi, esi
jl 0x408d88
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x408d88
cmp byte [eax], 0
je 0x408d88
mov ecx, dword [esp + 0x60]
lea edx, [esp + 0x10]
push ecx
push eax
push edx
push esi
call fcn.00408ba0
add esp, 0x10
test eax, eax
je 0x408d97
mov eax, dword [esp + 0x44]
test eax, eax
je 0x408d97
push eax
call fcn.0041eb40
mov edi, eax
add esp, 4
test edi, edi
mov dword [ebx], edi
je 0x408d6a
mov ecx, dword [esp + 0x44]
xor eax, eax
mov edx, ecx
push ebp
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x4c]
push eax
push esi
call fcn.00423e77
add esp, 0xc
cmp eax, 0xffffffff
je 0x408d4b
mov ecx, dword [esp + 0x44]
mov edx, dword [ebx]
push ecx
push edx
push esi
call fcn.0041f817
mov ecx, dword [esp + 0x50]
add esp, 0xc
cmp ecx, eax
jne 0x408d2c
mov eax, dword [esp + 0x68]
pop edi
pop esi
pop ebp
mov dword [eax], ecx
mov eax, 1
pop ebx
add esp, 0x44
ret
call fcn.0041fecb
mov ecx, dword [eax]
push ecx
push str.GExeBind_GetData:_no_read_data
call fcn.00409020
add esp, 8
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret
call fcn.0041fecb
mov edx, dword [eax]
push edx
push str.GExeBind_GetData:_no_seek_data
call fcn.00409020
add esp, 8
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GExeBind_GetData:_no_alloc
call fcn.00409020
add esp, 8
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret
push 0xffffffffffffffff
push str.GExeBind_GetData:_target_and_or_tag_empty
call fcn.00409020
add esp, 8
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x44
ret