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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x464
mov eax, dword [0x101fd700]
xor eax, esp
mov dword [esp + 0x460], eax
mov dword [esp + 0x58], ecx
mov ecx, dword [ebp + 8]
push ebx
mov ebx, edx
mov dword [esp + 0x10], ecx
push esi
mov eax, dword [ecx]
lea edx, [ecx + 4]
mov dword [esp + 0x40], ebx
mov dword [ecx + 8], 0
mov dword [esp + 0x44], edx
push edi
test eax, eax
jne 0x10097341
mov dword [edx], eax
mov eax, 0x102069cd
mov dword [ecx], 0x102069cd
jmp 0x10097345
mov dword [esp + 0x48], edx
cmp dword [edx], 0
jbe 0x1009734d
mov byte [eax], 0
mov eax, dword [ebx + 4]
xor esi, esi
xor edi, edi
mov dword [esp + 0x14], esi
mov ebx, 8
mov dword [esp + 0x10], esi
mov dword [esp + 0x40], edi
mov ecx, dword [eax + 4]
cmp ecx, ebx
mov eax, 1
mov dword [esp + 0x30], ecx
cmova ebx, ecx
mov dword [esp + 0xc], eax
test ebx, ebx
je 0x100973b6
mov esi, dword [fcn.10060f30]
mov ecx, esi
push 0x26
push str.C:UsersAdmin_vcpkg_buildtreeslibgit2_src_v1.4.2_3f39c3e750.clean_src_vector.c
push 4
push ebx
push edi
call dword [0x101aa4d8]
call esi
add esp, 0x14
test eax, eax
je 0x100977ae
mov ecx, dword [esp + 0x30]
mov edi, eax
mov edx, dword [esp + 0x48]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x40], edi
xor ebx, ebx
mov dword [esp + 0x3c], ebx
cmp dword [edx], ebx
jne 0x100973e2
lea edx, [ecx + ecx*8]
mov ecx, dword [esp + 0x18]
push 1
shl edx, 3
call fcn.1002bbe0
mov ecx, eax
add esp, 4
mov dword [esp + 0x3c], ecx
test ecx, ecx
js 0x10097ecf
xor ebx, ebx
mov eax, dword [esp + 0x44]
mov edx, ebx
mov eax, dword [eax + 4]
cmp ebx, dword [eax]
jae 0x10097434
mov esi, dword [esp + 0x44]
lea ebx, [edx + 1]
mov dword [esp + 0x2c], ebx
mov eax, edx
shr eax, 4
mov ecx, edx
and ecx, 0xf
mov edi, dword [esi + 4]
add ecx, ecx
mov esi, dword [esp + 0x14]
mov ebx, dword [edi + 0x10]
mov edi, dword [esp + 0x40]
mov eax, dword [ebx + eax*4]
mov ebx, dword [esp + 0x2c]
shr eax, cl
mov ecx, dword [esp + 0x44]
test al, 3
mov eax, dword [ecx + 4]
je 0x10097712
mov edx, ebx
cmp edx, dword [eax]
jb 0x100973f1
mov eax, dword [esp + 0xc]
test al, 1
jne 0x10097ce5
mov esi, dword [esp + 0x10]
cmp esi, 1
jbe 0x10097ce5
cmp esi, 0x40
jae 0x10097972
mov eax, 1
mov dword [esp + 0x5c], eax
cmp esi, eax
jbe 0x10097ce5
mov ebx, 0xf000
mov dword [esp + 0x30], 0x2f
mov ecx, dword [edi + eax*4]
mov edx, dword [edi + eax*4 - 4]
movzx eax, word [ecx]
movzx esi, word [ecx + 2]
and ax, bx
movzx eax, ax
mov dword [esp + 0x14], eax
movzx eax, word [edx]
and ax, bx
mov ebx, dword [ecx + 8]
mov ecx, dword [edx + 8]
movzx eax, ax
mov dword [esp + 0x2c], eax
movzx eax, word [edx + 2]
cmp eax, esi
mov dword [esp + 0x28], ecx
cmovb esi, eax
push esi
push ebx
push ecx
call fcn.10187590
add esp, 0xc
test eax, eax
jne 0x100974fb
mov eax, dword [esp + 0x28]
mov edx, 0x4000
mov cl, byte [esi + ebx]
mov al, byte [esi + eax]
test al, al
jne 0x100974de
cmp word [esp + 0x2c], dx
mov ebx, 0x2f
movzx eax, al
cmove eax, ebx
test cl, cl
jne 0x100974eb
cmp word [esp + 0x14], dx
jne 0x100974f3
mov cl, 0x2f
cmp al, cl
jb 0x10097955
cmp cl, al
sbb eax, eax
neg eax
test eax, eax
jle 0x10097955
mov eax, dword [esp + 0x5c]
mov ecx, 0xf000
mov edx, dword [edi]
mov dword [esp + 0x20], edx
mov dword [esp + 0x2c], 0
mov ebx, dword [edi + eax*4]
dec eax
mov esi, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x14], eax
movzx eax, word [edx]
mov edi, dword [ebx + 8]
and ax, cx
movzx eax, ax
mov dword [esp + 0x1c], eax
movzx eax, word [ebx]
and ax, cx
sar esi, 1
movzx ecx, word [edx + 2]
mov edx, dword [edx + 8]
movzx eax, ax
mov dword [esp + 0x38], eax
movzx eax, word [ebx + 2]
cmp eax, ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x34], edx
cmovb ecx, eax
mov dword [esp + 0x28], edi
push ecx
push edx
push edi
mov dword [esp + 0x6c], ecx
call fcn.10187590
mov edi, dword [esp + 0x4c]
add esp, 0xc
test eax, eax
jne 0x100975bd
mov ecx, dword [esp + 0x60]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x34]
mov al, byte [ecx + eax]
mov cl, byte [ecx + edx]
mov edx, 0x4000
test al, al
jne 0x100975a0
cmp word [esp + 0x38], dx
movzx eax, al
cmove eax, dword [esp + 0x30]
test cl, cl
jne 0x100975ad
cmp word [esp + 0x1c], dx
jne 0x100975b5
mov cl, 0x2f
cmp al, cl
jb 0x1009793c
cmp cl, al
sbb eax, eax
neg eax
test eax, eax
js 0x1009793c
mov edx, dword [esp + 0x20]
mov ecx, 0xf000
mov edi, dword [ebx + 8]
mov dword [esp + 0x28], edi
movzx eax, word [edx]
and ax, cx
movzx eax, ax
mov dword [esp + 0x34], eax
movzx eax, word [ebx]
and ax, cx
movzx ecx, word [edx + 2]
mov edx, dword [edx + 8]
movzx eax, ax
mov dword [esp + 0x38], eax
movzx eax, word [ebx + 2]
cmp eax, ecx
mov dword [esp + 0x1c], edx
cmovb ecx, eax
push ecx
push edx
push edi
mov dword [esp + 0x2c], ecx
call fcn.10187590
mov edi, dword [esp + 0x4c]
add esp, 0xc
test eax, eax
jne 0x100977b6
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x1c]
mov al, byte [ecx + eax]
mov cl, byte [ecx + edx]
mov edx, 0x4000
test al, al
jne 0x10097644
cmp word [esp + 0x38], dx
movzx eax, al
cmove eax, dword [esp + 0x30]
test cl, cl
jne 0x10097651
cmp word [esp + 0x34], dx
jne 0x10097659
mov cl, 0x2f
cmp al, cl
jb 0x100977b6
cmp al, cl
ja 0x100977b6
mov esi, 1
nop word [eax + eax]
mov ecx, dword [edi + esi*4]
mov edx, 0xf000
movzx eax, word [ecx]
and ax, dx
movzx eax, ax
mov dword [esp + 0x34], eax
movzx eax, word [ebx]
movzx ebx, word [ecx + 2]
and ax, dx
mov edx, dword [esp + 0xc]
mov ecx, dword [ecx + 8]
movzx eax, ax
mov dword [esp + 0x38], eax
movzx eax, word [edx + 2]
mov edx, dword [edx + 8]
cmp eax, ebx
mov dword [esp + 0x1c], ecx
cmovb ebx, eax
mov dword [esp + 0x20], edx
push ebx
push ecx
push edx
call fcn.10187590
add esp, 0xc
test eax, eax
jne 0x10097893
mov eax, dword [esp + 0x20]
mov edx, 0x4000
mov ecx, dword [esp + 0x1c]
mov al, byte [ebx + eax]
mov cl, byte [ebx + ecx]
test al, al
jne 0x100976eb
cmp word [esp + 0x38], dx
mov ebx, 0x2f
movzx eax, al
cmove eax, ebx
test cl, cl
jne 0x100976f8
cmp word [esp + 0x34], dx
jne 0x10097700
mov cl, 0x2f
cmp al, cl
jb 0x10097893
cmp al, cl
ja 0x10097893
mov ebx, dword [esp + 0xc]
inc esi
jmp 0x10097670
mov eax, dword [eax + 0x18]
mov ecx, dword [esp + 0x10]
mov eax, dword [eax + edx*4]
mov dword [esp + 0x30], eax
cmp ecx, esi
jb 0x1009777d
cmp esi, 8
jae 0x10097730
mov ebx, 8
jmp 0x10097745
cmp esi, 0xaaaaaaaa
ja 0x10097742
mov ebx, esi
shr ebx, 1
add ebx, esi
jne 0x10097745
jmp 0x10097779
or ebx, 0xffffffff
mov esi, dword [fcn.10060f30]
mov ecx, esi
push 0x26
push str.C:UsersAdmin_vcpkg_buildtreeslibgit2_src_v1.4.2_3f39c3e750.clean_src_vector.c
push 4
push ebx
push edi
call dword [0x101aa4d8]
call esi
add esp, 0x14
test eax, eax
je 0x100977ae
mov ecx, dword [esp + 0x10]
mov edi, eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x40], edi
mov ebx, dword [esp + 0x2c]
mov dword [edi + ecx*4], eax
inc ecx
mov dword [esp + 0x10], ecx
cmp ecx, 1
ja 0x1009779c
or dword [esp + 0xc], 1
mov dword [esp + 0x3c], 0
jmp 0x100973e4
and dword [esp + 0xc], 0xfffffffe
mov dword [esp + 0x3c], 0
jmp 0x100973e4
or ebx, 0xffffffff
jmp 0x10097ed3
mov ecx, dword [edi + esi*4]
mov edx, 0xf000
movzx eax, word [ecx]
and ax, dx
movzx eax, ax
mov dword [esp + 0x34], eax
movzx eax, word [ebx]
movzx ebx, word [ecx + 2]
and ax, dx
mov edx, dword [esp + 0xc]
mov ecx, dword [ecx + 8]
movzx eax, ax
mov dword [esp + 0x38], eax
movzx eax, word [edx + 2]
mov edx, dword [edx + 8]
cmp eax, ebx
mov dword [esp + 0x1c], ecx
cmovb ebx, eax
mov dword [esp + 0x20], edx
push ebx
push ecx
push edx
call fcn.10187590
add esp, 0xc
test eax, eax
jne 0x10097846
mov eax, dword [esp + 0x20]
mov edx, 0x4000
mov ecx, dword [esp + 0x1c]
mov al, byte [ebx + eax]
mov cl, byte [ebx + ecx]
test al, al
jne 0x1009782d
cmp word [esp + 0x38], dx
mov ebx, 0x2f
movzx eax, al
cmove eax, ebx
test cl, cl
jne 0x1009783a
cmp word [esp + 0x34], dx
jne 0x1009783e
mov cl, 0x2f
cmp al, cl
jb 0x10097870
cmp cl, al
sbb eax, eax
neg eax
test eax, eax
js 0x10097870
test eax, eax
jle 0x100978a0
mov eax, dword [esp + 0x14]
sub eax, esi
cmp eax, 1
jle 0x10097892
mov ebx, dword [esp + 0xc]
mov eax, esi
mov esi, dword [esp + 0x14]
sub esi, eax
mov dword [esp + 0x2c], eax
sar esi, 1
add esi, eax
jmp 0x100977b6
mov eax, esi
sub eax, dword [esp + 0x2c]
cmp eax, 1
jle 0x10097893
mov eax, dword [esp + 0x2c]
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x14], esi
sub esi, eax
sar esi, 1
add esi, eax
jmp 0x100977b6
inc esi
mov ebx, dword [esp + 0xc]
jmp 0x1009793e
mov ecx, dword [edi + esi*4 + 4]
inc esi
mov edx, dword [esp + 0xc]
mov ebx, 0xf000
movzx eax, word [ecx]
and ax, bx
movzx eax, ax
mov dword [esp + 0x34], eax
movzx eax, word [edx]
and ax, bx
movzx ebx, word [ecx + 2]
mov ecx, dword [ecx + 8]
movzx eax, ax
mov dword [esp + 0x38], eax
movzx eax, word [edx + 2]
mov edx, dword [edx + 8]
cmp eax, ebx
mov dword [esp + 0x1c], ecx
cmovb ebx, eax
mov dword [esp + 0x20], edx
push ebx
push ecx
push edx
call fcn.10187590
add esp, 0xc
test eax, eax
jne 0x10097893
mov eax, dword [esp + 0x20]
mov edx, 0x4000
mov ecx, dword [esp + 0x1c]
mov al, byte [ebx + eax]
mov cl, byte [ebx + ecx]
test al, al
jne 0x10097919
cmp word [esp + 0x38], dx
mov ebx, 0x2f
movzx eax, al
cmove eax, ebx
test cl, cl
jne 0x10097926
cmp word [esp + 0x34], dx
jne 0x1009792e
mov cl, 0x2f
cmp al, cl
jb 0x10097893
cmp al, cl
jbe 0x100978a0
mov ebx, dword [esp + 0xc]
jmp 0x1009793e
xor esi, esi
mov ecx, dword [esp + 0x24]
cmp ecx, esi
jl 0x10097952
mov eax, dword [edi + ecx*4]
mov dword [edi + ecx*4 + 4], eax
dec ecx
cmp ecx, esi
jge 0x10097946
mov dword [edi + esi*4], ebx
mov eax, dword [esp + 0x5c]
mov ebx, 0xf000
inc eax
mov dword [esp + 0x5c], eax
cmp eax, dword [esp + 0x10]
jb 0x10097474
jmp 0x10097ce5
mov ecx, esi
xor edx, edx
mov eax, ecx
shr ecx, 1
and eax, 1
or edx, eax
cmp ecx, 0x40
jae 0x10097976
lea eax, [esp + 0x4c]
mov dword [esp + 0x4c], 0
lea esi, [edx + ecx]
mov dword [esp + 0x58], 0
push eax
push dword [esp + 0x14]
xor edx, edx
mov dword [esp + 0x1c], esi
mov ecx, edi
mov dword [esp + 0x58], fcn.10096350
mov dword [esp + 0x5c], sym.user32.dll_git_tree_entry_cmp
call fcn.10095c10
mov ebx, eax
add esp, 8
mov eax, dword [esp + 0x10]
cmp esi, eax
cmovg esi, eax
cmp esi, ebx
jle 0x100979e4
push sym.user32.dll_git_tree_entry_cmp
push ecx
push esi
mov edx, ebx
mov ecx, edi
call fcn.10095a90
add esp, 0xc
mov ebx, esi
mov esi, dword [esp + 0x10]
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], ebx
cmp ebx, esi
je 0x10097ce5
lea eax, [esp + 0x4c]
mov edx, ebx
push eax
push esi
mov ecx, edi
call fcn.10095c10
mov ecx, esi
add esp, 8
mov esi, dword [esp + 0x14]
sub ecx, ebx
cmp esi, ecx
cmovg esi, ecx
cmp esi, eax
jle 0x10097a35
push sym.user32.dll_git_tree_entry_cmp
push ecx
push esi
lea ecx, [edi + ebx*4]
mov edx, eax
call fcn.10095a90
add esp, 0xc
mov eax, esi
mov esi, dword [esp + 0x10]
mov ecx, edi
mov dword [esp + 0x70], ebx
add ebx, eax
mov dword [esp + 0x74], eax
lea eax, [esp + 0x4c]
push eax
cmp ebx, esi
jne 0x10097a61
push 2
lea edx, [esp + 0x70]
call fcn.10095d20
add esp, 8
jmp 0x10097cc9
push esi
mov edx, ebx
call fcn.10095c10
mov ecx, esi
add esp, 8
mov esi, dword [esp + 0x14]
sub ecx, ebx
cmp esi, ecx
cmovg esi, ecx
cmp esi, eax
jle 0x10097a93
push sym.user32.dll_git_tree_entry_cmp
push ecx
push esi
lea ecx, [edi + ebx*4]
mov edx, eax
call fcn.10095a90
add esp, 0xc
mov eax, esi
mov dword [esp + 0x78], ebx
mov esi, 3
add ebx, eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0xc], ebx
cmp ebx, dword [esp + 0x10]
jne 0x10097ae0
lea ebx, [esp + 0x74]
lea eax, [esp + 0x4c]
mov ecx, edi
push eax
push esi
lea edx, [esp + 0x70]
call fcn.10095d20
mov eax, dword [ebx + 8]
lea ebx, [ebx - 8]
add dword [ebx + 8], eax
dec esi
add esp, 8
cmp esi, 1
jg 0x10097ab0
jmp 0x10097cc9
lea ebx, [esi*8]
cmp esi, 2
jl 0x10097c32
mov ecx, dword [esp + esi*8 + 0x5c]
mov edx, dword [esp + ebx + 0x64]
je 0x10097b03
lea eax, [edx + ecx]
cmp dword [esp + esi*8 + 0x54], eax
jle 0x10097b10
cmp ecx, edx
jg 0x10097c32
nop dword [eax + eax]
cmp esi, 2
je 0x10097bf2
lea eax, [esi*8 - 0x10]
mov edx, dword [esp + eax + 0x6c]
lea ebx, [esp + esi*8 + 0x54]
mov dword [esp + 0x24], eax
lea eax, [esi*8]
mov ecx, dword [esp + eax + 0x64]
mov dword [esp + 0x20], eax
lea eax, [ecx + edx]
cmp dword [ebx], eax
jg 0x10097bb1
lea eax, [esi - 1]
lea edx, [esp + 0x68]
mov dword [esp + 0x1c], eax
cmp dword [ebx], ecx
jge 0x10097b85
lea ecx, [esp + 0x4c]
push ecx
push eax
mov ecx, edi
call fcn.10095d20
mov edx, dword [esp + 0x2c]
add esp, 8
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + edx + 0x6c]
add dword [ebx], eax
mov eax, dword [esp + ecx + 0x60]
mov ecx, dword [esp + ecx + 0x64]
mov dword [esp + edx + 0x68], eax
mov dword [esp + edx + 0x6c], ecx
jmp 0x10097be4
lea eax, [esp + 0x4c]
mov ecx, edi
push eax
push esi
call fcn.10095d20
lea ecx, [esi*8]
add esp, 8
mov eax, dword [esp + ecx + 0x64]
lea edx, [esi*8 - 0x10]
add dword [esp + edx + 0x6c], eax
mov esi, dword [esp + 0x1c]
jmp 0x10097be4
cmp edx, ecx
jg 0x10097ae0
lea eax, [esp + 0x4c]
mov ecx, edi
push eax
push esi
lea edx, [esp + 0x70]
call fcn.10095d20
lea ecx, [esi*8]
add esp, 8
mov eax, dword [esp + ecx + 0x64]
lea edx, [esi*8 - 0x10]
add dword [esp + edx + 0x6c], eax
dec esi
cmp esi, 1
jg 0x10097b10
jmp 0x10097ae0
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x74]
lea eax, [ecx + edx]
cmp eax, dword [esp + 0x10]
je 0x10097c0b
cmp ecx, edx
jg 0x10097ae0
lea eax, [esp + 0x4c]
mov ecx, edi
push eax
push 2
lea edx, [esp + 0x70]
call fcn.10095d20
mov eax, dword [esp + 0x7c]
add esp, 8
add dword [esp + 0x6c], eax
mov esi, 1
jmp 0x10097ae0
mov edx, dword [esp + 0xc]
lea eax, [esp + 0x4c]
push eax
push dword [esp + 0x14]
mov ecx, edi
call fcn.10095c10
mov ecx, dword [esp + 0x18]
add esp, 8
sub ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
cmp edx, ecx
cmovg edx, ecx
mov dword [esp + 0x24], edx
cmp edx, eax
jle 0x10097c7e
push sym.user32.dll_git_tree_entry_cmp
push ecx
mov ecx, dword [esp + 0x14]
push edx
mov edx, eax
lea ecx, [edi + ecx*4]
call fcn.10095a90
mov eax, dword [esp + 0x30]
add esp, 0xc
mov ecx, dword [esp + 0xc]
inc esi
mov dword [esp + ebx + 0x68], ecx
mov dword [esp + ebx + 0x6c], eax
mov ebx, ecx
add ebx, eax
mov dword [esp + 0xc], ebx
cmp ebx, dword [esp + 0x10]
jne 0x10097ae0
cmp esi, 1
jle 0x10097cc9
lea ebx, [esp + esi*8 + 0x5c]
lea eax, [esp + 0x4c]
mov ecx, edi
push eax
push esi
lea edx, [esp + 0x70]
call fcn.10095d20
mov eax, dword [ebx + 8]
lea ebx, [ebx - 8]
add dword [ebx + 8], eax
dec esi
add esp, 8
cmp esi, 1
jg 0x10097ca6
mov eax, dword [esp + 0x58]
test eax, eax
je 0x10097ce5
mov esi, dword [fcn.10034de0]
mov ecx, esi
push eax
call dword [0x101aa4d8]
call esi
add esp, 4
mov eax, dword [esp + 0x10]
test eax, eax
je 0x10097e99
xor esi, esi
cmp dword [esp + 0x3c], esi
jne 0x10097e99
cmp esi, eax
jae 0x10097d06
mov ebx, dword [edi + esi*4]
jmp 0x10097d08
xor ebx, ebx
movzx eax, word [ebx]
push eax
push 0x101e8dd4
push dword [esp + 0x20]
call fcn.1002c540
movzx ecx, word [ebx + 2]
add esp, 0xc
mov eax, dword [ebx + 8]
inc ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x24], eax
test eax, eax
jne 0x10097d4f
push str.data
push str.invalid_argument
push 0x101dc9a8
push 3
call fcn.1002a5a0
add esp, 0x10
jmp 0x10097dd4
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 8]
lea edx, [eax + ecx]
cmp edx, eax
jb 0x10097dc9
lea eax, [edx + 1]
mov dword [esp + 0x28], esi
cmp eax, edx
jb 0x10097dc9
mov edi, dword [esp + 0x18]
mov edx, esi
cmp dword [edi], 0x102069cc
mov edi, dword [esp + 0x40]
je 0x10097dd4
mov esi, dword [esp + 0x48]
cmp eax, dword [esi]
jbe 0x10097d9c
mov ecx, dword [esp + 0x18]
mov esi, edx
push 1
mov edx, eax
call fcn.1002bbe0
add esp, 4
test eax, eax
js 0x10097dd4
mov ecx, dword [esp + 0x30]
mov esi, dword [esp + 0x18]
push ecx
push dword [esp + 0x28]
mov eax, dword [esi + 8]
add eax, dword [esi]
push eax
call fcn.101787d0
mov eax, dword [esp + 0x3c]
add esp, 0xc
add dword [esi + 8], eax
mov ecx, dword [esi + 8]
mov eax, dword [esi]
mov esi, dword [esp + 0x28]
mov byte [ecx + eax], 0
jmp 0x10097dd4
call fcn.1002d4d0
mov dword [eax], str.Out_of_memory
mov ebx, dword [ebx + 4]
mov edx, esi
mov dword [esp + 0x24], edx
test ebx, ebx
jne 0x10097dff
push str.data
push str.invalid_argument
push 0x101dc9a8
push 3
call fcn.1002a5a0
add esp, 0x10
jmp 0x10097e7a
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 8]
lea ecx, [eax + 0x14]
cmp ecx, eax
jb 0x10097e6f
mov esi, edx
lea edx, [ecx + 1]
cmp edx, ecx
jb 0x10097e64
mov ecx, dword [esp + 0x18]
cmp dword [ecx], 0x102069cc
je 0x100977ae
mov eax, dword [esp + 0x48]
cmp edx, dword [eax]
jbe 0x10097e40
push 1
call fcn.1002bbe0
add esp, 4
test eax, eax
js 0x10097e7a
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 8]
add eax, dword [ecx]
push 0x14
push ebx
push eax
call fcn.101787d0
mov eax, dword [esp + 0x24]
add esp, 0xc
add dword [eax + 8], 0x14
mov ecx, dword [eax + 8]
mov eax, dword [eax]
mov byte [ecx + eax], 0
jmp 0x10097e7a
call fcn.1002d4d0
mov esi, dword [esp + 0x24]
jmp 0x10097e74
call fcn.1002d4d0
mov dword [eax], str.Out_of_memory
mov ebx, dword [esp + 0x18]
cmp dword [ebx], 0x102069cc
je 0x100977ae
mov eax, dword [esp + 0x10]
inc esi
cmp esi, eax
jb 0x10097d01
jmp 0x10097e9d
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0x24]
mov edx, dword [eax]
call fcn.1000a010
mov dword [esp + 0x3c], eax
test eax, eax
jne 0x10097ecf
push 2
push dword [ebx + 8]
push dword [ebx]
push dword [esp + 0x30]
push dword [esp + 0x74]
call sym.user32.dll_git_odb_write
add esp, 0x14
mov ebx, eax
jmp 0x10097ed3
mov ebx, dword [esp + 0x3c]
mov esi, dword [fcn.10034de0]
mov ecx, esi
push edi
call dword [0x101aa4d8]
call esi
mov ecx, dword [esp + 0x470]
add esp, 4
mov eax, ebx
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10176e3f
mov esp, ebp
pop ebp
ret