Function at 0x100bf0b0
Capabilities:
Get file size

Disassembly:
push 0xffffffffffffffff
push 0x1012cf61
mov eax, dword fs:[0]
push eax
sub esp, 0x258
mov eax, dword [0x101636d0]
xor eax, esp
mov dword [esp + 0x254], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101636d0]
xor eax, esp
push eax
lea eax, [esp + 0x26c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x27c]
mov ebx, ecx
mov edi, edx
push 0x358
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], edi
call fcn.100cfcae
mov esi, eax
add esp, 4
test esi, esi
je 0x100bf140
call fcn.1006c860
mov dword [esi + method.t_byteStreamRead.virtual_0], vtable.t_byteStreamRead.0
xor eax, eax
mov dword [esi], vtable.t_fileRead.0
mov dword [esi + method.t_fileRead.1.virtual_0], vtable.t_fileRead.1.0
mov dword [esi + 0x350], eax
mov dword [esi + 0x354], eax
jmp 0x100bf142
xor esi, esi
push edi
mov eax, ebp
mov edi, esi
call fcn.1006e730
test al, al
jne 0x100bf28b
xor edi, edi
cmp esi, edi
je 0x100bf164
mov eax, dword [esi]
mov edx, dword [eax]
push 1
mov ecx, esi
call edx
push 0x358
call fcn.100cfcae
mov esi, eax
add esp, 4
cmp esi, edi
je 0x100bf1a4
call fcn.1006c860
mov dword [esi + method.t_byteStreamRead.virtual_0], vtable.t_byteStreamRead.0
mov dword [esi], vtable.t_fileRead.0
mov dword [esi + method.t_fileRead.1.virtual_0], vtable.t_fileRead.1.0
mov dword [esi + 0x350], edi
mov dword [esi + 0x354], edi
jmp 0x100bf1a6
xor esi, esi
lea edi, [esp + 0x20]
call fcn.10062500
mov eax, str..sgbak
mov edx, edi
call fcn.10062710
mov eax, dword [esp + 0x1c]
push eax
mov ecx, edi
lea ebx, [esp + 0x148]
mov dword [esp + 0x278], 1
call fcn.1005faf0
push eax
mov eax, ebp
mov edi, esi
mov byte [esp + 0x278], 2
call fcn.1006e730
test al, al
sete bl
cmp byte [esp + 0x260], 0
mov edi, vtable.t_str.0
mov dword [esp + 0x144], edi
jne 0x100bf221
mov eax, dword [esp + 0x14c]
lea ecx, [esp + 0x150]
cmp eax, ecx
je 0x100bf221
push eax
call fcn.100cf89b
add esp, 4
mov dword [esp + 0x274], 0xffffffff
cmp byte [esp + 0x13c], 0
mov dword [esp + 0x20], edi
jne 0x100bf24f
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x2c]
cmp eax, edx
je 0x100bf24f
push eax
call fcn.100cf89b
add esp, 4
test bl, bl
je 0x100bf280
test esi, esi
je 0x100bf261
mov eax, dword [esi]
mov edx, dword [eax]
push 1
mov ecx, esi
call edx
mov ecx, ebp
call fcn.100619a0
push 0x10145240
push 0x1013c7e4
mov edx, eax
call fcn.10062cd0
add esp, 8
xor al, al
jmp 0x100bf2f6
mov ecx, ebp
call fcn.100619f0
mov ebx, dword [esp + 0x18]
mov ecx, dword [esi + 4]
lea eax, [esp + 0x18]
push eax
push ecx
mov dword [esp + 0x20], 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
jne 0x100bf2b7
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x100bf2b7
xor eax, eax
jmp 0x100bf2b9
mov eax, edi
push eax
mov dword [ebx + 8], eax
call fcn.100cf978
mov edi, dword [ebx + 8]
add esp, 4
push edi
mov dword [ebx + 4], eax
mov edx, dword [esi + 0x34c]
lea ecx, [esi + 0x34c]
push eax
mov eax, dword [edx + 4]
push ebp
call eax
mov edx, dword [esi]
test al, al
mov eax, dword [edx]
push 1
mov ecx, esi
jne 0x100bf2f2
call eax
jmp 0x100bf261
call eax
mov al, 1
mov ecx, dword [esp + 0x26c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x254]
xor ecx, esp
call fcn.100cf604
add esp, 0x264
ret 4