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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x22c
push ebx
mov ebx, dword [ebp + 0x10]
xor eax, eax
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
mov dword [esp + 0x1c], eax
push 0x4c
mov dword [esp + 0x18], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
lea eax, [esp + 0x90]
push edi
push eax
mov dword [esp + 0x30], esi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x64], 0x1017306d
mov dword [esp + 0x8c], 1
mov dword [esp + 0x90], 1
mov dword [esp + 0x94], 1
call fcn.10107270
push 0x38
lea eax, [esp + 0xf0]
mov dword [esp + 0xe8], 1
push edi
push eax
mov dword [esp + 0xf4], 1
call fcn.10107270
push 0x4c
xorps xmm0, xmm0
mov dword [esp + 0x134], edi
lea eax, [esp + 0x178]
mov dword [esp + 0x138], 1
push edi
push eax
mov dword [esp + 0x144], edi
mov dword [esp + 0x148], 1
movups xmmword [esp + 0x14c], xmm0
mov dword [esp + 0x15c], edi
movq qword [esp + 0x160], xmm0
mov dword [esp + 0x168], edi
mov dword [esp + 0x16c], 1
mov dword [esp + 0x174], 1
mov dword [esp + 0x178], 1
call fcn.10107270
push 0x38
lea eax, [esp + 0x1d8]
push edi
push eax
call fcn.10107270
xorps xmm0, xmm0
mov dword [esp + 0x238], edi
add esp, 0x30
movq qword [esp + 0x20c], xmm0
mov dword [esp + 0x214], edi
movq qword [esp + 0x228], xmm0
mov dword [esp + 0x230], edi
movups xmmword [esp + 0x1f8], xmm0
movups xmmword [esp + 0x218], xmm0
test esi, esi
jne 0x1004ea2f
push 0x10156a70
push str.invalid_argument
push 0x1014f2f8
push 3
call fcn.10028220
add esp, 0x10
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test ebx, ebx
je 0x1004ea43
mov ecx, 0x33
lea edi, [esp + 0x80]
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x80]
lea eax, [ecx - 1]
test eax, eax
je 0x1004ea70
push str.git_submodule_update_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
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, 0x1c
lea esi, [esp + 0xd8]
lea edi, [esp + 0x1a8]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x24]
mov edx, dword [edi + 0x30]
mov eax, dword [edi + 8]
test edx, edx
jne 0x1004eab8
push str.repo
push str.invalid_argument
push 0x1014f2f8
push 3
call fcn.10028220
add esp, 0x10
or ebx, 0xffffffff
mov dword [esp + 0xc], ebx
jmp 0x1004f894
test eax, eax
jne 0x1004eae1
push str.name
push str.invalid_argument
push 0x1014f2f8
push 3
call fcn.10028220
add esp, 0x10
or ebx, 0xffffffff
mov dword [esp + 0xc], ebx
jmp 0x1004f894
push dword [edx + 0xa8]
lea ecx, [esp + 0x1c]
push eax
call fcn.1004a110
mov ebx, eax
add esp, 8
mov dword [esp + 0xc], ebx
test ebx, ebx
js 0x1004f894
mov esi, dword [esp + 0x18]
push 0xffffffffffffffff
push esi
push 0
push ecx
lea ecx, [esp + 0x8c]
call fcn.10050c40
mov ebx, eax
push esi
mov dword [esp + 0x20], ebx
call sym.user32.dll_git_submodule_free
add esp, 0x14
test ebx, ebx
js 0x1004f894
test byte [esp + 0x7c], 0x80
je 0x1004f3ce
mov edx, dword [edi + 0x30]
lea ecx, [esp + 0x18]
call fcn.100078b0
mov ebx, eax
mov dword [esp + 0xc], ebx
test ebx, ebx
js 0x1004f894
push dword [esp + 0x18]
lea eax, [esp + 0x18]
push eax
call sym.user32.dll_git_config_snapshot
mov ebx, eax
add esp, 8
mov dword [esp + 0xc], ebx
test ebx, ebx
js 0x1004eca3
push dword [edi + 8]
lea eax, [esp + 0x5c]
push str.submodule._s.url
push eax
call fcn.1002a210
mov ebx, eax
add esp, 0xc
mov dword [esp + 0xc], ebx
test ebx, ebx
js 0x1004eca3
push dword [esp + 0x58]
mov esi, dword [esp + 0x18]
lea eax, [esp + 0x1c]
push esi
push eax
mov dword [esp + 0x28], esi
call sym.user32.dll_git_config_get_string
mov ebx, eax
add esp, 0xc
mov dword [esp + 0xc], ebx
test ebx, ebx
jns 0x1004ec4d
cmp ebx, 0xfffffffd
jne 0x1004ebdf
cmp dword [ebp + 0xc], 0
jne 0x1004ebe8
push str.submodule_is_not_initialized
push 0x11
call fcn.10028220
add esp, 8
or ebx, 0xffffffff
mov dword [esp + 0xc], ebx
mov edi, dword [esp + 0x1c]
jmp 0x1004f896
push 0
push edi
call sym.user32.dll_git_submodule_init
mov ebx, eax
mov dword [esp + 0x14], eax
add esp, 8
test ebx, ebx
js 0x1004ebdf
push esi
call sym.user32.dll_git_config_free
push dword [edi + 0x30]
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0
push eax
call sym.user32.dll_git_repository_config_snapshot
mov ebx, eax
add esp, 0xc
mov dword [esp + 0xc], ebx
test ebx, ebx
js 0x1004eca3
push dword [esp + 0x58]
mov eax, dword [esp + 0x18]
push eax
mov dword [esp + 0x24], eax
lea eax, [esp + 0x20]
push eax
call sym.user32.dll_git_config_get_string
mov ebx, eax
add esp, 0xc
mov dword [esp + 0xc], ebx
test ebx, ebx
js 0x1004f078
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x150]
push 0
push eax
push dword [edi + 0xc]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x230], 0x1004e770
mov dword [esp + 0x234], edi
mov dword [esp + 0x164], 0
call fcn.10027420
mov ebx, eax
add esp, 0xc
mov dword [esp + 0xc], ebx
test ebx, ebx
js 0x1004f3bd
test dword [edi + 0x34], 0x400000
je 0x1004ecb0
lea esi, [edi + 0x4c]
jmp 0x1004ecb2
mov edi, dword [esp + 0x14]
mov dword [esp + 0x1c], edi
jmp 0x1004f896
xor esi, esi
mov edi, dword [esp + 0x10]
mov dword [esp + 0x14], esi
mov dword [esp + 0x4c], 0x1017306d
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x40], edi
test edi, edi
je 0x1004f058
test esi, esi
jne 0x1004ed0c
push 0x1015147c
jmp 0x1004f05d
push 0
push str.HEAD
mov edx, edi
lea ecx, [esp + 0x2c]
call fcn.100111f0
mov ebx, eax
add esp, 8
mov dword [esp + 0xc], ebx
test ebx, ebx
js 0x1004f078
mov dword [esp + 0x2c], 0
xor ecx, ecx
xor eax, eax
lock cmpxchg dword [edi], ecx
mov ebx, eax
mov dword [esp + 0x10], ebx
test ebx, ebx
jne 0x1004eed8
push 4
mov edx, edi
mov dword [esp + 0x68], 0x1017306d
lea ecx, [esp + 0x68]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
call fcn.1000cbd0
mov ebx, eax
add esp, 4
mov dword [esp + 0xc], ebx
test ebx, ebx
js 0x1004ef31
lea eax, [esp + 0x10]
push eax
call sym.user32.dll_git_odb_new
mov ebx, eax
add esp, 4
mov dword [esp + 0xc], ebx
test ebx, ebx
js 0x1004ef31
mov ebx, dword [esp + 0x10]
mov eax, edi
lea edx, [ebx + 4]
xchg dword [edx], eax
xor ecx, ecx
xor eax, eax
lock cmpxchg dword [edx], ecx
mov dword [esp + 0x48], eax
test eax, eax
jne 0x1004edd9
push str.cannot_access_repository_to_set_odb_caps
push 9
call fcn.10028220
add esp, 8
or ebx, 0xffffffff
mov dword [esp + 0xc], ebx
mov edx, dword [esp + 0x10]
push edx
call sym.user32.dll_git_odb_free
add esp, 4
jmp 0x1004ef31
lea edx, [eax + 0xa0]
xor ecx, ecx
mov dword [esp + 0x20], edx
xor eax, eax
lock cmpxchg dword [edx], ecx
mov edx, eax
mov dword [esp + 0xc], edx
cmp edx, 0xffffffff
jne 0x1004ee32
mov edx, dword [esp + 0x48]
lea ecx, [esp + 0x48]
call fcn.100078b0
test eax, eax
js 0x1004ee44
mov edx, dword [esp + 0x48]
lea ecx, [esp + 0xc]
push 0xd
call fcn.100409e0
add esp, 4
test eax, eax
js 0x1004ee44
mov edx, dword [esp + 0xc]
or eax, 0xffffffff
mov esi, dword [esp + 0x20]
mov ecx, edx
lock cmpxchg dword [esi], ecx
mov esi, dword [esp + 0x14]
mov eax, dword [ebx + 0x58]
xor ecx, ecx
test edx, edx
setne cl
and eax, 0xfffffffe
or ecx, eax
mov dword [ebx + 0x58], ecx
mov edx, dword [esp + 0x64]
mov ecx, ebx
push 0
push 0
call fcn.10034610
mov ebx, eax
add esp, 8
mov dword [esp + 0xc], ebx
test ebx, ebx
js 0x1004edc7
mov edx, dword [esp + 0x10]
xor eax, eax
mov ecx, edx
lock cmpxchg dword [edi], ecx
test eax, eax
je 0x1004ee84
xor eax, eax
lea ecx, [edx + 4]
xchg dword [ecx], eax
push edx
call sym.user32.dll_git_odb_free
add esp, 4
cmp dword [esp + 0x68], 0
jbe 0x1004eeb2
mov eax, dword [esp + 0x64]
test eax, eax
je 0x1004eeb2
cmp eax, 0x1017306c
je 0x1004eeb2
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
mov ecx, esi
push eax
call dword [0x1012b304]
call esi
mov esi, dword [esp + 0x18]
add esp, 4
mov dword [esp + 0x68], 0
xor ecx, ecx
mov dword [esp + 0x6c], 0
xor eax, eax
mov dword [esp + 0x64], 0x1017306d
lock cmpxchg dword [edi], ecx
mov ebx, eax
mov dword [esp + 0x10], ebx
push 0
lea ecx, [edi + 0x10]
mov edx, esi
call fcn.10053fa0
add esp, 4
test eax, eax
je 0x1004f081
movzx ecx, word [eax + 0x16]
cmp ecx, 2
jne 0x1004ef01
mov dword [esp + 0x34], eax
jmp 0x1004f1af
cmp ecx, 1
jne 0x1004ef11
mov esi, eax
mov dword [esp + 0x2c], esi
jmp 0x1004f181
push str.__Wrong_caching_type_in_the_global_object_cache_
push str.unrecoverable_internal_error
push 0x1014f2f8
push 0x23
call fcn.10028220
add esp, 0x10
or ebx, 0xffffffff
mov dword [esp + 0xc], ebx
mov esi, dword [esp + 0x4c]
cmp dword [esp + 0x50], 0
jbe 0x1004ef5c
test esi, esi
je 0x1004ef5c
cmp esi, 0x1017306c
je 0x1004ef5c
push esi
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
mov ecx, esi
call dword [0x1012b304]
call esi
add esp, 4
mov eax, dword [esp + 0x34]
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x4c], 0x1017306d
test eax, eax
je 0x1004ef83
mov ecx, eax
call fcn.100541b0
mov eax, dword [esp + 0x38]
test eax, eax
je 0x1004ef92
mov ecx, eax
call fcn.100541b0
mov esi, dword [esp + 0x24]
test esi, esi
je 0x1004efed
cmp dword [esi + 4], 2
jne 0x1004efba
push dword [esi + 8]
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
mov ecx, esi
call dword [0x1012b304]
call esi
mov esi, dword [esp + 0x28]
add esp, 4
mov ecx, dword [esi]
test ecx, ecx
je 0x1004efd9
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x1004efd9
cmp dword [ecx + 4], 0
jne 0x1004efd9
mov ecx, dword [esi]
call fcn.1003e1f0
push esi
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
mov ecx, esi
call dword [0x1012b304]
call esi
add esp, 4
mov esi, dword [esp + 0x18]
test esi, esi
je 0x1004f048
cmp dword [esi + 4], 2
jne 0x1004f015
push dword [esi + 8]
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
mov ecx, esi
call dword [0x1012b304]
call esi
mov esi, dword [esp + 0x1c]
add esp, 4
mov ecx, dword [esi]
test ecx, ecx
je 0x1004f034
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x1004f034
cmp dword [ecx + 4], 0
jne 0x1004f034
mov ecx, dword [esi]
call fcn.1003e1f0
push esi
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
mov ecx, esi
call dword [0x1012b304]
call esi
add esp, 4
test ebx, ebx
js 0x1004ebdf
test edi, edi
jne 0x1004f39b
push str.repo
push str.invalid_argument
push 0x1014f2f8
push 3
call fcn.10028220
add esp, 0x10
or ebx, 0xffffffff
mov dword [esp + 0xc], ebx
mov edi, dword [esp + 0x1c]
jmp 0x1004f896
test ebx, ebx
jne 0x1004f0a6
push 0x10154a4c
push str.invalid_argument
push 0x1014f2f8
push 3
call fcn.10028220
add esp, 0x10
or ebx, 0xffffffff
jmp 0x1004f171
mov eax, esi
xor ecx, ecx
nop word [eax + eax]
cmp byte [eax], 0
jne 0x1004f0da
inc ecx
inc eax
cmp ecx, 0x14
jb 0x1004f0b0
push str.cannot_read_object
push str.odb:__s:_null_OID_cannot_exist
push 9
call fcn.10028220
add esp, 0xc
mov ebx, 0xfffffffd
jmp 0x1004f171
xor edx, edx
lea ecx, [ebx + 4]
xor eax, eax
lock cmpxchg dword [ecx], edx
lea ecx, [eax + 0x10]
test eax, eax
jne 0x1004f0ef
lea ecx, [ebx + 0x34]
push 1
mov edx, esi
call fcn.10053fa0
mov esi, eax
add esp, 4
mov dword [esp + 0x2c], esi
test esi, esi
je 0x1004f10d
xor ebx, ebx
mov dword [esp + 0xc], ebx
jmp 0x1004f179
push 0
push dword [esp + 0x18]
mov edx, ebx
lea ecx, [esp + 0x34]
call fcn.10035700
mov ebx, eax
add esp, 8
mov dword [esp + 0xc], ebx
cmp ebx, 0xfffffffd
jne 0x1004f175
mov esi, dword [esp + 0x10]
push esi
call sym.user32.dll_git_odb_refresh
add esp, 4
test eax, eax
jne 0x1004f15c
push 1
push dword [esp + 0x18]
mov edx, esi
lea ecx, [esp + 0x34]
call fcn.10035700
mov ebx, eax
mov dword [esp + 0x14], eax
add esp, 8
cmp ebx, 0xfffffffd
jne 0x1004f175
mov edx, dword [esp + 0x14]
mov ecx, str.no_match_for_id
push 0x28
call fcn.10036e20
add esp, 4
mov ebx, eax
mov dword [esp + 0xc], ebx
mov esi, dword [esp + 0x2c]
test ebx, ebx
js 0x1004ef31
push 0xfffffffffffffffe
push esi
mov edx, edi
lea ecx, [esp + 0x3c]
call fcn.1003ab30
add esp, 8
mov ebx, eax
mov dword [esp + 0xc], ebx
test esi, esi
je 0x1004f1a3
mov ecx, esi
call fcn.100541b0
test ebx, ebx
js 0x1004ef31
mov eax, dword [esp + 0x34]
xor ecx, ecx
mov dword [esp + 0x10], ecx
test eax, eax
jne 0x1004f1cf
push 0x10155658
push str.invalid_argument
push 0x1014f2f8
push 3
jmp 0x1004ef22
movsx ecx, word [eax + 0x14]
cmp ecx, 1
jne 0x1004f1e7
lock inc dword [eax + 0x1c]
mov esi, eax
mov dword [esp + 0x38], esi
jmp 0x1004f308
dec ecx
cmp ecx, 3
ja case.0x1004f1f1.1
jmp dword [ecx*4 + 0x1004fe98]
mov esi, eax
nop word [eax + eax]
test esi, esi
je 0x1004f296
movsx eax, word [esi + 0x14]
dec eax
cmp eax, 3
ja case.default.0x1004f216
jmp dword [eax*4 + 0x1004fea8]
push 2
lea eax, [esi + 0x30]
jmp 0x1004f22a
push dword [esi + 0x38]
lea eax, [esi + 0x24]
push 0x28
push eax
push dword [esi + 0x20]
lea eax, [esp + 0x20]
push eax
call sym.user32.dll_git_object_lookup_prefix
mov ebx, eax
add esp, 0x14
test ebx, ebx
jne 0x1004f2b4
cmp esi, dword [esp + 0x34]
je 0x1004f250
mov ecx, esi
call fcn.100541b0
mov esi, dword [esp + 0x10]
test esi, esi
jne 0x1004f277
push 0x10154878
push str.invalid_argument
push 0x1014f2f8
push 3
call fcn.10028220
add esp, 0x10
mov dword [esp + 0x10], esi
jmp 0x1004f200
cmp word [esi + 0x14], 1
je 0x1004f1de
mov dword [esp + 0x10], 0
jmp 0x1004f200
mov ebx, 0xffffffed
jmp 0x1004f2b4
push 0x10154878
push str.invalid_argument
push 0x1014f2f8
push 3
call fcn.10028220
add esp, 0x10
mov ebx, 0xfffffff4
cmp esi, dword [esp + 0x34]
je 0x1004f2c5
test esi, esi
je 0x1004f2c5
mov ecx, esi
call fcn.100541b0
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x1004f2d2
call fcn.100541b0
mov edx, dword [esp + 0x34]
mov ecx, ebx
push 1
call fcn.1003b1b0
mov ebx, eax
mov dword [esp + 0x10], ebx
jmp 0x1004f2fb
push 1
mov edx, eax
mov ecx, 0xfffffff4
call fcn.1003b1b0
mov ebx, eax
mov dword [esp + 0x10], eax
add esp, 4
test ebx, ebx
js 0x1004ef31
xor esi, esi
test esi, esi
jne 0x1004f329
push 0x10154878
push str.invalid_argument
push 0x1014f2f8
push 3
call fcn.10028220
add esp, 0x10
xor eax, eax
jmp 0x1004f32b
mov eax, esi
push eax
call sym.user32.dll_git_oid_tostr_s
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0x50]
push eax
call fcn.1000d810
mov ebx, eax
add esp, 8
mov dword [esp + 0xc], ebx
test ebx, ebx
js 0x1004ef31
test esi, esi
jne 0x1004f371
push 0x10154878
push str.invalid_argument
push 0x1014f2f8
push 3
call fcn.10028220
add esp, 0x10
xor eax, eax
jmp 0x1004f373
mov eax, esi
mov esi, dword [esp + 0x4c]
push esi
push 0
push 1
push eax
push str.HEAD
lea eax, [esp + 0x2c]
push edi
push eax
call sym.user32.dll_git_reference_create_matching
mov ebx, eax
add esp, 0x1c
mov dword [esp + 0xc], ebx
jmp 0x1004ef35
lea eax, [esp + 0x84]
push eax
push 0
push edi
call sym.user32.dll_git_checkout_tree
mov edi, dword [esp + 0x28]
mov ebx, eax
add esp, 0xc
mov dword [esp + 0xc], ebx
jmp 0x1004f896
mov edi, dword [esp + 0x10]
mov dword [esp + 0x40], edi
mov edi, dword [esp + 0x1c]
jmp 0x1004f896
push 0
mov edx, edi
lea ecx, [esp + 0x14]
call fcn.10050710
mov ebx, eax
add esp, 4
mov dword [esp + 0xc], ebx
test ebx, ebx
js 0x1004f88c
test dword [edi + 0x34], 0x400000
je 0x1004f876
lea esi, [edi + 0x4c]
mov dword [esp + 0x14], esi
test esi, esi
je 0x1004f876
mov edi, dword [esp + 0x10]
xor ebx, ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x40], edi
test edi, edi
je 0x1004ea93
xor ecx, ecx
xor eax, eax
lock cmpxchg dword [edi], ecx
mov dword [esp + 0x10], eax
test eax, eax
jne 0x1004f5b9
push 4
mov edx, edi
mov dword [esp + 0x74], 0x1017306d
lea ecx, [esp + 0x74]
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
call fcn.1000cbd0
mov esi, eax
add esp, 4
test esi, esi
js 0x1004f4a5
lea eax, [esp + 0x18]
push eax
call sym.user32.dll_git_odb_new
mov esi, eax
add esp, 4
test esi, esi
js 0x1004f4a5
mov esi, dword [esp + 0x18]
mov eax, edi
lea edx, [esi + 4]
xchg dword [edx], eax
xor ecx, ecx
xor eax, eax
lock cmpxchg dword [edx], ecx
mov dword [esp + 0x20], eax
test eax, eax
jne 0x1004f4b0
push str.cannot_access_repository_to_set_odb_caps
push 9
call fcn.10028220
add esp, 8
or esi, 0xffffffff
mov edx, dword [esp + 0x18]
push edx
call sym.user32.dll_git_odb_free
add esp, 4
mov ebx, esi
mov dword [esp + 0xc], ebx
jmp 0x1004f664
lea edx, [eax + 0xa0]
xor ecx, ecx
mov dword [esp + 0x48], edx
xor eax, eax
lock cmpxchg dword [edx], ecx
mov edx, eax
mov dword [esp + 0x10], edx
cmp edx, 0xffffffff
jne 0x1004f511
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x20]
call fcn.100078b0
test eax, eax
js 0x1004f605
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x10]
push 0xd
call fcn.100409e0
add esp, 4
test eax, eax
js 0x1004f605
mov edx, dword [esp + 0x10]
or eax, 0xffffffff
mov ebx, dword [esp + 0x48]
mov ecx, edx
lock cmpxchg dword [ebx], ecx
mov ebx, dword [esp + 0x30]
mov eax, dword [esp + 0x14]
xor ecx, ecx
test edx, edx
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x58]
setne cl
and eax, 0xfffffffe
or ecx, eax
mov dword [esi + 0x58], ecx
mov edx, dword [esp + 0x70]
mov ecx, esi
push 0
push 0
call fcn.10034610
mov esi, eax
add esp, 8
test esi, esi
js 0x1004f498
mov edx, dword [esp + 0x18]
xor eax, eax
mov ecx, edx
lock cmpxchg dword [edi], ecx
test eax, eax
je 0x1004f567
xor eax, eax
lea ecx, [edx + 4]
xchg dword [ecx], eax
push edx
call sym.user32.dll_git_odb_free
add esp, 4
cmp dword [esp + 0x74], 0
jbe 0x1004f591
mov eax, dword [esp + 0x70]
test eax, eax
je 0x1004f591
cmp eax, 0x1017306c
je 0x1004f591
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
mov ecx, esi
push eax
call dword [0x1012b304]
call esi
add esp, 4
mov dword [esp + 0x74], 0
xor ecx, ecx
mov dword [esp + 0x78], 0
xor eax, eax
mov dword [esp + 0x70], 0x1017306d
lock cmpxchg dword [edi], ecx
mov esi, dword [esp + 0x14]
mov dword [esp + 0x10], eax
push 0
lea ecx, [edi + 0x10]
mov edx, esi
call fcn.10053fa0
add esp, 4
test eax, eax
je 0x1004f71d
movzx ecx, word [eax + 0x16]
cmp ecx, 2
jne 0x1004f61f
mov ecx, 1
cmp cx, word [eax + 0x14]
je 0x1004f612
mov ecx, eax
call fcn.100541b0
push str.the_requested_type_does_not_match_the_type_in_the_ODB
push 3
call fcn.10028220
mov ebx, 0xfffffffd
add esp, 8
mov dword [esp + 0xc], ebx
jmp 0x1004f66d
mov eax, dword [esp + 0x14]
mov dword [esp + 0x14], eax
jmp 0x1004f52b
mov esi, dword [esp + 0x24]
mov dword [esp + 0x3c], eax
jmp 0x1004f830
cmp ecx, 1
jne 0x1004f6f8
mov ebx, eax
mov dword [esp + 0x30], ebx
push 1
push ebx
mov edx, edi
lea ecx, [esp + 0x44]
call fcn.1003ab30
mov ecx, dword [esp + 0x38]
add esp, 8
mov ebx, eax
mov dword [esp + 0xc], ebx
test ecx, ecx
je 0x1004f652
call fcn.100541b0
mov esi, ebx
test ebx, ebx
jns 0x1004f828
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x44], eax
cmp esi, 0xfffffffd
jne 0x1004f894
cmp dword [esp + 0x148], 0
je 0x1004f894
mov edx, edi
lea ecx, [esp + 0x38]
call fcn.100523c0
mov ebx, eax
mov dword [esp + 0xc], ebx
test ebx, ebx
js 0x1004f81e
push 0
lea eax, [esp + 0xdc]
push eax
mov eax, dword [esp + 0x40]
push 0
push eax
mov dword [esp + 0x38], eax
call sym.user32.dll_git_remote_fetch
mov ebx, eax
add esp, 0x10
mov dword [esp + 0xc], ebx
test ebx, ebx
js 0x1004f894
mov esi, dword [esp + 0x24]
push 1
push esi
call sym.user32.dll_git_submodule_index_id
add esp, 4
push eax
lea eax, [esp + 0x44]
push edi
push eax
call sym.user32.dll_git_object_lookup
mov ebx, eax
add esp, 0x10
mov dword [esp + 0xc], ebx
test ebx, ebx
jns 0x1004f82c
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x44], eax
jmp 0x1004f894
push str.__Wrong_caching_type_in_the_global_object_cache_
push str.unrecoverable_internal_error
push 0x1014f2f8
push 0x23
call fcn.10028220
add esp, 0x10
or ebx, 0xffffffff
mov dword [esp + 0xc], ebx
jmp 0x1004f894
cmp dword [esp + 0x10], 0
jne 0x1004f745
push 0x10154a4c
push str.invalid_argument
push 0x1014f2f8
push 3
call fcn.10028220
add esp, 0x10
or esi, 0xffffffff
jmp 0x1004f80b
mov eax, esi
xor ecx, ecx
nop dword [eax]
cmp byte [eax], 0
jne 0x1004f77a
inc ecx
inc eax
cmp ecx, 0x14
jb 0x1004f750
push str.cannot_read_object
push str.odb:__s:_null_OID_cannot_exist
push 9
call fcn.10028220
add esp, 0xc
mov esi, 0xfffffffd
jmp 0x1004f80b
mov ebx, dword [esp + 0x10]
xor edx, edx
xor eax, eax
lea ecx, [ebx + 4]
lock cmpxchg dword [ecx], edx
lea ecx, [eax + 0x10]
test eax, eax
jne 0x1004f793
lea ecx, [ebx + 0x34]
push 1
mov edx, esi
call fcn.10053fa0
mov ebx, eax
add esp, 4
mov dword [esp + 0x30], ebx
test ebx, ebx
je 0x1004f7ad
xor esi, esi
jmp 0x1004f80b
mov ebx, dword [esp + 0x10]
lea ecx, [esp + 0x30]
push 0
push esi
mov edx, ebx
call fcn.10035700
mov esi, eax
add esp, 8
cmp esi, 0xfffffffd
jne 0x1004f807
push ebx
call sym.user32.dll_git_odb_refresh
mov ebx, dword [esp + 0x18]
add esp, 4
test eax, eax
jne 0x1004f7f4
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x30]
push 1
push ebx
call fcn.10035700
mov esi, eax
add esp, 8
cmp esi, 0xfffffffd
jne 0x1004f807
push 0x28
mov edx, ebx
mov ecx, str.no_match_for_id
call fcn.10036e20
add esp, 4
mov esi, eax
mov ebx, dword [esp + 0x30]
test esi, esi
jns 0x1004f62e
mov ebx, esi
mov dword [esp + 0xc], ebx
jmp 0x1004f664
mov eax, dword [esp + 0x38]
mov dword [esp + 0x28], eax
jmp 0x1004f894
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0x84]
mov dword [esp + 0x44], eax
push ecx
push eax
push edi
call sym.user32.dll_git_checkout_tree
mov ebx, eax
add esp, 0xc
mov dword [esp + 0xc], ebx
test ebx, ebx
jne 0x1004f894
push esi
call sym.user32.dll_git_submodule_index_id
push ebx
mov edx, eax
mov ecx, edi
call fcn.1000da80
mov ebx, eax
add esp, 8
mov dword [esp + 0xc], ebx
test ebx, ebx
js 0x1004f894
and dword [esi + 0x34], 0xff6ffff7
jmp 0x1004f894
push str.could_not_get_ID_of_submodule_in_index
push 0x11
call fcn.10028220
add esp, 8
or ebx, 0xffffffff
mov dword [esp + 0xc], ebx
mov edi, dword [esp + 0x10]
mov dword [esp + 0x40], edi
xor edi, edi
cmp dword [esp + 0x5c], 0
jbe 0x1004f8c0
mov eax, dword [esp + 0x58]
test eax, eax
je 0x1004f8c0
cmp eax, 0x1017306c
je 0x1004f8c0
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
mov ecx, esi
push eax
call dword [0x1012b304]
call esi
add esp, 4
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x58], 0x1017306d
test edi, edi
je 0x1004f9c3
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x1004f9c3
cmp dword [edi + 4], 0
jne 0x1004f9c3
mov eax, dword [edi + 0x14]
xor ecx, ecx
mov dword [esp + 0x18], ecx
test eax, eax
je 0x1004f96b
mov ebx, dword [esp + 0x1c]
cmp ecx, eax
jae 0x1004f917
mov eax, dword [ebx + 0x10]
mov edi, dword [eax + ecx*4]
jmp 0x1004f919
xor edi, edi
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x1004f957
cmp dword [edi + 4], 0
jne 0x1004f957
mov eax, dword [edi + 8]
push eax
mov esi, dword [eax + 0x34]
mov ecx, esi
call dword [0x1012b304]
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 [0x1012b304]
call esi
mov ecx, dword [esp + 0x1c]
add esp, 4
mov eax, dword [ebx + 0x14]
inc ecx
mov dword [esp + 0x18], ecx
cmp ecx, eax
jb 0x1004f90f
mov ebx, dword [esp + 0xc]
mov edi, dword [esp + 0x1c]
lea eax, [edi + 8]
test eax, eax
je 0x1004f99d
push dword [eax + 8]
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
mov ecx, esi
call dword [0x1012b304]
call esi
add esp, 4
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 8], 0
mov ecx, 0x1c
mov eax, edi
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x1004f9a4
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
mov ecx, esi
push edi
call dword [0x1012b304]
call esi
add esp, 4
mov eax, dword [esp + 0x44]
test eax, eax
je 0x1004f9d2
mov ecx, eax
call fcn.100541b0
mov edi, dword [esp + 0x28]
test edi, edi
je 0x1004fbdf
mov eax, dword [edi + 0x70]
test eax, eax
je 0x1004fa2d
mov esi, dword [eax + 0x20]
test esi, esi
je 0x1004fa12
push eax
mov ecx, esi
call dword [0x1012b304]
call esi
add esp, 4
test eax, eax
je 0x1004fa12
mov eax, dword [edi + 0x70]
push eax
mov esi, dword [eax + 0x28]
mov ecx, esi
call dword [0x1012b304]
call esi
add esp, 4
mov eax, dword [edi + 0x70]
push eax
mov esi, dword [eax + 0x2c]
mov ecx, esi
call dword [0x1012b304]
call esi
add esp, 4
mov dword [edi + 0x70], 0
lea eax, [edi + 0xc]
test eax, eax
je 0x1004fa5f
push dword [eax + 8]
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
mov ecx, esi
call dword [0x1012b304]
call esi
add esp, 4
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0xc], 0
lea esi, [edi + 0x20]
mov ecx, esi
call fcn.100203c0
test esi, esi
je 0x1004fa98
push dword [esi + 8]
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
mov ecx, esi
call dword [0x1012b304]
call esi
add esp, 4
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x20], 0
lea esi, [edi + 0x34]
mov ecx, esi
call fcn.100203c0
test esi, esi
je 0x1004fad1
push dword [esi + 8]
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
mov ecx, esi
call dword [0x1012b304]
call esi
add esp, 4
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x34], 0
lea esi, [edi + 0x48]
mov ecx, esi
call fcn.100203c0
test esi, esi
je 0x1004fb0a
push dword [esi + 8]
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
mov ecx, esi
call dword [0x1012b304]
call esi
add esp, 4
mov dword [edi + 0x50], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x48], 0
cmp dword [edi + 0x68], 0
jbe 0x1004fb50
xor ebx, ebx
mov eax, dword [edi + 0x64]
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
mov ecx, esi
mov edi, dword [eax + ebx*4]
push dword [edi + 0x2c]
call dword [0x1012b304]
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 [0x1012b304]
call esi
mov edi, dword [esp + 0x2c]
inc ebx
add esp, 4
cmp ebx, dword [edi + 0x68]
jb 0x1004fb12
mov ebx, dword [esp + 0xc]
lea eax, [edi + 0x5c]
test eax, eax
je 0x1004fb82
push dword [eax + 8]
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
mov ecx, esi
call dword [0x1012b304]
call esi
add esp, 4
mov dword [edi + 0x64], 0
mov dword [edi + 0x68], 0
mov dword [edi + 0x5c], 0
mov ecx, dword [edi + 0x78]
call fcn.100788f0
push dword [edi + 4]
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
mov ecx, esi
call dword [0x1012b304]
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 [edi + 8]
call dword [0x1012b304]
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 [edi]
call dword [0x1012b304]
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 [0x1012b304]
call esi
add esp, 4
mov edi, dword [esp + 0x40]
test edi, edi
je 0x1004fe8f
mov ecx, dword [edi + 0xa8]
call fcn.10049f90
mov eax, dword [0x10170f7c]
lea esi, [edi + 0x14]
mov dword [edi + 0xa8], 0
mov dword [esp + 0x20], eax
push esi
test eax, eax
je 0x1004fc1f
mov ecx, eax
call dword [0x1012b304]
call dword [esp + 0x24]
jmp 0x1004fc25
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea ecx, [edi + 0x10]
call fcn.10053bc0
mov eax, dword [0x10170f74]
mov dword [esp + 0x20], eax
push esi
test eax, eax
je 0x1004fc49
mov ecx, eax
call dword [0x1012b304]
call dword [esp + 0x24]
jmp 0x1004fc4f
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor ecx, ecx
lea eax, [edi + 0x30]
xchg dword [eax], ecx
test ecx, ecx
je 0x1004fc5f
call fcn.100492b0
xor edx, edx
lea eax, [edi + 8]
xchg dword [eax], edx
test edx, edx
je 0x1004fc7a
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 [0x1015efc0]
lea eax, [edi + 0xc]
movups xmmword [edi + 0x6c], xmm0
xor ecx, ecx
movups xmmword [edi + 0x7c], xmm0
movups xmmword [edi + 0x8c], xmm0
movq qword [edi + 0x9c], xmm0
mov dword [edi + 0xa4], 0xffffffff
xchg dword [eax], ecx
test ecx, ecx
je 0x1004fcce
lea edx, [ecx + 4]
xor eax, eax
xchg dword [edx], eax
or esi, 0xffffffff
mov eax, esi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x1004fcd1
cmp dword [edx], 0
jne 0x1004fcd1
call fcn.10041440
jmp 0x1004fcd1
or esi, 0xffffffff
xor edx, edx
xchg dword [edi], edx
test edx, edx
je 0x1004fce9
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, [edi + 4]
xchg dword [eax], ecx
test ecx, ecx
je 0x1004fd0e
lea edx, [ecx + 4]
xor eax, eax
xchg dword [edx], eax
lock xadd dword [ecx], esi
dec esi
test esi, esi
jg 0x1004fd0e
cmp dword [edx], 0
jne 0x1004fd0e
call fcn.1003e1f0
lea ecx, [edi + 0x10]
call fcn.10053d60
mov ecx, dword [edi + 0x34]
call fcn.1002e9b0
mov eax, dword [edi + 0x58]
xor ecx, ecx
mov dword [edi + 0x34], 0
mov dword [esp + 0x18], ecx
test eax, eax
je 0x1004fda2
xor edx, edx
mov dword [esp + 0x28], edx
cmp ecx, eax
jae 0x1004fd8f
mov eax, dword [edi + 0x54]
add eax, edx
mov dword [esp + 0x20], eax
je 0x1004fd8f
cmp dword [eax + 4], 0
jbe 0x1004fd7b
mov edx, dword [eax]
test edx, edx
je 0x1004fd77
cmp edx, 0x1017306c
je 0x1004fd77
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
mov ecx, esi
push edx
call dword [0x1012b304]
call esi
mov eax, dword [esp + 0x24]
add esp, 4
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x28]
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax], 0x1017306d
mov eax, dword [edi + 0x58]
inc ecx
add edx, 0xc
mov dword [esp + 0x18], ecx
mov dword [esp + 0x28], edx
cmp ecx, eax
jb 0x1004fd3c
push dword [edi + 0x54]
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
mov ecx, esi
call dword [0x1012b304]
call esi
add esp, 4
mov dword [edi + 0x5c], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x54], 0
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
mov ecx, esi
push dword [edi + 0x38]
call dword [0x1012b304]
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 [edi + 0x3c]
call dword [0x1012b304]
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 [edi + 0x40]
call dword [0x1012b304]
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 [edi + 0x44]
call dword [0x1012b304]
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 [edi + 0x48]
call dword [0x1012b304]
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 [edi + 0x4c]
call dword [0x1012b304]
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 [edi + 0x50]
call dword [0x1012b304]
call esi
add esp, 4
mov ecx, 0xac
mov eax, edi
nop
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x1004fe70
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
mov ecx, esi
push edi
call dword [0x1012b304]
call esi
add esp, 4
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret