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

Disassembly:
sub esp, 0x3c
push esi
mov esi, dword [fcn.1005ed10]
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 [0x101a54ac]
call esi
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x10047c22
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 0x10047c39
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.10063dc0
test byte [ebx + 0x54], 1
jne 0x10047c8b
mov eax, dword [ebx + 0x48]
test eax, eax
je 0x10047c8b
mov edx, dword [ebx + 0x50]
cmp edx, 1
jbe 0x10047c87
push eax
push ecx
mov ecx, dword [ebx + 0x4c]
call fcn.10093f70
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], 0x1020156d
push eax
mov edx, 0x100479a0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
call fcn.10097330
add esp, 0xc
mov ebp, eax
cmp dword [esp + 0x1c], 0
jbe 0x10047ced
mov eax, dword [esp + 0x18]
test eax, eax
je 0x10047ced
cmp eax, 0x1020156c
je 0x10047ced
mov esi, dword [fcn.10032f00]
mov ecx, esi
push eax
call dword [0x101a54ac]
call esi
add esp, 4
test ebp, ebp
js 0x10047e15
mov eax, dword [ebx + 0x74]
mov ecx, edi
mov edx, dword [esp + 0x30]
shr eax, 1
test al, 1
je 0x10047d0b
call fcn.1009f6c0
jmp 0x10047d10
call fcn.1009f060
test eax, eax
jns 0x10047d24
call fcn.1002b660
or ebp, 0xffffffff
mov dword [eax], str.Out_of_memory
jmp 0x10047d26
xor ebp, ebp
test ebp, ebp
js 0x10047e15
mov edx, dword [esp + 0x30]
xor ebp, ebp
test edx, edx
je 0x10047da6
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 0x10047d64
lea eax, [esp + 0x10]
push eax
call fcn.1009fa40
mov edx, dword [esp + 0x14]
jmp 0x10047d72
lea eax, [esp + 0x14]
push eax
call fcn.1009f3e0
mov edx, dword [esp + 0x18]
add esp, 4
test edx, edx
jns 0x10047d7e
or esi, 0xffffffff
jmp 0x10047d95
lea ecx, [eax*4]
jne 0x10047d8d
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 0x10047eac
mov edx, dword [esp + 0x30]
inc ebp
cmp ebp, edx
jb 0x10047d40
mov eax, dword [esp + 0x34]
test al, 1
jne 0x10047dd4
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x10047dd4
cmp edx, 1
jbe 0x10047dcd
push ecx
push ecx
mov ecx, dword [esp + 0x34]
call fcn.10093f70
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 0x10047e11
lea edx, [ebx + 0x44]
lea eax, [esp + 0x24]
cmp eax, edx
je 0x10047e0c
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.10032f00]
mov ecx, esi
call dword [0x101a54ac]
call esi
add esp, 4
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x24], 0
test edi, edi
je 0x10047e9e
push dword [edi + 0x14]
mov esi, dword [fcn.10032f00]
mov ecx, esi
call dword [0x101a54ac]
call esi
mov esi, dword [fcn.10032f00]
add esp, 4
mov ecx, esi
push dword [edi + 0x10]
call dword [0x101a54ac]
call esi
mov esi, dword [fcn.10032f00]
add esp, 4
mov ecx, esi
push dword [edi + 0x18]
call dword [0x101a54ac]
call esi
mov esi, dword [fcn.10032f00]
add esp, 4
mov ecx, esi
push edi
call dword [0x101a54ac]
call esi
add esp, 4
test ebp, ebp
jns 0x10047ec5
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.10028740
add esp, 8
mov eax, esi
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x3c
ret
lea esi, [ebx + 0x7c]
mov edx, 0x101d77a0
push esi
lea ecx, [esp + 0x18]
call fcn.100a0340
add esp, 4
test eax, eax
js 0x10047efa
mov edx, dword [esp + 0x54]
push esi
mov esi, dword [esp + 0x18]
mov ecx, esi
call fcn.100a0020
add esp, 4
test eax, eax
js 0x10047efa
mov dword [ebx + 0x78], esi
xor eax, eax
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x3c
ret