Function at 0x1004e810
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], 0x1015ddcd
mov dword [esp + 0x8c], 1
mov dword [esp + 0x90], 1
mov dword [esp + 0x94], 1
call fcn.100f6510
push 0x38
lea eax, [esp + 0xf0]
mov dword [esp + 0xe8], 1
push edi
push eax
mov dword [esp + 0xf4], 1
call fcn.100f6510
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.100f6510
push 0x38
lea eax, [esp + 0x1d8]
push edi
push eax
call fcn.100f6510
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 0x1004e99f
push 0x10142760
push str.invalid_argument
push 0x1013afe8
push 3
call fcn.10028180
add esp, 0x10
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test ebx, ebx
je 0x1004e9b3
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 0x1004e9e0
push str.git_submodule_update_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
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 0x1004ea28
push str.repo
push str.invalid_argument
push 0x1013afe8
push 3
call fcn.10028180
add esp, 0x10
or ebx, 0xffffffff
mov dword [esp + 0xc], ebx
jmp 0x1004f804
test eax, eax
jne 0x1004ea51
push str.name
push str.invalid_argument
push 0x1013afe8
push 3
call fcn.10028180
add esp, 0x10
or ebx, 0xffffffff
mov dword [esp + 0xc], ebx
jmp 0x1004f804
push dword [edx + 0xa8]
lea ecx, [esp + 0x1c]
push eax
call fcn.1004a060
mov ebx, eax
add esp, 8
mov dword [esp + 0xc], ebx
test ebx, ebx
js 0x1004f804
mov esi, dword [esp + 0x18]
push 0xffffffffffffffff
push esi
push 0
push ecx
lea ecx, [esp + 0x8c]
call fcn.10050bb0
mov ebx, eax
push esi
mov dword [esp + 0x20], ebx
call sym.user32.dll_git_submodule_free
add esp, 0x14
test ebx, ebx
js 0x1004f804
test byte [esp + 0x7c], 0x80
je 0x1004f33e
mov edx, dword [edi + 0x30]
lea ecx, [esp + 0x18]
call fcn.10007820
mov ebx, eax
mov dword [esp + 0xc], ebx
test ebx, ebx
js 0x1004f804
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 0x1004ec13
push dword [edi + 8]
lea eax, [esp + 0x5c]
push str.submodule._s.url
push eax
call fcn.1002a160
mov ebx, eax
add esp, 0xc
mov dword [esp + 0xc], ebx
test ebx, ebx
js 0x1004ec13
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 0x1004ebbd
cmp ebx, 0xfffffffd
jne 0x1004eb4f
cmp dword [ebp + 0xc], 0
jne 0x1004eb58
push str.submodule_is_not_initialized
push 0x11
call fcn.10028180
add esp, 8
or ebx, 0xffffffff
mov dword [esp + 0xc], ebx
mov edi, dword [esp + 0x1c]
jmp 0x1004f806
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 0x1004eb4f
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 0x1004ec13
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 0x1004efe8
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], 0x1004e6e0
mov dword [esp + 0x234], edi
mov dword [esp + 0x164], 0
call fcn.10027380
mov ebx, eax
add esp, 0xc
mov dword [esp + 0xc], ebx
test ebx, ebx
js 0x1004f32d
test dword [edi + 0x34], 0x400000
je 0x1004ec20
lea esi, [edi + 0x4c]
jmp 0x1004ec22
mov edi, dword [esp + 0x14]
mov dword [esp + 0x1c], edi
jmp 0x1004f806
xor esi, esi
mov edi, dword [esp + 0x10]
mov dword [esp + 0x14], esi
mov dword [esp + 0x4c], 0x1015ddcd
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 0x1004efc8
test esi, esi
jne 0x1004ec7c
push 0x1013d16c
jmp 0x1004efcd
push 0
push str.HEAD
mov edx, edi
lea ecx, [esp + 0x2c]
call fcn.10011160
mov ebx, eax
add esp, 8
mov dword [esp + 0xc], ebx
test ebx, ebx
js 0x1004efe8
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 0x1004ee48
push 4
mov edx, edi
mov dword [esp + 0x68], 0x1015ddcd
lea ecx, [esp + 0x68]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
call fcn.1000cb30
mov ebx, eax
add esp, 4
mov dword [esp + 0xc], ebx
test ebx, ebx
js 0x1004eea1
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 0x1004eea1
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 0x1004ed49
push str.cannot_access_repository_to_set_odb_caps
push 9
call fcn.10028180
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 0x1004eea1
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 0x1004eda2
mov edx, dword [esp + 0x48]
lea ecx, [esp + 0x48]
call fcn.10007820
test eax, eax
js 0x1004edb4
mov edx, dword [esp + 0x48]
lea ecx, [esp + 0xc]
push 0xd
call fcn.10040930
add esp, 4
test eax, eax
js 0x1004edb4
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.10034580
mov ebx, eax
add esp, 8
mov dword [esp + 0xc], ebx
test ebx, ebx
js 0x1004ed37
mov edx, dword [esp + 0x10]
xor eax, eax
mov ecx, edx
lock cmpxchg dword [edi], ecx
test eax, eax
je 0x1004edf4
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 0x1004ee22
mov eax, dword [esp + 0x64]
test eax, eax
je 0x1004ee22
cmp eax, 0x1015ddcc
je 0x1004ee22
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
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], 0x1015ddcd
lock cmpxchg dword [edi], ecx
mov ebx, eax
mov dword [esp + 0x10], ebx
push 0
lea ecx, [edi + 0x10]
mov edx, esi
call fcn.10053f20
add esp, 4
test eax, eax
je 0x1004eff1
movzx ecx, word [eax + 0x16]
cmp ecx, 2
jne 0x1004ee71
mov dword [esp + 0x34], eax
jmp 0x1004f11f
cmp ecx, 1
jne 0x1004ee81
mov esi, eax
mov dword [esp + 0x2c], esi
jmp 0x1004f0f1
push str.__Wrong_caching_type_in_the_global_object_cache_
push str.unrecoverable_internal_error
push 0x1013afe8
push 0x23
call fcn.10028180
add esp, 0x10
or ebx, 0xffffffff
mov dword [esp + 0xc], ebx
mov esi, dword [esp + 0x4c]
cmp dword [esp + 0x50], 0
jbe 0x1004eecc
test esi, esi
je 0x1004eecc
cmp esi, 0x1015ddcc
je 0x1004eecc
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
mov eax, dword [esp + 0x34]
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x4c], 0x1015ddcd
test eax, eax
je 0x1004eef3
mov ecx, eax
call fcn.10054130
mov eax, dword [esp + 0x38]
test eax, eax
je 0x1004ef02
mov ecx, eax
call fcn.10054130
mov esi, dword [esp + 0x24]
test esi, esi
je 0x1004ef5d
cmp dword [esi + 4], 2
jne 0x1004ef2a
push dword [esi + 8]
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 [esp + 0x28]
add esp, 4
mov ecx, dword [esi]
test ecx, ecx
je 0x1004ef49
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x1004ef49
cmp dword [ecx + 4], 0
jne 0x1004ef49
mov ecx, dword [esi]
call fcn.1003e140
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
mov esi, dword [esp + 0x18]
test esi, esi
je 0x1004efb8
cmp dword [esi + 4], 2
jne 0x1004ef85
push dword [esi + 8]
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 [esp + 0x1c]
add esp, 4
mov ecx, dword [esi]
test ecx, ecx
je 0x1004efa4
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x1004efa4
cmp dword [ecx + 4], 0
jne 0x1004efa4
mov ecx, dword [esi]
call fcn.1003e140
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
test ebx, ebx
js 0x1004eb4f
test edi, edi
jne 0x1004f30b
push str.repo
push str.invalid_argument
push 0x1013afe8
push 3
call fcn.10028180
add esp, 0x10
or ebx, 0xffffffff
mov dword [esp + 0xc], ebx
mov edi, dword [esp + 0x1c]
jmp 0x1004f806
test ebx, ebx
jne 0x1004f016
push 0x1014073c
push str.invalid_argument
push 0x1013afe8
push 3
call fcn.10028180
add esp, 0x10
or ebx, 0xffffffff
jmp 0x1004f0e1
mov eax, esi
xor ecx, ecx
nop word [eax + eax]
cmp byte [eax], 0
jne 0x1004f04a
inc ecx
inc eax
cmp ecx, 0x14
jb 0x1004f020
push str.cannot_read_object
push str.odb:__s:_null_OID_cannot_exist
push 9
call fcn.10028180
add esp, 0xc
mov ebx, 0xfffffffd
jmp 0x1004f0e1
xor edx, edx
lea ecx, [ebx + 4]
xor eax, eax
lock cmpxchg dword [ecx], edx
lea ecx, [eax + 0x10]
test eax, eax
jne 0x1004f05f
lea ecx, [ebx + 0x34]
push 1
mov edx, esi
call fcn.10053f20
mov esi, eax
add esp, 4
mov dword [esp + 0x2c], esi
test esi, esi
je 0x1004f07d
xor ebx, ebx
mov dword [esp + 0xc], ebx
jmp 0x1004f0e9
push 0
push dword [esp + 0x18]
mov edx, ebx
lea ecx, [esp + 0x34]
call fcn.10035670
mov ebx, eax
add esp, 8
mov dword [esp + 0xc], ebx
cmp ebx, 0xfffffffd
jne 0x1004f0e5
mov esi, dword [esp + 0x10]
push esi
call sym.user32.dll_git_odb_refresh
add esp, 4
test eax, eax
jne 0x1004f0cc
push 1
push dword [esp + 0x18]
mov edx, esi
lea ecx, [esp + 0x34]
call fcn.10035670
mov ebx, eax
mov dword [esp + 0x14], eax
add esp, 8
cmp ebx, 0xfffffffd
jne 0x1004f0e5
mov edx, dword [esp + 0x14]
mov ecx, str.no_match_for_id
push 0x28
call fcn.10036d70
add esp, 4
mov ebx, eax
mov dword [esp + 0xc], ebx
mov esi, dword [esp + 0x2c]
test ebx, ebx
js 0x1004eea1
push 0xfffffffffffffffe
push esi
mov edx, edi
lea ecx, [esp + 0x3c]
call fcn.1003aa80
add esp, 8
mov ebx, eax
mov dword [esp + 0xc], ebx
test esi, esi
je 0x1004f113
mov ecx, esi
call fcn.10054130
test ebx, ebx
js 0x1004eea1
mov eax, dword [esp + 0x34]
xor ecx, ecx
mov dword [esp + 0x10], ecx
test eax, eax
jne 0x1004f13f
push 0x10141348
push str.invalid_argument
push 0x1013afe8
push 3
jmp 0x1004ee92
movsx ecx, word [eax + 0x14]
cmp ecx, 1
jne 0x1004f157
lock inc dword [eax + 0x1c]
mov esi, eax
mov dword [esp + 0x38], esi
jmp 0x1004f278
dec ecx
cmp ecx, 3
ja case.0x1004f161.1
jmp dword [ecx*4 + 0x1004fe08]
mov esi, eax
nop word [eax + eax]
test esi, esi
je 0x1004f206
movsx eax, word [esi + 0x14]
dec eax
cmp eax, 3
ja case.default.0x1004f186
jmp dword [eax*4 + 0x1004fe18]
push 2
lea eax, [esi + 0x30]
jmp 0x1004f19a
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 0x1004f224
cmp esi, dword [esp + 0x34]
je 0x1004f1c0
mov ecx, esi
call fcn.10054130
mov esi, dword [esp + 0x10]
test esi, esi
jne 0x1004f1e7
push 0x10140568
push str.invalid_argument
push 0x1013afe8
push 3
call fcn.10028180
add esp, 0x10
mov dword [esp + 0x10], esi
jmp 0x1004f170
cmp word [esi + 0x14], 1
je 0x1004f14e
mov dword [esp + 0x10], 0
jmp 0x1004f170
mov ebx, 0xffffffed
jmp 0x1004f224
push 0x10140568
push str.invalid_argument
push 0x1013afe8
push 3
call fcn.10028180
add esp, 0x10
mov ebx, 0xfffffff4
cmp esi, dword [esp + 0x34]
je 0x1004f235
test esi, esi
je 0x1004f235
mov ecx, esi
call fcn.10054130
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x1004f242
call fcn.10054130
mov edx, dword [esp + 0x34]
mov ecx, ebx
push 1
call fcn.1003b100
mov ebx, eax
mov dword [esp + 0x10], ebx
jmp 0x1004f26b
push 1
mov edx, eax
mov ecx, 0xfffffff4
call fcn.1003b100
mov ebx, eax
mov dword [esp + 0x10], eax
add esp, 4
test ebx, ebx
js 0x1004eea1
xor esi, esi
test esi, esi
jne 0x1004f299
push 0x10140568
push str.invalid_argument
push 0x1013afe8
push 3
call fcn.10028180
add esp, 0x10
xor eax, eax
jmp 0x1004f29b
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.1000d770
mov ebx, eax
add esp, 8
mov dword [esp + 0xc], ebx
test ebx, ebx
js 0x1004eea1
test esi, esi
jne 0x1004f2e1
push 0x10140568
push str.invalid_argument
push 0x1013afe8
push 3
call fcn.10028180
add esp, 0x10
xor eax, eax
jmp 0x1004f2e3
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 0x1004eea5
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 0x1004f806
mov edi, dword [esp + 0x10]
mov dword [esp + 0x40], edi
mov edi, dword [esp + 0x1c]
jmp 0x1004f806
push 0
mov edx, edi
lea ecx, [esp + 0x14]
call fcn.10050680
mov ebx, eax
add esp, 4
mov dword [esp + 0xc], ebx
test ebx, ebx
js 0x1004f7fc
test dword [edi + 0x34], 0x400000
je 0x1004f7e6
lea esi, [edi + 0x4c]
mov dword [esp + 0x14], esi
test esi, esi
je 0x1004f7e6
mov edi, dword [esp + 0x10]
xor ebx, ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x40], edi
test edi, edi
je 0x1004ea03
xor ecx, ecx
xor eax, eax
lock cmpxchg dword [edi], ecx
mov dword [esp + 0x10], eax
test eax, eax
jne 0x1004f529
push 4
mov edx, edi
mov dword [esp + 0x74], 0x1015ddcd
lea ecx, [esp + 0x74]
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
call fcn.1000cb30
mov esi, eax
add esp, 4
test esi, esi
js 0x1004f415
lea eax, [esp + 0x18]
push eax
call sym.user32.dll_git_odb_new
mov esi, eax
add esp, 4
test esi, esi
js 0x1004f415
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 0x1004f420
push str.cannot_access_repository_to_set_odb_caps
push 9
call fcn.10028180
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 0x1004f5d4
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 0x1004f481
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x20]
call fcn.10007820
test eax, eax
js 0x1004f575
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x10]
push 0xd
call fcn.10040930
add esp, 4
test eax, eax
js 0x1004f575
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.10034580
mov esi, eax
add esp, 8
test esi, esi
js 0x1004f408
mov edx, dword [esp + 0x18]
xor eax, eax
mov ecx, edx
lock cmpxchg dword [edi], ecx
test eax, eax
je 0x1004f4d7
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 0x1004f501
mov eax, dword [esp + 0x70]
test eax, eax
je 0x1004f501
cmp eax, 0x1015ddcc
je 0x1004f501
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 + 0x74], 0
xor ecx, ecx
mov dword [esp + 0x78], 0
xor eax, eax
mov dword [esp + 0x70], 0x1015ddcd
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.10053f20
add esp, 4
test eax, eax
je 0x1004f68d
movzx ecx, word [eax + 0x16]
cmp ecx, 2
jne 0x1004f58f
mov ecx, 1
cmp cx, word [eax + 0x14]
je 0x1004f582
mov ecx, eax
call fcn.10054130
push str.the_requested_type_does_not_match_the_type_in_the_ODB
push 3
call fcn.10028180
mov ebx, 0xfffffffd
add esp, 8
mov dword [esp + 0xc], ebx
jmp 0x1004f5dd
mov eax, dword [esp + 0x14]
mov dword [esp + 0x14], eax
jmp 0x1004f49b
mov esi, dword [esp + 0x24]
mov dword [esp + 0x3c], eax
jmp 0x1004f7a0
cmp ecx, 1
jne 0x1004f668
mov ebx, eax
mov dword [esp + 0x30], ebx
push 1
push ebx
mov edx, edi
lea ecx, [esp + 0x44]
call fcn.1003aa80
mov ecx, dword [esp + 0x38]
add esp, 8
mov ebx, eax
mov dword [esp + 0xc], ebx
test ecx, ecx
je 0x1004f5c2
call fcn.10054130
mov esi, ebx
test ebx, ebx
jns 0x1004f798
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x44], eax
cmp esi, 0xfffffffd
jne 0x1004f804
cmp dword [esp + 0x148], 0
je 0x1004f804
mov edx, edi
lea ecx, [esp + 0x38]
call fcn.10052340
mov ebx, eax
mov dword [esp + 0xc], ebx
test ebx, ebx
js 0x1004f78e
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 0x1004f804
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 0x1004f79c
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x44], eax
jmp 0x1004f804
push str.__Wrong_caching_type_in_the_global_object_cache_
push str.unrecoverable_internal_error
push 0x1013afe8
push 0x23
call fcn.10028180
add esp, 0x10
or ebx, 0xffffffff
mov dword [esp + 0xc], ebx
jmp 0x1004f804
cmp dword [esp + 0x10], 0
jne 0x1004f6b5
push 0x1014073c
push str.invalid_argument
push 0x1013afe8
push 3
call fcn.10028180
add esp, 0x10
or esi, 0xffffffff
jmp 0x1004f77b
mov eax, esi
xor ecx, ecx
nop dword [eax]
cmp byte [eax], 0
jne 0x1004f6ea
inc ecx
inc eax
cmp ecx, 0x14
jb 0x1004f6c0
push str.cannot_read_object
push str.odb:__s:_null_OID_cannot_exist
push 9
call fcn.10028180
add esp, 0xc
mov esi, 0xfffffffd
jmp 0x1004f77b
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 0x1004f703
lea ecx, [ebx + 0x34]
push 1
mov edx, esi
call fcn.10053f20
mov ebx, eax
add esp, 4
mov dword [esp + 0x30], ebx
test ebx, ebx
je 0x1004f71d
xor esi, esi
jmp 0x1004f77b
mov ebx, dword [esp + 0x10]
lea ecx, [esp + 0x30]
push 0
push esi
mov edx, ebx
call fcn.10035670
mov esi, eax
add esp, 8
cmp esi, 0xfffffffd
jne 0x1004f777
push ebx
call sym.user32.dll_git_odb_refresh
mov ebx, dword [esp + 0x18]
add esp, 4
test eax, eax
jne 0x1004f764
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x30]
push 1
push ebx
call fcn.10035670
mov esi, eax
add esp, 8
cmp esi, 0xfffffffd
jne 0x1004f777
push 0x28
mov edx, ebx
mov ecx, str.no_match_for_id
call fcn.10036d70
add esp, 4
mov esi, eax
mov ebx, dword [esp + 0x30]
test esi, esi
jns 0x1004f59e
mov ebx, esi
mov dword [esp + 0xc], ebx
jmp 0x1004f5d4
mov eax, dword [esp + 0x38]
mov dword [esp + 0x28], eax
jmp 0x1004f804
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 0x1004f804
push esi
call sym.user32.dll_git_submodule_index_id
push ebx
mov edx, eax
mov ecx, edi
call fcn.1000d9e0
mov ebx, eax
add esp, 8
mov dword [esp + 0xc], ebx
test ebx, ebx
js 0x1004f804
and dword [esi + 0x34], 0xff6ffff7
jmp 0x1004f804
push str.could_not_get_ID_of_submodule_in_index
push 0x11
call fcn.10028180
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 0x1004f830
mov eax, dword [esp + 0x58]
test eax, eax
je 0x1004f830
cmp eax, 0x1015ddcc
je 0x1004f830
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 + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x58], 0x1015ddcd
test edi, edi
je 0x1004f933
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x1004f933
cmp dword [edi + 4], 0
jne 0x1004f933
mov eax, dword [edi + 0x14]
xor ecx, ecx
mov dword [esp + 0x18], ecx
test eax, eax
je 0x1004f8db
mov ebx, dword [esp + 0x1c]
cmp ecx, eax
jae 0x1004f887
mov eax, dword [ebx + 0x10]
mov edi, dword [eax + ecx*4]
jmp 0x1004f889
xor edi, edi
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x1004f8c7
cmp dword [edi + 4], 0
jne 0x1004f8c7
mov eax, dword [edi + 8]
push eax
mov esi, dword [eax + 0x34]
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 edi
call dword [0x101182f8]
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 0x1004f87f
mov ebx, dword [esp + 0xc]
mov edi, dword [esp + 0x1c]
lea eax, [edi + 8]
test eax, eax
je 0x1004f90d
push dword [eax + 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 + 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 0x1004f914
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
mov eax, dword [esp + 0x44]
test eax, eax
je 0x1004f942
mov ecx, eax
call fcn.10054130
mov edi, dword [esp + 0x28]
test edi, edi
je 0x1004fb4f
mov eax, dword [edi + 0x70]
test eax, eax
je 0x1004f99d
mov esi, dword [eax + 0x20]
test esi, esi
je 0x1004f982
push eax
mov ecx, esi
call dword [0x101182f8]
call esi
add esp, 4
test eax, eax
je 0x1004f982
mov eax, dword [edi + 0x70]
push eax
mov esi, dword [eax + 0x28]
mov ecx, esi
call dword [0x101182f8]
call esi
add esp, 4
mov eax, dword [edi + 0x70]
push eax
mov esi, dword [eax + 0x2c]
mov ecx, esi
call dword [0x101182f8]
call esi
add esp, 4
mov dword [edi + 0x70], 0
lea eax, [edi + 0xc]
test eax, eax
je 0x1004f9cf
push dword [eax + 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 + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0xc], 0
lea esi, [edi + 0x20]
mov ecx, esi
call fcn.10020320
test esi, esi
je 0x1004fa08
push dword [esi + 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 + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x20], 0
lea esi, [edi + 0x34]
mov ecx, esi
call fcn.10020320
test esi, esi
je 0x1004fa41
push dword [esi + 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 + 0x3c], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x34], 0
lea esi, [edi + 0x48]
mov ecx, esi
call fcn.10020320
test esi, esi
je 0x1004fa7a
push dword [esi + 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 + 0x50], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x48], 0
cmp dword [edi + 0x68], 0
jbe 0x1004fac0
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 [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
mov edi, dword [esp + 0x2c]
inc ebx
add esp, 4
cmp ebx, dword [edi + 0x68]
jb 0x1004fa82
mov ebx, dword [esp + 0xc]
lea eax, [edi + 0x5c]
test eax, eax
je 0x1004faf2
push dword [eax + 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 + 0x64], 0
mov dword [edi + 0x68], 0
mov dword [edi + 0x5c], 0
mov ecx, dword [edi + 0x78]
call fcn.10078890
push dword [edi + 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 [edi + 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 [edi]
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
add esp, 4
mov edi, dword [esp + 0x40]
test edi, edi
je 0x1004fdff
mov ecx, dword [edi + 0xa8]
call fcn.10049ee0
mov eax, dword [0x1015bccc]
lea esi, [edi + 0x14]
mov dword [edi + 0xa8], 0
mov dword [esp + 0x20], eax
push esi
test eax, eax
je 0x1004fb8f
mov ecx, eax
call dword [0x101182f8]
call dword [esp + 0x24]
jmp 0x1004fb95
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea ecx, [edi + 0x10]
call fcn.10053b40
mov eax, dword [0x1015bcc4]
mov dword [esp + 0x20], eax
push esi
test eax, eax
je 0x1004fbb9
mov ecx, eax
call dword [0x101182f8]
call dword [esp + 0x24]
jmp 0x1004fbbf
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor ecx, ecx
lea eax, [edi + 0x30]
xchg dword [eax], ecx
test ecx, ecx
je 0x1004fbcf
call fcn.10049210
xor edx, edx
lea eax, [edi + 8]
xchg dword [eax], edx
test edx, edx
je 0x1004fbea
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, [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 0x1004fc3e
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 0x1004fc41
cmp dword [edx], 0
jne 0x1004fc41
call fcn.10041390
jmp 0x1004fc41
or esi, 0xffffffff
xor edx, edx
xchg dword [edi], edx
test edx, edx
je 0x1004fc59
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 0x1004fc7e
lea edx, [ecx + 4]
xor eax, eax
xchg dword [edx], eax
lock xadd dword [ecx], esi
dec esi
test esi, esi
jg 0x1004fc7e
cmp dword [edx], 0
jne 0x1004fc7e
call fcn.1003e140
lea ecx, [edi + 0x10]
call fcn.10053ce0
mov ecx, dword [edi + 0x34]
call fcn.1002e910
mov eax, dword [edi + 0x58]
xor ecx, ecx
mov dword [edi + 0x34], 0
mov dword [esp + 0x18], ecx
test eax, eax
je 0x1004fd12
xor edx, edx
mov dword [esp + 0x28], edx
cmp ecx, eax
jae 0x1004fcff
mov eax, dword [edi + 0x54]
add eax, edx
mov dword [esp + 0x20], eax
je 0x1004fcff
cmp dword [eax + 4], 0
jbe 0x1004fceb
mov edx, dword [eax]
test edx, edx
je 0x1004fce7
cmp edx, 0x1015ddcc
je 0x1004fce7
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 + 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], 0x1015ddcd
mov eax, dword [edi + 0x58]
inc ecx
add edx, 0xc
mov dword [esp + 0x18], ecx
mov dword [esp + 0x28], edx
cmp ecx, eax
jb 0x1004fcac
push dword [edi + 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 [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 [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 [edi + 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 [edi + 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 [edi + 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 [edi + 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 [edi + 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 [edi + 0x50]
call dword [0x101182f8]
call esi
add esp, 4
mov ecx, 0xac
mov eax, edi
nop
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x1004fde0
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
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret