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

Disassembly:
mov eax, 0x47792e
call fcn.00444d58
sub esp, 0xb4
mov al, byte [ebp + 0xc]
and byte [ebp + 0xf], 0
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
mov dword [ebp - 0x10], esp
mov byte [esi + 0x2ec], al
cmp dword [esi + 0x2a0], edi
je 0x436c89
lea eax, [ebp - 0x15]
push 1
push eax
lea ecx, [ebp - 0x54]
push dword [ebp + 8]
call fcn.0040175f
lea eax, [ebp - 0x54]
push 1
push eax
lea eax, [ebp - 0xc0]
push eax
mov ecx, esi
mov dword [ebp - 4], edi
call fcn.0043712d
mov ebx, eax
lea eax, [esi + 4]
push 1
push eax
lea eax, [ebp - 0x98]
push eax
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.0043712d
push ebx
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.00414db9
mov ebx, eax
lea ecx, [ebp - 0x98]
neg ebx
sbb bl, bl
mov byte [ebp - 4], 1
inc bl
call fcn.00401bc2
and byte [ebp - 4], 0
lea ecx, [ebp - 0xc0]
call fcn.00401bc2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.00401bc2
test bl, bl
je 0x436c89
mov byte [ebp + 0xf], 1
lea eax, [ebp + 0xb]
push 1
push eax
lea ecx, [ebp - 0x54]
push dword [ebp + 8]
call fcn.0040175f
lea ebx, [esi + 4]
lea eax, [ebp - 0x54]
push eax
mov ecx, ebx
mov dword [ebp - 4], 3
call fcn.0040950c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.00401bc2
mov ecx, ebx
call fcn.0040198d
push eax
call fcn.00440c87
test eax, eax
je 0x436f2d
push edi
push edi
push 3
push edi
push 1
push SysReAllocStringLen
mov ecx, ebx
call fcn.0040198d
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x28], ebx
push edi
push ebx
mov dword [ebp - 4], 4
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
mov dword [ebp - 0x20], eax
je 0x436f1d
push eax
call fcn.00444d77
mov dword [ebp + 8], eax
mov eax, str.PrereqEngine:
mov edx, eax
pop ecx
test edx, edx
mov byte [ebp - 4], 5
lea ecx, [esi + 0x2c0]
jne 0x436d31
mov eax, 0x498d9c
push eax
call fcn.00401964
and byte [esi + 0x15c], 0
and byte [esi + 0x15e], 0
and byte [esi + 0x15d], 0
lea ecx, [esi + 0x164]
mov byte [esi + 0x160], 1
call fcn.0043d6b3
mov eax, dword [0x47b614]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x198]
cmp eax, edi
je 0x436d81
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push eax
call ebx
mov dword [esi + 0x198], edi
jmp 0x436d87
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push dword [ebp - 0x14]
lea ecx, [esi + 0x180]
push edi
call fcn.0040975c
mov eax, dword [0x47b614]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x1c0]
cmp eax, edi
je 0x436db1
push eax
call ebx
mov dword [esi + 0x1c0], edi
push dword [ebp - 0x14]
lea ecx, [esi + 0x1a8]
push edi
call fcn.0040975c
cmp byte [ebp + 0xf], 0
jne 0x436e1a
mov eax, dword [0x47b614]
mov dword [ebp + 0xc], eax
mov eax, dword [esi + 0x1e8]
cmp eax, edi
je 0x436de1
push eax
call ebx
mov dword [esi + 0x1e8], edi
push dword [ebp + 0xc]
lea ecx, [esi + 0x1d0]
push edi
call fcn.0040975c
mov eax, dword [0x47b614]
mov dword [ebp + 0xc], eax
mov eax, dword [esi + 0x210]
cmp eax, edi
je 0x436e0b
push eax
call ebx
mov dword [esi + 0x210], edi
push dword [ebp + 0xc]
lea ecx, [esi + 0x1f8]
push edi
call fcn.0040975c
mov eax, dword [0x47b614]
mov dword [ebp + 0xc], eax
mov eax, dword [esi + 0x238]
cmp eax, edi
je 0x436e35
push eax
call ebx
mov dword [esi + 0x238], edi
push dword [ebp + 0xc]
lea ecx, [esi + 0x220]
push edi
call fcn.0040975c
mov eax, dword [0x47b614]
mov dword [ebp + 0xc], eax
mov eax, dword [esi + 0x260]
cmp eax, edi
je 0x436e5f
push eax
call ebx
mov dword [esi + 0x260], edi
push dword [ebp + 0xc]
lea ecx, [esi + 0x248]
push edi
call fcn.0040975c
mov eax, dword [0x47b614]
mov dword [ebp + 0xc], eax
mov eax, dword [esi + 0x2b0]
cmp eax, edi
je 0x436e89
push eax
call ebx
mov dword [esi + 0x2b0], edi
push dword [ebp + 0xc]
lea ecx, [esi + 0x298]
push edi
call fcn.0040975c
lea ecx, [esi + 0x170]
call fcn.0043d74b
lea eax, [ebp - 0x2c]
push edi
push eax
push dword [ebp - 0x20]
push dword [ebp + 8]
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push 1
lea ecx, [ebp - 0x70]
push dword [ebp + 8]
mov dword [ebp - 0x24], esi
call fcn.0042c35c
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 6
call fcn.0042c712
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 5
call fcn.0040a756
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0xc], edi
je 0x436f00
push eax
lea ecx, [esi + 0x1f4]
call fcn.0040950c
push eax
lea ecx, [esi + 0x1cc]
call fcn.0040950c
mov ecx, esi
call fcn.004394da
jmp 0x436f11
push dword [ebp + 8]
call fcn.00444394
mov ebx, dword [ebp - 0x1c]
pop ecx
cmp ebx, edi
je 0x436f2d
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, edi
je 0x436f2d
push ebx
call eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0xc