Function at 0x1004e900
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], 0x101b01ed
mov dword [esp + 0x8c], 1
mov dword [esp + 0x90], 1
mov dword [esp + 0x94], 1
call fcn.10131ea0
push 0x38
lea eax, [esp + 0xf0]
mov dword [esp + 0xe8], 1
push edi
push eax
mov dword [esp + 0xf4], 1
call fcn.10131ea0
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.10131ea0
push 0x38
lea eax, [esp + 0x1d8]
push edi
push eax
call fcn.10131ea0
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 0x1004ea8f
push 0x1018ded8
push str.invalid_argument
push 0x10186758
push 3
call fcn.10028290
add esp, 0x10
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test ebx, ebx
je 0x1004eaa3
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 0x1004ead0
push str.git_submodule_update_options
push ecx
push str.invalid_version__d_on__s
push 3
call fcn.10028290
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 0x1004eb18
push str.repo
push str.invalid_argument
push 0x10186758
push 3
call fcn.10028290
add esp, 0x10
or ebx, 0xffffffff
mov dword [esp + 0xc], ebx
jmp 0x1004f8f4
test eax, eax
jne 0x1004eb41
push str.name
push str.invalid_argument
push 0x10186758
push 3
call fcn.10028290
add esp, 0x10
or ebx, 0xffffffff
mov dword [esp + 0xc], ebx
jmp 0x1004f8f4
push dword [edx + 0xa8]
lea ecx, [esp + 0x1c]
push eax
call fcn.1004a150
mov ebx, eax
add esp, 8
mov dword [esp + 0xc], ebx
test ebx, ebx
js 0x1004f8f4
mov esi, dword [esp + 0x18]
push 0xffffffffffffffff
push esi
push 0
push ecx
lea ecx, [esp + 0x8c]
call fcn.10050ca0
mov ebx, eax
push esi
mov dword [esp + 0x20], ebx
call sym.user32.dll_git_submodule_free
add esp, 0x14
test ebx, ebx
js 0x1004f8f4
test byte [esp + 0x7c], 0x80
je 0x1004f42e
mov edx, dword [edi + 0x30]
lea ecx, [esp + 0x18]
call fcn.10007960
mov ebx, eax
mov dword [esp + 0xc], ebx
test ebx, ebx
js 0x1004f8f4
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 0x1004ed03
push dword [edi + 8]
lea eax, [esp + 0x5c]
push str.submodule._s.url
push eax
call fcn.1002a270
mov ebx, eax
add esp, 0xc
mov dword [esp + 0xc], ebx
test ebx, ebx
js 0x1004ed03
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 0x1004ecad
cmp ebx, 0xfffffffd
jne 0x1004ec3f
cmp dword [ebp + 0xc], 0
jne 0x1004ec48
push str.submodule_is_not_initialized
push 0x11
call fcn.10028290
add esp, 8
or ebx, 0xffffffff
mov dword [esp + 0xc], ebx
mov edi, dword [esp + 0x1c]
jmp 0x1004f8f6
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 0x1004ec3f
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 0x1004ed03
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 0x1004f0d8
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], 0x1004e7c0
mov dword [esp + 0x234], edi
mov dword [esp + 0x164], 0
call fcn.10027490
mov ebx, eax
add esp, 0xc
mov dword [esp + 0xc], ebx
test ebx, ebx
js 0x1004f41d
test dword [edi + 0x34], 0x400000
je 0x1004ed10
lea esi, [edi + 0x4c]
jmp 0x1004ed12
mov edi, dword [esp + 0x14]
mov dword [esp + 0x1c], edi
jmp 0x1004f8f6
xor esi, esi
mov edi, dword [esp + 0x10]
mov dword [esp + 0x14], esi
mov dword [esp + 0x4c], 0x101b01ed
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 0x1004f0b8
test esi, esi
jne 0x1004ed6c
push 0x101888dc
jmp 0x1004f0bd
push 0
push str.HEAD
mov edx, edi
lea ecx, [esp + 0x2c]
call fcn.10011290
mov ebx, eax
add esp, 8
mov dword [esp + 0xc], ebx
test ebx, ebx
js 0x1004f0d8
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 0x1004ef38
push 4
mov edx, edi
mov dword [esp + 0x68], 0x101b01ed
lea ecx, [esp + 0x68]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
call fcn.1000cc70
mov ebx, eax
add esp, 4
mov dword [esp + 0xc], ebx
test ebx, ebx
js 0x1004ef91
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 0x1004ef91
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 0x1004ee39
push str.cannot_access_repository_to_set_odb_caps
push 9
call fcn.10028290
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 0x1004ef91
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 0x1004ee92
mov edx, dword [esp + 0x48]
lea ecx, [esp + 0x48]
call fcn.10007960
test eax, eax
js 0x1004eea4
mov edx, dword [esp + 0x48]
lea ecx, [esp + 0xc]
push 0xd
call fcn.10040a30
add esp, 4
test eax, eax
js 0x1004eea4
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.10034670
mov ebx, eax
add esp, 8
mov dword [esp + 0xc], ebx
test ebx, ebx
js 0x1004ee27
mov edx, dword [esp + 0x10]
xor eax, eax
mov ecx, edx
lock cmpxchg dword [edi], ecx
test eax, eax
je 0x1004eee4
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 0x1004ef12
mov eax, dword [esp + 0x64]
test eax, eax
je 0x1004ef12
cmp eax, 0x101b01ec
je 0x1004ef12
mov esi, dword [fcn.10032a50]
mov ecx, esi
push eax
call dword [0x1015f3cc]
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], 0x101b01ed
lock cmpxchg dword [edi], ecx
mov ebx, eax
mov dword [esp + 0x10], ebx
push 0
lea ecx, [edi + 0x10]
mov edx, esi
call fcn.10054000
add esp, 4
test eax, eax
je 0x1004f0e1
movzx ecx, word [eax + 0x16]
cmp ecx, 2
jne 0x1004ef61
mov dword [esp + 0x34], eax
jmp 0x1004f20f
cmp ecx, 1
jne 0x1004ef71
mov esi, eax
mov dword [esp + 0x2c], esi
jmp 0x1004f1e1
push str.__Wrong_caching_type_in_the_global_object_cache_
push str.unrecoverable_internal_error
push 0x10186758
push 0x23
call fcn.10028290
add esp, 0x10
or ebx, 0xffffffff
mov dword [esp + 0xc], ebx
mov esi, dword [esp + 0x4c]
cmp dword [esp + 0x50], 0
jbe 0x1004efbc
test esi, esi
je 0x1004efbc
cmp esi, 0x101b01ec
je 0x1004efbc
push esi
mov esi, dword [fcn.10032a50]
mov ecx, esi
call dword [0x1015f3cc]
call esi
add esp, 4
mov eax, dword [esp + 0x34]
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x4c], 0x101b01ed
test eax, eax
je 0x1004efe3
mov ecx, eax
call fcn.10054210
mov eax, dword [esp + 0x38]
test eax, eax
je 0x1004eff2
mov ecx, eax
call fcn.10054210
mov esi, dword [esp + 0x24]
test esi, esi
je 0x1004f04d
cmp dword [esi + 4], 2
jne 0x1004f01a
push dword [esi + 8]
mov esi, dword [fcn.10032a50]
mov ecx, esi
call dword [0x1015f3cc]
call esi
mov esi, dword [esp + 0x28]
add esp, 4
mov ecx, dword [esi]
test ecx, ecx
je 0x1004f039
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x1004f039
cmp dword [ecx + 4], 0
jne 0x1004f039
mov ecx, dword [esi]
call fcn.1003e240
push esi
mov esi, dword [fcn.10032a50]
mov ecx, esi
call dword [0x1015f3cc]
call esi
add esp, 4
mov esi, dword [esp + 0x18]
test esi, esi
je 0x1004f0a8
cmp dword [esi + 4], 2
jne 0x1004f075
push dword [esi + 8]
mov esi, dword [fcn.10032a50]
mov ecx, esi
call dword [0x1015f3cc]
call esi
mov esi, dword [esp + 0x1c]
add esp, 4
mov ecx, dword [esi]
test ecx, ecx
je 0x1004f094
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x1004f094
cmp dword [ecx + 4], 0
jne 0x1004f094
mov ecx, dword [esi]
call fcn.1003e240
push esi
mov esi, dword [fcn.10032a50]
mov ecx, esi
call dword [0x1015f3cc]
call esi
add esp, 4
test ebx, ebx
js 0x1004ec3f
test edi, edi
jne 0x1004f3fb
push str.repo
push str.invalid_argument
push 0x10186758
push 3
call fcn.10028290
add esp, 0x10
or ebx, 0xffffffff
mov dword [esp + 0xc], ebx
mov edi, dword [esp + 0x1c]
jmp 0x1004f8f6
test ebx, ebx
jne 0x1004f106
push 0x1018beac
push str.invalid_argument
push 0x10186758
push 3
call fcn.10028290
add esp, 0x10
or ebx, 0xffffffff
jmp 0x1004f1d1
mov eax, esi
xor ecx, ecx
nop word [eax + eax]
cmp byte [eax], 0
jne 0x1004f13a
inc ecx
inc eax
cmp ecx, 0x14
jb 0x1004f110
push str.cannot_read_object
push str.odb:__s:_null_OID_cannot_exist
push 9
call fcn.10028290
add esp, 0xc
mov ebx, 0xfffffffd
jmp 0x1004f1d1
xor edx, edx
lea ecx, [ebx + 4]
xor eax, eax
lock cmpxchg dword [ecx], edx
lea ecx, [eax + 0x10]
test eax, eax
jne 0x1004f14f
lea ecx, [ebx + 0x34]
push 1
mov edx, esi
call fcn.10054000
mov esi, eax
add esp, 4
mov dword [esp + 0x2c], esi
test esi, esi
je 0x1004f16d
xor ebx, ebx
mov dword [esp + 0xc], ebx
jmp 0x1004f1d9
push 0
push dword [esp + 0x18]
mov edx, ebx
lea ecx, [esp + 0x34]
call fcn.10035760
mov ebx, eax
add esp, 8
mov dword [esp + 0xc], ebx
cmp ebx, 0xfffffffd
jne 0x1004f1d5
mov esi, dword [esp + 0x10]
push esi
call sym.user32.dll_git_odb_refresh
add esp, 4
test eax, eax
jne 0x1004f1bc
push 1
push dword [esp + 0x18]
mov edx, esi
lea ecx, [esp + 0x34]
call fcn.10035760
mov ebx, eax
mov dword [esp + 0x14], eax
add esp, 8
cmp ebx, 0xfffffffd
jne 0x1004f1d5
mov edx, dword [esp + 0x14]
mov ecx, str.no_match_for_id
push 0x28
call fcn.10036e60
add esp, 4
mov ebx, eax
mov dword [esp + 0xc], ebx
mov esi, dword [esp + 0x2c]
test ebx, ebx
js 0x1004ef91
push 0xfffffffffffffffe
push esi
mov edx, edi
lea ecx, [esp + 0x3c]
call fcn.1003ab70
add esp, 8
mov ebx, eax
mov dword [esp + 0xc], ebx
test esi, esi
je 0x1004f203
mov ecx, esi
call fcn.10054210
test ebx, ebx
js 0x1004ef91
mov eax, dword [esp + 0x34]
xor ecx, ecx
mov dword [esp + 0x10], ecx
test eax, eax
jne 0x1004f22f
push 0x1018cab8
push str.invalid_argument
push 0x10186758
push 3
jmp 0x1004ef82
movsx ecx, word [eax + 0x14]
cmp ecx, 1
jne 0x1004f247
lock inc dword [eax + 0x1c]
mov esi, eax
mov dword [esp + 0x38], esi
jmp 0x1004f368
dec ecx
cmp ecx, 3
ja case.0x1004f251.1
jmp dword [ecx*4 + 0x1004fef8]
mov esi, eax
nop word [eax + eax]
test esi, esi
je 0x1004f2f6
movsx eax, word [esi + 0x14]
dec eax
cmp eax, 3
ja case.default.0x1004f276
jmp dword [eax*4 + 0x1004ff08]
push 2
lea eax, [esi + 0x30]
jmp 0x1004f28a
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 0x1004f314
cmp esi, dword [esp + 0x34]
je 0x1004f2b0
mov ecx, esi
call fcn.10054210
mov esi, dword [esp + 0x10]
test esi, esi
jne 0x1004f2d7
push 0x1018bcd8
push str.invalid_argument
push 0x10186758
push 3
call fcn.10028290
add esp, 0x10
mov dword [esp + 0x10], esi
jmp 0x1004f260
cmp word [esi + 0x14], 1
je 0x1004f23e
mov dword [esp + 0x10], 0
jmp 0x1004f260
mov ebx, 0xffffffed
jmp 0x1004f314
push 0x1018bcd8
push str.invalid_argument
push 0x10186758
push 3
call fcn.10028290
add esp, 0x10
mov ebx, 0xfffffff4
cmp esi, dword [esp + 0x34]
je 0x1004f325
test esi, esi
je 0x1004f325
mov ecx, esi
call fcn.10054210
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x1004f332
call fcn.10054210
mov edx, dword [esp + 0x34]
mov ecx, ebx
push 1
call fcn.1003b1f0
mov ebx, eax
mov dword [esp + 0x10], ebx
jmp 0x1004f35b
push 1
mov edx, eax
mov ecx, 0xfffffff4
call fcn.1003b1f0
mov ebx, eax
mov dword [esp + 0x10], eax
add esp, 4
test ebx, ebx
js 0x1004ef91
xor esi, esi
test esi, esi
jne 0x1004f389
push 0x1018bcd8
push str.invalid_argument
push 0x10186758
push 3
call fcn.10028290
add esp, 0x10
xor eax, eax
jmp 0x1004f38b
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.1000d8b0
mov ebx, eax
add esp, 8
mov dword [esp + 0xc], ebx
test ebx, ebx
js 0x1004ef91
test esi, esi
jne 0x1004f3d1
push 0x1018bcd8
push str.invalid_argument
push 0x10186758
push 3
call fcn.10028290
add esp, 0x10
xor eax, eax
jmp 0x1004f3d3
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 0x1004ef95
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 0x1004f8f6
mov edi, dword [esp + 0x10]
mov dword [esp + 0x40], edi
mov edi, dword [esp + 0x1c]
jmp 0x1004f8f6
push 0
mov edx, edi
lea ecx, [esp + 0x14]
call fcn.10050770
mov ebx, eax
add esp, 4
mov dword [esp + 0xc], ebx
test ebx, ebx
js 0x1004f8ec
test dword [edi + 0x34], 0x400000
je 0x1004f8d6
lea esi, [edi + 0x4c]
mov dword [esp + 0x14], esi
test esi, esi
je 0x1004f8d6
mov edi, dword [esp + 0x10]
xor ebx, ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x40], edi
test edi, edi
je 0x1004eaf3
xor ecx, ecx
xor eax, eax
lock cmpxchg dword [edi], ecx
mov dword [esp + 0x10], eax
test eax, eax
jne 0x1004f619
push 4
mov edx, edi
mov dword [esp + 0x74], 0x101b01ed
lea ecx, [esp + 0x74]
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
call fcn.1000cc70
mov esi, eax
add esp, 4
test esi, esi
js 0x1004f505
lea eax, [esp + 0x18]
push eax
call sym.user32.dll_git_odb_new
mov esi, eax
add esp, 4
test esi, esi
js 0x1004f505
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 0x1004f510
push str.cannot_access_repository_to_set_odb_caps
push 9
call fcn.10028290
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 0x1004f6c4
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 0x1004f571
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x20]
call fcn.10007960
test eax, eax
js 0x1004f665
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x10]
push 0xd
call fcn.10040a30
add esp, 4
test eax, eax
js 0x1004f665
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.10034670
mov esi, eax
add esp, 8
test esi, esi
js 0x1004f4f8
mov edx, dword [esp + 0x18]
xor eax, eax
mov ecx, edx
lock cmpxchg dword [edi], ecx
test eax, eax
je 0x1004f5c7
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 0x1004f5f1
mov eax, dword [esp + 0x70]
test eax, eax
je 0x1004f5f1
cmp eax, 0x101b01ec
je 0x1004f5f1
mov esi, dword [fcn.10032a50]
mov ecx, esi
push eax
call dword [0x1015f3cc]
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], 0x101b01ed
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.10054000
add esp, 4
test eax, eax
je 0x1004f77d
movzx ecx, word [eax + 0x16]
cmp ecx, 2
jne 0x1004f67f
mov ecx, 1
cmp cx, word [eax + 0x14]
je 0x1004f672
mov ecx, eax
call fcn.10054210
push str.the_requested_type_does_not_match_the_type_in_the_ODB
push 3
call fcn.10028290
mov ebx, 0xfffffffd
add esp, 8
mov dword [esp + 0xc], ebx
jmp 0x1004f6cd
mov eax, dword [esp + 0x14]
mov dword [esp + 0x14], eax
jmp 0x1004f58b
mov esi, dword [esp + 0x24]
mov dword [esp + 0x3c], eax
jmp 0x1004f890
cmp ecx, 1
jne 0x1004f758
mov ebx, eax
mov dword [esp + 0x30], ebx
push 1
push ebx
mov edx, edi
lea ecx, [esp + 0x44]
call fcn.1003ab70
mov ecx, dword [esp + 0x38]
add esp, 8
mov ebx, eax
mov dword [esp + 0xc], ebx
test ecx, ecx
je 0x1004f6b2
call fcn.10054210
mov esi, ebx
test ebx, ebx
jns 0x1004f888
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x44], eax
cmp esi, 0xfffffffd
jne 0x1004f8f4
cmp dword [esp + 0x148], 0
je 0x1004f8f4
mov edx, edi
lea ecx, [esp + 0x38]
call fcn.10052420
mov ebx, eax
mov dword [esp + 0xc], ebx
test ebx, ebx
js 0x1004f87e
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 0x1004f8f4
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 0x1004f88c
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x44], eax
jmp 0x1004f8f4
push str.__Wrong_caching_type_in_the_global_object_cache_
push str.unrecoverable_internal_error
push 0x10186758
push 0x23
call fcn.10028290
add esp, 0x10
or ebx, 0xffffffff
mov dword [esp + 0xc], ebx
jmp 0x1004f8f4
cmp dword [esp + 0x10], 0
jne 0x1004f7a5
push 0x1018beac
push str.invalid_argument
push 0x10186758
push 3
call fcn.10028290
add esp, 0x10
or esi, 0xffffffff
jmp 0x1004f86b
mov eax, esi
xor ecx, ecx
nop dword [eax]
cmp byte [eax], 0
jne 0x1004f7da
inc ecx
inc eax
cmp ecx, 0x14
jb 0x1004f7b0
push str.cannot_read_object
push str.odb:__s:_null_OID_cannot_exist
push 9
call fcn.10028290
add esp, 0xc
mov esi, 0xfffffffd
jmp 0x1004f86b
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 0x1004f7f3
lea ecx, [ebx + 0x34]
push 1
mov edx, esi
call fcn.10054000
mov ebx, eax
add esp, 4
mov dword [esp + 0x30], ebx
test ebx, ebx
je 0x1004f80d
xor esi, esi
jmp 0x1004f86b
mov ebx, dword [esp + 0x10]
lea ecx, [esp + 0x30]
push 0
push esi
mov edx, ebx
call fcn.10035760
mov esi, eax
add esp, 8
cmp esi, 0xfffffffd
jne 0x1004f867
push ebx
call sym.user32.dll_git_odb_refresh
mov ebx, dword [esp + 0x18]
add esp, 4
test eax, eax
jne 0x1004f854
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x30]
push 1
push ebx
call fcn.10035760
mov esi, eax
add esp, 8
cmp esi, 0xfffffffd
jne 0x1004f867
push 0x28
mov edx, ebx
mov ecx, str.no_match_for_id
call fcn.10036e60
add esp, 4
mov esi, eax
mov ebx, dword [esp + 0x30]
test esi, esi
jns 0x1004f68e
mov ebx, esi
mov dword [esp + 0xc], ebx
jmp 0x1004f6c4
mov eax, dword [esp + 0x38]
mov dword [esp + 0x28], eax
jmp 0x1004f8f4
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 0x1004f8f4
push esi
call sym.user32.dll_git_submodule_index_id
push ebx
mov edx, eax
mov ecx, edi
call fcn.1000db20
mov ebx, eax
add esp, 8
mov dword [esp + 0xc], ebx
test ebx, ebx
js 0x1004f8f4
and dword [esi + 0x34], 0xff6ffff7
jmp 0x1004f8f4
push str.could_not_get_ID_of_submodule_in_index
push 0x11
call fcn.10028290
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 0x1004f920
mov eax, dword [esp + 0x58]
test eax, eax
je 0x1004f920
cmp eax, 0x101b01ec
je 0x1004f920
mov esi, dword [fcn.10032a50]
mov ecx, esi
push eax
call dword [0x1015f3cc]
call esi
add esp, 4
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x58], 0x101b01ed
test edi, edi
je 0x1004fa23
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x1004fa23
cmp dword [edi + 4], 0
jne 0x1004fa23
mov eax, dword [edi + 0x14]
xor ecx, ecx
mov dword [esp + 0x18], ecx
test eax, eax
je 0x1004f9cb
mov ebx, dword [esp + 0x1c]
cmp ecx, eax
jae 0x1004f977
mov eax, dword [ebx + 0x10]
mov edi, dword [eax + ecx*4]
jmp 0x1004f979
xor edi, edi
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x1004f9b7
cmp dword [edi + 4], 0
jne 0x1004f9b7
mov eax, dword [edi + 8]
push eax
mov esi, dword [eax + 0x34]
mov ecx, esi
call dword [0x1015f3cc]
call esi
mov esi, dword [fcn.10032a50]
add esp, 4
mov ecx, esi
push edi
call dword [0x1015f3cc]
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 0x1004f96f
mov ebx, dword [esp + 0xc]
mov edi, dword [esp + 0x1c]
lea eax, [edi + 8]
test eax, eax
je 0x1004f9fd
push dword [eax + 8]
mov esi, dword [fcn.10032a50]
mov ecx, esi
call dword [0x1015f3cc]
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 0x1004fa04
mov esi, dword [fcn.10032a50]
mov ecx, esi
push edi
call dword [0x1015f3cc]
call esi
add esp, 4
mov eax, dword [esp + 0x44]
test eax, eax
je 0x1004fa32
mov ecx, eax
call fcn.10054210
mov edi, dword [esp + 0x28]
test edi, edi
je 0x1004fc3f
mov eax, dword [edi + 0x70]
test eax, eax
je 0x1004fa8d
mov esi, dword [eax + 0x20]
test esi, esi
je 0x1004fa72
push eax
mov ecx, esi
call dword [0x1015f3cc]
call esi
add esp, 4
test eax, eax
je 0x1004fa72
mov eax, dword [edi + 0x70]
push eax
mov esi, dword [eax + 0x28]
mov ecx, esi
call dword [0x1015f3cc]
call esi
add esp, 4
mov eax, dword [edi + 0x70]
push eax
mov esi, dword [eax + 0x2c]
mov ecx, esi
call dword [0x1015f3cc]
call esi
add esp, 4
mov dword [edi + 0x70], 0
lea eax, [edi + 0xc]
test eax, eax
je 0x1004fabf
push dword [eax + 8]
mov esi, dword [fcn.10032a50]
mov ecx, esi
call dword [0x1015f3cc]
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.10020440
test esi, esi
je 0x1004faf8
push dword [esi + 8]
mov esi, dword [fcn.10032a50]
mov ecx, esi
call dword [0x1015f3cc]
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.10020440
test esi, esi
je 0x1004fb31
push dword [esi + 8]
mov esi, dword [fcn.10032a50]
mov ecx, esi
call dword [0x1015f3cc]
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.10020440
test esi, esi
je 0x1004fb6a
push dword [esi + 8]
mov esi, dword [fcn.10032a50]
mov ecx, esi
call dword [0x1015f3cc]
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 0x1004fbb0
xor ebx, ebx
mov eax, dword [edi + 0x64]
mov esi, dword [fcn.10032a50]
mov ecx, esi
mov edi, dword [eax + ebx*4]
push dword [edi + 0x2c]
call dword [0x1015f3cc]
call esi
mov esi, dword [fcn.10032a50]
add esp, 4
mov ecx, esi
push edi
call dword [0x1015f3cc]
call esi
mov edi, dword [esp + 0x2c]
inc ebx
add esp, 4
cmp ebx, dword [edi + 0x68]
jb 0x1004fb72
mov ebx, dword [esp + 0xc]
lea eax, [edi + 0x5c]
test eax, eax
je 0x1004fbe2
push dword [eax + 8]
mov esi, dword [fcn.10032a50]
mov ecx, esi
call dword [0x1015f3cc]
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.10078990
push dword [edi + 4]
mov esi, dword [fcn.10032a50]
mov ecx, esi
call dword [0x1015f3cc]
call esi
mov esi, dword [fcn.10032a50]
add esp, 4
mov ecx, esi
push dword [edi + 8]
call dword [0x1015f3cc]
call esi
mov esi, dword [fcn.10032a50]
add esp, 4
mov ecx, esi
push dword [edi]
call dword [0x1015f3cc]
call esi
mov esi, dword [fcn.10032a50]
add esp, 4
mov ecx, esi
push edi
call dword [0x1015f3cc]
call esi
add esp, 4
mov edi, dword [esp + 0x40]
test edi, edi
je 0x1004feef
mov ecx, dword [edi + 0xa8]
call fcn.10049fd0
mov eax, dword [0x101ae0fc]
lea esi, [edi + 0x14]
mov dword [edi + 0xa8], 0
mov dword [esp + 0x20], eax
push esi
test eax, eax
je 0x1004fc7f
mov ecx, eax
call dword [0x1015f3cc]
call dword [esp + 0x24]
jmp 0x1004fc85
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea ecx, [edi + 0x10]
call fcn.10053c20
mov eax, dword [0x101ae0f4]
mov dword [esp + 0x20], eax
push esi
test eax, eax
je 0x1004fca9
mov ecx, eax
call dword [0x1015f3cc]
call dword [esp + 0x24]
jmp 0x1004fcaf
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor ecx, ecx
lea eax, [edi + 0x30]
xchg dword [eax], ecx
test ecx, ecx
je 0x1004fcbf
call fcn.10049300
xor edx, edx
lea eax, [edi + 8]
xchg dword [eax], edx
test edx, edx
je 0x1004fcda
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 [0x10196420]
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 0x1004fd2e
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 0x1004fd31
cmp dword [edx], 0
jne 0x1004fd31
call fcn.10041490
jmp 0x1004fd31
or esi, 0xffffffff
xor edx, edx
xchg dword [edi], edx
test edx, edx
je 0x1004fd49
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 0x1004fd6e
lea edx, [ecx + 4]
xor eax, eax
xchg dword [edx], eax
lock xadd dword [ecx], esi
dec esi
test esi, esi
jg 0x1004fd6e
cmp dword [edx], 0
jne 0x1004fd6e
call fcn.1003e240
lea ecx, [edi + 0x10]
call fcn.10053dc0
mov ecx, dword [edi + 0x34]
call fcn.1002ea10
mov eax, dword [edi + 0x58]
xor ecx, ecx
mov dword [edi + 0x34], 0
mov dword [esp + 0x18], ecx
test eax, eax
je 0x1004fe02
xor edx, edx
mov dword [esp + 0x28], edx
cmp ecx, eax
jae 0x1004fdef
mov eax, dword [edi + 0x54]
add eax, edx
mov dword [esp + 0x20], eax
je 0x1004fdef
cmp dword [eax + 4], 0
jbe 0x1004fddb
mov edx, dword [eax]
test edx, edx
je 0x1004fdd7
cmp edx, 0x101b01ec
je 0x1004fdd7
mov esi, dword [fcn.10032a50]
mov ecx, esi
push edx
call dword [0x1015f3cc]
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], 0x101b01ed
mov eax, dword [edi + 0x58]
inc ecx
add edx, 0xc
mov dword [esp + 0x18], ecx
mov dword [esp + 0x28], edx
cmp ecx, eax
jb 0x1004fd9c
push dword [edi + 0x54]
mov esi, dword [fcn.10032a50]
mov ecx, esi
call dword [0x1015f3cc]
call esi
add esp, 4
mov dword [edi + 0x5c], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x54], 0
mov esi, dword [fcn.10032a50]
mov ecx, esi
push dword [edi + 0x38]
call dword [0x1015f3cc]
call esi
mov esi, dword [fcn.10032a50]
add esp, 4
mov ecx, esi
push dword [edi + 0x3c]
call dword [0x1015f3cc]
call esi
mov esi, dword [fcn.10032a50]
add esp, 4
mov ecx, esi
push dword [edi + 0x40]
call dword [0x1015f3cc]
call esi
mov esi, dword [fcn.10032a50]
add esp, 4
mov ecx, esi
push dword [edi + 0x44]
call dword [0x1015f3cc]
call esi
mov esi, dword [fcn.10032a50]
add esp, 4
mov ecx, esi
push dword [edi + 0x48]
call dword [0x1015f3cc]
call esi
mov esi, dword [fcn.10032a50]
add esp, 4
mov ecx, esi
push dword [edi + 0x4c]
call dword [0x1015f3cc]
call esi
mov esi, dword [fcn.10032a50]
add esp, 4
mov ecx, esi
push dword [edi + 0x50]
call dword [0x1015f3cc]
call esi
add esp, 4
mov ecx, 0xac
mov eax, edi
nop
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x1004fed0
mov esi, dword [fcn.10032a50]
mov ecx, esi
push edi
call dword [0x1015f3cc]
call esi
add esp, 4
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret