Function at 0x10047740
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 [0x1015f3cc]
call esi
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x10047782
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 0x10047799
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.10063930
test byte [ebx + 0x54], 1
jne 0x100477eb
mov eax, dword [ebx + 0x48]
test eax, eax
je 0x100477eb
mov edx, dword [ebx + 0x50]
cmp edx, 1
jbe 0x100477e7
push eax
push ecx
mov ecx, dword [ebx + 0x4c]
call fcn.10093b50
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], 0x101b01ed
push eax
mov edx, 0x10047500
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
call fcn.10096f10
add esp, 0xc
mov ebp, eax
cmp dword [esp + 0x1c], 0
jbe 0x1004784d
mov eax, dword [esp + 0x18]
test eax, eax
je 0x1004784d
cmp eax, 0x101b01ec
je 0x1004784d
mov esi, dword [fcn.10032a50]
mov ecx, esi
push eax
call dword [0x1015f3cc]
call esi
add esp, 4
test ebp, ebp
js 0x10047975
mov eax, dword [ebx + 0x74]
mov ecx, edi
mov edx, dword [esp + 0x30]
shr eax, 1
test al, 1
je 0x1004786b
call fcn.1009f2b0
jmp 0x10047870
call fcn.1009ec50
test eax, eax
jns 0x10047884
call fcn.1002b1b0
or ebp, 0xffffffff
mov dword [eax], str.Out_of_memory
jmp 0x10047886
xor ebp, ebp
test ebp, ebp
js 0x10047975
mov edx, dword [esp + 0x30]
xor ebp, ebp
test edx, edx
je 0x10047906
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 0x100478c4
lea eax, [esp + 0x10]
push eax
call fcn.1009f630
mov edx, dword [esp + 0x14]
jmp 0x100478d2
lea eax, [esp + 0x14]
push eax
call fcn.1009efd0
mov edx, dword [esp + 0x18]
add esp, 4
test edx, edx
jns 0x100478de
or esi, 0xffffffff
jmp 0x100478f5
lea ecx, [eax*4]
jne 0x100478ed
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 0x10047a0c
mov edx, dword [esp + 0x30]
inc ebp
cmp ebp, edx
jb 0x100478a0
mov eax, dword [esp + 0x34]
test al, 1
jne 0x10047934
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x10047934
cmp edx, 1
jbe 0x1004792d
push ecx
push ecx
mov ecx, dword [esp + 0x34]
call fcn.10093b50
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 0x10047971
lea edx, [ebx + 0x44]
lea eax, [esp + 0x24]
cmp eax, edx
je 0x1004796c
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 [fcn.10032a50]
mov ecx, esi
call dword [0x1015f3cc]
call esi
add esp, 4
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x24], 0
test edi, edi
je 0x100479fe
push dword [edi + 0x14]
mov esi, dword [fcn.10032a50]
mov ecx, esi
call dword [0x1015f3cc]
call esi
mov esi, dword [fcn.10032a50]
add esp, 4
mov ecx, esi
push dword [edi + 0x10]
call dword [0x1015f3cc]
call esi
mov esi, dword [fcn.10032a50]
add esp, 4
mov ecx, esi
push dword [edi + 0x18]
call dword [0x1015f3cc]
call esi
mov esi, dword [fcn.10032a50]
add esp, 4
mov ecx, esi
push edi
call dword [0x1015f3cc]
call esi
add esp, 4
test ebp, ebp
jns 0x10047a25
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.10028290
add esp, 8
mov eax, esi
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x3c
ret
lea esi, [ebx + 0x7c]
mov edx, 0x10186800
push esi
lea ecx, [esp + 0x18]
call fcn.1009ff30
add esp, 4
test eax, eax
js 0x10047a5a
mov edx, dword [esp + 0x54]
push esi
mov esi, dword [esp + 0x18]
mov ecx, esi
call fcn.1009fc10
add esp, 4
test eax, eax
js 0x10047a5a
mov dword [ebx + 0x78], esi
xor eax, eax
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x3c
ret