Function at 0x10027380
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.100f6510
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.100f6510
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 0x10027499
push 0x1013afd0
push str.invalid_argument
push 0x1013afe8
push 3
call fcn.10028180
add esp, 0x10
or eax, 0xffffffff
pop edi
pop esi
mov esp, ebp
pop ebp
ret
test edi, edi
jne 0x100274bf
push 0x1013df6c
push str.invalid_argument
push 0x1013afe8
push 3
call fcn.10028180
add esp, 0x10
or eax, 0xffffffff
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp dword [ebp + 8], 0
jne 0x100274e7
push str.local_path
push str.invalid_argument
push 0x1013afe8
push 3
call fcn.10028180
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 0x10027500
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 0x1002752c
push str.git_clone_options
push ecx
push str.invalid_version__d_on__s
push 3
call fcn.10028180
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.10040680
test eax, eax
jne 0x10027567
cmp dword [ebp + 0x10], eax
jne 0x10027567
mov ecx, esi
call fcn.10030050
test al, al
jne 0x10027567
push esi
push str._s_exists_and_is_not_an_empty_directory
push 3
call fcn.10028180
add esp, 0xc
mov eax, 0xfffffffc
pop edi
pop esi
mov esp, ebp
pop ebp
ret
xor edx, edx
mov ecx, esi
call fcn.10040680
push dword [esp + 0x160]
mov ecx, dword [esp + 0x160]
neg eax
push dword [esp + 0x154]
sbb eax, eax
mov esi, 0x10026fe0
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 0x10027f8d
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x88]
push eax
push edi
lea ecx, [esp + 0x18]
call fcn.10027020
mov edi, eax
add esp, 8
test edi, edi
jne 0x10027c67
cmp dword [esp + 0x154], 2
mov esi, 0x1015ddcd
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
je 0x10027aa5
mov edi, dword [esp + 0xc]
mov ecx, edi
call fcn.1002fc90
test eax, eax
jle 0x10027631
mov edx, edi
lea ecx, [esp + 0x5c]
call fcn.1002fd10
mov esi, dword [esp + 0x5c]
test eax, eax
jns 0x10027625
mov edi, 0xff
jmp 0x1002765f
cmp dword [esp + 0x154], 0
mov edi, esi
je 0x1002765d
lea edx, [esp + 0x170]
mov ecx, edi
call fcn.100402b0
test eax, eax
js 0x1002765d
mov eax, dword [esp + 0x176]
and eax, 0xf000
cmp eax, 0x4000
jne 0x1002765d
mov edi, 1
jmp 0x1002765f
xor edi, edi
cmp dword [esp + 0x60], 0
jbe 0x10027686
test esi, esi
je 0x10027686
cmp esi, 0x1015ddcc
je 0x10027686
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], 0x1015ddcd
mov dword [esp + 0x1c], eax
cmp edi, 1
jne 0x10027a8d
mov eax, dword [esp + 0x18]
mov dword [esp + 0xc], eax
mov dword [esp + 0x44], 0x1015ddcd
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0x1015ddcd
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x20], 0x1015ddcd
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0x1015ddcd
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
test eax, eax
jne 0x10027745
push str.repo
push str.invalid_argument
push 0x1013afe8
push 3
call fcn.10028180
add esp, 0x10
or edi, 0xffffffff
jmp 0x10027c53
mov esi, dword [esp + 0x10]
test esi, esi
jne 0x1002776e
push str.remote
push str.invalid_argument
push 0x1013afe8
push 3
call fcn.10028180
add esp, 0x10
or edi, 0xffffffff
jmp 0x10027c53
push eax
call sym.user32.dll_git_repository_is_empty
add esp, 4
test eax, eax
jne 0x10027792
push str.the_repository_is_not_empty
push 3
call fcn.10028180
add esp, 8
or edi, 0xffffffff
jmp 0x10027c53
mov edi, dword [esi + 4]
mov ecx, edi
call fcn.1002fc90
test eax, eax
jle 0x100277ad
mov edx, edi
lea ecx, [esp + 0x20]
call fcn.1002fd10
jmp 0x100277d2
test edi, edi
je 0x100277c1
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100277b6
sub ecx, edx
jmp 0x100277c3
xor ecx, ecx
push ecx
mov edx, edi
lea ecx, [esp + 0x24]
call fcn.100299a0
add esp, 4
mov edi, eax
test edi, edi
js 0x10027c53
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 0x1002783e
cmp dword [esp + 0x24], 0
jbe 0x10027821
mov eax, dword [esp + 0x20]
test eax, eax
je 0x10027821
cmp eax, 0x1015ddcc
je 0x10027821
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], 0x1015ddcd
jmp 0x10027c53
mov edi, dword [esp + 0x14]
lea ecx, [esp + 0x44]
push 4
mov edx, edi
call fcn.1000cb30
add esp, 4
test eax, eax
js 0x10027971
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x50]
push 4
call fcn.1000cb30
add esp, 4
test eax, eax
js 0x10027971
test edi, edi
jne 0x10027891
push str.repo
push str.invalid_argument
push 0x1013afe8
push 3
call fcn.10028180
add esp, 0x10
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x44]
push 0x1ff
push 0
call fcn.1003a3e0
mov edi, eax
add esp, 8
test edi, edi
jns 0x100278da
cmp dword [esp + 0x1c], 0
je 0x10027974
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x44]
push 0x1ff
push 0
call fcn.1003a3e0
mov edi, eax
add esp, 8
test edi, edi
js 0x10027974
push dword [esi + 4]
lea eax, [esp + 0x30]
push str.clone:_from__s
push eax
call fcn.1002a160
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 0x10027974
mov eax, dword [esp + 0x158]
mov edx, esi
mov esi, dword [esp + 0xc]
mov ecx, esi
push dword [esp + 0x2c]
test eax, eax
je 0x1002792e
push eax
call fcn.10026dc0
add esp, 8
jmp 0x10027936
call fcn.10026ba0
add esp, 4
mov edi, eax
test edi, edi
jne 0x10027974
test dword [esi + 0x60], 1
jne 0x10027974
cmp dword [esp + 0x90], eax
je 0x10027974
push esi
call sym.user32.dll_git_repository_head_unborn
add esp, 4
test eax, eax
jne 0x10027974
lea eax, [esp + 0x8c]
push eax
push edi
push esi
call sym.user32.dll_git_checkout_tree
add esp, 0xc
mov edi, eax
jmp 0x10027974
or edi, 0xffffffff
cmp dword [esp + 0x30], 0
jbe 0x1002799e
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x1002799e
cmp eax, 0x1015ddcc
je 0x1002799e
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], 0x1015ddcd
jbe 0x100279e0
mov eax, dword [esp + 0x20]
test eax, eax
je 0x100279e0
cmp eax, 0x1015ddcc
je 0x100279e0
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], 0x1015ddcd
jbe 0x10027a22
mov eax, dword [esp + 0x44]
test eax, eax
je 0x10027a22
cmp eax, 0x1015ddcc
je 0x10027a22
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], 0x1015ddcd
jbe 0x10027a64
mov eax, dword [esp + 0x50]
test eax, eax
je 0x10027a64
cmp eax, 0x1015ddcc
je 0x10027a64
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], 0x1015ddcd
call sym.user32.dll_git_repository_free
add esp, 4
jmp 0x10027c53
test edi, edi
je 0x10027aa5
push dword [esp + 0x10]
or edi, 0xffffffff
call sym.user32.dll_git_remote_free
add esp, 4
jmp 0x10027c67
mov eax, dword [esp + 0x18]
mov dword [esp + 0x14], eax
mov dword [esp + 0x38], 0x1015ddcd
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
test eax, eax
je 0x10027724
mov esi, dword [esp + 0x10]
test esi, esi
jne 0x10027adf
push str._remote
jmp 0x10027729
push eax
call sym.user32.dll_git_repository_is_empty
add esp, 4
test eax, eax
jne 0x10027b03
push str.the_repository_is_not_empty
push 3
call fcn.10028180
add esp, 8
or edi, 0xffffffff
jmp 0x10027c53
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 0x10027c53
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 0x10027b6b
push str.remote
push str.invalid_argument
push 0x1013afe8
push 3
call fcn.10028180
add esp, 0x10
xor eax, eax
jmp 0x10027b6e
mov eax, dword [esi + 4]
push eax
lea eax, [esp + 0x3c]
push str.clone:_from__s
push eax
call fcn.1002a160
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 0x10027c08
mov ecx, dword [esp + 0x158]
mov edx, esi
mov eax, dword [esp + 0x38]
mov esi, dword [esp + 0x14]
push eax
test ecx, ecx
je 0x10027bc1
push ecx
mov ecx, esi
call fcn.10026dc0
add esp, 8
jmp 0x10027bcb
mov ecx, esi
call fcn.10026ba0
add esp, 4
mov edi, eax
test edi, edi
jne 0x10027c04
test dword [esi + 0x60], 1
jne 0x10027c04
cmp dword [esp + 0x90], eax
je 0x10027c04
push esi
call sym.user32.dll_git_repository_head_unborn
add esp, 4
test eax, eax
jne 0x10027c04
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 0x10027c3b
mov eax, dword [esp + 0x38]
test eax, eax
je 0x10027c3b
cmp eax, 0x1015ddcc
je 0x10027c3b
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], 0x1015ddcd
push dword [esp + 0x10]
call sym.user32.dll_git_remote_free
add esp, 4
test edi, edi
je 0x10027f81
xorps xmm0, xmm0
lea ecx, [esp + 0x70]
mov edx, edi
movaps xmmword [esp + 0x70], xmm0
call fcn.100284e0
mov esi, dword [esp + 0x18]
mov dword [esp + 0x10], esi
test esi, esi
je 0x10027f5f
mov ecx, dword [esi + 0xa8]
call fcn.10049ee0
mov ecx, dword [0x1015bccc]
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 0x10027cc4
call dword [0x101182f8]
call dword [esp + 0x20]
jmp 0x10027cca
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [esp + 0xc]
call fcn.10053b40
mov eax, dword [esp + 0xc]
mov ecx, dword [0x1015bcc4]
add eax, 4
mov dword [esp + 0x1c], ecx
push eax
test ecx, ecx
je 0x10027cf5
call dword [0x101182f8]
call dword [esp + 0x20]
jmp 0x10027cfb
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor ecx, ecx
lea eax, [esi + 0x30]
xchg dword [eax], ecx
test ecx, ecx
je 0x10027d0b
call fcn.10049210
xor edx, edx
lea eax, [esi + 8]
xchg dword [eax], edx
test edx, edx
je 0x10027d26
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 [0x1014acb0]
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 0x10027d76
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 0x10027d76
cmp dword [edx], 0
jne 0x10027d76
call fcn.10041390
xor edx, edx
xchg dword [esi], edx
test edx, edx
je 0x10027d8e
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 0x10027db6
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 0x10027db6
cmp dword [edx], 0
jne 0x10027db6
call fcn.1003e140
mov ecx, dword [esp + 0xc]
call fcn.10053ce0
mov ecx, dword [esi + 0x34]
call fcn.1002e910
mov eax, dword [esi + 0x58]
xor ecx, ecx
mov dword [esi + 0x34], 0
mov dword [esp + 0x14], ecx
test eax, eax
je 0x10027e4f
xor edx, edx
mov dword [esp + 0xc], edx
cmp ecx, eax
jae 0x10027e3c
mov eax, dword [esi + 0x54]
add eax, edx
mov dword [esp + 0x1c], eax
je 0x10027e3c
cmp dword [eax + 4], 0
jbe 0x10027e28
mov edx, dword [eax]
test edx, edx
je 0x10027e24
cmp edx, 0x1015ddcc
je 0x10027e24
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], 0x1015ddcd
mov eax, dword [esi + 0x58]
inc ecx
add edx, 0xc
mov dword [esp + 0x14], ecx
mov dword [esp + 0xc], edx
cmp ecx, eax
jb 0x10027de5
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 0x10027f40
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.10039bc0
add esp, 4
lea ecx, [esp + 0x70]
call fcn.10028590
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