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

Disassembly:
sub esp, 0x90
push ebx
push ebp
mov eax, 0x102069cd
mov dword [esp + 0x10], 0
push esi
push edi
xor edi, edi
mov dword [esp + 0x14], eax
mov esi, eax
xorps xmm0, xmm0
mov dword [esp + 0x24], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x28], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x38], esi
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], edi
mov dword [esp + 0x7c], edi
mov dword [esp + 0x8c], 1
movups xmmword [esp + 0x90], xmm0
cmp dword [esp + 0xa4], edi
jne 0x1001f9b9
push 0x101dc990
push str.invalid_argument
push 0x101dc9a8
push 3
call fcn.1002a5a0
add esp, 0x10
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret
mov ebx, dword [esp + 0xa8]
test ebx, ebx
jne 0x1001f9cb
push 0x101df8ac
jmp 0x1001f997
mov eax, dword [esp + 0xac]
lea ebp, [esp + 0x8c]
test eax, eax
cmovne ebp, eax
mov dword [esp + 0x58], ebp
test ebp, ebp
je 0x1001f9fd
mov ecx, dword [ebp]
lea eax, [ecx - 1]
test eax, eax
je 0x1001f9fd
push str.git_remote_create_options
push ecx
push str.invalid_version__d_on__s
jmp 0x1001f9a1
mov esi, dword [ebp + 8]
test esi, esi
je 0x1001fa5f
lea eax, [esp + 0x80]
push esi
push eax
call sym.user32.dll_git_remote_name_is_valid
add esp, 8
test eax, eax
jne 0x1001fa42
cmp dword [esp + 0x80], edi
jne 0x1001fa48
push esi
push str._s_is_not_a_valid_remote_name.
push 7
call fcn.1002a5a0
add esp, 0xc
mov eax, 0xfffffff4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret
js 0x1001f9ae
mov ecx, dword [ebp + 4]
test ecx, ecx
je 0x1001fa5f
mov edx, dword [ebp + 8]
call fcn.1001f870
test eax, eax
js 0x1001f9ae
mov eax, dword [ebp + 4]
test eax, eax
je 0x1001fa86
push eax
lea eax, [esp + 0x34]
push eax
call sym.user32.dll_git_repository_config_snapshot
mov edi, eax
add esp, 8
mov eax, dword [esp + 0x30]
mov dword [esp + 0x24], eax
test edi, edi
js 0x1002017a
mov esi, dword [fcn.10060f30]
mov ecx, esi
push 0xef
push str.C:UsersAdmin_vcpkg_buildtreeslibgit2_src_v1.4.2_3f39c3e750.clean_src_remote.c
push 0xa8
push 1
call dword [0x101aa4d8]
call esi
add esp, 0x10
mov dword [esp + 0x18], eax
test eax, eax
je 0x1001f9ab
mov ecx, dword [ebp + 4]
mov edx, 8
mov dword [eax + 0x74], ecx
lea ecx, [eax + 0xc]
push 0
call fcn.1003a580
mov edi, eax
add esp, 4
test edi, edi
js 0x1002017a
mov edx, ebx
lea ecx, [esp + 0x4c]
call fcn.1001f790
mov edi, eax
test edi, edi
js 0x10020170
cmp dword [ebp + 4], 0
je 0x1001ff8d
test byte [ebp + 0x10], 1
jne 0x1001ff8d
mov eax, dword [esp + 0x18]
xor ebx, ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x5c], 0x102069cd
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
add eax, 4
jne 0x1001fb49
push 0x101dc990
push str.invalid_argument
push 0x101dc9a8
push 3
call fcn.1002a5a0
mov ebx, dword [esp + 0x5c]
add esp, 0x10
or edi, 0xffffffff
mov dword [esp + 0x14], ebx
jmp 0x1002017c
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x1001fb7a
push str.config
push str.invalid_argument
push 0x101dc9a8
push 3
call fcn.1002a5a0
mov eax, dword [esp + 0x5c]
add esp, 0x10
or edi, 0xffffffff
mov dword [esp + 0x14], eax
jmp 0x1002017c
mov esi, dword [esp + 0x4c]
mov dword [esp + 0x14], esi
test esi, esi
jne 0x1001fba7
push 0x101df8ac
push str.invalid_argument
push 0x101dc9a8
push 3
call fcn.1002a5a0
add esp, 0x10
or edi, 0xffffffff
jmp 0x1002017c
push str.url...insteadof
push eax
lea eax, [esp + 0x8c]
push eax
call sym.user32.dll_git_config_iterator_glob_new
add esp, 0xc
test eax, eax
jns 0x1001fbc9
or edi, 0xffffffff
jmp 0x1002017c
mov ebp, dword [esp + 0x84]
lea eax, [esp + 0x34]
push ebp
xor edi, edi
push eax
mov esi, dword [ebp + 8]
mov ecx, esi
mov dword [esp + 0x28], edi
call dword [0x101aa4d8]
call esi
add esp, 8
test eax, eax
jne 0x1001fcc9
mov esi, dword [esp + 0x14]
lea ecx, [esi + 1]
mov dword [esp + 0x2c], ecx
nop
mov edi, dword [esp + 0x34]
mov bl, byte [esi]
mov eax, dword [edi + 4]
mov dl, byte [eax]
inc eax
test dl, dl
je 0x1001fc2a
cmp bl, dl
jne 0x1001fc20
mov dl, byte [eax]
inc eax
mov bl, byte [ecx]
inc ecx
test dl, dl
jne 0x1001fc10
jmp 0x1001fc2a
movzx ecx, bl
movzx eax, dl
sub ecx, eax
jne 0x1001fc9b
mov edi, dword [edi + 4]
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x1001fc30
sub edi, ecx
cmp edi, dword [esp + 0x20]
jbe 0x1001fc9b
push dword [esp + 0x1c]
mov esi, dword [fcn.10034de0]
mov ecx, esi
call dword [0x101aa4d8]
call esi
mov eax, dword [esp + 0x38]
add esp, 4
mov dword [esp + 0x20], edi
mov edx, dword [eax]
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001fc65
sub ecx, esi
mov esi, dword [fcn.10060f30]
push 0xbeb
push str.C:UsersAdmin_vcpkg_buildtreeslibgit2_src_v1.4.2_3f39c3e750.clean_src_remote.c
lea eax, [ecx - 0xe]
mov ecx, esi
push eax
lea eax, [edx + 4]
push eax
call dword [0x101aa4d8]
call esi
mov ebx, eax
add esp, 0x10
mov dword [esp + 0x1c], ebx
jmp 0x1001fca3
mov edi, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
mov esi, dword [ebp + 8]
lea eax, [esp + 0x34]
push ebp
push eax
mov ecx, esi
call dword [0x101aa4d8]
call esi
mov ecx, dword [esp + 0x34]
add esp, 8
mov esi, dword [esp + 0x14]
test eax, eax
je 0x1001fc00
mov esi, dword [ebp + 0xc]
mov ecx, esi
push ebp
call dword [0x101aa4d8]
call esi
mov eax, dword [esp + 0x18]
add esp, 4
test edi, edi
jne 0x1001fd1a
mov esi, dword [fcn.10060f30]
mov ecx, esi
push 0xbf1
push str.C:UsersAdmin_vcpkg_buildtreeslibgit2_src_v1.4.2_3f39c3e750.clean_src_remote.c
push eax
call dword [0x101aa4d8]
call esi
mov ecx, dword [esp + 0x24]
add esp, 0xc
mov edi, eax
neg edi
sbb edi, edi
mov dword [ecx + 4], eax
neg edi
dec edi
test eax, eax
je 0x1002017c
jmp 0x1001fd79
add eax, edi
push eax
push ebx
lea eax, [esp + 0x64]
push str._s_s
push eax
call fcn.1002c540
mov esi, dword [fcn.10034de0]
add esp, 0x10
mov ecx, esi
push ebx
call dword [0x101aa4d8]
call esi
mov eax, dword [esp + 0x60]
add esp, 4
cmp dword [esp + 0x60], 0
je 0x1001fd70
cmp eax, 0x102069cc
je 0x1001fd70
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x5c], 0x102069cd
jmp 0x1001fd72
xor eax, eax
mov ecx, dword [esp + 0x18]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x18]
xor ebx, ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x68], 0x102069cd
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
add eax, 8
jne 0x1001fdb9
push 0x101dc990
push str.invalid_argument
push 0x101dc9a8
push 3
call fcn.1002a5a0
add esp, 0x10
or edi, 0xffffffff
jmp 0x1002017c
push str.url...pushinsteadof
push dword [esp + 0x28]
lea eax, [esp + 0x90]
push eax
call sym.user32.dll_git_config_iterator_glob_new
add esp, 0xc
test eax, eax
jns 0x1001fdde
or edi, 0xffffffff
jmp 0x1002017c
mov ebp, dword [esp + 0x88]
lea eax, [esp + 0x2c]
push ebp
xor edi, edi
push eax
mov esi, dword [ebp + 8]
mov ecx, esi
mov dword [esp + 0x24], edi
call dword [0x101aa4d8]
call esi
add esp, 8
test eax, eax
jne 0x1001fee4
mov esi, dword [esp + 0x14]
lea ecx, [esi + 1]
mov dword [esp + 0x3c], ecx
mov edi, dword [esp + 0x2c]
mov bl, byte [esi]
mov eax, dword [edi + 4]
mov dl, byte [eax]
inc eax
test dl, dl
je 0x1001fe3e
cmp bl, dl
jne 0x1001fe34
mov dl, byte [eax]
inc eax
mov bl, byte [ecx]
inc ecx
test dl, dl
jne 0x1001fe24
jmp 0x1001fe3e
movzx ecx, bl
movzx eax, dl
sub ecx, eax
jne 0x1001feb6
mov edi, dword [edi + 4]
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x1001fe44
sub edi, ecx
cmp edi, dword [esp + 0x1c]
jbe 0x1001feb6
push dword [esp + 0x20]
mov esi, dword [fcn.10034de0]
mov ecx, esi
call dword [0x101aa4d8]
call esi
mov eax, dword [esp + 0x30]
add esp, 4
mov dword [esp + 0x1c], edi
mov edx, dword [eax]
mov ecx, edx
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001fe80
sub ecx, esi
mov esi, dword [fcn.10060f30]
push 0xbeb
push str.C:UsersAdmin_vcpkg_buildtreeslibgit2_src_v1.4.2_3f39c3e750.clean_src_remote.c
lea eax, [ecx - 0x12]
mov ecx, esi
push eax
lea eax, [edx + 4]
push eax
call dword [0x101aa4d8]
call esi
mov ebx, eax
add esp, 0x10
mov dword [esp + 0x20], ebx
jmp 0x1001febe
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
mov esi, dword [ebp + 8]
lea eax, [esp + 0x2c]
push ebp
push eax
mov ecx, esi
call dword [0x101aa4d8]
call esi
mov ecx, dword [esp + 0x44]
add esp, 8
mov esi, dword [esp + 0x14]
test eax, eax
je 0x1001fe14
mov esi, dword [ebp + 0xc]
mov ecx, esi
push ebp
call dword [0x101aa4d8]
call esi
add esp, 4
test edi, edi
jne 0x1001ff11
mov edi, dword [esp + 0x18]
mov ebp, dword [esp + 0x58]
mov ebx, dword [esp + 0x14]
mov dword [edi + 8], 0
jmp 0x1001ffc2
mov eax, dword [esp + 0x14]
add eax, edi
push eax
push ebx
lea eax, [esp + 0x70]
push str._s_s
push eax
call fcn.1002c540
mov esi, dword [fcn.10034de0]
add esp, 0x10
mov ecx, esi
push ebx
call dword [0x101aa4d8]
call esi
mov eax, dword [esp + 0x6c]
add esp, 4
cmp dword [esp + 0x6c], 0
je 0x1001ff7a
cmp eax, 0x102069cc
je 0x1001ff7a
mov edi, dword [esp + 0x18]
mov ebp, dword [esp + 0x58]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x68], 0x102069cd
mov dword [edi + 8], eax
jmp 0x1001ffc2
mov edi, dword [esp + 0x18]
xor eax, eax
mov ebp, dword [esp + 0x58]
mov ebx, dword [esp + 0x14]
mov dword [edi + 8], eax
jmp 0x1001ffc2
mov ebx, dword [esp + 0x4c]
mov esi, dword [fcn.10060f30]
mov ecx, esi
push 0xfd
push str.C:UsersAdmin_vcpkg_buildtreeslibgit2_src_v1.4.2_3f39c3e750.clean_src_remote.c
push ebx
mov dword [esp + 0x20], ebx
call dword [0x101aa4d8]
call esi
mov edi, dword [esp + 0x24]
add esp, 0xc
mov dword [edi + 4], eax
test eax, eax
je 0x1001f9ab
mov eax, dword [ebp + 8]
test eax, eax
je 0x10020050
mov esi, dword [fcn.10060f30]
mov ecx, esi
push 0x102
push str.C:UsersAdmin_vcpkg_buildtreeslibgit2_src_v1.4.2_3f39c3e750.clean_src_remote.c
push eax
call dword [0x101aa4d8]
call esi
add esp, 0xc
mov dword [edi], eax
test eax, eax
je 0x1001f9ab
cmp dword [ebp + 4], 0
je 0x10020050
push dword [ebp + 8]
lea eax, [esp + 0x44]
push str.remote._s.url
push eax
call fcn.1002c540
mov edi, eax
add esp, 0xc
test edi, edi
js 0x10020166
mov edx, dword [ebp + 4]
lea ecx, [esp + 0x3c]
call fcn.10009d00
mov edi, eax
test edi, edi
js 0x10020166
mov esi, dword [esp + 0x40]
push ebx
push esi
push dword [esp + 0x44]
mov dword [esp + 0x34], esi
call sym.user32.dll_git_config_set_string
mov edi, eax
add esp, 0xc
test edi, edi
js 0x1002017c
mov esi, dword [ebp + 0xc]
test esi, esi
jne 0x10020087
mov edx, dword [ebp + 8]
test edx, edx
je 0x100200fe
test byte [ebp + 0x10], 2
jne 0x100200fe
lea ecx, [esp + 0x74]
call fcn.1001f850
mov esi, dword [esp + 0x74]
mov edi, eax
mov dword [esp + 0x38], esi
test edi, edi
js 0x1002017a
mov ebx, dword [esp + 0x18]
mov edx, esi
push 1
lea ecx, [ebx + 0x20]
call fcn.1001f560
mov edi, eax
add esp, 4
test edi, edi
js 0x1002017a
mov ecx, dword [ebp + 4]
test ecx, ecx
je 0x100200e2
mov edx, dword [ebp + 8]
test edx, edx
je 0x100200e2
push 1
push esi
call fcn.1001f640
mov edi, eax
add esp, 8
test edi, edi
js 0x1002017c
push dword [ebp + 8]
mov edx, dword [esp + 0x28]
mov ecx, ebx
call fcn.10020d80
mov edi, eax
add esp, 4
test edi, edi
js 0x1002017c
mov ecx, dword [esp + 0x18]
lea edx, [ebx + 0x20]
lea eax, [ecx + 0xc]
add ecx, 0x34
push eax
call fcn.10022680
mov edi, eax
add esp, 4
test edi, edi
js 0x1002017a
mov eax, dword [ebp + 8]
mov ebx, dword [esp + 0x18]
neg eax
sbb eax, eax
add eax, 2
mov dword [ebx + 0x9c], eax
cmp dword [esp + 0x44], 0
jbe 0x1002013c
mov eax, dword [esp + 0x28]
test eax, eax
je 0x1002013c
cmp eax, 0x102069cc
je 0x1002013c
mov esi, dword [fcn.10034de0]
mov ecx, esi
push eax
call dword [0x101aa4d8]
call esi
add esp, 4
mov eax, 0x102069cd
mov dword [esp + 0x44], 0
mov dword [esp + 0x28], eax
xor edi, edi
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x48], 0
mov dword [eax], ebx
jmp 0x10020188
mov eax, dword [esp + 0x40]
mov dword [esp + 0x28], eax
jmp 0x10020178
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x14], eax
test edi, edi
je 0x10020188
push dword [esp + 0x18]
call sym.user32.dll_git_remote_free
add esp, 4
mov edx, dword [esp + 0x24]
test edx, edx
je 0x10020266
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x10020266
cmp dword [edx + 4], 0
jne 0x10020266
mov eax, dword [edx + 0x14]
xor ebp, ebp
test eax, eax
je 0x1002020b
cmp ebp, eax
jae 0x100201c3
mov eax, dword [edx + 0x10]
mov ebx, dword [eax + ebp*4]
jmp 0x100201c5
xor ebx, ebx
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x10020203
cmp dword [ebx + 4], 0
jne 0x10020203
mov eax, dword [ebx + 8]
push eax
mov esi, dword [eax + 0x34]
mov ecx, esi
call dword [0x101aa4d8]
call esi
mov esi, dword [fcn.10034de0]
add esp, 4
mov ecx, esi
push ebx
call dword [0x101aa4d8]
call esi
mov edx, dword [esp + 0x28]
add esp, 4
mov eax, dword [edx + 0x14]
inc ebp
cmp ebp, eax
jb 0x100201bb
lea ebx, [edx + 8]
test ebx, ebx
je 0x10020240
push dword [ebx + 8]
mov esi, dword [fcn.10034de0]
mov ecx, esi
call dword [0x101aa4d8]
call esi
mov edx, dword [esp + 0x28]
add esp, 4
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebx], 0
mov ecx, 0x1c
mov eax, edx
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x10020247
mov esi, dword [fcn.10034de0]
mov ecx, esi
push edx
call dword [0x101aa4d8]
call esi
add esp, 4
cmp dword [esp + 0x78], 0
jbe 0x10020290
mov eax, dword [esp + 0x38]
test eax, eax
je 0x10020290
cmp eax, 0x102069cc
je 0x10020290
mov esi, dword [fcn.10034de0]
mov ecx, esi
push eax
call dword [0x101aa4d8]
call esi
add esp, 4
cmp dword [esp + 0x50], 0
jbe 0x100202ba
mov eax, dword [esp + 0x14]
test eax, eax
je 0x100202ba
cmp eax, 0x102069cc
je 0x100202ba
mov esi, dword [fcn.10034de0]
mov ecx, esi
push eax
call dword [0x101aa4d8]
call esi
add esp, 4
cmp dword [esp + 0x44], 0
jbe 0x100202e4
mov eax, dword [esp + 0x28]
test eax, eax
je 0x100202e4
cmp eax, 0x102069cc
je 0x100202e4
mov esi, dword [fcn.10034de0]
mov ecx, esi
push eax
call dword [0x101aa4d8]
call esi
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret