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

Disassembly:
sub esp, 0x3c
push esi
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_52]
xorps xmm0, xmm0
push edi
push 0x20
push str.D:DevelopmentMillennium_vendor_vcpkg_buildtreeslibgit2_src_v1.4.2_3f39c3e750.clean_srcidxmap.c
push 0x1c
push 1
mov ecx, esi
mov dword [esp + 0x3c], 0
movups xmmword [esp + 0x2c], xmm0
call dword [0x101182f8]
call esi
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x10047692
pop edi
or eax, 0xffffffff
pop esi
add esp, 0x3c
ret
push ebx
mov ebx, dword [esp + 0x4c]
mov eax, dword [ebx + 0x48]
cmp eax, dword [esp + 0x24]
je 0x100476a9
and dword [esp + 0x30], 0xfffffffe
mov dword [esp + 0x24], eax
lea eax, [ebx + 0x44]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], eax
lea ecx, [ebx + 0x7c]
lea eax, [esp + 0x20]
mov dword [ebx + 0x78], 0
mov dword [esp + 0x3c], eax
mov eax, dword [ebx + 0xb4]
mov dword [esp + 0x40], eax
call fcn.10063870
test byte [ebx + 0x54], 1
jne 0x100476fb
mov eax, dword [ebx + 0x48]
test eax, eax
je 0x100476fb
mov edx, dword [ebx + 0x50]
cmp edx, 1
jbe 0x100476f7
push eax
push ecx
mov ecx, dword [ebx + 0x4c]
call fcn.10093a30
add esp, 8
or dword [ebx + 0x54], 1
mov ecx, dword [esp + 0x50]
lea eax, [esp + 0x34]
push ebp
push 0
push eax
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0x1015ddcd
push eax
mov edx, 0x10047410
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
call fcn.10096e00
add esp, 0xc
mov ebp, eax
cmp dword [esp + 0x1c], 0
jbe 0x1004775d
mov eax, dword [esp + 0x18]
test eax, eax
je 0x1004775d
cmp eax, 0x1015ddcc
je 0x1004775d
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
mov ecx, esi
push eax
call dword [0x101182f8]
call esi
add esp, 4
test ebp, ebp
js 0x10047885
mov eax, dword [ebx + 0x74]
mov ecx, edi
mov edx, dword [esp + 0x30]
shr eax, 1
test al, 1
je 0x1004777b
call fcn.1009f1a0
jmp 0x10047780
call fcn.1009eb40
test eax, eax
jns 0x10047794
call fcn.1002b0b0
or ebp, 0xffffffff
mov dword [eax], str.Out_of_memory
jmp 0x10047796
xor ebp, ebp
test ebp, ebp
js 0x10047885
mov edx, dword [esp + 0x30]
xor ebp, ebp
test edx, edx
je 0x10047816
nop dword [eax + eax]
mov eax, dword [esp + 0x2c]
mov ecx, edi
mov esi, dword [eax + ebp*4]
mov edx, esi
mov eax, dword [ebx + 0x74]
shr eax, 1
test al, 1
je 0x100477d4
lea eax, [esp + 0x10]
push eax
call fcn.1009f520
mov edx, dword [esp + 0x14]
jmp 0x100477e2
lea eax, [esp + 0x14]
push eax
call fcn.1009eec0
mov edx, dword [esp + 0x18]
add esp, 4
test edx, edx
jns 0x100477ee
or esi, 0xffffffff
jmp 0x10047805
lea ecx, [eax*4]
jne 0x100477fd
mov eax, dword [edi + 0x14]
mov dword [ecx + eax], esi
mov eax, dword [edi + 0x18]
mov dword [ecx + eax], esi
xor esi, esi
test esi, esi
js 0x1004791c
mov edx, dword [esp + 0x30]
inc ebp
cmp ebp, edx
jb 0x100477b0
mov eax, dword [esp + 0x34]
test al, 1
jne 0x10047844
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x10047844
cmp edx, 1
jbe 0x1004783d
push ecx
push ecx
mov ecx, dword [esp + 0x34]
call fcn.10093a30
mov eax, dword [esp + 0x3c]
add esp, 8
or eax, 1
mov dword [esp + 0x34], eax
push ebx
call sym.user32.dll_git_index_clear
mov ebp, eax
add esp, 4
test ebp, ebp
js 0x10047881
lea edx, [ebx + 0x44]
lea eax, [esp + 0x24]
cmp eax, edx
je 0x1004787c
movups xmm1, xmmword [esp + 0x24]
mov eax, dword [edx + 0x10]
movups xmm0, xmmword [edx]
mov ecx, dword [esp + 0x34]
movups xmmword [edx], xmm1
mov dword [esp + 0x34], eax
movups xmmword [esp + 0x24], xmm0
mov dword [edx + 0x10], ecx
lea eax, [ebx + 0x58]
xchg dword [eax], edi
or dword [ebx + 0x74], 0x10
push dword [esp + 0x2c]
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
mov ecx, esi
call dword [0x101182f8]
call esi
add esp, 4
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x24], 0
test edi, edi
je 0x1004790e
push dword [edi + 0x14]
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
mov ecx, esi
call dword [0x101182f8]
call esi
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
add esp, 4
mov ecx, esi
push dword [edi + 0x10]
call dword [0x101182f8]
call esi
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
add esp, 4
mov ecx, esi
push dword [edi + 0x18]
call dword [0x101182f8]
call esi
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
add esp, 4
mov ecx, esi
push edi
call dword [0x101182f8]
call esi
add esp, 4
test ebp, ebp
jns 0x10047935
mov eax, ebp
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x3c
ret
push str.failed_to_insert_entry_into_map
push 0xa
call fcn.10028180
add esp, 8
mov eax, esi
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x3c
ret
lea esi, [ebx + 0x7c]
mov edx, 0x1013b090
push esi
lea ecx, [esp + 0x18]
call fcn.1009fe20
add esp, 4
test eax, eax
js 0x1004796a
mov edx, dword [esp + 0x54]
push esi
mov esi, dword [esp + 0x18]
mov ecx, esi
call fcn.1009fb00
add esp, 4
test eax, eax
js 0x1004796a
mov dword [ebx + 0x78], esi
xor eax, eax
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x3c
ret