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

Disassembly:
sub esp, 0x48
push ebx
push ebp
mov ebp, dword [esp + 0x54]
xor ebx, ebx
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x1c], ebx
push esi
mov esi, 0x1015ddcd
mov dword [esp + 0x3c], esi
mov dword [esp + 0x30], esi
push edi
mov edi, esi
mov dword [esp + 0x4c], edi
test ebp, ebp
jne 0x10056865
push 0x1013d598
push str.invalid_argument
push 0x1013afe8
push 3
call fcn.10028180
add esp, 0x10
xor edx, edx
jmp 0x10056868
lea edx, [ebp + 0x30]
mov al, byte [0x1013cd50]
mov ecx, 0x1013cd51
mov ah, byte [edx]
mov dword [esp + 0x18], edx
inc edx
test al, al
je 0x1005688e
nop dword [eax]
cmp ah, al
jne 0x100568af
mov al, byte [ecx]
inc ecx
mov ah, byte [edx]
inc edx
test al, al
jne 0x10056880
test ebp, ebp
jne 0x100568d8
push 0x1013d598
push str.invalid_argument
push 0x1013afe8
push 3
call fcn.10028180
add esp, 0x10
xor edx, edx
jmp 0x100568de
movzx ecx, ah
movzx eax, al
sub ecx, eax
je 0x1005688e
mov eax, dword [esp + 0x18]
push eax
push str.reference__s_is_not_a_local_branch.
push 3
call fcn.10028180
add esp, 0xc
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x48
ret
mov eax, dword [ebp]
mov edx, dword [eax + 8]
lea ecx, [esp + 0x20]
call fcn.10007820
test eax, eax
js 0x100568cd
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x60]
add eax, 0xb
mov dword [esp + 0x18], eax
test ecx, ecx
jne 0x10056a2b
push eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x2c], 0x1015ddcd
push str.branch._s.remote
push eax
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
call fcn.1002a160
add esp, 0xc
test eax, eax
js 0x10056a20
mov edi, dword [esp + 0x28]
lea ecx, [esp + 0x24]
mov ebx, dword [esp + 0x20]
mov edx, ebx
push 1
push edi
call fcn.1002c010
add esp, 8
test eax, eax
js 0x100569f9
mov eax, dword [esp + 0x24]
push edi
push eax
mov esi, dword [eax + 0x1c]
mov ecx, esi
call dword [0x101182f8]
call esi
add esp, 8
test eax, eax
js 0x100569f9
mov dword [esp + 0x30], 0
test edi, edi
jne 0x10056986
mov dword [esp + 0x28], 0x1015ddcd
mov dword [esp + 0x2c], edi
jmp 0x10056990
cmp dword [esp + 0x2c], 0
jbe 0x10056990
mov byte [edi], 0
push dword [esp + 0x18]
lea eax, [esp + 0x2c]
push str.branch._s.merge
push eax
call fcn.1002a160
mov edi, dword [esp + 0x34]
add esp, 0xc
test eax, eax
js 0x100569f9
push edi
push ebx
call sym.user32.dll_git_config_delete_entry
add esp, 8
test eax, eax
js 0x100569f9
cmp dword [esp + 0x2c], 0
jbe 0x10056f7e
test edi, edi
je 0x10056f7e
cmp edi, 0x1015ddcc
je 0x10056f7e
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
mov ecx, esi
push edi
call dword [0x101182f8]
call esi
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret
cmp dword [esp + 0x2c], 0
jbe 0x10056a20
test edi, edi
je 0x10056a20
cmp edi, 0x1015ddcc
je 0x10056a20
push edi
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
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x48
ret
test ebp, ebp
jne 0x10056a4a
push 0x1013d598
push str.invalid_argument
push 0x1013afe8
push 3
call fcn.10028180
add esp, 0x10
jmp 0x10056a58
mov eax, dword [ebp]
mov ebp, dword [eax + 8]
mov dword [esp + 0x10], ebp
test ebp, ebp
jne 0x10056aa7
push str.repo
push str.invalid_argument
push 0x1013afe8
push 3
call fcn.10028180
push str.repo
push str.invalid_argument
push 0x1013afe8
push 3
call fcn.10028180
add esp, 0x20
push dword [esp + 0x18]
push str.cannot_set_upstream_for_branch__s
push 4
call fcn.10028180
add esp, 0xc
mov eax, 0xfffffffd
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret
push 0
push ecx
mov edx, ebp
lea ecx, [esp + 0x1c]
call fcn.10054c40
add esp, 8
push 1
test eax, eax
jne 0x10056b04
lea edx, [eax + 2]
mov dword [esp + 0x20], 1
lea ecx, [esp + 0x38]
call fcn.10029800
add esp, 4
test eax, eax
js 0x10056aef
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x3c]
mov ebp, dword [esp + 0x14]
mov word [eax + ecx], 0x2e
xor ecx, ecx
jmp 0x10056b65
mov dword [esp + 0x10], ebp
or ecx, 0xffffffff
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x1c], 1
jmp 0x10056b65
push dword [esp + 0x64]
mov edx, ebp
lea ecx, [esp + 0x1c]
call fcn.10054c40
add esp, 8
test eax, eax
jne 0x10056a87
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x1c], ebx
test ebp, ebp
jne 0x10056b47
push 0x1013d598
push str.invalid_argument
push 0x1013afe8
push 3
call fcn.10028180
add esp, 0x10
xor eax, eax
jmp 0x10056b4a
lea eax, [ebp + 0x30]
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x34]
push eax
call fcn.10056500
mov ecx, eax
add esp, 4
mov eax, dword [esp + 0x10]
mov dword [esp + 0x10], eax
test ecx, ecx
js 0x10056f8c
push dword [esp + 0x18]
lea eax, [esp + 0x44]
push str.branch._s.remote
push eax
call fcn.1002a160
mov esi, dword [esp + 0x4c]
add esp, 0xc
test eax, eax
js 0x10056f8c
push dword [esp + 0x34]
push esi
push dword [esp + 0x28]
call sym.user32.dll_git_config_set_string
add esp, 0xc
test eax, eax
js 0x10056f8c
cmp dword [esp + 0x1c], ebx
je 0x10056c1e
test ebp, ebp
jne 0x10056bcd
push 0x1013d598
push str.invalid_argument
push 0x1013afe8
push 3
call fcn.10028180
add esp, 0x10
jmp 0x10056bd4
lea edx, [ebp + 0x30]
test edx, edx
jne 0x10056bf2
push str.string
push str.invalid_argument
push 0x1013afe8
push 3
call fcn.10028180
add esp, 0x10
jmp 0x10056f8c
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10056bf7
sub ecx, edi
push ecx
lea ecx, [esp + 0x50]
call fcn.10029b30
add esp, 4
test eax, eax
jns 0x10056eba
mov edi, dword [esp + 0x4c]
jmp 0x10056f8c
push dword [esp + 0x34]
lea eax, [esp + 0x28]
push dword [esp + 0x14]
push eax
call sym.user32.dll_git_remote_lookup
add esp, 0xc
test eax, eax
js 0x10056f88
test ebp, ebp
jne 0x10056c5c
push 0x1013d598
push str.invalid_argument
push 0x1013afe8
push 3
call fcn.10028180
add esp, 0x10
xor edx, edx
jmp 0x10056c5f
lea edx, [ebp + 0x30]
mov ebx, dword [esp + 0x24]
mov ecx, ebx
call fcn.10025180
mov dword [esp + 0x24], eax
test eax, eax
je 0x10056f8c
test ebp, ebp
jne 0x10056c97
push 0x1013d598
push str.invalid_argument
push 0x1013afe8
push 3
call fcn.10028180
add esp, 0x10
xor eax, eax
jmp 0x10056c9a
lea eax, [ebp + 0x30]
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x4c]
push eax
call fcn.100763c0
add esp, 4
test eax, eax
js 0x10056c15
test ebx, ebx
je 0x10056eb8
mov eax, dword [ebx + 0x70]
test eax, eax
je 0x10056d0a
mov esi, dword [eax + 0x20]
test esi, esi
je 0x10056cef
push eax
mov ecx, esi
call dword [0x101182f8]
call esi
add esp, 4
test eax, eax
je 0x10056cef
mov eax, dword [ebx + 0x70]
push eax
mov esi, dword [eax + 0x28]
mov ecx, esi
call dword [0x101182f8]
call esi
add esp, 4
mov eax, dword [ebx + 0x70]
push eax
mov esi, dword [eax + 0x2c]
mov ecx, esi
call dword [0x101182f8]
call esi
add esp, 4
mov dword [ebx + 0x70], 0
lea edi, [ebx + 0xc]
test edi, edi
je 0x10056d3b
push dword [edi + 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 [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi], 0
lea edi, [ebx + 0x20]
mov ecx, edi
call fcn.10020320
test edi, edi
je 0x10056d73
push dword [edi + 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 [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi], 0
lea edi, [ebx + 0x34]
mov ecx, edi
call fcn.10020320
test edi, edi
je 0x10056dab
push dword [edi + 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 [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi], 0
lea edi, [ebx + 0x48]
mov ecx, edi
call fcn.10020320
test edi, edi
je 0x10056de3
push dword [edi + 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 [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi], 0
xor ebp, ebp
cmp dword [ebx + 0x68], ebp
jbe 0x10056e26
nop word [eax + eax]
mov eax, dword [ebx + 0x64]
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
mov ecx, esi
mov edi, dword [eax + ebp*4]
push dword [edi + 0x2c]
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 edi
call dword [0x101182f8]
call esi
inc ebp
add esp, 4
cmp ebp, dword [ebx + 0x68]
jb 0x10056df0
lea edi, [ebx + 0x5c]
test edi, edi
je 0x10056e57
push dword [edi + 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 [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi], 0
mov ecx, dword [ebx + 0x78]
call fcn.10078890
push dword [ebx + 4]
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
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 [ebx + 8]
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 [ebx]
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 ebx
call dword [0x101182f8]
call esi
mov ebp, dword [esp + 0x18]
add esp, 4
xor ebx, ebx
lea ecx, [esp + 0x40]
call fcn.10029970
push dword [esp + 0x18]
mov eax, ecx
push str.branch._s.merge
push eax
call fcn.1002a160
mov edi, dword [esp + 0x58]
add esp, 0xc
mov esi, dword [esp + 0x40]
test eax, eax
js 0x10056f8c
push edi
push esi
push dword [esp + 0x28]
call sym.user32.dll_git_config_set_string
add esp, 0xc
test eax, eax
js 0x10056f8c
push ebp
call sym.user32.dll_git_reference_free
add esp, 4
cmp dword [esp + 0x44], 0
jbe 0x10056f2d
test esi, esi
je 0x10056f2d
cmp esi, 0x1015ddcc
je 0x10056f2d
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
cmp dword [esp + 0x38], 0
jbe 0x10056f57
mov eax, dword [esp + 0x34]
test eax, eax
je 0x10056f57
cmp eax, 0x1015ddcc
je 0x10056f57
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 0x10056f7e
test edi, edi
je 0x10056f7e
cmp edi, 0x1015ddcc
je 0x10056f7e
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
mov ecx, esi
push edi
call dword [0x101182f8]
call esi
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x48
ret
mov ebx, dword [esp + 0x24]
push ebp
call sym.user32.dll_git_reference_free
add esp, 4
cmp dword [esp + 0x44], 0
jbe 0x10056fbc
test esi, esi
je 0x10056fbc
cmp esi, 0x1015ddcc
je 0x10056fbc
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
cmp dword [esp + 0x38], 0
jbe 0x10056fe6
mov eax, dword [esp + 0x34]
test eax, eax
je 0x10056fe6
cmp eax, 0x1015ddcc
je 0x10056fe6
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 0x1005700d
test edi, edi
je 0x1005700d
cmp edi, 0x1015ddcc
je 0x1005700d
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
mov ecx, esi
push edi
call dword [0x101182f8]
call esi
add esp, 4
test ebx, ebx
je 0x10056a20
mov eax, dword [ebx + 0x70]
test eax, eax
je 0x10057064
mov esi, dword [eax + 0x20]
test esi, esi
je 0x10057049
push eax
mov ecx, esi
call dword [0x101182f8]
call esi
add esp, 4
test eax, eax
je 0x10057049
mov eax, dword [ebx + 0x70]
push eax
mov esi, dword [eax + 0x28]
mov ecx, esi
call dword [0x101182f8]
call esi
add esp, 4
mov eax, dword [ebx + 0x70]
push eax
mov esi, dword [eax + 0x2c]
mov ecx, esi
call dword [0x101182f8]
call esi
add esp, 4
mov dword [ebx + 0x70], 0
lea edi, [ebx + 0xc]
test edi, edi
je 0x10057095
push dword [edi + 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 [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi], 0
lea edi, [ebx + 0x20]
mov ecx, edi
call fcn.10020320
test edi, edi
je 0x100570cd
push dword [edi + 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 [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi], 0
lea edi, [ebx + 0x34]
mov ecx, edi
call fcn.10020320
test edi, edi
je 0x10057105
push dword [edi + 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 [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi], 0
lea edi, [ebx + 0x48]
mov ecx, edi
call fcn.10020320
test edi, edi
je 0x1005713d
push dword [edi + 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 [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi], 0
xor ebp, ebp
cmp dword [ebx + 0x68], ebp
jbe 0x1005717a
mov eax, dword [ebx + 0x64]
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
mov ecx, esi
mov edi, dword [eax + ebp*4]
push dword [edi + 0x2c]
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 edi
call dword [0x101182f8]
call esi
inc ebp
add esp, 4
cmp ebp, dword [ebx + 0x68]
jb 0x10057144
lea edi, [ebx + 0x5c]
test edi, edi
je 0x100571ab
push dword [edi + 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 [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi], 0
mov ecx, dword [ebx + 0x78]
call fcn.10078890
push dword [ebx + 4]
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
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 [ebx + 8]
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 [ebx]
call dword [0x101182f8]
call esi
add esp, 4
push ebx
jmp 0x10056a0d