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

Disassembly:
sub esp, 0x9c
push ebx
xor ebx, ebx
mov dword [esp + 0x10], ecx
push ebp
xor eax, eax
mov dword [esp + 0xc], 0
push esi
mov esi, edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x30], eax
xor ebp, ebp
mov dword [esp + 0x2c], esi
mov eax, 0x1015de6d
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x28], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x44], eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], ebx
mov dword [esp + 0xa4], ebx
mov dword [esp + 0x40], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], ebx
mov dword [esp + 0x98], ebx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x38], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x34], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0xc], ebx
push edi
test esi, esi
jne 0x10005d2f
mov edx, str.GIT_DIR
lea ecx, [esp + 0x58]
call fcn.1003f220
mov edi, eax
cmp edi, 0xfffffffd
jne 0x10005d59
call sym.user32.dll_git_error_clear
mov eax, dword [esp + 0x58]
mov dword [esp + 0x30], 0x1013ca38
mov dword [esp + 0x2c], eax
mov edx, str.GIT_CEILING_DIRECTORIES
lea ecx, [esp + 0xa0]
call fcn.1003f220
mov edi, eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x48], eax
cmp edi, 0xfffffffd
jne 0x10005d7d
call sym.user32.dll_git_error_clear
jmp 0x10005d89
test edi, edi
js 0x10005d70
mov esi, dword [esp + 0x58]
mov ebp, 9
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
jmp 0x10005d2f
mov eax, dword [esp + 0x58]
mov dword [esp + 0x2c], eax
jmp 0x100060de
test edi, edi
js 0x100060de
mov dword [esp + 0x10], eax
mov edx, str.GIT_DISCOVERY_ACROSS_FILESYSTEM
lea ecx, [esp + 0x94]
call fcn.1003f220
mov edi, eax
mov eax, dword [esp + 0x94]
mov dword [esp + 0x44], eax
cmp edi, 0xfffffffd
jne 0x10005db3
call sym.user32.dll_git_error_clear
jmp 0x10005de0
test edi, edi
js 0x100060de
push eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], ebx
push eax
call sym.user32.dll_git_config_parse_bool
mov edi, eax
add esp, 8
test edi, edi
js 0x100060de
cmp dword [esp + 0x18], ebx
je 0x10005de0
or ebp, 2
mov edx, str.GIT_INDEX_FILE
lea ecx, [esp + 0x88]
call fcn.1003f220
mov edi, eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x40], eax
cmp edi, 0xfffffffd
jne 0x10005e0a
call sym.user32.dll_git_error_clear
jmp 0x10005e32
test edi, edi
js 0x100060de
push eax
lea eax, [esp + 0x38]
push eax
call sym.user32.dll_git_index_open
mov edi, eax
add esp, 8
mov eax, dword [esp + 0x34]
mov dword [esp + 0x28], eax
test edi, edi
js 0x100060de
mov edx, str.GIT_NAMESPACE
lea ecx, [esp + 0x4c]
call fcn.1003f220
mov edi, eax
cmp edi, 0xfffffffd
jne 0x10005e4e
call sym.user32.dll_git_error_clear
jmp 0x10005e56
test edi, edi
js 0x100060de
mov edx, str.GIT_OBJECT_DIRECTORY
lea ecx, [esp + 0x7c]
call fcn.1003f220
mov esi, dword [esp + 0x7c]
mov edi, eax
mov dword [esp + 0x3c], esi
cmp edi, 0xfffffffd
jne 0x10005e7a
call sym.user32.dll_git_error_clear
jmp 0x10005ee9
test edi, edi
js 0x100060de
test esi, esi
jne 0x10005ea4
push str.objects_dir
push str.invalid_argument
push 0x1013b008
push 3
call fcn.10028220
add esp, 0x10
jmp 0x100060db
lea eax, [esp + 0x18]
push eax
call sym.user32.dll_git_odb_new
add esp, 4
test eax, eax
js 0x100060db
mov edx, esi
mov esi, dword [esp + 0x18]
push 0
push 0
mov ecx, esi
call fcn.10034610
add esp, 8
test eax, eax
jns 0x10005edf
push esi
call sym.user32.dll_git_odb_free
add esp, 4
jmp 0x100060db
mov ebx, esi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebx
mov edx, str.GIT_WORK_TREE
lea ecx, [esp + 0x64]
call fcn.1003f220
mov edi, eax
cmp edi, 0xfffffffd
jne 0x100060c8
call sym.user32.dll_git_error_clear
mov edx, str.GIT_COMMON_DIR
lea ecx, [esp + 0x64]
call fcn.1003f220
mov edi, eax
cmp edi, 0xfffffffd
jne 0x100060bd
call sym.user32.dll_git_error_clear
push dword [esp + 0x10]
lea eax, [esp + 0x18]
push ebp
push dword [esp + 0x38]
push eax
call sym.user32.dll_git_repository_open_ext
mov edi, eax
add esp, 0x10
test edi, edi
js 0x100060de
test ebx, ebx
je 0x10005f8e
mov esi, dword [esp + 0x14]
test esi, esi
jne 0x10005f6c
push str.repo
push str.invalid_argument
push 0x1013b008
push 3
call fcn.10028220
add esp, 0x10
jmp 0x10005f8e
mov ecx, esi
lea eax, [ebx + 4]
xchg dword [eax], ecx
lock inc dword [ebx]
mov edx, ebx
xchg dword [esi], edx
test edx, edx
je 0x10005f8e
xor ecx, ecx
lea eax, [edx + 4]
xchg dword [eax], ecx
push edx
call sym.user32.dll_git_odb_free
add esp, 4
mov edx, str.GIT_ALTERNATE_OBJECT_DIRECTORIES
lea ecx, [esp + 0x70]
call fcn.1003f220
mov esi, dword [esp + 0x70]
mov edi, eax
mov dword [esp + 0x38], esi
cmp edi, 0xfffffffd
jne 0x10005fb4
call sym.user32.dll_git_error_clear
xor edi, edi
jmp 0x1000602b
test edi, edi
js 0x100060de
test ebx, ebx
jne 0x10005fe3
push dword [esp + 0x14]
lea eax, [esp + 0x24]
push eax
call sym.user32.dll_git_repository_odb
mov ebx, dword [esp + 0x28]
mov edi, eax
add esp, 8
mov dword [esp + 0x24], ebx
test edi, edi
js 0x100060de
mov ebp, dword [esp + 0x78]
mov edx, esi
add ebp, esi
cmp edx, ebp
je 0x1000602b
nop
mov al, byte [edx]
mov esi, edx
test al, al
je 0x10006004
cmp al, 0x3b
je 0x10006004
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x10005ff8
cmp byte [esi], 0
je 0x1000600c
mov byte [esi], 0
push 0
push 1
mov ecx, ebx
call fcn.10034610
mov edi, eax
add esp, 8
test edi, edi
js 0x100060de
lea edx, [esi + 1]
cmp esi, ebp
jne 0x10005ff0
cmp dword [esp + 0x54], 0
je 0x1000604c
push dword [esp + 0x4c]
push dword [esp + 0x18]
call sym.user32.dll_git_repository_set_namespace
mov edi, eax
add esp, 8
test edi, edi
js 0x100060de
mov edx, dword [esp + 0x14]
test edx, edx
jne 0x1000606f
push str.repo
push str.invalid_argument
push 0x1013b008
push 3
call fcn.10028220
add esp, 0x10
jmp 0x100060aa
mov ebp, dword [esp + 0x28]
test ebp, ebp
je 0x10006082
mov ecx, edx
lea eax, [ebp + 4]
xchg dword [eax], ecx
lock inc dword [ebp]
mov ecx, ebp
lea eax, [edx + 0xc]
xchg dword [eax], ecx
test ecx, ecx
je 0x100060aa
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 0x100060aa
cmp dword [edx], 0
jne 0x100060aa
call fcn.10041440
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x100060de
mov eax, dword [esp + 0x14]
mov dword [ecx], eax
jmp 0x10006385
test edi, edi
js 0x100060de
push str.GIT_COMMON_DIR_unimplemented
jmp 0x100060d1
test edi, edi
js 0x100060de
push str.GIT_WORK_TREE_unimplemented
push 3
call fcn.10028220
add esp, 8
or edi, 0xffffffff
mov ebp, dword [esp + 0x14]
test ebp, ebp
je 0x10006385
mov ecx, dword [ebp + 0xa8]
call fcn.10049f90
mov eax, dword [0x1015bd7c]
lea esi, [ebp + 0x14]
mov dword [ebp + 0xa8], 0
mov dword [esp + 0x1c], eax
push esi
test eax, eax
je 0x1000611e
mov ecx, eax
call dword [0x101182f8]
call dword [esp + 0x20]
jmp 0x10006124
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea ecx, [ebp + 0x10]
call fcn.10053bc0
mov eax, dword [0x1015bd74]
mov dword [esp + 0x1c], eax
push esi
test eax, eax
je 0x10006148
mov ecx, eax
call dword [0x101182f8]
call dword [esp + 0x20]
jmp 0x1000614e
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor ecx, ecx
lea eax, [ebp + 0x30]
xchg dword [eax], ecx
test ecx, ecx
je 0x1000615e
call fcn.100492b0
xor edx, edx
lea eax, [ebp + 8]
xchg dword [eax], edx
test edx, edx
je 0x10006179
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, [ebp + 0xc]
movups xmmword [ebp + 0x6c], xmm0
xor ecx, ecx
movups xmmword [ebp + 0x7c], xmm0
movups xmmword [ebp + 0x8c], xmm0
movq qword [ebp + 0x9c], xmm0
mov dword [ebp + 0xa4], 0xffffffff
xchg dword [eax], ecx
test ecx, ecx
je 0x100061c9
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 0x100061c9
cmp dword [edx], 0
jne 0x100061c9
call fcn.10041440
xor edx, edx
xchg dword [ebp], edx
test edx, edx
je 0x100061e2
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, [ebp + 4]
xchg dword [eax], ecx
test ecx, ecx
je 0x1000620a
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 0x1000620a
cmp dword [edx], 0
jne 0x1000620a
call fcn.1003e1f0
lea ecx, [ebp + 0x10]
call fcn.10053d60
mov ecx, dword [ebp + 0x34]
call fcn.1002e9b0
mov ecx, dword [ebp + 0x58]
xor eax, eax
mov dword [ebp + 0x34], 0
mov dword [esp + 0x10], eax
test ecx, ecx
je 0x1000629a
xor edx, edx
mov dword [esp + 0x18], edx
cmp eax, ecx
jae 0x10006283
mov ebx, dword [ebp + 0x54]
add ebx, edx
je 0x10006283
cmp dword [ebx + 4], 0
jbe 0x1000626f
mov ecx, dword [ebx]
test ecx, ecx
je 0x1000626f
cmp ecx, 0x1015de6c
je 0x1000626f
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
push ecx
mov ecx, esi
call dword [0x101182f8]
call esi
mov eax, dword [esp + 0x14]
add esp, 4
mov edx, dword [esp + 0x18]
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx], 0x1015de6d
mov ecx, dword [ebp + 0x58]
inc eax
add edx, 0xc
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], edx
cmp eax, ecx
jb 0x10006238
mov ebx, dword [esp + 0x24]
push dword [ebp + 0x54]
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
mov dword [ebp + 0x5c], 0
mov dword [ebp + 0x58], 0
mov dword [ebp + 0x54], 0
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
mov ecx, esi
push dword [ebp + 0x38]
call dword [0x101182f8]
call esi
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
add esp, 4
mov ecx, esi
push dword [ebp + 0x3c]
call dword [0x101182f8]
call esi
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
add esp, 4
mov ecx, esi
push dword [ebp + 0x40]
call dword [0x101182f8]
call esi
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
add esp, 4
mov ecx, esi
push dword [ebp + 0x44]
call dword [0x101182f8]
call esi
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
add esp, 4
mov ecx, esi
push dword [ebp + 0x48]
call dword [0x101182f8]
call esi
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
add esp, 4
mov ecx, esi
push dword [ebp + 0x4c]
call dword [0x101182f8]
call esi
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
add esp, 4
mov ecx, esi
push dword [ebp + 0x50]
call dword [0x101182f8]
call esi
add esp, 4
mov ecx, 0xac
mov eax, ebp
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x10006366
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
mov ecx, esi
push ebp
call dword [0x101182f8]
call esi
add esp, 4
or ecx, 0xffffffff
test ebx, ebx
je 0x10006482
mov eax, ecx
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x10006482
cmp dword [ebx + 4], 0
jne 0x10006482
lea eax, [ebx + 8]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebx + 0x2c]
xor ebp, ebp
test eax, eax
je 0x10006400
cmp ebp, eax
jae 0x100063c8
mov eax, dword [ebx + 0x28]
mov eax, dword [eax + ebp*4]
jmp 0x100063ca
xor eax, eax
mov dword [esp + 0x10], eax
mov eax, dword [eax]
push eax
mov esi, dword [eax + 0x3c]
mov ecx, esi
call dword [0x101182f8]
call esi
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
add esp, 4
mov ecx, esi
push dword [esp + 0x10]
call dword [0x101182f8]
call esi
mov eax, dword [ebx + 0x2c]
inc ebp
add esp, 4
cmp ebp, eax
jb 0x100063c0
lea eax, [ebx + 8]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push dword [ebx + 0x54]
call sym.user32.dll_git_commit_graph_free
lea ebp, [ebx + 0x20]
add esp, 4
test ebp, ebp
je 0x10006447
push dword [ebp + 8]
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
mov dword [ebp + 8], 0
mov dword [ebp + 0xc], 0
mov dword [ebp], 0
lea ecx, [ebx + 0x34]
call fcn.10053d60
lea eax, [ebx + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov ecx, 0x5c
mov eax, ebx
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x10006460
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
mov ecx, esi
push ebx
call dword [0x101182f8]
call esi
add esp, 4
or ecx, 0xffffffff
mov eax, dword [esp + 0x28]
test eax, eax
je 0x100064a0
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100064a0
cmp dword [eax + 4], 0
jne 0x100064a0
mov ecx, eax
call fcn.10041440
cmp dword [esp + 0x68], 0
jbe 0x100064ca
mov eax, dword [esp + 0x64]
test eax, eax
je 0x100064ca
cmp eax, 0x1015de6c
je 0x100064ca
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 + 0x74], 0
jbe 0x100064f4
mov eax, dword [esp + 0x38]
test eax, eax
je 0x100064f4
cmp eax, 0x1015de6c
je 0x100064f4
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 + 0x80], 0
jbe 0x10006521
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x10006521
cmp eax, 0x1015de6c
je 0x10006521
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 + 0x50], 0
jbe 0x1000654b
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x1000654b
cmp eax, 0x1015de6c
je 0x1000654b
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 + 0x8c], 0
jbe 0x10006578
mov eax, dword [esp + 0x40]
test eax, eax
je 0x10006578
cmp eax, 0x1015de6c
je 0x10006578
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 + 0x98], 0
jbe 0x100065a5
mov eax, dword [esp + 0x44]
test eax, eax
je 0x100065a5
cmp eax, 0x1015de6c
je 0x100065a5
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 + 0xa4], 0
jbe 0x100065d2
mov eax, dword [esp + 0x48]
test eax, eax
je 0x100065d2
cmp eax, 0x1015de6c
je 0x100065d2
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 + 0x5c], 0
jbe 0x100065fc
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x100065fc
cmp eax, 0x1015de6c
je 0x100065fc
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 eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x9c
ret