Function at 0x1004f4d0
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], 0x1029182d
mov dword [esp + 0x8c], 1
mov dword [esp + 0x90], 1
mov dword [esp + 0x94], 1
call fcn.101e5b40
push 0x38
lea eax, [esp + 0xf0]
mov dword [esp + 0xe8], 1
push edi
push eax
mov dword [esp + 0xf4], 1
call fcn.101e5b40
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.101e5b40
push 0x38
lea eax, [esp + 0x1d8]
push edi
push eax
call fcn.101e5b40
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 0x1004f65f
push 0x1025e6a8
push str.invalid_argument
push 0x10256f18
push 3
call fcn.10028e40
add esp, 0x10
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test ebx, ebx
je 0x1004f673
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 0x1004f6a0
push str.git_submodule_update_options
push ecx
push str.invalid_version__d_on__s
push 3
call fcn.10028e40
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 0x1004f6e8
push str.repo
push str.invalid_argument
push 0x10256f18
push 3
call fcn.10028e40
add esp, 0x10
or ebx, 0xffffffff
mov dword [esp + 0xc], ebx
jmp 0x100504c4
test eax, eax
jne 0x1004f711
push str.name
push str.invalid_argument
push 0x10256f18
push 3
call fcn.10028e40
add esp, 0x10
or ebx, 0xffffffff
mov dword [esp + 0xc], ebx
jmp 0x100504c4
push dword [edx + 0xa8]
lea ecx, [esp + 0x1c]
push eax
call fcn.1004ad30
mov ebx, eax
add esp, 8
mov dword [esp + 0xc], ebx
test ebx, ebx
js 0x100504c4
mov esi, dword [esp + 0x18]
push 0xffffffffffffffff
push esi
push 0
push ecx
lea ecx, [esp + 0x8c]
call fcn.10051870
mov ebx, eax
push esi
mov dword [esp + 0x20], ebx
call sym.user32.dll_git_submodule_free
add esp, 0x14
test ebx, ebx
js 0x100504c4
test byte [esp + 0x7c], 0x80
je 0x1004fffe
mov edx, dword [edi + 0x30]
lea ecx, [esp + 0x18]
call fcn.10008500
mov ebx, eax
mov dword [esp + 0xc], ebx
test ebx, ebx
js 0x100504c4
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 0x1004f8d3
push dword [edi + 8]
lea eax, [esp + 0x5c]
push str.submodule._s.url
push eax
call fcn.1002ae20
mov ebx, eax
add esp, 0xc
mov dword [esp + 0xc], ebx
test ebx, ebx
js 0x1004f8d3
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 0x1004f87d
cmp ebx, 0xfffffffd
jne 0x1004f80f
cmp dword [ebp + 0xc], 0
jne 0x1004f818
push str.submodule_is_not_initialized
push 0x11
call fcn.10028e40
add esp, 8
or ebx, 0xffffffff
mov dword [esp + 0xc], ebx
mov edi, dword [esp + 0x1c]
jmp 0x100504c6
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 0x1004f80f
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 0x1004f8d3
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 0x1004fca8
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], 0x1004f3a0
mov dword [esp + 0x234], edi
mov dword [esp + 0x164], 0
call fcn.10028040
mov ebx, eax
add esp, 0xc
mov dword [esp + 0xc], ebx
test ebx, ebx
js 0x1004ffed
test dword [edi + 0x34], 0x400000
je 0x1004f8e0
lea esi, [edi + 0x4c]
jmp 0x1004f8e2
mov edi, dword [esp + 0x14]
mov dword [esp + 0x1c], edi
jmp 0x100504c6
xor esi, esi
mov edi, dword [esp + 0x10]
mov dword [esp + 0x14], esi
mov dword [esp + 0x4c], 0x1029182d
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 0x1004fc88
test esi, esi
jne 0x1004f93c
push 0x1025909c
jmp 0x1004fc8d
push 0
push str.HEAD
mov edx, edi
lea ecx, [esp + 0x2c]
call fcn.10011e30
mov ebx, eax
add esp, 8
mov dword [esp + 0xc], ebx
test ebx, ebx
js 0x1004fca8
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 0x1004fb08
push 4
mov edx, edi
mov dword [esp + 0x68], 0x1029182d
lea ecx, [esp + 0x68]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
call fcn.1000d810
mov ebx, eax
add esp, 4
mov dword [esp + 0xc], ebx
test ebx, ebx
js 0x1004fb61
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 0x1004fb61
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 0x1004fa09
push str.cannot_access_repository_to_set_odb_caps
push 9
call fcn.10028e40
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 0x1004fb61
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 0x1004fa62
mov edx, dword [esp + 0x48]
lea ecx, [esp + 0x48]
call fcn.10008500
test eax, eax
js 0x1004fa74
mov edx, dword [esp + 0x48]
lea ecx, [esp + 0xc]
push 0xd
call fcn.100415e0
add esp, 4
test eax, eax
js 0x1004fa74
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.10035220
mov ebx, eax
add esp, 8
mov dword [esp + 0xc], ebx
test ebx, ebx
js 0x1004f9f7
mov edx, dword [esp + 0x10]
xor eax, eax
mov ecx, edx
lock cmpxchg dword [edi], ecx
test eax, eax
je 0x1004fab4
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 0x1004fae2
mov eax, dword [esp + 0x64]
test eax, eax
je 0x1004fae2
cmp eax, 0x1029182c
je 0x1004fae2
mov esi, dword [fcn.10033600]
mov ecx, esi
push eax
call dword [0x1021f564]
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], 0x1029182d
lock cmpxchg dword [edi], ecx
mov ebx, eax
mov dword [esp + 0x10], ebx
push 0
lea ecx, [edi + 0x10]
mov edx, esi
call fcn.10054bd0
add esp, 4
test eax, eax
je 0x1004fcb1
movzx ecx, word [eax + 0x16]
cmp ecx, 2
jne 0x1004fb31
mov dword [esp + 0x34], eax
jmp 0x1004fddf
cmp ecx, 1
jne 0x1004fb41
mov esi, eax
mov dword [esp + 0x2c], esi
jmp 0x1004fdb1
push str.__Wrong_caching_type_in_the_global_object_cache_
push str.unrecoverable_internal_error
push 0x10256f18
push 0x23
call fcn.10028e40
add esp, 0x10
or ebx, 0xffffffff
mov dword [esp + 0xc], ebx
mov esi, dword [esp + 0x4c]
cmp dword [esp + 0x50], 0
jbe 0x1004fb8c
test esi, esi
je 0x1004fb8c
cmp esi, 0x1029182c
je 0x1004fb8c
push esi
mov esi, dword [fcn.10033600]
mov ecx, esi
call dword [0x1021f564]
call esi
add esp, 4
mov eax, dword [esp + 0x34]
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x4c], 0x1029182d
test eax, eax
je 0x1004fbb3
mov ecx, eax
call fcn.10054de0
mov eax, dword [esp + 0x38]
test eax, eax
je 0x1004fbc2
mov ecx, eax
call fcn.10054de0
mov esi, dword [esp + 0x24]
test esi, esi
je 0x1004fc1d
cmp dword [esi + 4], 2
jne 0x1004fbea
push dword [esi + 8]
mov esi, dword [fcn.10033600]
mov ecx, esi
call dword [0x1021f564]
call esi
mov esi, dword [esp + 0x28]
add esp, 4
mov ecx, dword [esi]
test ecx, ecx
je 0x1004fc09
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x1004fc09
cmp dword [ecx + 4], 0
jne 0x1004fc09
mov ecx, dword [esi]
call fcn.1003edf0
push esi
mov esi, dword [fcn.10033600]
mov ecx, esi
call dword [0x1021f564]
call esi
add esp, 4
mov esi, dword [esp + 0x18]
test esi, esi
je 0x1004fc78
cmp dword [esi + 4], 2
jne 0x1004fc45
push dword [esi + 8]
mov esi, dword [fcn.10033600]
mov ecx, esi
call dword [0x1021f564]
call esi
mov esi, dword [esp + 0x1c]
add esp, 4
mov ecx, dword [esi]
test ecx, ecx
je 0x1004fc64
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x1004fc64
cmp dword [ecx + 4], 0
jne 0x1004fc64
mov ecx, dword [esi]
call fcn.1003edf0
push esi
mov esi, dword [fcn.10033600]
mov ecx, esi
call dword [0x1021f564]
call esi
add esp, 4
test ebx, ebx
js 0x1004f80f
test edi, edi
jne 0x1004ffcb
push str.repo
push str.invalid_argument
push 0x10256f18
push 3
call fcn.10028e40
add esp, 0x10
or ebx, 0xffffffff
mov dword [esp + 0xc], ebx
mov edi, dword [esp + 0x1c]
jmp 0x100504c6
test ebx, ebx
jne 0x1004fcd6
push 0x1025c674
push str.invalid_argument
push 0x10256f18
push 3
call fcn.10028e40
add esp, 0x10
or ebx, 0xffffffff
jmp 0x1004fda1
mov eax, esi
xor ecx, ecx
nop word [eax + eax]
cmp byte [eax], 0
jne 0x1004fd0a
inc ecx
inc eax
cmp ecx, 0x14
jb 0x1004fce0
push str.cannot_read_object
push str.odb:__s:_null_OID_cannot_exist
push 9
call fcn.10028e40
add esp, 0xc
mov ebx, 0xfffffffd
jmp 0x1004fda1
xor edx, edx
lea ecx, [ebx + 4]
xor eax, eax
lock cmpxchg dword [ecx], edx
lea ecx, [eax + 0x10]
test eax, eax
jne 0x1004fd1f
lea ecx, [ebx + 0x34]
push 1
mov edx, esi
call fcn.10054bd0
mov esi, eax
add esp, 4
mov dword [esp + 0x2c], esi
test esi, esi
je 0x1004fd3d
xor ebx, ebx
mov dword [esp + 0xc], ebx
jmp 0x1004fda9
push 0
push dword [esp + 0x18]
mov edx, ebx
lea ecx, [esp + 0x34]
call fcn.10036310
mov ebx, eax
add esp, 8
mov dword [esp + 0xc], ebx
cmp ebx, 0xfffffffd
jne 0x1004fda5
mov esi, dword [esp + 0x10]
push esi
call sym.user32.dll_git_odb_refresh
add esp, 4
test eax, eax
jne 0x1004fd8c
push 1
push dword [esp + 0x18]
mov edx, esi
lea ecx, [esp + 0x34]
call fcn.10036310
mov ebx, eax
mov dword [esp + 0x14], eax
add esp, 8
cmp ebx, 0xfffffffd
jne 0x1004fda5
mov edx, dword [esp + 0x14]
mov ecx, str.no_match_for_id
push 0x28
call fcn.10037a10
add esp, 4
mov ebx, eax
mov dword [esp + 0xc], ebx
mov esi, dword [esp + 0x2c]
test ebx, ebx
js 0x1004fb61
push 0xfffffffffffffffe
push esi
mov edx, edi
lea ecx, [esp + 0x3c]
call fcn.1003b730
add esp, 8
mov ebx, eax
mov dword [esp + 0xc], ebx
test esi, esi
je 0x1004fdd3
mov ecx, esi
call fcn.10054de0
test ebx, ebx
js 0x1004fb61
mov eax, dword [esp + 0x34]
xor ecx, ecx
mov dword [esp + 0x10], ecx
test eax, eax
jne 0x1004fdff
push 0x1025d280
push str.invalid_argument
push 0x10256f18
push 3
jmp 0x1004fb52
movsx ecx, word [eax + 0x14]
cmp ecx, 1
jne 0x1004fe17
lock inc dword [eax + 0x1c]
mov esi, eax
mov dword [esp + 0x38], esi
jmp 0x1004ff38
dec ecx
cmp ecx, 3
ja case.0x1004fe21.1
jmp dword [ecx*4 + 0x10050ac8]
mov esi, eax
nop word [eax + eax]
test esi, esi
je 0x1004fec6
movsx eax, word [esi + 0x14]
dec eax
cmp eax, 3
ja case.default.0x1004fe46
jmp dword [eax*4 + 0x10050ad8]
push 2
lea eax, [esi + 0x30]
jmp 0x1004fe5a
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 0x1004fee4
cmp esi, dword [esp + 0x34]
je 0x1004fe80
mov ecx, esi
call fcn.10054de0
mov esi, dword [esp + 0x10]
test esi, esi
jne 0x1004fea7
push 0x1025c4a0
push str.invalid_argument
push 0x10256f18
push 3
call fcn.10028e40
add esp, 0x10
mov dword [esp + 0x10], esi
jmp 0x1004fe30
cmp word [esi + 0x14], 1
je 0x1004fe0e
mov dword [esp + 0x10], 0
jmp 0x1004fe30
mov ebx, 0xffffffed
jmp 0x1004fee4
push 0x1025c4a0
push str.invalid_argument
push 0x10256f18
push 3
call fcn.10028e40
add esp, 0x10
mov ebx, 0xfffffff4
cmp esi, dword [esp + 0x34]
je 0x1004fef5
test esi, esi
je 0x1004fef5
mov ecx, esi
call fcn.10054de0
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x1004ff02
call fcn.10054de0
mov edx, dword [esp + 0x34]
mov ecx, ebx
push 1
call fcn.1003bdb0
mov ebx, eax
mov dword [esp + 0x10], ebx
jmp 0x1004ff2b
push 1
mov edx, eax
mov ecx, 0xfffffff4
call fcn.1003bdb0
mov ebx, eax
mov dword [esp + 0x10], eax
add esp, 4
test ebx, ebx
js 0x1004fb61
xor esi, esi
test esi, esi
jne 0x1004ff59
push 0x1025c4a0
push str.invalid_argument
push 0x10256f18
push 3
call fcn.10028e40
add esp, 0x10
xor eax, eax
jmp 0x1004ff5b
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.1000e450
mov ebx, eax
add esp, 8
mov dword [esp + 0xc], ebx
test ebx, ebx
js 0x1004fb61
test esi, esi
jne 0x1004ffa1
push 0x1025c4a0
push str.invalid_argument
push 0x10256f18
push 3
call fcn.10028e40
add esp, 0x10
xor eax, eax
jmp 0x1004ffa3
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 0x1004fb65
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 0x100504c6
mov edi, dword [esp + 0x10]
mov dword [esp + 0x40], edi
mov edi, dword [esp + 0x1c]
jmp 0x100504c6
push 0
mov edx, edi
lea ecx, [esp + 0x14]
call fcn.10051340
mov ebx, eax
add esp, 4
mov dword [esp + 0xc], ebx
test ebx, ebx
js 0x100504bc
test dword [edi + 0x34], 0x400000
je 0x100504a6
lea esi, [edi + 0x4c]
mov dword [esp + 0x14], esi
test esi, esi
je 0x100504a6
mov edi, dword [esp + 0x10]
xor ebx, ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x40], edi
test edi, edi
je 0x1004f6c3
xor ecx, ecx
xor eax, eax
lock cmpxchg dword [edi], ecx
mov dword [esp + 0x10], eax
test eax, eax
jne 0x100501e9
push 4
mov edx, edi
mov dword [esp + 0x74], 0x1029182d
lea ecx, [esp + 0x74]
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
call fcn.1000d810
mov esi, eax
add esp, 4
test esi, esi
js 0x100500d5
lea eax, [esp + 0x18]
push eax
call sym.user32.dll_git_odb_new
mov esi, eax
add esp, 4
test esi, esi
js 0x100500d5
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 0x100500e0
push str.cannot_access_repository_to_set_odb_caps
push 9
call fcn.10028e40
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 0x10050294
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 0x10050141
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x20]
call fcn.10008500
test eax, eax
js 0x10050235
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x10]
push 0xd
call fcn.100415e0
add esp, 4
test eax, eax
js 0x10050235
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.10035220
mov esi, eax
add esp, 8
test esi, esi
js 0x100500c8
mov edx, dword [esp + 0x18]
xor eax, eax
mov ecx, edx
lock cmpxchg dword [edi], ecx
test eax, eax
je 0x10050197
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 0x100501c1
mov eax, dword [esp + 0x70]
test eax, eax
je 0x100501c1
cmp eax, 0x1029182c
je 0x100501c1
mov esi, dword [fcn.10033600]
mov ecx, esi
push eax
call dword [0x1021f564]
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], 0x1029182d
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.10054bd0
add esp, 4
test eax, eax
je 0x1005034d
movzx ecx, word [eax + 0x16]
cmp ecx, 2
jne 0x1005024f
mov ecx, 1
cmp cx, word [eax + 0x14]
je 0x10050242
mov ecx, eax
call fcn.10054de0
push str.the_requested_type_does_not_match_the_type_in_the_ODB
push 3
call fcn.10028e40
mov ebx, 0xfffffffd
add esp, 8
mov dword [esp + 0xc], ebx
jmp 0x1005029d
mov eax, dword [esp + 0x14]
mov dword [esp + 0x14], eax
jmp 0x1005015b
mov esi, dword [esp + 0x24]
mov dword [esp + 0x3c], eax
jmp 0x10050460
cmp ecx, 1
jne 0x10050328
mov ebx, eax
mov dword [esp + 0x30], ebx
push 1
push ebx
mov edx, edi
lea ecx, [esp + 0x44]
call fcn.1003b730
mov ecx, dword [esp + 0x38]
add esp, 8
mov ebx, eax
mov dword [esp + 0xc], ebx
test ecx, ecx
je 0x10050282
call fcn.10054de0
mov esi, ebx
test ebx, ebx
jns 0x10050458
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x44], eax
cmp esi, 0xfffffffd
jne 0x100504c4
cmp dword [esp + 0x148], 0
je 0x100504c4
mov edx, edi
lea ecx, [esp + 0x38]
call fcn.10052ff0
mov ebx, eax
mov dword [esp + 0xc], ebx
test ebx, ebx
js 0x1005044e
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 0x100504c4
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 0x1005045c
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x44], eax
jmp 0x100504c4
push str.__Wrong_caching_type_in_the_global_object_cache_
push str.unrecoverable_internal_error
push 0x10256f18
push 0x23
call fcn.10028e40
add esp, 0x10
or ebx, 0xffffffff
mov dword [esp + 0xc], ebx
jmp 0x100504c4
cmp dword [esp + 0x10], 0
jne 0x10050375
push 0x1025c674
push str.invalid_argument
push 0x10256f18
push 3
call fcn.10028e40
add esp, 0x10
or esi, 0xffffffff
jmp 0x1005043b
mov eax, esi
xor ecx, ecx
nop dword [eax]
cmp byte [eax], 0
jne 0x100503aa
inc ecx
inc eax
cmp ecx, 0x14
jb 0x10050380
push str.cannot_read_object
push str.odb:__s:_null_OID_cannot_exist
push 9
call fcn.10028e40
add esp, 0xc
mov esi, 0xfffffffd
jmp 0x1005043b
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 0x100503c3
lea ecx, [ebx + 0x34]
push 1
mov edx, esi
call fcn.10054bd0
mov ebx, eax
add esp, 4
mov dword [esp + 0x30], ebx
test ebx, ebx
je 0x100503dd
xor esi, esi
jmp 0x1005043b
mov ebx, dword [esp + 0x10]
lea ecx, [esp + 0x30]
push 0
push esi
mov edx, ebx
call fcn.10036310
mov esi, eax
add esp, 8
cmp esi, 0xfffffffd
jne 0x10050437
push ebx
call sym.user32.dll_git_odb_refresh
mov ebx, dword [esp + 0x18]
add esp, 4
test eax, eax
jne 0x10050424
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x30]
push 1
push ebx
call fcn.10036310
mov esi, eax
add esp, 8
cmp esi, 0xfffffffd
jne 0x10050437
push 0x28
mov edx, ebx
mov ecx, str.no_match_for_id
call fcn.10037a10
add esp, 4
mov esi, eax
mov ebx, dword [esp + 0x30]
test esi, esi
jns 0x1005025e
mov ebx, esi
mov dword [esp + 0xc], ebx
jmp 0x10050294
mov eax, dword [esp + 0x38]
mov dword [esp + 0x28], eax
jmp 0x100504c4
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 0x100504c4
push esi
call sym.user32.dll_git_submodule_index_id
push ebx
mov edx, eax
mov ecx, edi
call fcn.1000e6c0
mov ebx, eax
add esp, 8
mov dword [esp + 0xc], ebx
test ebx, ebx
js 0x100504c4
and dword [esi + 0x34], 0xff6ffff7
jmp 0x100504c4
push str.could_not_get_ID_of_submodule_in_index
push 0x11
call fcn.10028e40
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 0x100504f0
mov eax, dword [esp + 0x58]
test eax, eax
je 0x100504f0
cmp eax, 0x1029182c
je 0x100504f0
mov esi, dword [fcn.10033600]
mov ecx, esi
push eax
call dword [0x1021f564]
call esi
add esp, 4
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x58], 0x1029182d
test edi, edi
je 0x100505f3
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x100505f3
cmp dword [edi + 4], 0
jne 0x100505f3
mov eax, dword [edi + 0x14]
xor ecx, ecx
mov dword [esp + 0x18], ecx
test eax, eax
je 0x1005059b
mov ebx, dword [esp + 0x1c]
cmp ecx, eax
jae 0x10050547
mov eax, dword [ebx + 0x10]
mov edi, dword [eax + ecx*4]
jmp 0x10050549
xor edi, edi
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x10050587
cmp dword [edi + 4], 0
jne 0x10050587
mov eax, dword [edi + 8]
push eax
mov esi, dword [eax + 0x34]
mov ecx, esi
call dword [0x1021f564]
call esi
mov esi, dword [fcn.10033600]
add esp, 4
mov ecx, esi
push edi
call dword [0x1021f564]
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 0x1005053f
mov ebx, dword [esp + 0xc]
mov edi, dword [esp + 0x1c]
lea eax, [edi + 8]
test eax, eax
je 0x100505cd
push dword [eax + 8]
mov esi, dword [fcn.10033600]
mov ecx, esi
call dword [0x1021f564]
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 0x100505d4
mov esi, dword [fcn.10033600]
mov ecx, esi
push edi
call dword [0x1021f564]
call esi
add esp, 4
mov eax, dword [esp + 0x44]
test eax, eax
je 0x10050602
mov ecx, eax
call fcn.10054de0
mov edi, dword [esp + 0x28]
test edi, edi
je 0x1005080f
mov eax, dword [edi + 0x70]
test eax, eax
je 0x1005065d
mov esi, dword [eax + 0x20]
test esi, esi
je 0x10050642
push eax
mov ecx, esi
call dword [0x1021f564]
call esi
add esp, 4
test eax, eax
je 0x10050642
mov eax, dword [edi + 0x70]
push eax
mov esi, dword [eax + 0x28]
mov ecx, esi
call dword [0x1021f564]
call esi
add esp, 4
mov eax, dword [edi + 0x70]
push eax
mov esi, dword [eax + 0x2c]
mov ecx, esi
call dword [0x1021f564]
call esi
add esp, 4
mov dword [edi + 0x70], 0
lea eax, [edi + 0xc]
test eax, eax
je 0x1005068f
push dword [eax + 8]
mov esi, dword [fcn.10033600]
mov ecx, esi
call dword [0x1021f564]
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.10020ff0
test esi, esi
je 0x100506c8
push dword [esi + 8]
mov esi, dword [fcn.10033600]
mov ecx, esi
call dword [0x1021f564]
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.10020ff0
test esi, esi
je 0x10050701
push dword [esi + 8]
mov esi, dword [fcn.10033600]
mov ecx, esi
call dword [0x1021f564]
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.10020ff0
test esi, esi
je 0x1005073a
push dword [esi + 8]
mov esi, dword [fcn.10033600]
mov ecx, esi
call dword [0x1021f564]
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 0x10050780
xor ebx, ebx
mov eax, dword [edi + 0x64]
mov esi, dword [fcn.10033600]
mov ecx, esi
mov edi, dword [eax + ebx*4]
push dword [edi + 0x2c]
call dword [0x1021f564]
call esi
mov esi, dword [fcn.10033600]
add esp, 4
mov ecx, esi
push edi
call dword [0x1021f564]
call esi
mov edi, dword [esp + 0x2c]
inc ebx
add esp, 4
cmp ebx, dword [edi + 0x68]
jb 0x10050742
mov ebx, dword [esp + 0xc]
lea eax, [edi + 0x5c]
test eax, eax
je 0x100507b2
push dword [eax + 8]
mov esi, dword [fcn.10033600]
mov ecx, esi
call dword [0x1021f564]
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.10079540
push dword [edi + 4]
mov esi, dword [fcn.10033600]
mov ecx, esi
call dword [0x1021f564]
call esi
mov esi, dword [fcn.10033600]
add esp, 4
mov ecx, esi
push dword [edi + 8]
call dword [0x1021f564]
call esi
mov esi, dword [fcn.10033600]
add esp, 4
mov ecx, esi
push dword [edi]
call dword [0x1021f564]
call esi
mov esi, dword [fcn.10033600]
add esp, 4
mov ecx, esi
push edi
call dword [0x1021f564]
call esi
add esp, 4
mov edi, dword [esp + 0x40]
test edi, edi
je 0x10050abf
mov ecx, dword [edi + 0xa8]
call fcn.1004abb0
mov eax, dword [0x1028f70c]
lea esi, [edi + 0x14]
mov dword [edi + 0xa8], 0
mov dword [esp + 0x20], eax
push esi
test eax, eax
je 0x1005084f
mov ecx, eax
call dword [0x1021f564]
call dword [esp + 0x24]
jmp 0x10050855
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea ecx, [edi + 0x10]
call fcn.100547f0
mov eax, dword [0x1028f704]
mov dword [esp + 0x20], eax
push esi
test eax, eax
je 0x10050879
mov ecx, eax
call dword [0x1021f564]
call dword [esp + 0x24]
jmp 0x1005087f
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor ecx, ecx
lea eax, [edi + 0x30]
xchg dword [eax], ecx
test ecx, ecx
je 0x1005088f
call fcn.10049ee0
xor edx, edx
lea eax, [edi + 8]
xchg dword [eax], edx
test edx, edx
je 0x100508aa
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 [0x10266c00]
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 0x100508fe
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 0x10050901
cmp dword [edx], 0
jne 0x10050901
call fcn.10042040
jmp 0x10050901
or esi, 0xffffffff
xor edx, edx
xchg dword [edi], edx
test edx, edx
je 0x10050919
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 0x1005093e
lea edx, [ecx + 4]
xor eax, eax
xchg dword [edx], eax
lock xadd dword [ecx], esi
dec esi
test esi, esi
jg 0x1005093e
cmp dword [edx], 0
jne 0x1005093e
call fcn.1003edf0
lea ecx, [edi + 0x10]
call fcn.10054990
mov ecx, dword [edi + 0x34]
call fcn.1002f5c0
mov eax, dword [edi + 0x58]
xor ecx, ecx
mov dword [edi + 0x34], 0
mov dword [esp + 0x18], ecx
test eax, eax
je 0x100509d2
xor edx, edx
mov dword [esp + 0x28], edx
cmp ecx, eax
jae 0x100509bf
mov eax, dword [edi + 0x54]
add eax, edx
mov dword [esp + 0x20], eax
je 0x100509bf
cmp dword [eax + 4], 0
jbe 0x100509ab
mov edx, dword [eax]
test edx, edx
je 0x100509a7
cmp edx, 0x1029182c
je 0x100509a7
mov esi, dword [fcn.10033600]
mov ecx, esi
push edx
call dword [0x1021f564]
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], 0x1029182d
mov eax, dword [edi + 0x58]
inc ecx
add edx, 0xc
mov dword [esp + 0x18], ecx
mov dword [esp + 0x28], edx
cmp ecx, eax
jb 0x1005096c
push dword [edi + 0x54]
mov esi, dword [fcn.10033600]
mov ecx, esi
call dword [0x1021f564]
call esi
add esp, 4
mov dword [edi + 0x5c], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x54], 0
mov esi, dword [fcn.10033600]
mov ecx, esi
push dword [edi + 0x38]
call dword [0x1021f564]
call esi
mov esi, dword [fcn.10033600]
add esp, 4
mov ecx, esi
push dword [edi + 0x3c]
call dword [0x1021f564]
call esi
mov esi, dword [fcn.10033600]
add esp, 4
mov ecx, esi
push dword [edi + 0x40]
call dword [0x1021f564]
call esi
mov esi, dword [fcn.10033600]
add esp, 4
mov ecx, esi
push dword [edi + 0x44]
call dword [0x1021f564]
call esi
mov esi, dword [fcn.10033600]
add esp, 4
mov ecx, esi
push dword [edi + 0x48]
call dword [0x1021f564]
call esi
mov esi, dword [fcn.10033600]
add esp, 4
mov ecx, esi
push dword [edi + 0x4c]
call dword [0x1021f564]
call esi
mov esi, dword [fcn.10033600]
add esp, 4
mov ecx, esi
push dword [edi + 0x50]
call dword [0x1021f564]
call esi
add esp, 4
mov ecx, 0xac
mov eax, edi
nop
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x10050aa0
mov esi, dword [fcn.10033600]
mov ecx, esi
push edi
call dword [0x1021f564]
call esi
add esp, 4
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret