Function at 0x1004ed90
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], 0x1020156d
mov dword [esp + 0x8c], 1
mov dword [esp + 0x90], 1
mov dword [esp + 0x94], 1
call fcn.10174ed0
push 0x38
lea eax, [esp + 0xf0]
mov dword [esp + 0xe8], 1
push edi
push eax
mov dword [esp + 0xf4], 1
call fcn.10174ed0
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.10174ed0
push 0x38
lea eax, [esp + 0x1d8]
push edi
push eax
call fcn.10174ed0
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 0x1004ef1f
push 0x101dee80
push str.invalid_argument
push 0x101d76f8
push 3
call fcn.10028740
add esp, 0x10
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test ebx, ebx
je 0x1004ef33
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 0x1004ef60
push str.git_submodule_update_options
push ecx
push str.invalid_version__d_on__s
push 3
call fcn.10028740
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 0x1004efa8
push str.repo
push str.invalid_argument
push 0x101d76f8
push 3
call fcn.10028740
add esp, 0x10
or ebx, 0xffffffff
mov dword [esp + 0xc], ebx
jmp 0x1004fd84
test eax, eax
jne 0x1004efd1
push str.name
push str.invalid_argument
push 0x101d76f8
push 3
call fcn.10028740
add esp, 0x10
or ebx, 0xffffffff
mov dword [esp + 0xc], ebx
jmp 0x1004fd84
push dword [edx + 0xa8]
lea ecx, [esp + 0x1c]
push eax
call fcn.1004a5f0
mov ebx, eax
add esp, 8
mov dword [esp + 0xc], ebx
test ebx, ebx
js 0x1004fd84
mov esi, dword [esp + 0x18]
push 0xffffffffffffffff
push esi
push 0
push ecx
lea ecx, [esp + 0x8c]
call fcn.10051130
mov ebx, eax
push esi
mov dword [esp + 0x20], ebx
call sym.user32.dll_git_submodule_free
add esp, 0x14
test ebx, ebx
js 0x1004fd84
test byte [esp + 0x7c], 0x80
je 0x1004f8be
mov edx, dword [edi + 0x30]
lea ecx, [esp + 0x18]
call fcn.10007e00
mov ebx, eax
mov dword [esp + 0xc], ebx
test ebx, ebx
js 0x1004fd84
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 0x1004f193
push dword [edi + 8]
lea eax, [esp + 0x5c]
push str.submodule._s.url
push eax
call fcn.1002a720
mov ebx, eax
add esp, 0xc
mov dword [esp + 0xc], ebx
test ebx, ebx
js 0x1004f193
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 0x1004f13d
cmp ebx, 0xfffffffd
jne 0x1004f0cf
cmp dword [ebp + 0xc], 0
jne 0x1004f0d8
push str.submodule_is_not_initialized
push 0x11
call fcn.10028740
add esp, 8
or ebx, 0xffffffff
mov dword [esp + 0xc], ebx
mov edi, dword [esp + 0x1c]
jmp 0x1004fd86
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 0x1004f0cf
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 0x1004f193
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 0x1004f568
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], 0x1004ec60
mov dword [esp + 0x234], edi
mov dword [esp + 0x164], 0
call fcn.10027940
mov ebx, eax
add esp, 0xc
mov dword [esp + 0xc], ebx
test ebx, ebx
js 0x1004f8ad
test dword [edi + 0x34], 0x400000
je 0x1004f1a0
lea esi, [edi + 0x4c]
jmp 0x1004f1a2
mov edi, dword [esp + 0x14]
mov dword [esp + 0x1c], edi
jmp 0x1004fd86
xor esi, esi
mov edi, dword [esp + 0x10]
mov dword [esp + 0x14], esi
mov dword [esp + 0x4c], 0x1020156d
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 0x1004f548
test esi, esi
jne 0x1004f1fc
push 0x101d987c
jmp 0x1004f54d
push 0
push str.HEAD
mov edx, edi
lea ecx, [esp + 0x2c]
call fcn.10011730
mov ebx, eax
add esp, 8
mov dword [esp + 0xc], ebx
test ebx, ebx
js 0x1004f568
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 0x1004f3c8
push 4
mov edx, edi
mov dword [esp + 0x68], 0x1020156d
lea ecx, [esp + 0x68]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
call fcn.1000d110
mov ebx, eax
add esp, 4
mov dword [esp + 0xc], ebx
test ebx, ebx
js 0x1004f421
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 0x1004f421
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 0x1004f2c9
push str.cannot_access_repository_to_set_odb_caps
push 9
call fcn.10028740
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 0x1004f421
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 0x1004f322
mov edx, dword [esp + 0x48]
lea ecx, [esp + 0x48]
call fcn.10007e00
test eax, eax
js 0x1004f334
mov edx, dword [esp + 0x48]
lea ecx, [esp + 0xc]
push 0xd
call fcn.10040ed0
add esp, 4
test eax, eax
js 0x1004f334
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.10034b20
mov ebx, eax
add esp, 8
mov dword [esp + 0xc], ebx
test ebx, ebx
js 0x1004f2b7
mov edx, dword [esp + 0x10]
xor eax, eax
mov ecx, edx
lock cmpxchg dword [edi], ecx
test eax, eax
je 0x1004f374
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 0x1004f3a2
mov eax, dword [esp + 0x64]
test eax, eax
je 0x1004f3a2
cmp eax, 0x1020156c
je 0x1004f3a2
mov esi, dword [fcn.10032f00]
mov ecx, esi
push eax
call dword [0x101a54ac]
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], 0x1020156d
lock cmpxchg dword [edi], ecx
mov ebx, eax
mov dword [esp + 0x10], ebx
push 0
lea ecx, [edi + 0x10]
mov edx, esi
call fcn.10054490
add esp, 4
test eax, eax
je 0x1004f571
movzx ecx, word [eax + 0x16]
cmp ecx, 2
jne 0x1004f3f1
mov dword [esp + 0x34], eax
jmp 0x1004f69f
cmp ecx, 1
jne 0x1004f401
mov esi, eax
mov dword [esp + 0x2c], esi
jmp 0x1004f671
push str.__Wrong_caching_type_in_the_global_object_cache_
push str.unrecoverable_internal_error
push 0x101d76f8
push 0x23
call fcn.10028740
add esp, 0x10
or ebx, 0xffffffff
mov dword [esp + 0xc], ebx
mov esi, dword [esp + 0x4c]
cmp dword [esp + 0x50], 0
jbe 0x1004f44c
test esi, esi
je 0x1004f44c
cmp esi, 0x1020156c
je 0x1004f44c
push esi
mov esi, dword [fcn.10032f00]
mov ecx, esi
call dword [0x101a54ac]
call esi
add esp, 4
mov eax, dword [esp + 0x34]
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x4c], 0x1020156d
test eax, eax
je 0x1004f473
mov ecx, eax
call fcn.100546a0
mov eax, dword [esp + 0x38]
test eax, eax
je 0x1004f482
mov ecx, eax
call fcn.100546a0
mov esi, dword [esp + 0x24]
test esi, esi
je 0x1004f4dd
cmp dword [esi + 4], 2
jne 0x1004f4aa
push dword [esi + 8]
mov esi, dword [fcn.10032f00]
mov ecx, esi
call dword [0x101a54ac]
call esi
mov esi, dword [esp + 0x28]
add esp, 4
mov ecx, dword [esi]
test ecx, ecx
je 0x1004f4c9
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x1004f4c9
cmp dword [ecx + 4], 0
jne 0x1004f4c9
mov ecx, dword [esi]
call fcn.1003e6e0
push esi
mov esi, dword [fcn.10032f00]
mov ecx, esi
call dword [0x101a54ac]
call esi
add esp, 4
mov esi, dword [esp + 0x18]
test esi, esi
je 0x1004f538
cmp dword [esi + 4], 2
jne 0x1004f505
push dword [esi + 8]
mov esi, dword [fcn.10032f00]
mov ecx, esi
call dword [0x101a54ac]
call esi
mov esi, dword [esp + 0x1c]
add esp, 4
mov ecx, dword [esi]
test ecx, ecx
je 0x1004f524
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x1004f524
cmp dword [ecx + 4], 0
jne 0x1004f524
mov ecx, dword [esi]
call fcn.1003e6e0
push esi
mov esi, dword [fcn.10032f00]
mov ecx, esi
call dword [0x101a54ac]
call esi
add esp, 4
test ebx, ebx
js 0x1004f0cf
test edi, edi
jne 0x1004f88b
push str.repo
push str.invalid_argument
push 0x101d76f8
push 3
call fcn.10028740
add esp, 0x10
or ebx, 0xffffffff
mov dword [esp + 0xc], ebx
mov edi, dword [esp + 0x1c]
jmp 0x1004fd86
test ebx, ebx
jne 0x1004f596
push 0x101dce4c
push str.invalid_argument
push 0x101d76f8
push 3
call fcn.10028740
add esp, 0x10
or ebx, 0xffffffff
jmp 0x1004f661
mov eax, esi
xor ecx, ecx
nop word [eax + eax]
cmp byte [eax], 0
jne 0x1004f5ca
inc ecx
inc eax
cmp ecx, 0x14
jb 0x1004f5a0
push str.cannot_read_object
push str.odb:__s:_null_OID_cannot_exist
push 9
call fcn.10028740
add esp, 0xc
mov ebx, 0xfffffffd
jmp 0x1004f661
xor edx, edx
lea ecx, [ebx + 4]
xor eax, eax
lock cmpxchg dword [ecx], edx
lea ecx, [eax + 0x10]
test eax, eax
jne 0x1004f5df
lea ecx, [ebx + 0x34]
push 1
mov edx, esi
call fcn.10054490
mov esi, eax
add esp, 4
mov dword [esp + 0x2c], esi
test esi, esi
je 0x1004f5fd
xor ebx, ebx
mov dword [esp + 0xc], ebx
jmp 0x1004f669
push 0
push dword [esp + 0x18]
mov edx, ebx
lea ecx, [esp + 0x34]
call fcn.10035c10
mov ebx, eax
add esp, 8
mov dword [esp + 0xc], ebx
cmp ebx, 0xfffffffd
jne 0x1004f665
mov esi, dword [esp + 0x10]
push esi
call sym.user32.dll_git_odb_refresh
add esp, 4
test eax, eax
jne 0x1004f64c
push 1
push dword [esp + 0x18]
mov edx, esi
lea ecx, [esp + 0x34]
call fcn.10035c10
mov ebx, eax
mov dword [esp + 0x14], eax
add esp, 8
cmp ebx, 0xfffffffd
jne 0x1004f665
mov edx, dword [esp + 0x14]
mov ecx, str.no_match_for_id
push 0x28
call fcn.10037310
add esp, 4
mov ebx, eax
mov dword [esp + 0xc], ebx
mov esi, dword [esp + 0x2c]
test ebx, ebx
js 0x1004f421
push 0xfffffffffffffffe
push esi
mov edx, edi
lea ecx, [esp + 0x3c]
call fcn.1003b020
add esp, 8
mov ebx, eax
mov dword [esp + 0xc], ebx
test esi, esi
je 0x1004f693
mov ecx, esi
call fcn.100546a0
test ebx, ebx
js 0x1004f421
mov eax, dword [esp + 0x34]
xor ecx, ecx
mov dword [esp + 0x10], ecx
test eax, eax
jne 0x1004f6bf
push 0x101dda58
push str.invalid_argument
push 0x101d76f8
push 3
jmp 0x1004f412
movsx ecx, word [eax + 0x14]
cmp ecx, 1
jne 0x1004f6d7
lock inc dword [eax + 0x1c]
mov esi, eax
mov dword [esp + 0x38], esi
jmp 0x1004f7f8
dec ecx
cmp ecx, 3
ja case.0x1004f6e1.1
jmp dword [ecx*4 + 0x10050388]
mov esi, eax
nop word [eax + eax]
test esi, esi
je 0x1004f786
movsx eax, word [esi + 0x14]
dec eax
cmp eax, 3
ja case.default.0x1004f706
jmp dword [eax*4 + 0x10050398]
push 2
lea eax, [esi + 0x30]
jmp 0x1004f71a
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 0x1004f7a4
cmp esi, dword [esp + 0x34]
je 0x1004f740
mov ecx, esi
call fcn.100546a0
mov esi, dword [esp + 0x10]
test esi, esi
jne 0x1004f767
push 0x101dcc78
push str.invalid_argument
push 0x101d76f8
push 3
call fcn.10028740
add esp, 0x10
mov dword [esp + 0x10], esi
jmp 0x1004f6f0
cmp word [esi + 0x14], 1
je 0x1004f6ce
mov dword [esp + 0x10], 0
jmp 0x1004f6f0
mov ebx, 0xffffffed
jmp 0x1004f7a4
push 0x101dcc78
push str.invalid_argument
push 0x101d76f8
push 3
call fcn.10028740
add esp, 0x10
mov ebx, 0xfffffff4
cmp esi, dword [esp + 0x34]
je 0x1004f7b5
test esi, esi
je 0x1004f7b5
mov ecx, esi
call fcn.100546a0
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x1004f7c2
call fcn.100546a0
mov edx, dword [esp + 0x34]
mov ecx, ebx
push 1
call fcn.1003b6a0
mov ebx, eax
mov dword [esp + 0x10], ebx
jmp 0x1004f7eb
push 1
mov edx, eax
mov ecx, 0xfffffff4
call fcn.1003b6a0
mov ebx, eax
mov dword [esp + 0x10], eax
add esp, 4
test ebx, ebx
js 0x1004f421
xor esi, esi
test esi, esi
jne 0x1004f819
push 0x101dcc78
push str.invalid_argument
push 0x101d76f8
push 3
call fcn.10028740
add esp, 0x10
xor eax, eax
jmp 0x1004f81b
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.1000dd50
mov ebx, eax
add esp, 8
mov dword [esp + 0xc], ebx
test ebx, ebx
js 0x1004f421
test esi, esi
jne 0x1004f861
push 0x101dcc78
push str.invalid_argument
push 0x101d76f8
push 3
call fcn.10028740
add esp, 0x10
xor eax, eax
jmp 0x1004f863
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 0x1004f425
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 0x1004fd86
mov edi, dword [esp + 0x10]
mov dword [esp + 0x40], edi
mov edi, dword [esp + 0x1c]
jmp 0x1004fd86
push 0
mov edx, edi
lea ecx, [esp + 0x14]
call fcn.10050c00
mov ebx, eax
add esp, 4
mov dword [esp + 0xc], ebx
test ebx, ebx
js 0x1004fd7c
test dword [edi + 0x34], 0x400000
je 0x1004fd66
lea esi, [edi + 0x4c]
mov dword [esp + 0x14], esi
test esi, esi
je 0x1004fd66
mov edi, dword [esp + 0x10]
xor ebx, ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x40], edi
test edi, edi
je 0x1004ef83
xor ecx, ecx
xor eax, eax
lock cmpxchg dword [edi], ecx
mov dword [esp + 0x10], eax
test eax, eax
jne 0x1004faa9
push 4
mov edx, edi
mov dword [esp + 0x74], 0x1020156d
lea ecx, [esp + 0x74]
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
call fcn.1000d110
mov esi, eax
add esp, 4
test esi, esi
js 0x1004f995
lea eax, [esp + 0x18]
push eax
call sym.user32.dll_git_odb_new
mov esi, eax
add esp, 4
test esi, esi
js 0x1004f995
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 0x1004f9a0
push str.cannot_access_repository_to_set_odb_caps
push 9
call fcn.10028740
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 0x1004fb54
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 0x1004fa01
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x20]
call fcn.10007e00
test eax, eax
js 0x1004faf5
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x10]
push 0xd
call fcn.10040ed0
add esp, 4
test eax, eax
js 0x1004faf5
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.10034b20
mov esi, eax
add esp, 8
test esi, esi
js 0x1004f988
mov edx, dword [esp + 0x18]
xor eax, eax
mov ecx, edx
lock cmpxchg dword [edi], ecx
test eax, eax
je 0x1004fa57
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 0x1004fa81
mov eax, dword [esp + 0x70]
test eax, eax
je 0x1004fa81
cmp eax, 0x1020156c
je 0x1004fa81
mov esi, dword [fcn.10032f00]
mov ecx, esi
push eax
call dword [0x101a54ac]
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], 0x1020156d
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.10054490
add esp, 4
test eax, eax
je 0x1004fc0d
movzx ecx, word [eax + 0x16]
cmp ecx, 2
jne 0x1004fb0f
mov ecx, 1
cmp cx, word [eax + 0x14]
je 0x1004fb02
mov ecx, eax
call fcn.100546a0
push str.the_requested_type_does_not_match_the_type_in_the_ODB
push 3
call fcn.10028740
mov ebx, 0xfffffffd
add esp, 8
mov dword [esp + 0xc], ebx
jmp 0x1004fb5d
mov eax, dword [esp + 0x14]
mov dword [esp + 0x14], eax
jmp 0x1004fa1b
mov esi, dword [esp + 0x24]
mov dword [esp + 0x3c], eax
jmp 0x1004fd20
cmp ecx, 1
jne 0x1004fbe8
mov ebx, eax
mov dword [esp + 0x30], ebx
push 1
push ebx
mov edx, edi
lea ecx, [esp + 0x44]
call fcn.1003b020
mov ecx, dword [esp + 0x38]
add esp, 8
mov ebx, eax
mov dword [esp + 0xc], ebx
test ecx, ecx
je 0x1004fb42
call fcn.100546a0
mov esi, ebx
test ebx, ebx
jns 0x1004fd18
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x44], eax
cmp esi, 0xfffffffd
jne 0x1004fd84
cmp dword [esp + 0x148], 0
je 0x1004fd84
mov edx, edi
lea ecx, [esp + 0x38]
call fcn.100528b0
mov ebx, eax
mov dword [esp + 0xc], ebx
test ebx, ebx
js 0x1004fd0e
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 0x1004fd84
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 0x1004fd1c
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x44], eax
jmp 0x1004fd84
push str.__Wrong_caching_type_in_the_global_object_cache_
push str.unrecoverable_internal_error
push 0x101d76f8
push 0x23
call fcn.10028740
add esp, 0x10
or ebx, 0xffffffff
mov dword [esp + 0xc], ebx
jmp 0x1004fd84
cmp dword [esp + 0x10], 0
jne 0x1004fc35
push 0x101dce4c
push str.invalid_argument
push 0x101d76f8
push 3
call fcn.10028740
add esp, 0x10
or esi, 0xffffffff
jmp 0x1004fcfb
mov eax, esi
xor ecx, ecx
nop dword [eax]
cmp byte [eax], 0
jne 0x1004fc6a
inc ecx
inc eax
cmp ecx, 0x14
jb 0x1004fc40
push str.cannot_read_object
push str.odb:__s:_null_OID_cannot_exist
push 9
call fcn.10028740
add esp, 0xc
mov esi, 0xfffffffd
jmp 0x1004fcfb
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 0x1004fc83
lea ecx, [ebx + 0x34]
push 1
mov edx, esi
call fcn.10054490
mov ebx, eax
add esp, 4
mov dword [esp + 0x30], ebx
test ebx, ebx
je 0x1004fc9d
xor esi, esi
jmp 0x1004fcfb
mov ebx, dword [esp + 0x10]
lea ecx, [esp + 0x30]
push 0
push esi
mov edx, ebx
call fcn.10035c10
mov esi, eax
add esp, 8
cmp esi, 0xfffffffd
jne 0x1004fcf7
push ebx
call sym.user32.dll_git_odb_refresh
mov ebx, dword [esp + 0x18]
add esp, 4
test eax, eax
jne 0x1004fce4
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x30]
push 1
push ebx
call fcn.10035c10
mov esi, eax
add esp, 8
cmp esi, 0xfffffffd
jne 0x1004fcf7
push 0x28
mov edx, ebx
mov ecx, str.no_match_for_id
call fcn.10037310
add esp, 4
mov esi, eax
mov ebx, dword [esp + 0x30]
test esi, esi
jns 0x1004fb1e
mov ebx, esi
mov dword [esp + 0xc], ebx
jmp 0x1004fb54
mov eax, dword [esp + 0x38]
mov dword [esp + 0x28], eax
jmp 0x1004fd84
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 0x1004fd84
push esi
call sym.user32.dll_git_submodule_index_id
push ebx
mov edx, eax
mov ecx, edi
call fcn.1000dfc0
mov ebx, eax
add esp, 8
mov dword [esp + 0xc], ebx
test ebx, ebx
js 0x1004fd84
and dword [esi + 0x34], 0xff6ffff7
jmp 0x1004fd84
push str.could_not_get_ID_of_submodule_in_index
push 0x11
call fcn.10028740
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 0x1004fdb0
mov eax, dword [esp + 0x58]
test eax, eax
je 0x1004fdb0
cmp eax, 0x1020156c
je 0x1004fdb0
mov esi, dword [fcn.10032f00]
mov ecx, esi
push eax
call dword [0x101a54ac]
call esi
add esp, 4
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x58], 0x1020156d
test edi, edi
je 0x1004feb3
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x1004feb3
cmp dword [edi + 4], 0
jne 0x1004feb3
mov eax, dword [edi + 0x14]
xor ecx, ecx
mov dword [esp + 0x18], ecx
test eax, eax
je 0x1004fe5b
mov ebx, dword [esp + 0x1c]
cmp ecx, eax
jae 0x1004fe07
mov eax, dword [ebx + 0x10]
mov edi, dword [eax + ecx*4]
jmp 0x1004fe09
xor edi, edi
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x1004fe47
cmp dword [edi + 4], 0
jne 0x1004fe47
mov eax, dword [edi + 8]
push eax
mov esi, dword [eax + 0x34]
mov ecx, esi
call dword [0x101a54ac]
call esi
mov esi, dword [fcn.10032f00]
add esp, 4
mov ecx, esi
push edi
call dword [0x101a54ac]
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 0x1004fdff
mov ebx, dword [esp + 0xc]
mov edi, dword [esp + 0x1c]
lea eax, [edi + 8]
test eax, eax
je 0x1004fe8d
push dword [eax + 8]
mov esi, dword [fcn.10032f00]
mov ecx, esi
call dword [0x101a54ac]
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 0x1004fe94
mov esi, dword [fcn.10032f00]
mov ecx, esi
push edi
call dword [0x101a54ac]
call esi
add esp, 4
mov eax, dword [esp + 0x44]
test eax, eax
je 0x1004fec2
mov ecx, eax
call fcn.100546a0
mov edi, dword [esp + 0x28]
test edi, edi
je 0x100500cf
mov eax, dword [edi + 0x70]
test eax, eax
je 0x1004ff1d
mov esi, dword [eax + 0x20]
test esi, esi
je 0x1004ff02
push eax
mov ecx, esi
call dword [0x101a54ac]
call esi
add esp, 4
test eax, eax
je 0x1004ff02
mov eax, dword [edi + 0x70]
push eax
mov esi, dword [eax + 0x28]
mov ecx, esi
call dword [0x101a54ac]
call esi
add esp, 4
mov eax, dword [edi + 0x70]
push eax
mov esi, dword [eax + 0x2c]
mov ecx, esi
call dword [0x101a54ac]
call esi
add esp, 4
mov dword [edi + 0x70], 0
lea eax, [edi + 0xc]
test eax, eax
je 0x1004ff4f
push dword [eax + 8]
mov esi, dword [fcn.10032f00]
mov ecx, esi
call dword [0x101a54ac]
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.100208f0
test esi, esi
je 0x1004ff88
push dword [esi + 8]
mov esi, dword [fcn.10032f00]
mov ecx, esi
call dword [0x101a54ac]
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.100208f0
test esi, esi
je 0x1004ffc1
push dword [esi + 8]
mov esi, dword [fcn.10032f00]
mov ecx, esi
call dword [0x101a54ac]
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.100208f0
test esi, esi
je 0x1004fffa
push dword [esi + 8]
mov esi, dword [fcn.10032f00]
mov ecx, esi
call dword [0x101a54ac]
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 0x10050040
xor ebx, ebx
mov eax, dword [edi + 0x64]
mov esi, dword [fcn.10032f00]
mov ecx, esi
mov edi, dword [eax + ebx*4]
push dword [edi + 0x2c]
call dword [0x101a54ac]
call esi
mov esi, dword [fcn.10032f00]
add esp, 4
mov ecx, esi
push edi
call dword [0x101a54ac]
call esi
mov edi, dword [esp + 0x2c]
inc ebx
add esp, 4
cmp ebx, dword [edi + 0x68]
jb 0x10050002
mov ebx, dword [esp + 0xc]
lea eax, [edi + 0x5c]
test eax, eax
je 0x10050072
push dword [eax + 8]
mov esi, dword [fcn.10032f00]
mov ecx, esi
call dword [0x101a54ac]
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.10078de0
push dword [edi + 4]
mov esi, dword [fcn.10032f00]
mov ecx, esi
call dword [0x101a54ac]
call esi
mov esi, dword [fcn.10032f00]
add esp, 4
mov ecx, esi
push dword [edi + 8]
call dword [0x101a54ac]
call esi
mov esi, dword [fcn.10032f00]
add esp, 4
mov ecx, esi
push dword [edi]
call dword [0x101a54ac]
call esi
mov esi, dword [fcn.10032f00]
add esp, 4
mov ecx, esi
push edi
call dword [0x101a54ac]
call esi
add esp, 4
mov edi, dword [esp + 0x40]
test edi, edi
je 0x1005037f
mov ecx, dword [edi + 0xa8]
call fcn.1004a470
mov eax, dword [0x101ff45c]
lea esi, [edi + 0x14]
mov dword [edi + 0xa8], 0
mov dword [esp + 0x20], eax
push esi
test eax, eax
je 0x1005010f
mov ecx, eax
call dword [0x101a54ac]
call dword [esp + 0x24]
jmp 0x10050115
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea ecx, [edi + 0x10]
call fcn.100540b0
mov eax, dword [0x101ff454]
mov dword [esp + 0x20], eax
push esi
test eax, eax
je 0x10050139
mov ecx, eax
call dword [0x101a54ac]
call dword [esp + 0x24]
jmp 0x1005013f
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor ecx, ecx
lea eax, [edi + 0x30]
xchg dword [eax], ecx
test ecx, ecx
je 0x1005014f
call fcn.100497a0
xor edx, edx
lea eax, [edi + 8]
xchg dword [eax], edx
test edx, edx
je 0x1005016a
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 [0x101e73d0]
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 0x100501be
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 0x100501c1
cmp dword [edx], 0
jne 0x100501c1
call fcn.10041930
jmp 0x100501c1
or esi, 0xffffffff
xor edx, edx
xchg dword [edi], edx
test edx, edx
je 0x100501d9
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 0x100501fe
lea edx, [ecx + 4]
xor eax, eax
xchg dword [edx], eax
lock xadd dword [ecx], esi
dec esi
test esi, esi
jg 0x100501fe
cmp dword [edx], 0
jne 0x100501fe
call fcn.1003e6e0
lea ecx, [edi + 0x10]
call fcn.10054250
mov ecx, dword [edi + 0x34]
call fcn.1002eec0
mov eax, dword [edi + 0x58]
xor ecx, ecx
mov dword [edi + 0x34], 0
mov dword [esp + 0x18], ecx
test eax, eax
je 0x10050292
xor edx, edx
mov dword [esp + 0x28], edx
cmp ecx, eax
jae 0x1005027f
mov eax, dword [edi + 0x54]
add eax, edx
mov dword [esp + 0x20], eax
je 0x1005027f
cmp dword [eax + 4], 0
jbe 0x1005026b
mov edx, dword [eax]
test edx, edx
je 0x10050267
cmp edx, 0x1020156c
je 0x10050267
mov esi, dword [fcn.10032f00]
mov ecx, esi
push edx
call dword [0x101a54ac]
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], 0x1020156d
mov eax, dword [edi + 0x58]
inc ecx
add edx, 0xc
mov dword [esp + 0x18], ecx
mov dword [esp + 0x28], edx
cmp ecx, eax
jb 0x1005022c
push dword [edi + 0x54]
mov esi, dword [fcn.10032f00]
mov ecx, esi
call dword [0x101a54ac]
call esi
add esp, 4
mov dword [edi + 0x5c], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x54], 0
mov esi, dword [fcn.10032f00]
mov ecx, esi
push dword [edi + 0x38]
call dword [0x101a54ac]
call esi
mov esi, dword [fcn.10032f00]
add esp, 4
mov ecx, esi
push dword [edi + 0x3c]
call dword [0x101a54ac]
call esi
mov esi, dword [fcn.10032f00]
add esp, 4
mov ecx, esi
push dword [edi + 0x40]
call dword [0x101a54ac]
call esi
mov esi, dword [fcn.10032f00]
add esp, 4
mov ecx, esi
push dword [edi + 0x44]
call dword [0x101a54ac]
call esi
mov esi, dword [fcn.10032f00]
add esp, 4
mov ecx, esi
push dword [edi + 0x48]
call dword [0x101a54ac]
call esi
mov esi, dword [fcn.10032f00]
add esp, 4
mov ecx, esi
push dword [edi + 0x4c]
call dword [0x101a54ac]
call esi
mov esi, dword [fcn.10032f00]
add esp, 4
mov ecx, esi
push dword [edi + 0x50]
call dword [0x101a54ac]
call esi
add esp, 4
mov ecx, 0xac
mov eax, edi
nop
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x10050360
mov esi, dword [fcn.10032f00]
mov ecx, esi
push edi
call dword [0x101a54ac]
call esi
add esp, 4
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret