Function at 0x100476f0
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 [0x1012b304]
call esi
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x10047732
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 0x10047749
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.100638d0
test byte [ebx + 0x54], 1
jne 0x1004779b
mov eax, dword [ebx + 0x48]
test eax, eax
je 0x1004779b
mov edx, dword [ebx + 0x50]
cmp edx, 1
jbe 0x10047797
push eax
push ecx
mov ecx, dword [ebx + 0x4c]
call fcn.10093a90
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], 0x1017306d
push eax
mov edx, 0x100474b0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
call fcn.10096e50
add esp, 0xc
mov ebp, eax
cmp dword [esp + 0x1c], 0
jbe 0x100477fd
mov eax, dword [esp + 0x18]
test eax, eax
je 0x100477fd
cmp eax, 0x1017306c
je 0x100477fd
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
mov ecx, esi
push eax
call dword [0x1012b304]
call esi
add esp, 4
test ebp, ebp
js 0x10047925
mov eax, dword [ebx + 0x74]
mov ecx, edi
mov edx, dword [esp + 0x30]
shr eax, 1
test al, 1
je 0x1004781b
call fcn.1009f1e0
jmp 0x10047820
call fcn.1009eb80
test eax, eax
jns 0x10047834
call fcn.1002b150
or ebp, 0xffffffff
mov dword [eax], str.Out_of_memory
jmp 0x10047836
xor ebp, ebp
test ebp, ebp
js 0x10047925
mov edx, dword [esp + 0x30]
xor ebp, ebp
test edx, edx
je 0x100478b6
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 0x10047874
lea eax, [esp + 0x10]
push eax
call fcn.1009f560
mov edx, dword [esp + 0x14]
jmp 0x10047882
lea eax, [esp + 0x14]
push eax
call fcn.1009ef00
mov edx, dword [esp + 0x18]
add esp, 4
test edx, edx
jns 0x1004788e
or esi, 0xffffffff
jmp 0x100478a5
lea ecx, [eax*4]
jne 0x1004789d
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 0x100479bc
mov edx, dword [esp + 0x30]
inc ebp
cmp ebp, edx
jb 0x10047850
mov eax, dword [esp + 0x34]
test al, 1
jne 0x100478e4
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x100478e4
cmp edx, 1
jbe 0x100478dd
push ecx
push ecx
mov ecx, dword [esp + 0x34]
call fcn.10093a90
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 0x10047921
lea edx, [ebx + 0x44]
lea eax, [esp + 0x24]
cmp eax, edx
je 0x1004791c
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 [0x1012b304]
call esi
add esp, 4
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x24], 0
test edi, edi
je 0x100479ae
push dword [edi + 0x14]
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
mov ecx, esi
call dword [0x1012b304]
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 [0x1012b304]
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 [0x1012b304]
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 [0x1012b304]
call esi
add esp, 4
test ebp, ebp
jns 0x100479d5
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.10028220
add esp, 8
mov eax, esi
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x3c
ret
lea esi, [ebx + 0x7c]
mov edx, 0x1014f3a0
push esi
lea ecx, [esp + 0x18]
call fcn.1009fe60
add esp, 4
test eax, eax
js 0x10047a0a
mov edx, dword [esp + 0x54]
push esi
mov esi, dword [esp + 0x18]
mov ecx, esi
call fcn.1009fb40
add esp, 4
test eax, eax
js 0x10047a0a
mov dword [ebx + 0x78], esi
xor eax, eax
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x3c
ret