Function at 0x1008fb20
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], 0x1015ddcd
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.1002a390
add esp, 8
test eax, eax
js 0x1008fc7b
mov eax, dword [ebx + 0x40]
lea esi, [ebx + 0x40]
mov edi, dword [esp + 0x14]
mov dword [esp + 0xc], eax
test eax, eax
je 0x1008fce5
push 0
push edi
call fcn.1003fd10
mov esi, eax
add esp, 8
test esi, esi
jns 0x1008fbb6
call fcn.100fe80a
push str.open
mov edx, edi
mov ecx, dword [eax]
call fcn.10030150
mov esi, eax
add esp, 4
test esi, esi
js 0x1008fc96
lea edx, [esp + 0x20]
mov dword [esp + 0x10], esi
mov ecx, esi
call fcn.100400b0
test eax, eax
js 0x1008fc8d
mov eax, dword [esp + 0x26]
and eax, 0xf000
cmp eax, 0x8000
jne 0x1008fc8d
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
test edx, edx
jne 0x1008fc8d
mov ecx, dword [esp + 0xc]
cmp eax, dword [ecx + 4]
jne 0x1008fc8d
sub eax, 0x14
sbb edx, edx
push edx
push eax
push ecx
lea edx, [esp + 0x7c]
mov ecx, esi
call fcn.100407c0
add esp, 0xc
mov esi, eax
push dword [esp + 0x10]
call fcn.10105c23
add esp, 4
cmp esi, 0x14
jne 0x1008fc96
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x70]
add edx, 0x38
mov esi, 0x10
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x1008fc4c
add ecx, 4
add edx, 4
sub esi, 4
jae 0x1008fc37
xor al, al
jmp 0x1008fc4e
mov al, 1
test al, al
jne 0x1008fc96
cmp dword [esp + 0x18], 0
jbe 0x1008fc79
test edi, edi
je 0x1008fc79
cmp edi, 0x1015ddcc
je 0x1008fc79
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.100f4277
mov esp, ebp
pop ebp
ret
push esi
call fcn.10105c23
add esp, 4
mov ecx, ebx
call fcn.1008f810
mov dword [esp + 0xc], eax
test eax, eax
jns 0x1008fce2
cmp dword [esp + 0x18], 0
jbe 0x1008fc7b
test edi, edi
je 0x1008fc7b
cmp edi, 0x1015ddcc
je 0x1008fc7b
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.100f4277
mov esp, ebp
pop ebp
ret
lea esi, [ebx + 0x40]
mov edx, edi
mov ecx, esi
call fcn.100bc780
cmp dword [esp + 0x18], 0
mov dword [esp + 0xc], eax
jbe 0x1008fd20
test edi, edi
je 0x1008fd20
cmp edi, 0x1015ddcc
je 0x1008fd20
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 0x1008fc7b
mov edx, dword [esi]
lea ecx, [ebx + 0x44]
mov edx, dword [edx + 0x18]
call fcn.100385c0
mov eax, dword [ebx + 0x40]
xor esi, esi
cmp dword [eax + 0x18], esi
jbe 0x1008fc79
mov eax, dword [eax + 0x14]
mov edx, esi
mov ecx, ebx
push dword [eax + esi*4]
call fcn.1008f8f0
mov edi, eax
add esp, 4
test edi, edi
js 0x1008fd78
mov eax, dword [ebx + 0x40]
inc esi
cmp esi, dword [eax + 0x18]
jb 0x1008fd43
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.100f4277
mov esp, ebp
pop ebp
ret
lea ecx, [ebx + 0x44]
mov edx, esi
call fcn.100385c0
mov ecx, ebx
call fcn.1008f810
mov ecx, dword [esp + 0x84]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100f4277
mov esp, ebp
pop ebp
ret