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

Disassembly:
sub esp, 0x6c
push ebx
push ebp
push esi
push edi
push 0x34
lea eax, [esp + 0x34]
mov dword [esp + 0x20], edx
push 0
push eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], 0
call fcn.100f6510
xor eax, eax
mov dword [esp + 0x80], 0
mov dword [esp + 0x20], eax
add esp, 0xc
mov eax, dword [esp + 0x88]
xorps xmm0, xmm0
movups xmmword [esp + 0x64], xmm0
lea edi, [eax + 1]
mov dword [esp + 0x18], edi
cmp edi, eax
jb 0x100815c8
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_52]
mov ecx, esi
push 0x385
push str.D:DevelopmentMillennium_vendor_vcpkg_buildtreeslibgit2_src_v1.4.2_3f39c3e750.clean_srcpack.c
push edi
push 1
call dword [0x101182f8]
call esi
mov ebx, eax
add esp, 0x10
mov dword [esp + 0x10], ebx
test ebx, ebx
je 0x100815d3
push 0x38
lea eax, [esp + 0x30]
mov dword [esp + 0x68], 0
push str.1.2.12
push eax
call fcn.100d5f00
add esp, 0xc
mov dword [esp + 0x74], eax
lea ecx, [esp + 0x2c]
call fcn.100b8350
mov ebp, eax
test ebp, ebp
jns 0x10081428
push str.failed_to_init_zlib_stream_on_unpack
push 5
call fcn.10028180
add esp, 8
jmp 0x10081556
mov ebx, dword [esp + 0x84]
xor eax, eax
mov edx, dword [esp + 0x80]
sub edi, eax
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x20]
push eax
push dword [ebx + 4]
push dword [ebx]
call fcn.100804e0
add esp, 0xc
test eax, eax
je 0x1008154f
mov esi, dword [esp + 0x20]
mov dword [esp + 0x68], eax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x14]
add eax, dword [esp + 0x10]
cmp dword [esp + 0x64], 0
mov dword [esp + 0x38], eax
lea eax, [esp + 0x2c]
push 4
mov dword [esp + 0x70], esi
mov dword [esp + 0x78], 0
mov dword [esp + 0x74], 4
mov dword [esp + 0x34], esi
mov dword [esp + 0x40], edi
push eax
jne 0x100814a1
call fcn.100d4460
jmp 0x100814a6
call fcn.100d26b0
add esp, 8
mov dword [esp + 0x74], eax
lea ecx, [esp + 0x2c]
call fcn.100b8350
test eax, eax
jne 0x1008158d
mov ecx, dword [esp + 0x6c]
mov eax, esi
sub eax, dword [esp + 0x30]
xor ebp, ebp
add dword [esp + 0x68], eax
sub ecx, eax
mov eax, dword [esp + 0x80]
sub edi, dword [esp + 0x3c]
mov dword [esp + 0x6c], ecx
mov eax, dword [eax]
mov dword [esp + 0x24], eax
test eax, eax
je 0x10081513
push 0x1015dd80
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esp + 0x24]
push 0x1015dd80
dec dword [eax + 0x1c]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x6c]
mov dword [eax], ebp
sub esi, ecx
test edi, edi
jne 0x1008151d
test esi, esi
je 0x10081540
add dword [ebx], esi
mov eax, dword [esp + 0x14]
adc dword [ebx + 4], ebp
add eax, edi
cmp dword [esp + 0x74], 1
mov dword [esp + 0x14], eax
je 0x10081569
mov edi, dword [esp + 0x18]
mov dword [esp + 0x18], edi
jmp 0x10081431
push str.error_inflating_zlib_stream
push 5
call fcn.10028180
add esp, 8
or ebp, 0xffffffff
mov ebx, dword [esp + 0x10]
cmp dword [esp + 0x64], 0
lea eax, [esp + 0x2c]
push eax
jne 0x1008159e
call fcn.100d5d40
jmp 0x100815a3
mov ecx, dword [esp + 0x88]
cmp eax, ecx
jne 0x10081540
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x8c]
mov ebx, dword [esp + 0x10]
mov dword [edx + 8], eax
mov dword [edx + 4], ecx
mov dword [edx], ebx
jmp 0x10081556
mov ecx, dword [esp + 0x80]
or ebp, 0xffffffff
call fcn.1007f5d0
jmp 0x10081552
call fcn.100d30a0
add esp, 4
test ebp, ebp
je 0x100815be
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
mov ecx, esi
push ebx
call dword [0x101182f8]
call esi
add esp, 4
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret
call fcn.1002b0b0
mov dword [eax], str.Out_of_memory
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x6c
ret