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

Disassembly:
sub esp, 0x3c
push esi
mov esi, dword [fcn.10060f30]
xorps xmm0, xmm0
push edi
push 0x20
push str.C:UsersAdmin_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 [0x101aa4e4]
call esi
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x10049a62
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 0x10049a79
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.100660f0
test byte [ebx + 0x54], 1
jne 0x10049acb
mov eax, dword [ebx + 0x48]
test eax, eax
je 0x10049acb
mov edx, dword [ebx + 0x50]
cmp edx, 1
jbe 0x10049ac7
push eax
push ecx
mov ecx, dword [ebx + 0x4c]
call fcn.10095f70
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], 0x102069cd
push eax
mov edx, 0x100497e0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
call fcn.10099350
add esp, 0xc
mov ebp, eax
cmp dword [esp + 0x1c], 0
jbe 0x10049b2d
mov eax, dword [esp + 0x18]
test eax, eax
je 0x10049b2d
cmp eax, 0x102069cc
je 0x10049b2d
mov esi, dword [fcn.10034de0]
mov ecx, esi
push eax
call dword [0x101aa4e4]
call esi
add esp, 4
test ebp, ebp
js 0x10049c55
mov eax, dword [ebx + 0x74]
mov ecx, edi
mov edx, dword [esp + 0x30]
shr eax, 1
test al, 1
je 0x10049b4b
call fcn.100a1840
jmp 0x10049b50
call fcn.100a11f0
test eax, eax
jns 0x10049b64
call fcn.1002d4d0
or ebp, 0xffffffff
mov dword [eax], str.Out_of_memory
jmp 0x10049b66
xor ebp, ebp
test ebp, ebp
js 0x10049c55
mov edx, dword [esp + 0x30]
xor ebp, ebp
test edx, edx
je 0x10049be6
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 0x10049ba4
lea eax, [esp + 0x10]
push eax
call fcn.100a1bb0
mov edx, dword [esp + 0x14]
jmp 0x10049bb2
lea eax, [esp + 0x14]
push eax
call fcn.100a1560
mov edx, dword [esp + 0x18]
add esp, 4
test edx, edx
jns 0x10049bbe
or esi, 0xffffffff
jmp 0x10049bd5
lea ecx, [eax*4]
jne 0x10049bcd
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 0x10049cec
mov edx, dword [esp + 0x30]
inc ebp
cmp ebp, edx
jb 0x10049b80
mov eax, dword [esp + 0x34]
test al, 1
jne 0x10049c14
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x10049c14
cmp edx, 1
jbe 0x10049c0d
push ecx
push ecx
mov ecx, dword [esp + 0x34]
call fcn.10095f70
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 0x10049c51
lea edx, [ebx + 0x44]
lea eax, [esp + 0x24]
cmp eax, edx
je 0x10049c4c
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.10034de0]
mov ecx, esi
call dword [0x101aa4e4]
call esi
add esp, 4
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x24], 0
test edi, edi
je 0x10049cde
push dword [edi + 0x14]
mov esi, dword [fcn.10034de0]
mov ecx, esi
call dword [0x101aa4e4]
call esi
mov esi, dword [fcn.10034de0]
add esp, 4
mov ecx, esi
push dword [edi + 0x10]
call dword [0x101aa4e4]
call esi
mov esi, dword [fcn.10034de0]
add esp, 4
mov ecx, esi
push dword [edi + 0x18]
call dword [0x101aa4e4]
call esi
mov esi, dword [fcn.10034de0]
add esp, 4
mov ecx, esi
push edi
call dword [0x101aa4e4]
call esi
add esp, 4
test ebp, ebp
jns 0x10049d05
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.1002a5a0
add esp, 8
mov eax, esi
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x3c
ret
lea esi, [ebx + 0x7c]
mov edx, 0x101dca4e
push esi
lea ecx, [esp + 0x18]
call fcn.100a24b0
add esp, 4
test eax, eax
js 0x10049d3a
mov edx, dword [esp + 0x54]
push esi
mov esi, dword [esp + 0x18]
mov ecx, esi
call fcn.100a2180
add esp, 4
test eax, eax
js 0x10049d3a
mov dword [ebx + 0x78], esi
xor eax, eax
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x3c
ret