Function at 0x42b780
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6dadfc
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x40
mov eax, dword [0x79a200]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x50], ecx
mov esi, dword [ebx + 8]
test esi, esi
jne 0x42b7cf
xor al, al
jmp 0x42bafb
xorps xmm0, xmm0
mov dword [ebp - 0x44], vtable.CFileStream.0
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 4], 0
mov eax, dword [0x7760ac]
cmp eax, 0x42b090
je 0x42b815
lea ecx, [ebp - 0x44]
call eax
mov ax, word [0x776078]
mov word [ebp - 0x20], ax
mov al, byte [0x77607a]
mov byte [ebp - 0x1e], al
lea eax, [ebp - 0x20]
push eax
push esi
mov dword [ebp - 0x24], 0
call fcn.006a0187
mov ecx, esi
mov dword [ebp - 0x40], eax
add esp, 8
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42b843
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x3c]
call fcn.0040d880
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x10]
cmp eax, fcn.0042b180
jne 0x42b86d
mov eax, dword [ebp - 0x40]
test eax, eax
setne cl
jmp 0x42b877
lea ecx, [ebp - 0x44]
call eax
mov cl, al
mov eax, dword [ebp - 0x40]
test cl, cl
je 0x42ba9e
test eax, eax
jne 0x42b89d
push 0xda
push 0x775fe8
push str.m_pStream
call fcn.0042b250
mov eax, dword [ebp - 0x40]
add esp, 0xc
push eax
call fcn.006a8b0a
add esp, 4
mov esi, eax
push 2
push 0
push dword [ebp - 0x40]
call fcn.006a04d0
add esp, 0xc
push dword [ebp - 0x40]
call fcn.006a8b0a
add esp, 4
push 0
push esi
push dword [ebp - 0x40]
call fcn.006a04d0
mov eax, dword [ebp - 0x40]
add esp, 0xc
test eax, eax
jne 0x42b8f1
push 0xda
push 0x775fe8
push str.m_pStream
call fcn.0042b250
mov eax, dword [ebp - 0x40]
add esp, 0xc
push eax
call fcn.006a8b0a
add esp, 4
mov edi, eax
push 2
push 0
push dword [ebp - 0x40]
call fcn.006a04d0
add esp, 0xc
push dword [ebp - 0x40]
call fcn.006a8b0a
add esp, 4
mov esi, eax
push 0
push edi
push dword [ebp - 0x40]
call fcn.006a04d0
add esp, 0xc
lea eax, [esi + 1]
push eax
call fcn.00545633
mov dword [ebp - 0x4c], eax
add esp, 4
mov eax, dword [ebp - 0x40]
test eax, eax
jne 0x42b956
push 0xda
push 0x775fe8
push str.m_pStream
call fcn.0042b250
mov eax, dword [ebp - 0x40]
add esp, 0xc
push eax
call fcn.006a8b0a
add esp, 4
mov edi, eax
push 2
push 0
push dword [ebp - 0x40]
call fcn.006a04d0
add esp, 0xc
push dword [ebp - 0x40]
call fcn.006a8b0a
add esp, 4
mov esi, eax
push 0
push edi
push dword [ebp - 0x40]
call fcn.006a04d0
mov edi, dword [ebp - 0x4c]
lea eax, [esi + 1]
add esp, 0xc
push eax
push 0
push edi
call fcn.00690e10
mov eax, dword [ebp - 0x40]
add esp, 0xc
test eax, eax
jne 0x42b9be
push 0xda
push 0x775fe8
push str.m_pStream
call fcn.0042b250
mov eax, dword [ebp - 0x40]
add esp, 0xc
push eax
call fcn.006a8b0a
add esp, 4
mov esi, eax
push 2
push 0
push dword [ebp - 0x40]
call fcn.006a04d0
add esp, 0xc
push dword [ebp - 0x40]
call fcn.006a8b0a
add esp, 4
mov dword [ebp - 0x4c], eax
push 0
push esi
push dword [ebp - 0x40]
call fcn.006a04d0
mov ecx, dword [ebp - 0x40]
add esp, 0xc
test ecx, ecx
jne 0x42ba15
push 0xf9
push 0x775fe8
push str.m_pStream
call fcn.0042b250
mov ecx, dword [ebp - 0x40]
add esp, 0xc
push ecx
push dword [ebp - 0x4c]
push 1
push edi
call fcn.006a7c38
mov esi, dword [ebp - 0x50]
add esp, 0x10
mov ecx, dword [esi]
test ecx, ecx
je 0x42ba33
mov eax, dword [ecx]
push 1
call dword [eax]
push 0x70
call fcn.00553993
add esp, 4
mov dword [ebp - 0x50], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x42ba53
mov ecx, eax
call fcn.0042d020
mov ecx, eax
jmp 0x42ba55
xor ecx, ecx
mov byte [ebp - 4], 0
push 0
mov dword [esi], ecx
mov eax, dword [ecx]
push 0
push edi
call dword [eax + 8]
push edi
call fcn.0054562e
mov ecx, dword [esi]
add esp, 4
cmp byte [ecx + 0x40], 0
je 0x42bae5
cmp dword [ecx + 0x5c], 0xf
lea eax, [ecx + 0x48]
jbe 0x42ba81
mov eax, dword [eax]
add ecx, 0x20
cmp dword [ecx + 0x14], 0xf
jbe 0x42ba8c
mov ecx, dword [ecx]
push eax
push ecx
push str.Error_in__s:__s_n
call fcn.0042b630
mov eax, dword [ebp - 0x40]
add esp, 0xc
mov byte [ebp - 0x45], 0
mov dword [ebp - 0x44], vtable.CFileStream.0
test eax, eax
je 0x42babd
push eax
call fcn.006a065f
add esp, 4
mov dword [ebp - 0x40], 0
mov ecx, dword [ebp - 0x28]
cmp ecx, 0xf
jbe 0x42baf8
mov edx, dword [ebp - 0x3c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x42baee
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42bb1b
jmp 0x42baee
mov eax, dword [ebp - 0x40]
mov byte [ebp - 0x45], 1
jmp 0x42baa2
push ecx
push edx
call fcn.0068d77d
add esp, 8
mov al, byte [ebp - 0x45]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0068d76f
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
call fcn.006944a3
int3