Function at 0x100bf250
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x454
push ebx
push ebp
push esi
push edi
mov ebx, ecx
lea eax, [esp + 0x10]
push ebx
push 1
push 4
push eax
mov dword [esp + 0x24], ebx
call fcn.100f6eeb
add esp, 0x10
cmp eax, 1
je 0x100bf284
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x454
ret
mov edi, dword [esp + 0x10]
cmp edi, 2
jbe 0x100bf2c9
mov ecx, dword [0x10154f94]
mov eax, 0x77975b9
sub ecx, dword [0x10154f8c]
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, edi
jae 0x100bf2c9
cmp edi, 0x3bcbad
ja 0x100bf51b
push edi
mov ecx, 0x10154f8c
call fcn.100c09e0
mov edi, dword [esp + 0x10]
xor esi, esi
test edi, edi
je 0x100bf2fb
nop
push ebx
push 1
lea eax, [esp + 0x20]
push 0x448
push eax
call fcn.100f6eeb
add esp, 0x10
lea eax, [esp + 0x18]
mov ecx, 0x10154f8c
push eax
call fcn.100c0770
inc esi
cmp esi, dword [esp + 0x10]
jb 0x100bf2d0
push ebx
push 1
lea eax, [esp + 0x18]
push 4
push eax
call fcn.100f6eeb
add esp, 0x10
cmp eax, 1
jne 0x100bf277
mov esi, dword [esp + 0x10]
cmp esi, 2
jbe 0x100bf35b
mov ecx, dword [0x10154fa0]
mov eax, 0x77975b9
sub ecx, dword [0x10154f98]
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, esi
jae 0x100bf35b
cmp esi, 0x3bcbad
ja 0x100bf525
push esi
mov ecx, 0x10154f98
call fcn.100c09e0
mov esi, dword [esp + 0x10]
xor edi, edi
test esi, esi
je 0x100bf3ec
push ebx
push 1
lea eax, [esp + 0x20]
push 0x448
push eax
call fcn.100f6eeb
mov ax, word [esp + 0x46e]
add esp, 0x10
test ax, ax
jle 0x100bf3d2
movsx ecx, ax
call fcn.100bd240
cmp eax, 0xffffffff
je 0x100bf3d2
imul esi, eax, 0x1bc
mov eax, dword [0x10154f80]
add eax, 8
push 0xffffffffffffffff
add eax, esi
push eax
lea eax, [esp + 0x28]
push 0x40
push eax
call fcn.100f7825
mov eax, dword [0x10154f80]
add eax, 0x48
push 0xffffffffffffffff
add eax, esi
push eax
lea eax, [esp + 0x78]
push 0x200
push eax
call fcn.100f7825
add esp, 0x20
lea eax, [esp + 0x18]
mov ecx, 0x10154f98
push eax
call fcn.100c0770
inc edi
cmp edi, dword [esp + 0x10]
jb 0x100bf365
push ebx
push 1
lea eax, [esp + 0x18]
push 4
push eax
call fcn.100f6eeb
add esp, 0x10
cmp eax, 1
jne 0x100bf277
mov esi, dword [esp + 0x10]
cmp esi, 2
jbe 0x100bf44c
mov ecx, dword [0x10154fac]
mov eax, 0x77975b9
sub ecx, dword [0x10154fa4]
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, esi
jae 0x100bf44c
cmp esi, 0x3bcbad
ja 0x100bf52f
push esi
mov ecx, 0x10154fa4
call fcn.100c09e0
mov esi, dword [esp + 0x10]
xor ebp, ebp
test esi, esi
je 0x100bf50e
push ebx
push 1
lea eax, [esp + 0x20]
push 0x448
push eax
call fcn.100f6eeb
mov edi, dword [0x10154fa8]
lea eax, [esp + 0x28]
add esp, 0x10
cmp eax, edi
jae 0x100bf4c5
mov ebx, dword [0x10154fa4]
cmp ebx, eax
ja 0x100bf4c5
mov ecx, eax
mov eax, 0x77975b9
sub ecx, ebx
imul ecx
sar edx, 5
mov esi, edx
shr esi, 0x1f
add esi, edx
cmp edi, dword [0x10154fac]
jne 0x100bf4b7
push ecx
mov ecx, 0x10154fa4
call fcn.100c0950
mov edi, dword [0x10154fa8]
mov ebx, dword [0x10154fa4]
test edi, edi
je 0x100bf4f3
imul esi, esi, 0x448
add esi, ebx
jmp 0x100bf4e6
cmp edi, dword [0x10154fac]
jne 0x100bf4de
push ecx
mov ecx, 0x10154fa4
call fcn.100c0950
mov edi, dword [0x10154fa8]
test edi, edi
je 0x100bf4f3
lea esi, [esp + 0x18]
mov ecx, 0x112
rep movsd dword es:[edi], dword [esi]
mov edi, dword [0x10154fa8]
mov ebx, dword [esp + 0x14]
add edi, 0x448
inc ebp
mov dword [0x10154fa8], edi
cmp ebp, dword [esp + 0x10]
jb 0x100bf456
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x454
ret
push str.vector_T__too_long
call fcn.100e89b8
push str.vector_T__too_long
call fcn.100e89b8
push str.vector_T__too_long
call fcn.100e89b8
int3