Function at 0x1008fb80
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
mov eax, dword [0x10156440]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push esi
mov ebx, ecx
mov dword [esp + 0x10], 0x1015de6d
push edi
push str.multi_pack_index
mov dl, 0x2f
mov dword [esp + 0x1c], 0
push dword [ebx + 0x70]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x24], 0
call fcn.1002a440
add esp, 8
test eax, eax
js 0x1008fcdb
mov eax, dword [ebx + 0x40]
lea esi, [ebx + 0x40]
mov edi, dword [esp + 0x14]
mov dword [esp + 0xc], eax
test eax, eax
je 0x1008fd45
push 0
push edi
call fcn.1003fdc0
mov esi, eax
add esp, 8
test esi, esi
jns 0x1008fc16
call fcn.100fe8aa
push str.open
mov edx, edi
mov ecx, dword [eax]
call fcn.100301f0
mov esi, eax
add esp, 4
test esi, esi
js 0x1008fcf6
lea edx, [esp + 0x20]
mov dword [esp + 0x10], esi
mov ecx, esi
call fcn.10040160
test eax, eax
js 0x1008fced
mov eax, dword [esp + 0x26]
and eax, 0xf000
cmp eax, 0x8000
jne 0x1008fced
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
test edx, edx
jne 0x1008fced
mov ecx, dword [esp + 0xc]
cmp eax, dword [ecx + 4]
jne 0x1008fced
sub eax, 0x14
sbb edx, edx
push edx
push eax
push ecx
lea edx, [esp + 0x7c]
mov ecx, esi
call fcn.10040870
add esp, 0xc
mov esi, eax
push dword [esp + 0x10]
call fcn.10105cc0
add esp, 4
cmp esi, 0x14
jne 0x1008fcf6
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x70]
add edx, 0x38
mov esi, 0x10
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x1008fcac
add ecx, 4
add edx, 4
sub esi, 4
jae 0x1008fc97
xor al, al
jmp 0x1008fcae
mov al, 1
test al, al
jne 0x1008fcf6
cmp dword [esp + 0x18], 0
jbe 0x1008fcd9
test edi, edi
je 0x1008fcd9
cmp edi, 0x1015de6c
je 0x1008fcd9
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
mov ecx, esi
push edi
call dword [0x101182f8]
call esi
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.100f4326
mov esp, ebp
pop ebp
ret
push esi
call fcn.10105cc0
add esp, 4
mov ecx, ebx
call fcn.1008f870
mov dword [esp + 0xc], eax
test eax, eax
jns 0x1008fd42
cmp dword [esp + 0x18], 0
jbe 0x1008fcdb
test edi, edi
je 0x1008fcdb
cmp edi, 0x1015de6c
je 0x1008fcdb
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
mov ecx, esi
push edi
call dword [0x101182f8]
call esi
mov eax, dword [esp + 0x10]
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.100f4326
mov esp, ebp
pop ebp
ret
lea esi, [ebx + 0x40]
mov edx, edi
mov ecx, esi
call fcn.100bc7b0
cmp dword [esp + 0x18], 0
mov dword [esp + 0xc], eax
jbe 0x1008fd80
test edi, edi
je 0x1008fd80
cmp edi, 0x1015de6c
je 0x1008fd80
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
mov ecx, esi
push edi
call dword [0x101182f8]
call esi
mov eax, dword [esp + 0x10]
lea esi, [ebx + 0x40]
add esp, 4
test eax, eax
js 0x1008fcdb
mov edx, dword [esi]
lea ecx, [ebx + 0x44]
mov edx, dword [edx + 0x18]
call fcn.10038670
mov eax, dword [ebx + 0x40]
xor esi, esi
cmp dword [eax + 0x18], esi
jbe 0x1008fcd9
mov eax, dword [eax + 0x14]
mov edx, esi
mov ecx, ebx
push dword [eax + esi*4]
call fcn.1008f950
mov edi, eax
add esp, 4
test edi, edi
js 0x1008fdd8
mov eax, dword [ebx + 0x40]
inc esi
cmp esi, dword [eax + 0x18]
jb 0x1008fda3
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.100f4326
mov esp, ebp
pop ebp
ret
lea ecx, [ebx + 0x44]
mov edx, esi
call fcn.10038670
mov ecx, ebx
call fcn.1008f870
mov ecx, dword [esp + 0x84]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100f4326
mov esp, ebp
pop ebp
ret