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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x1d8
push esi
push edi
push 0x4c
lea eax, [esp + 0x98]
mov dword [esp + 0x1c], 0
mov edi, edx
mov dword [esp + 0x8c], 1
mov esi, ecx
mov dword [esp + 0x10], edi
push 0
push eax
mov dword [esp + 0x78], esi
mov dword [esp + 0x98], 1
mov dword [esp + 0x9c], 1
call fcn.100f65b0
add esp, 0xc
mov dword [esp + 0xe0], 1
lea eax, [esp + 0xe8]
mov dword [esp + 0xe4], 1
push 0x38
push 0
push eax
call fcn.100f65b0
xorps xmm0, xmm0
mov dword [esp + 0x12c], 0
add esp, 0xc
mov dword [esp + 0x124], 1
mov dword [esp + 0x128], 0
mov dword [esp + 0x12c], 1
mov dword [esp + 0x140], 0
movq qword [esp + 0x144], xmm0
mov dword [esp + 0x14c], 0
movq qword [esp + 0x160], xmm0
mov dword [esp + 0x168], 0
movups xmmword [esp + 0x130], xmm0
movups xmmword [esp + 0x150], xmm0
test esi, esi
jne 0x10027539
push 0x1013aff0
push str.invalid_argument
push 0x1013b008
push 3
call fcn.10028220
add esp, 0x10
or eax, 0xffffffff
pop edi
pop esi
mov esp, ebp
pop ebp
ret
test edi, edi
jne 0x1002755f
push 0x1013df8c
push str.invalid_argument
push 0x1013b008
push 3
call fcn.10028220
add esp, 0x10
or eax, 0xffffffff
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp dword [ebp + 8], 0
jne 0x10027587
push str.local_path
push str.invalid_argument
push 0x1013b008
push 3
call fcn.10028220
add esp, 0x10
or eax, 0xffffffff
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x100275a0
mov ecx, 0x39
lea edi, [esp + 0x88]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0xc]
mov ecx, dword [esp + 0x88]
lea eax, [ecx - 1]
test eax, eax
je 0x100275cc
push str.git_clone_options
push ecx
push str.invalid_version__d_on__s
push 3
call fcn.10028220
add esp, 0x10
or eax, 0xffffffff
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 8]
xor edx, edx
mov ecx, esi
call fcn.10040730
test eax, eax
jne 0x10027607
cmp dword [ebp + 0x10], eax
jne 0x10027607
mov ecx, esi
call fcn.100300f0
test al, al
jne 0x10027607
push esi
push str._s_exists_and_is_not_an_empty_directory
push 3
call fcn.10028220
add esp, 0xc
mov eax, 0xfffffffc
pop edi
pop esi
mov esp, ebp
pop ebp
ret
xor edx, edx
mov ecx, esi
call fcn.10040730
push dword [esp + 0x160]
mov ecx, dword [esp + 0x160]
neg eax
push dword [esp + 0x154]
sbb eax, eax
mov esi, 0x10027080
push dword [ebp + 8]
and eax, 0xfffffff0
add eax, 0x11
test ecx, ecx
mov dword [esp + 0x74], eax
lea eax, [esp + 0x24]
cmovne esi, ecx
push eax
mov ecx, esi
call dword [0x101182f8]
call esi
add esp, 0x10
test eax, eax
js 0x1002802d
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x88]
push eax
push edi
lea ecx, [esp + 0x18]
call fcn.100270c0
mov edi, eax
add esp, 8
test edi, edi
jne 0x10027d07
cmp dword [esp + 0x154], 2
mov esi, 0x1015de6d
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
je 0x10027b45
mov edi, dword [esp + 0xc]
mov ecx, edi
call fcn.1002fd30
test eax, eax
jle 0x100276d1
mov edx, edi
lea ecx, [esp + 0x5c]
call fcn.1002fdb0
mov esi, dword [esp + 0x5c]
test eax, eax
jns 0x100276c5
mov edi, 0xff
jmp 0x100276ff
cmp dword [esp + 0x154], 0
mov edi, esi
je 0x100276fd
lea edx, [esp + 0x170]
mov ecx, edi
call fcn.10040360
test eax, eax
js 0x100276fd
mov eax, dword [esp + 0x176]
and eax, 0xf000
cmp eax, 0x4000
jne 0x100276fd
mov edi, 1
jmp 0x100276ff
xor edi, edi
cmp dword [esp + 0x60], 0
jbe 0x10027726
test esi, esi
je 0x10027726
cmp esi, 0x1015de6c
je 0x10027726
push esi
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
mov ecx, esi
call dword [0x101182f8]
call esi
add esp, 4
xor eax, eax
mov dword [esp + 0x60], 0
cmp dword [esp + 0x154], 3
mov dword [esp + 0x64], 0
setne al
mov dword [esp + 0x5c], 0x1015de6d
mov dword [esp + 0x1c], eax
cmp edi, 1
jne 0x10027b2d
mov eax, dword [esp + 0x18]
mov dword [esp + 0xc], eax
mov dword [esp + 0x44], 0x1015de6d
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0x1015de6d
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x20], 0x1015de6d
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0x1015de6d
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
test eax, eax
jne 0x100277e5
push str.repo
push str.invalid_argument
push 0x1013b008
push 3
call fcn.10028220
add esp, 0x10
or edi, 0xffffffff
jmp 0x10027cf3
mov esi, dword [esp + 0x10]
test esi, esi
jne 0x1002780e
push str.remote
push str.invalid_argument
push 0x1013b008
push 3
call fcn.10028220
add esp, 0x10
or edi, 0xffffffff
jmp 0x10027cf3
push eax
call sym.user32.dll_git_repository_is_empty
add esp, 4
test eax, eax
jne 0x10027832
push str.the_repository_is_not_empty
push 3
call fcn.10028220
add esp, 8
or edi, 0xffffffff
jmp 0x10027cf3
mov edi, dword [esi + 4]
mov ecx, edi
call fcn.1002fd30
test eax, eax
jle 0x1002784d
mov edx, edi
lea ecx, [esp + 0x20]
call fcn.1002fdb0
jmp 0x10027872
test edi, edi
je 0x10027861
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10027856
sub ecx, edx
jmp 0x10027863
xor ecx, ecx
push ecx
mov edx, edi
lea ecx, [esp + 0x24]
call fcn.10029a40
add esp, 4
mov edi, eax
test edi, edi
js 0x10027cf3
push 0
push 1
push dword [esp + 0x28]
lea eax, [esp + 0x20]
push eax
call sym.user32.dll_git_repository_open_ext
mov edi, eax
add esp, 0x10
test edi, edi
jns 0x100278de
cmp dword [esp + 0x24], 0
jbe 0x100278c1
mov eax, dword [esp + 0x20]
test eax, eax
je 0x100278c1
cmp eax, 0x1015de6c
je 0x100278c1
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
mov ecx, esi
push eax
call dword [0x101182f8]
call esi
add esp, 4
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x20], 0x1015de6d
jmp 0x10027cf3
mov edi, dword [esp + 0x14]
lea ecx, [esp + 0x44]
push 4
mov edx, edi
call fcn.1000cbd0
add esp, 4
test eax, eax
js 0x10027a11
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x50]
push 4
call fcn.1000cbd0
add esp, 4
test eax, eax
js 0x10027a11
test edi, edi
jne 0x10027931
push str.repo
push str.invalid_argument
push 0x1013b008
push 3
call fcn.10028220
add esp, 0x10
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x44]
push 0x1ff
push 0
call fcn.1003a490
mov edi, eax
add esp, 8
test edi, edi
jns 0x1002797a
cmp dword [esp + 0x1c], 0
je 0x10027a14
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x44]
push 0x1ff
push 0
call fcn.1003a490
mov edi, eax
add esp, 8
test edi, edi
js 0x10027a14
push dword [esi + 4]
lea eax, [esp + 0x30]
push str.clone:_from__s
push eax
call fcn.1002a210
add esp, 0xc
lea eax, [esp + 0xe0]
push dword [esp + 0x2c]
push eax
push 0
push esi
call sym.user32.dll_git_remote_fetch
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x10027a14
mov eax, dword [esp + 0x158]
mov edx, esi
mov esi, dword [esp + 0xc]
mov ecx, esi
push dword [esp + 0x2c]
test eax, eax
je 0x100279ce
push eax
call fcn.10026e60
add esp, 8
jmp 0x100279d6
call fcn.10026c30
add esp, 4
mov edi, eax
test edi, edi
jne 0x10027a14
test dword [esi + 0x60], 1
jne 0x10027a14
cmp dword [esp + 0x90], eax
je 0x10027a14
push esi
call sym.user32.dll_git_repository_head_unborn
add esp, 4
test eax, eax
jne 0x10027a14
lea eax, [esp + 0x8c]
push eax
push edi
push esi
call sym.user32.dll_git_checkout_tree
add esp, 0xc
mov edi, eax
jmp 0x10027a14
or edi, 0xffffffff
cmp dword [esp + 0x30], 0
jbe 0x10027a3e
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x10027a3e
cmp eax, 0x1015de6c
je 0x10027a3e
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
mov ecx, esi
push eax
call dword [0x101182f8]
call esi
add esp, 4
cmp dword [esp + 0x24], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x2c], 0x1015de6d
jbe 0x10027a80
mov eax, dword [esp + 0x20]
test eax, eax
je 0x10027a80
cmp eax, 0x1015de6c
je 0x10027a80
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
mov ecx, esi
push eax
call dword [0x101182f8]
call esi
add esp, 4
cmp dword [esp + 0x48], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x20], 0x1015de6d
jbe 0x10027ac2
mov eax, dword [esp + 0x44]
test eax, eax
je 0x10027ac2
cmp eax, 0x1015de6c
je 0x10027ac2
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
mov ecx, esi
push eax
call dword [0x101182f8]
call esi
add esp, 4
cmp dword [esp + 0x54], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x44], 0x1015de6d
jbe 0x10027b04
mov eax, dword [esp + 0x50]
test eax, eax
je 0x10027b04
cmp eax, 0x1015de6c
je 0x10027b04
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
mov ecx, esi
push eax
call dword [0x101182f8]
call esi
add esp, 4
push dword [esp + 0x14]
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x54], 0x1015de6d
call sym.user32.dll_git_repository_free
add esp, 4
jmp 0x10027cf3
test edi, edi
je 0x10027b45
push dword [esp + 0x10]
or edi, 0xffffffff
call sym.user32.dll_git_remote_free
add esp, 4
jmp 0x10027d07
mov eax, dword [esp + 0x18]
mov dword [esp + 0x14], eax
mov dword [esp + 0x38], 0x1015de6d
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
test eax, eax
je 0x100277c4
mov esi, dword [esp + 0x10]
test esi, esi
jne 0x10027b7f
push str._remote
jmp 0x100277c9
push eax
call sym.user32.dll_git_repository_is_empty
add esp, 4
test eax, eax
jne 0x10027ba3
push str.the_repository_is_not_empty
push 3
call fcn.10028220
add esp, 8
or edi, 0xffffffff
jmp 0x10027cf3
lea eax, [esp + 0xc]
push esi
push eax
call sym.user32.dll_git_remote_dup
mov edi, eax
add esp, 8
test edi, edi
js 0x10027cf3
mov ecx, 0x1c
lea esi, [esp + 0xe0]
lea edi, [esp + 0x170]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0xc]
mov dword [esp + 0x1b4], 0
mov dword [esp + 0x1b8], 3
test esi, esi
jne 0x10027c0b
push str.remote
push str.invalid_argument
push 0x1013b008
push 3
call fcn.10028220
add esp, 0x10
xor eax, eax
jmp 0x10027c0e
mov eax, dword [esi + 4]
push eax
lea eax, [esp + 0x3c]
push str.clone:_from__s
push eax
call fcn.1002a210
add esp, 0xc
lea eax, [esp + 0x170]
push dword [esp + 0x38]
push eax
push 0
push esi
call sym.user32.dll_git_remote_fetch
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x10027ca8
mov ecx, dword [esp + 0x158]
mov edx, esi
mov eax, dword [esp + 0x38]
mov esi, dword [esp + 0x14]
push eax
test ecx, ecx
je 0x10027c61
push ecx
mov ecx, esi
call fcn.10026e60
add esp, 8
jmp 0x10027c6b
mov ecx, esi
call fcn.10026c30
add esp, 4
mov edi, eax
test edi, edi
jne 0x10027ca4
test dword [esi + 0x60], 1
jne 0x10027ca4
cmp dword [esp + 0x90], eax
je 0x10027ca4
push esi
call sym.user32.dll_git_repository_head_unborn
add esp, 4
test eax, eax
jne 0x10027ca4
lea eax, [esp + 0x8c]
push eax
push edi
push esi
call sym.user32.dll_git_checkout_tree
add esp, 0xc
mov edi, eax
mov esi, dword [esp + 0xc]
push esi
call sym.user32.dll_git_remote_free
add esp, 4
cmp dword [esp + 0x3c], 0
jbe 0x10027cdb
mov eax, dword [esp + 0x38]
test eax, eax
je 0x10027cdb
cmp eax, 0x1015de6c
je 0x10027cdb
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
mov ecx, esi
push eax
call dword [0x101182f8]
call esi
add esp, 4
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x38], 0x1015de6d
push dword [esp + 0x10]
call sym.user32.dll_git_remote_free
add esp, 4
test edi, edi
je 0x10028021
xorps xmm0, xmm0
lea ecx, [esp + 0x70]
mov edx, edi
movaps xmmword [esp + 0x70], xmm0
call fcn.10028580
mov esi, dword [esp + 0x18]
mov dword [esp + 0x10], esi
test esi, esi
je 0x10027fff
mov ecx, dword [esi + 0xa8]
call fcn.10049f90
mov ecx, dword [0x1015bd7c]
lea eax, [esi + 0x10]
mov dword [esp + 0xc], eax
add eax, 4
mov dword [esi + 0xa8], 0
mov dword [esp + 0x1c], ecx
push eax
test ecx, ecx
je 0x10027d64
call dword [0x101182f8]
call dword [esp + 0x20]
jmp 0x10027d6a
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [esp + 0xc]
call fcn.10053bc0
mov eax, dword [esp + 0xc]
mov ecx, dword [0x1015bd74]
add eax, 4
mov dword [esp + 0x1c], ecx
push eax
test ecx, ecx
je 0x10027d95
call dword [0x101182f8]
call dword [esp + 0x20]
jmp 0x10027d9b
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor ecx, ecx
lea eax, [esi + 0x30]
xchg dword [eax], ecx
test ecx, ecx
je 0x10027dab
call fcn.100492b0
xor edx, edx
lea eax, [esi + 8]
xchg dword [eax], edx
test edx, edx
je 0x10027dc6
xor ecx, ecx
lea eax, [edx + 4]
xchg dword [eax], ecx
push edx
call sym.user32.dll_git_config_free
add esp, 4
movaps xmm0, xmmword [0x1014acd0]
lea eax, [esi + 0xc]
movups xmmword [esi + 0x6c], xmm0
xor ecx, ecx
movups xmmword [esi + 0x7c], xmm0
movups xmmword [esi + 0x8c], xmm0
movq qword [esi + 0x9c], xmm0
mov dword [esi + 0xa4], 0xffffffff
xchg dword [eax], ecx
test ecx, ecx
je 0x10027e16
lea edx, [ecx + 4]
xor eax, eax
xchg dword [edx], eax
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x10027e16
cmp dword [edx], 0
jne 0x10027e16
call fcn.10041440
xor edx, edx
xchg dword [esi], edx
test edx, edx
je 0x10027e2e
xor ecx, ecx
lea eax, [edx + 4]
xchg dword [eax], ecx
push edx
call sym.user32.dll_git_odb_free
add esp, 4
xor ecx, ecx
lea eax, [esi + 4]
xchg dword [eax], ecx
test ecx, ecx
je 0x10027e56
lea edx, [ecx + 4]
xor eax, eax
xchg dword [edx], eax
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x10027e56
cmp dword [edx], 0
jne 0x10027e56
call fcn.1003e1f0
mov ecx, dword [esp + 0xc]
call fcn.10053d60
mov ecx, dword [esi + 0x34]
call fcn.1002e9b0
mov eax, dword [esi + 0x58]
xor ecx, ecx
mov dword [esi + 0x34], 0
mov dword [esp + 0x14], ecx
test eax, eax
je 0x10027eef
xor edx, edx
mov dword [esp + 0xc], edx
cmp ecx, eax
jae 0x10027edc
mov eax, dword [esi + 0x54]
add eax, edx
mov dword [esp + 0x1c], eax
je 0x10027edc
cmp dword [eax + 4], 0
jbe 0x10027ec8
mov edx, dword [eax]
test edx, edx
je 0x10027ec4
cmp edx, 0x1015de6c
je 0x10027ec4
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
mov ecx, esi
push edx
call dword [0x101182f8]
call esi
mov eax, dword [esp + 0x20]
add esp, 4
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax], 0x1015de6d
mov eax, dword [esi + 0x58]
inc ecx
add edx, 0xc
mov dword [esp + 0x14], ecx
mov dword [esp + 0xc], edx
cmp ecx, eax
jb 0x10027e85
push dword [esi + 0x54]
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
mov ecx, esi
call dword [0x101182f8]
call esi
mov eax, dword [esp + 0x14]
add esp, 4
push dword [eax + 0x38]
mov dword [eax + 0x5c], 0
mov dword [eax + 0x58], 0
mov dword [eax + 0x54], 0
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
mov ecx, esi
call dword [0x101182f8]
call esi
mov eax, dword [esp + 0x14]
add esp, 4
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
mov ecx, esi
push dword [eax + 0x3c]
call dword [0x101182f8]
call esi
mov eax, dword [esp + 0x14]
add esp, 4
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
mov ecx, esi
push dword [eax + 0x40]
call dword [0x101182f8]
call esi
mov eax, dword [esp + 0x14]
add esp, 4
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
mov ecx, esi
push dword [eax + 0x44]
call dword [0x101182f8]
call esi
mov eax, dword [esp + 0x14]
add esp, 4
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
mov ecx, esi
push dword [eax + 0x48]
call dword [0x101182f8]
call esi
mov eax, dword [esp + 0x14]
add esp, 4
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
mov ecx, esi
push dword [eax + 0x4c]
call dword [0x101182f8]
call esi
mov eax, dword [esp + 0x14]
add esp, 4
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
mov ecx, esi
push dword [eax + 0x50]
call dword [0x101182f8]
call esi
mov eax, dword [esp + 0x14]
add esp, 4
mov edx, 0xac
mov ecx, eax
nop dword [eax + eax]
mov byte [ecx], 0
lea ecx, [ecx + 1]
sub edx, 1
jne 0x10027fe0
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
mov ecx, esi
push eax
call dword [0x101182f8]
call esi
add esp, 4
push dword [esp + 0x68]
mov ecx, dword [ebp + 8]
xor edx, edx
mov dword [esp + 0x1c], 0
call fcn.10039c70
add esp, 4
lea ecx, [esp + 0x70]
call fcn.10028630
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x18]
mov dword [ecx], eax
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret