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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x274
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [esp + 0x30], eax
xor edi, edi
xor eax, eax
mov dword [esp + 0x14], ebx
push 0x4c
push eax
mov dword [esp + 0x34], eax
xor esi, esi
mov dword [esp + 0x60], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], eax
lea eax, [esp + 0xdc]
push eax
mov dword [esp + 0x24], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x50], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x90], edi
mov dword [esp + 0x94], 0x102069cd
mov dword [esp + 0xd4], 1
mov dword [esp + 0xd8], 1
mov dword [esp + 0xdc], 1
call fcn.10178ee0
push 0x38
lea eax, [esp + 0x138]
mov dword [esp + 0x130], 1
push edi
push eax
mov dword [esp + 0x13c], 1
call fcn.10178ee0
push 0x4c
xorps xmm0, xmm0
mov dword [esp + 0x17c], esi
lea eax, [esp + 0x1c0]
mov dword [esp + 0x180], 1
push edi
push eax
mov dword [esp + 0x18c], esi
mov dword [esp + 0x190], 1
movups xmmword [esp + 0x194], xmm0
mov dword [esp + 0x1a4], esi
movq qword [esp + 0x1a8], xmm0
mov dword [esp + 0x1b0], esi
mov dword [esp + 0x1b4], 1
mov dword [esp + 0x1bc], 1
mov dword [esp + 0x1c0], 1
mov dword [esp + 0x1c4], 1
call fcn.10178ee0
push 0x38
lea eax, [esp + 0x220]
push edi
push eax
call fcn.10178ee0
xorps xmm0, xmm0
mov dword [esp + 0x280], esi
add esp, 0x30
movq qword [esp + 0x254], xmm0
mov dword [esp + 0x25c], esi
movq qword [esp + 0x270], xmm0
mov dword [esp + 0x278], esi
movups xmmword [esp + 0x240], xmm0
movups xmmword [esp + 0x260], xmm0
test ebx, ebx
jne 0x10050dcc
push 0x101e3f5c
push str.invalid_argument
push 0x101dc9b8
push 3
call fcn.1002a5a0
add esp, 0x10
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x30]
test eax, eax
je 0x10050de4
mov ecx, 0x33
lea edi, [esp + 0xc8]
mov esi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0xc8]
lea eax, [ecx - 1]
test eax, eax
jne 0x1005271d
mov ecx, 0x1c
lea esi, [esp + 0x120]
lea edi, [esp + 0x1f0]
rep movsd dword es:[edi], dword [esi]
mov edi, ebx
mov edx, dword [edi + 0x30]
mov eax, dword [edi + 8]
test edx, edx
jne 0x10050e3c
push str.repo
push str.invalid_argument
push 0x101dc9b8
push 3
call fcn.1002a5a0
add esp, 0x10
or ebx, 0xffffffff
mov dword [esp + 0x10], ebx
jmp 0x100520ef
test eax, eax
jne 0x10050e65
push str.name
push str.invalid_argument
push 0x101dc9b8
push 3
call fcn.1002a5a0
add esp, 0x10
or ebx, 0xffffffff
mov dword [esp + 0x10], ebx
jmp 0x100520ef
push dword [edx + 0xa8]
lea ecx, [esp + 0xbc]
push eax
call fcn.1004c3e0
mov ebx, eax
add esp, 8
mov dword [esp + 0x10], ebx
test ebx, ebx
js 0x100520ef
mov esi, dword [esp + 0xb8]
push 0xffffffffffffffff
push esi
push 0
push ecx
lea ecx, [esp + 0xcc]
call fcn.100534e0
mov ebx, eax
push esi
mov dword [esp + 0x24], ebx
call sym.user32.dll_git_submodule_free
add esp, 0x14
test ebx, ebx
js 0x100520ef
test byte [esp + 0xbc], 0x80
je 0x10051791
mov edx, dword [edi + 0x30]
lea ecx, [esp + 0x30]
call fcn.10009d00
mov ebx, eax
mov dword [esp + 0x10], ebx
test ebx, ebx
js 0x100520ef
push dword [esp + 0x30]
lea eax, [esp + 0x3c]
push eax
call sym.user32.dll_git_config_snapshot
mov ebx, eax
add esp, 8
mov dword [esp + 0x10], ebx
test ebx, ebx
js 0x10050fe6
push dword [edi + 8]
lea eax, [esp + 0x8c]
push str.submodule._s.url
push eax
call fcn.1002c540
mov ebx, eax
add esp, 0xc
mov dword [esp + 0x10], ebx
test ebx, ebx
js 0x10050fe6
push dword [esp + 0x88]
mov esi, dword [esp + 0x3c]
lea eax, [esp + 0x38]
push esi
push eax
mov dword [esp + 0x24], esi
call sym.user32.dll_git_config_get_string
mov ebx, eax
add esp, 0xc
mov dword [esp + 0x10], ebx
test ebx, ebx
jns 0x10050ff3
cmp ebx, 0xfffffffd
jne 0x10050f72
cmp dword [ebp + 0xc], 0
jne 0x10050f7b
push str.submodule_is_not_initialized
push 0x11
call fcn.1002a5a0
add esp, 8
or ebx, 0xffffffff
mov dword [esp + 0x10], ebx
mov edi, dword [esp + 0x18]
jmp 0x100520f1
push 0
push edi
call sym.user32.dll_git_submodule_init
mov ebx, eax
mov dword [esp + 0x18], eax
add esp, 8
test ebx, ebx
js 0x10050f72
push esi
call sym.user32.dll_git_config_free
push dword [edi + 0x30]
lea eax, [esp + 0x40]
mov dword [esp + 0x40], 0
push eax
call sym.user32.dll_git_repository_config_snapshot
mov ebx, eax
add esp, 0xc
mov dword [esp + 0x10], ebx
test ebx, ebx
js 0x10050fe6
push dword [esp + 0x88]
mov esi, dword [esp + 0x3c]
lea eax, [esp + 0x38]
push esi
push eax
mov dword [esp + 0x24], esi
call sym.user32.dll_git_config_get_string
mov ebx, eax
add esp, 0xc
mov dword [esp + 0x10], ebx
test ebx, ebx
jns 0x10050ff3
mov edi, esi
jmp 0x100520f1
mov edi, dword [esp + 0x38]
mov dword [esp + 0x18], edi
jmp 0x100520f1
mov edx, dword [esp + 0x34]
lea eax, [esp + 0x198]
push 0
push eax
push dword [edi + 0xc]
lea ecx, [esp + 0x4c]
mov dword [esp + 0x278], 0x10050af0
mov dword [esp + 0x27c], edi
mov dword [esp + 0x1ac], 0
call fcn.10029750
mov ebx, eax
add esp, 0xc
mov dword [esp + 0x10], ebx
test ebx, ebx
js 0x10051780
test dword [edi + 0x34], 0x400000
je 0x10051049
lea eax, [edi + 0x4c]
jmp 0x1005104b
xor eax, eax
mov edi, dword [esp + 0x40]
mov dword [esp + 0x14], eax
mov dword [esp + 0x6c], 0x102069cd
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x44], edi
test edi, edi
jne 0x100510bc
push str.repo
push str.invalid_argument
push 0x101dc9b8
push 3
call fcn.1002a5a0
mov edi, dword [esp + 0x28]
add esp, 0x10
or ebx, 0xffffffff
mov dword [esp + 0x10], ebx
jmp 0x100520f1
test eax, eax
jne 0x100510e9
push 0x101deb0c
push str.invalid_argument
push 0x101dc9b8
push 3
call fcn.1002a5a0
mov edi, dword [esp + 0x28]
add esp, 0x10
or ebx, 0xffffffff
mov dword [esp + 0x10], ebx
jmp 0x100520f1
push 0
push str.HEAD
mov edx, edi
lea ecx, [esp + 0x2c]
call fcn.100135c0
mov ebx, eax
add esp, 8
mov dword [esp + 0x10], ebx
test ebx, ebx
jns 0x10051111
mov edi, dword [esp + 0x18]
jmp 0x100520f1
mov dword [esp + 0x50], 0
xor ebx, ebx
xor ecx, ecx
xor eax, eax
lock cmpxchg dword [edi], ecx
mov esi, eax
mov dword [esp + 0x48], esi
test esi, esi
jne 0x100512c4
push 4
mov edx, edi
mov dword [esp + 0x98], 0x102069cd
lea ecx, [esp + 0x98]
mov dword [esp + 0x9c], ebx
mov dword [esp + 0xa0], ebx
call fcn.1000efc0
mov ebx, eax
add esp, 4
mov dword [esp + 0x10], ebx
test ebx, ebx
js 0x10051325
lea eax, [esp + 0x68]
push eax
call sym.user32.dll_git_odb_new
mov ebx, eax
add esp, 4
mov dword [esp + 0x10], ebx
test ebx, ebx
js 0x10051325
mov esi, dword [esp + 0x68]
mov eax, edi
lea edx, [esi + 4]
xchg dword [edx], eax
xor ecx, ecx
xor eax, eax
lock cmpxchg dword [edx], ecx
mov ebx, eax
test ebx, ebx
jne 0x100511c3
push str.cannot_access_repository_to_set_odb_caps
push 9
call fcn.1002a5a0
add esp, 8
or ebx, 0xffffffff
mov dword [esp + 0x10], ebx
push esi
call sym.user32.dll_git_odb_free
add esp, 4
jmp 0x10051325
lea edx, [ebx + 0xa0]
xor ecx, ecx
mov dword [esp + 0x1c], edx
xor eax, eax
lock cmpxchg dword [edx], ecx
mov edx, eax
mov dword [esp + 0x5c], edx
cmp edx, 0xffffffff
jne 0x10051216
mov edx, ebx
lea ecx, [esp + 0x60]
call fcn.10009d00
test eax, eax
js 0x10051228
mov edx, dword [esp + 0x60]
lea ecx, [esp + 0x5c]
push 0xd
call fcn.10042cf0
add esp, 4
test eax, eax
js 0x10051228
mov edx, dword [esp + 0x5c]
or eax, 0xffffffff
mov ebx, dword [esp + 0x1c]
mov ecx, edx
lock cmpxchg dword [ebx], ecx
mov eax, dword [esi + 0x58]
xor ecx, ecx
test edx, edx
setne cl
and eax, 0xfffffffe
or ecx, eax
mov dword [esi + 0x58], ecx
mov edx, dword [esp + 0x94]
mov ecx, esi
push 0
push 0
call fcn.10036970
mov ebx, eax
add esp, 8
mov dword [esp + 0x10], ebx
test ebx, ebx
js 0x100511b5
mov ecx, esi
xor eax, eax
lock cmpxchg dword [edi], ecx
test eax, eax
je 0x10051267
xor eax, eax
lea ecx, [esi + 4]
xchg dword [ecx], eax
push esi
call sym.user32.dll_git_odb_free
add esp, 4
cmp dword [esp + 0x98], 0
jbe 0x10051297
mov eax, dword [esp + 0x94]
test eax, eax
je 0x10051297
cmp eax, 0x102069cc
je 0x10051297
mov esi, dword [fcn.10034de0]
mov ecx, esi
push eax
call dword [0x101aa4e4]
call esi
add esp, 4
mov dword [esp + 0x98], 0
xor ecx, ecx
mov dword [esp + 0x9c], 0
xor eax, eax
mov dword [esp + 0x94], 0x102069cd
lock cmpxchg dword [edi], ecx
mov dword [esp + 0x48], eax
mov edx, dword [esp + 0x14]
lea ecx, [edi + 0x10]
push 0
mov dword [esp + 0x14], ebx
call fcn.10056880
mov esi, eax
add esp, 4
test esi, esi
je 0x10051464
movzx eax, word [esi + 0x16]
cmp eax, 2
jne 0x100512f7
mov eax, esi
mov dword [esp + 0x3c], eax
jmp 0x1005159a
cmp eax, 1
jne 0x10051305
mov dword [esp + 0x50], esi
jmp 0x10051564
push str.__Wrong_caching_type_in_the_global_object_cache_
push str.unrecoverable_internal_error
push 0x101dc9b8
push 0x23
call fcn.1002a5a0
add esp, 0x10
or ebx, 0xffffffff
mov dword [esp + 0x10], ebx
mov esi, dword [esp + 0x6c]
cmp dword [esp + 0x70], 0
jbe 0x10051350
test esi, esi
je 0x10051350
cmp esi, 0x102069cc
je 0x10051350
push esi
mov esi, dword [fcn.10034de0]
mov ecx, esi
call dword [0x101aa4e4]
call esi
add esp, 4
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x6c], 0x102069cd
test eax, eax
je 0x10051377
mov ecx, eax
call fcn.10056a90
mov eax, dword [esp + 0x20]
test eax, eax
je 0x10051386
mov ecx, eax
call fcn.10056a90
mov esi, dword [esp + 0x24]
test esi, esi
je 0x100513e1
cmp dword [esi + 4], 2
jne 0x100513ae
push dword [esi + 8]
mov esi, dword [fcn.10034de0]
mov ecx, esi
call dword [0x101aa4e4]
call esi
mov esi, dword [esp + 0x28]
add esp, 4
mov ecx, dword [esi]
test ecx, ecx
je 0x100513cd
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x100513cd
cmp dword [ecx + 4], 0
jne 0x100513cd
mov ecx, dword [esi]
call fcn.10040540
push esi
mov esi, dword [fcn.10034de0]
mov ecx, esi
call dword [0x101aa4e4]
call esi
add esp, 4
mov esi, dword [esp + 0x4c]
test esi, esi
je 0x1005143c
cmp dword [esi + 4], 2
jne 0x10051409
push dword [esi + 8]
mov esi, dword [fcn.10034de0]
mov ecx, esi
call dword [0x101aa4e4]
call esi
mov esi, dword [esp + 0x50]
add esp, 4
mov ecx, dword [esi]
test ecx, ecx
je 0x10051428
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x10051428
cmp dword [ecx + 4], 0
jne 0x10051428
mov ecx, dword [esi]
call fcn.10040540
push esi
mov esi, dword [fcn.10034de0]
mov ecx, esi
call dword [0x101aa4e4]
call esi
add esp, 4
test ebx, ebx
js 0x10050f72
lea eax, [esp + 0xcc]
push eax
push edi
call sym.user32.dll_git_checkout_head
mov edi, dword [esp + 0x20]
mov ebx, eax
add esp, 8
mov dword [esp + 0x10], ebx
jmp 0x100520f1
mov ebx, dword [esp + 0x48]
test ebx, ebx
jne 0x10051491
push 0x101e200c
push str.invalid_argument
push 0x101dc9b8
push 3
call fcn.1002a5a0
add esp, 0x10
or ebx, 0xffffffff
mov dword [esp + 0x10], ebx
jmp 0x1005158e
mov esi, dword [esp + 0x14]
xor ecx, ecx
mov eax, esi
nop dword [eax]
cmp byte [eax], 0
jne 0x100514ce
inc ecx
inc eax
cmp ecx, 0x14
jb 0x100514a0
push str.cannot_read_object
push str.odb:__s:_null_OID_cannot_exist
push 9
call fcn.1002a5a0
mov ebx, 0xfffffffd
add esp, 0xc
mov dword [esp + 0x10], ebx
jmp 0x1005158e
xor edx, edx
lea ecx, [ebx + 4]
xor eax, eax
lock cmpxchg dword [ecx], edx
lea ecx, [eax + 0x10]
test eax, eax
jne 0x100514e3
lea ecx, [ebx + 0x34]
push 1
mov edx, esi
call fcn.10056880
mov esi, eax
add esp, 4
mov dword [esp + 0x50], esi
test esi, esi
jne 0x1005156c
push eax
push dword [esp + 0x18]
mov edx, ebx
lea ecx, [esp + 0x58]
call fcn.10037a40
mov ebx, eax
add esp, 8
mov dword [esp + 0x10], ebx
cmp ebx, 0xfffffffd
jne 0x10051560
mov esi, dword [esp + 0x48]
push esi
call sym.user32.dll_git_odb_refresh
add esp, 4
test eax, eax
jne 0x10051547
push 1
push dword [esp + 0x18]
mov edx, esi
lea ecx, [esp + 0x58]
call fcn.10037a40
mov ebx, eax
mov dword [esp + 0x18], eax
add esp, 8
cmp ebx, 0xfffffffd
jne 0x10051560
mov edx, dword [esp + 0x14]
mov ecx, str.no_match_for_id
push 0x28
call fcn.10039170
mov ebx, eax
add esp, 4
mov dword [esp + 0x10], ebx
mov esi, dword [esp + 0x50]
test ebx, ebx
js 0x10051325
push 0xfffffffffffffffe
push esi
mov edx, edi
lea ecx, [esp + 0x44]
call fcn.1003ce80
add esp, 8
mov ebx, eax
mov dword [esp + 0x10], ebx
test esi, esi
je 0x1005158e
mov ecx, esi
call fcn.10056a90
test ebx, ebx
js 0x10051325
mov eax, dword [esp + 0x3c]
xor ecx, ecx
mov dword [esp + 0x14], ecx
test eax, eax
jne 0x100515ba
push 0x101e2bd8
push str.invalid_argument
push 0x101dc9b8
push 3
jmp 0x10051316
movsx ecx, word [eax + 0x14]
cmp ecx, 1
jne 0x100515d2
lock inc dword [eax + 0x1c]
mov esi, eax
mov dword [esp + 0x20], esi
jmp 0x100516ed
dec ecx
cmp ecx, 3
ja case.0x100515dc.1
jmp dword [ecx*4 + 0x1005273c]
mov esi, eax
test esi, esi
je 0x1005167b
movsx eax, word [esi + 0x14]
dec eax
cmp eax, 3
ja case.default.0x100515fb
jmp dword [eax*4 + 0x1005274c]
push 2
lea eax, [esi + 0x30]
jmp 0x1005160f
push dword [esi + 0x38]
lea eax, [esi + 0x24]
push 0x28
push eax
push dword [esi + 0x20]
lea eax, [esp + 0x24]
push eax
call sym.user32.dll_git_object_lookup_prefix
mov ebx, eax
add esp, 0x14
test ebx, ebx
jne 0x10051699
cmp esi, dword [esp + 0x3c]
je 0x10051635
mov ecx, esi
call fcn.10056a90
mov esi, dword [esp + 0x14]
test esi, esi
jne 0x1005165c
push 0x101e1e38
push str.invalid_argument
push 0x101dc9b8
push 3
call fcn.1002a5a0
add esp, 0x10
mov dword [esp + 0x14], esi
jmp 0x100515e5
cmp word [esi + 0x14], 1
je 0x100515c9
mov dword [esp + 0x14], 0
jmp 0x100515e5
mov ebx, 0xffffffed
jmp 0x10051699
push 0x101e1e38
push str.invalid_argument
push 0x101dc9b8
push 3
call fcn.1002a5a0
add esp, 0x10
mov ebx, 0xfffffff4
cmp esi, dword [esp + 0x3c]
je 0x100516aa
test esi, esi
je 0x100516aa
mov ecx, esi
call fcn.10056a90
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x100516b7
call fcn.10056a90
mov edx, dword [esp + 0x3c]
mov ecx, ebx
push 1
call fcn.1003d510
mov ebx, eax
mov dword [esp + 0x14], ebx
jmp 0x100516e0
push 1
mov edx, eax
mov ecx, 0xfffffff4
call fcn.1003d510
mov ebx, eax
mov dword [esp + 0x14], eax
add esp, 4
test ebx, ebx
js 0x10051325
xor esi, esi
test esi, esi
jne 0x1005170e
push 0x101e1e38
push str.invalid_argument
push 0x101dc9b8
push 3
call fcn.1002a5a0
add esp, 0x10
xor eax, eax
jmp 0x10051710
mov eax, esi
push eax
call sym.user32.dll_git_oid_tostr_s
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0x70]
push eax
call fcn.1000fbd0
mov ebx, eax
add esp, 8
mov dword [esp + 0x10], ebx
test ebx, ebx
js 0x10051325
test esi, esi
jne 0x10051756
push 0x101e1e38
push str.invalid_argument
push 0x101dc9b8
push 3
call fcn.1002a5a0
add esp, 0x10
xor eax, eax
jmp 0x10051758
mov eax, esi
mov esi, dword [esp + 0x6c]
push esi
push 0
push 1
push eax
push str.HEAD
lea eax, [esp + 0x60]
push edi
push eax
call sym.user32.dll_git_reference_create_matching
mov ebx, eax
add esp, 0x1c
mov dword [esp + 0x10], ebx
jmp 0x10051329
mov edi, dword [esp + 0x40]
mov dword [esp + 0x44], edi
mov edi, dword [esp + 0x18]
jmp 0x100520f1
push 0
mov edx, edi
lea ecx, [esp + 0x44]
call fcn.10052fb0
mov ebx, eax
add esp, 4
mov dword [esp + 0x10], ebx
test ebx, ebx
js 0x100520e7
test dword [edi + 0x34], 0x400000
je 0x100520d1
lea ebx, [edi + 0x4c]
test ebx, ebx
je 0x100520d1
mov edi, dword [esp + 0x40]
mov dword [esp + 0x54], 0
mov dword [esp + 0x44], edi
test edi, edi
je 0x10050e17
xor esi, esi
xor ecx, ecx
xor eax, eax
lock cmpxchg dword [edi], ecx
mov dword [esp + 0x20], eax
test eax, eax
jne 0x1005198e
push 4
mov edx, edi
mov dword [esp + 0xa4], 0x102069cd
lea ecx, [esp + 0xa4]
mov dword [esp + 0xa8], esi
mov dword [esp + 0xac], esi
call fcn.1000efc0
mov esi, eax
add esp, 4
test esi, esi
js 0x10051874
lea eax, [esp + 0x4c]
push eax
call sym.user32.dll_git_odb_new
mov esi, eax
add esp, 4
test esi, esi
js 0x10051874
mov esi, dword [esp + 0x4c]
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 + 0x60], eax
test eax, eax
jne 0x1005187f
push str.cannot_access_repository_to_set_odb_caps
push 9
call fcn.1002a5a0
add esp, 8
or esi, 0xffffffff
mov edx, dword [esp + 0x4c]
push edx
call sym.user32.dll_git_odb_free
add esp, 4
mov ebx, esi
mov dword [esp + 0x10], ebx
jmp 0x10051b7e
lea edx, [eax + 0xa0]
xor ecx, ecx
mov dword [esp + 0x30], edx
xor eax, eax
lock cmpxchg dword [edx], ecx
mov edx, eax
mov dword [esp + 0x5c], edx
cmp edx, 0xffffffff
jne 0x100518d8
mov edx, dword [esp + 0x60]
lea ecx, [esp + 0x60]
call fcn.10009d00
test eax, eax
js 0x100518ea
mov edx, dword [esp + 0x60]
lea ecx, [esp + 0x5c]
push 0xd
call fcn.10042cf0
add esp, 4
test eax, eax
js 0x100518ea
mov edx, dword [esp + 0x5c]
or eax, 0xffffffff
mov edi, dword [esp + 0x30]
mov ecx, edx
lock cmpxchg dword [edi], ecx
mov edi, dword [esp + 0x44]
mov eax, dword [esi + 0x58]
xor ecx, ecx
test edx, edx
setne cl
and eax, 0xfffffffe
or ecx, eax
mov dword [esi + 0x58], ecx
mov edx, dword [esp + 0xa0]
mov ecx, esi
push 0
push 0
call fcn.10036970
mov esi, eax
add esp, 8
mov dword [esp + 0x30], esi
test esi, esi
js 0x10051867
mov edx, dword [esp + 0x4c]
xor eax, eax
mov ecx, edx
lock cmpxchg dword [edi], ecx
test eax, eax
je 0x1005192d
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 + 0xa4], 0
jbe 0x10051961
mov eax, dword [esp + 0xa0]
test eax, eax
je 0x10051961
cmp eax, 0x102069cc
je 0x10051961
mov esi, dword [fcn.10034de0]
mov ecx, esi
push eax
call dword [0x101aa4e4]
call esi
mov esi, dword [esp + 0x34]
add esp, 4
mov dword [esp + 0xa4], 0
xor ecx, ecx
mov dword [esp + 0xa8], 0
xor eax, eax
mov dword [esp + 0xa0], 0x102069cd
lock cmpxchg dword [edi], ecx
mov dword [esp + 0x20], eax
push 0
lea ecx, [edi + 0x10]
mov edx, ebx
call fcn.10056880
add esp, 4
mov dword [esp + 0x24], eax
test eax, eax
je 0x10051a55
movzx ecx, word [eax + 0x16]
cmp ecx, 2
jne 0x10051a22
mov ecx, 1
cmp cx, word [eax + 0x14]
je 0x100519e1
mov ecx, eax
call fcn.10056a90
push str.the_requested_type_does_not_match_the_type_in_the_ODB
push 3
call fcn.1002a5a0
mov ebx, 0xfffffffd
add esp, 8
mov dword [esp + 0x10], ebx
jmp 0x10051b87
mov dword [esp + 0x2c], eax
mov dword [esp + 0x58], eax
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0xcc]
push ecx
push eax
push edi
call sym.user32.dll_git_checkout_tree
mov ebx, eax
add esp, 0xc
mov dword [esp + 0x10], ebx
test ebx, ebx
jne 0x100520ef
test dword [esi + 0x34], 0x400000
je 0x10051c24
lea eax, [esi + 0x4c]
jmp 0x10051c26
cmp ecx, 1
jne 0x10051a30
mov dword [esp + 0x54], eax
jmp 0x10051b40
push str.__Wrong_caching_type_in_the_global_object_cache_
push str.unrecoverable_internal_error
push 0x101dc9b8
push 0x23
call fcn.1002a5a0
add esp, 0x10
or ebx, 0xffffffff
mov dword [esp + 0x10], ebx
jmp 0x100520ef
cmp dword [esp + 0x20], 0
jne 0x10051a7f
push 0x101e200c
push str.invalid_argument
push 0x101dc9b8
push 3
call fcn.1002a5a0
add esp, 0x10
or esi, 0xffffffff
xor eax, eax
jmp 0x10051b70
mov esi, ebx
xor eax, eax
mov dword [esp + 0x34], esi
cmp byte [ebx], 0
jne 0x10051ab3
inc eax
inc ebx
cmp eax, 0x14
jb 0x10051a87
push str.cannot_read_object
push str.odb:__s:_null_OID_cannot_exist
push 9
call fcn.1002a5a0
add esp, 0xc
mov esi, 0xfffffffd
xor eax, eax
jmp 0x10051b70
mov ebx, dword [esp + 0x20]
xor edx, edx
xor eax, eax
lea ecx, [ebx + 4]
lock cmpxchg dword [ecx], edx
lea ecx, [eax + 0x10]
test eax, eax
jne 0x10051acc
lea ecx, [ebx + 0x34]
push 1
mov edx, esi
call fcn.10056880
add esp, 4
mov dword [esp + 0x24], eax
mov dword [esp + 0x54], eax
test eax, eax
jne 0x10051b48
push eax
push esi
mov edx, ebx
lea ecx, [esp + 0x5c]
call fcn.10037a40
mov esi, eax
add esp, 8
cmp esi, 0xfffffffd
jne 0x10051b38
push ebx
call sym.user32.dll_git_odb_refresh
add esp, 4
test eax, eax
jne 0x10051b23
push 1
push dword [esp + 0x38]
mov edx, ebx
lea ecx, [esp + 0x5c]
call fcn.10037a40
mov esi, eax
add esp, 8
cmp esi, 0xfffffffd
jne 0x10051b38
mov edx, dword [esp + 0x34]
mov ecx, str.no_match_for_id
push 0x28
call fcn.10039170
add esp, 4
mov esi, eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x24], eax
test esi, esi
jns 0x10051b48
xor eax, eax
jmp 0x10051b70
push 1
push eax
mov edx, edi
lea ecx, [esp + 0x60]
call fcn.1003ce80
mov ecx, dword [esp + 0x2c]
add esp, 8
mov esi, eax
test ecx, ecx
je 0x10051b68
call fcn.10056a90
mov eax, dword [esp + 0x58]
mov dword [esp + 0x2c], eax
mov ebx, esi
mov dword [esp + 0x10], ebx
test esi, esi
jns 0x100519e9
cmp esi, 0xfffffffd
jne 0x100520ef
cmp dword [esp + 0x190], 0
je 0x100520ef
mov edx, edi
lea ecx, [esp + 0x84]
call fcn.10054ca0
mov ebx, eax
mov dword [esp + 0x10], ebx
test ebx, ebx
js 0x10051c14
push 0
lea eax, [esp + 0x124]
push eax
mov eax, dword [esp + 0x8c]
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 + 0x10], ebx
test ebx, ebx
js 0x100520ef
mov esi, dword [esp + 0x14]
push 1
push esi
call sym.user32.dll_git_submodule_index_id
add esp, 4
push eax
lea eax, [esp + 0x60]
push edi
push eax
call sym.user32.dll_git_object_lookup
mov ebx, eax
add esp, 0x10
mov eax, dword [esp + 0x58]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x2c], eax
test ebx, ebx
jns 0x100519ed
jmp 0x100520ef
mov edi, dword [esp + 0x84]
mov dword [esp + 0x28], edi
jmp 0x100520ef
xor eax, eax
xor esi, esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x78], 0x102069cd
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x24], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
test edi, edi
je 0x10050e17
test eax, eax
jne 0x10051c71
push 0x101deb0c
jmp 0x10050e1c
push 0
push str.HEAD
mov edx, edi
lea ecx, [esp + 0x3c]
call fcn.100135c0
mov ebx, eax
add esp, 8
mov dword [esp + 0x10], ebx
test ebx, ebx
js 0x100520ef
mov dword [esp + 0x48], esi
xor ebx, ebx
xor ecx, ecx
xor eax, eax
lock cmpxchg dword [edi], ecx
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x10051f6a
push 4
mov edx, edi
mov dword [esp + 0xb0], 0x102069cd
lea ecx, [esp + 0xb0]
mov dword [esp + 0xb4], ebx
mov dword [esp + 0xb8], ebx
call fcn.1000efc0
mov ebx, eax
add esp, 4
mov dword [esp + 0x10], ebx
test ebx, ebx
js 0x10051d3d
lea eax, [esp + 0xc0]
push eax
call sym.user32.dll_git_odb_new
mov ebx, eax
add esp, 4
mov dword [esp + 0x10], ebx
test ebx, ebx
js 0x10051d3d
mov esi, dword [esp + 0xc0]
mov eax, edi
lea edx, [esi + 4]
xchg dword [edx], eax
xor ecx, ecx
xor eax, eax
lock cmpxchg dword [edx], ecx
mov ebx, eax
test ebx, ebx
jne 0x10051e63
push str.cannot_access_repository_to_set_odb_caps
push 9
call fcn.1002a5a0
add esp, 8
or ebx, 0xffffffff
mov dword [esp + 0x10], ebx
push esi
call sym.user32.dll_git_odb_free
add esp, 4
mov esi, dword [esp + 0x78]
cmp dword [esp + 0x7c], 0
jbe 0x10051d68
test esi, esi
je 0x10051d68
cmp esi, 0x102069cc
je 0x10051d68
push esi
mov esi, dword [fcn.10034de0]
mov ecx, esi
call dword [0x101aa4e4]
call esi
add esp, 4
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x78], 0x102069cd
test ecx, ecx
je 0x10051d90
call fcn.10056a90
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x10051d9d
call fcn.10056a90
mov edi, dword [esp + 0x34]
test edi, edi
je 0x10051df4
cmp dword [edi + 4], 2
jne 0x10051dc1
push dword [edi + 8]
mov esi, dword [fcn.10034de0]
mov ecx, esi
call dword [0x101aa4e4]
call esi
add esp, 4
mov ecx, dword [edi]
test ecx, ecx
je 0x10051de0
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x10051de0
cmp dword [ecx + 4], 0
jne 0x10051de0
mov ecx, dword [edi]
call fcn.10040540
mov esi, dword [fcn.10034de0]
mov ecx, esi
push edi
call dword [0x101aa4e4]
call esi
add esp, 4
mov edi, dword [esp + 0x30]
test edi, edi
je 0x10051e4b
cmp dword [edi + 4], 2
jne 0x10051e18
push dword [edi + 8]
mov esi, dword [fcn.10034de0]
mov ecx, esi
call dword [0x101aa4e4]
call esi
add esp, 4
mov ecx, dword [edi]
test ecx, ecx
je 0x10051e37
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x10051e37
cmp dword [ecx + 4], 0
jne 0x10051e37
mov ecx, dword [edi]
call fcn.10040540
mov esi, dword [fcn.10034de0]
mov ecx, esi
push edi
call dword [0x101aa4e4]
call esi
add esp, 4
test ebx, ebx
js 0x100520ef
mov eax, dword [esp + 0x14]
and dword [eax + 0x34], 0xff6ffff7
jmp 0x100520ef
lea edx, [ebx + 0xa0]
xor ecx, ecx
mov dword [esp + 0x1c], edx
xor eax, eax
lock cmpxchg dword [edx], ecx
mov edx, eax
mov dword [esp + 0x68], edx
cmp edx, 0xffffffff
jne 0x10051ebc
mov edx, ebx
lea ecx, [esp + 0xc4]
call fcn.10009d00
test eax, eax
js 0x10051ece
mov edx, dword [esp + 0xc4]
lea ecx, [esp + 0x68]
push 0xd
call fcn.10042cf0
add esp, 4
test eax, eax
js 0x10051ece
mov edx, dword [esp + 0x68]
or eax, 0xffffffff
mov ebx, dword [esp + 0x1c]
mov ecx, edx
lock cmpxchg dword [ebx], ecx
mov eax, dword [esi + 0x58]
xor ecx, ecx
test edx, edx
setne cl
and eax, 0xfffffffe
or ecx, eax
mov dword [esi + 0x58], ecx
mov edx, dword [esp + 0xac]
mov ecx, esi
push 0
push 0
call fcn.10036970
mov ebx, eax
add esp, 8
mov dword [esp + 0x10], ebx
test ebx, ebx
js 0x10051d34
mov ecx, esi
xor eax, eax
lock cmpxchg dword [edi], ecx
test eax, eax
je 0x10051f0d
xor eax, eax
lea ecx, [esi + 4]
xchg dword [ecx], eax
push esi
call sym.user32.dll_git_odb_free
add esp, 4
cmp dword [esp + 0xb0], 0
jbe 0x10051f3d
mov eax, dword [esp + 0xac]
test eax, eax
je 0x10051f3d
cmp eax, 0x102069cc
je 0x10051f3d
mov esi, dword [fcn.10034de0]
mov ecx, esi
push eax
call dword [0x101aa4e4]
call esi
add esp, 4
mov dword [esp + 0xb0], 0
xor ecx, ecx
mov dword [esp + 0xb4], 0
xor eax, eax
mov dword [esp + 0xac], 0x102069cd
lock cmpxchg dword [edi], ecx
mov dword [esp + 0x1c], eax
mov edx, dword [esp + 0x20]
lea ecx, [edi + 0x10]
push 0
mov dword [esp + 0x14], ebx
call fcn.10056880
mov esi, eax
add esp, 4
test esi, esi
je 0x10051fc9
movzx eax, word [esi + 0x16]
cmp eax, 2
jne 0x10051f99
mov eax, esi
mov dword [esp + 0x64], eax
jmp 0x1005201e
cmp eax, 1
jne 0x10051fa4
mov dword [esp + 0x48], esi
jmp 0x10051fe8
push str.__Wrong_caching_type_in_the_global_object_cache_
push str.unrecoverable_internal_error
push 0x101dc9b8
push 0x23
call fcn.1002a5a0
add esp, 0x10
or ebx, 0xffffffff
mov dword [esp + 0x10], ebx
jmp 0x10051d3d
push dword [esp + 0x20]
lea eax, [esp + 0x4c]
push dword [esp + 0x20]
push eax
call sym.user32.dll_git_odb_read
mov esi, dword [esp + 0x54]
mov ebx, eax
add esp, 0xc
mov dword [esp + 0x10], ebx
test ebx, ebx
js 0x10051d3d
push 0xfffffffffffffffe
push esi
mov edx, edi
lea ecx, [esp + 0x6c]
call fcn.1003ce80
add esp, 8
mov ebx, eax
mov dword [esp + 0x10], ebx
test esi, esi
je 0x10052012
mov ecx, esi
call fcn.10056a90
test ebx, ebx
js 0x10051d3d
mov eax, dword [esp + 0x64]
push 1
push eax
lea eax, [esp + 0x2c]
push eax
call sym.user32.dll_git_object_peel
mov ebx, eax
add esp, 0xc
mov dword [esp + 0x10], ebx
test ebx, ebx
js 0x10051d3d
mov esi, dword [esp + 0x24]
test esi, esi
jne 0x10052061
push 0x101e1e38
push str.invalid_argument
push 0x101dc9b8
push 3
call fcn.1002a5a0
add esp, 0x10
xor eax, eax
jmp 0x10052063
mov eax, esi
push eax
call sym.user32.dll_git_oid_tostr_s
mov edx, dword [esp + 0x38]
lea ecx, [esp + 0x7c]
push eax
call fcn.1000fbd0
mov ebx, eax
add esp, 8
mov dword [esp + 0x10], ebx
test ebx, ebx
js 0x10051d3d
test esi, esi
jne 0x100520a9
push 0x101e1e38
push str.invalid_argument
push 0x101dc9b8
push 3
call fcn.1002a5a0
add esp, 0x10
xor eax, eax
jmp 0x100520ab
mov eax, esi
mov esi, dword [esp + 0x78]
push esi
push 1
push eax
push str.HEAD
lea eax, [esp + 0x40]
push edi
push eax
call sym.user32.dll_git_reference_create
mov ebx, eax
add esp, 0x18
mov dword [esp + 0x10], ebx
jmp 0x10051d41
push str.could_not_get_ID_of_submodule_in_index
push 0x11
call fcn.1002a5a0
add esp, 8
or ebx, 0xffffffff
mov dword [esp + 0x10], ebx
mov edi, dword [esp + 0x40]
mov dword [esp + 0x44], edi
xor edi, edi
cmp dword [esp + 0x8c], 0
jbe 0x10052121
mov eax, dword [esp + 0x88]
test eax, eax
je 0x10052121
cmp eax, 0x102069cc
je 0x10052121
mov esi, dword [fcn.10034de0]
mov ecx, esi
push eax
call dword [0x101aa4e4]
call esi
add esp, 4
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x88], 0x102069cd
test edi, edi
je 0x1005222f
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x1005222f
cmp dword [edi + 4], 0
jne 0x1005222f
mov eax, dword [edi + 0x14]
xor ecx, ecx
mov dword [esp + 0x1c], ecx
test eax, eax
je 0x100521d5
mov ebx, dword [esp + 0x18]
cmp ecx, eax
jae 0x10052181
mov eax, dword [ebx + 0x10]
mov edi, dword [eax + ecx*4]
jmp 0x10052183
xor edi, edi
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x100521c1
cmp dword [edi + 4], 0
jne 0x100521c1
mov eax, dword [edi + 8]
push eax
mov esi, dword [eax + 0x34]
mov ecx, esi
call dword [0x101aa4e4]
call esi
mov esi, dword [fcn.10034de0]
add esp, 4
mov ecx, esi
push edi
call dword [0x101aa4e4]
call esi
mov ecx, dword [esp + 0x20]
add esp, 4
mov eax, dword [ebx + 0x14]
inc ecx
mov dword [esp + 0x1c], ecx
cmp ecx, eax
jb 0x10052179
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 0x18]
add edi, 8
je 0x10052204
push dword [edi + 8]
mov esi, dword [fcn.10034de0]
mov ecx, esi
call dword [0x101aa4e4]
call esi
add esp, 4
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi], 0
mov esi, dword [esp + 0x18]
mov ecx, 0x1c
mov eax, esi
nop
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x10052210
push esi
mov esi, dword [fcn.10034de0]
mov ecx, esi
call dword [0x101aa4e4]
call esi
add esp, 4
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x1005223e
mov ecx, eax
call fcn.10056a90
mov esi, dword [esp + 0x28]
test esi, esi
je 0x10052466
mov eax, dword [esi + 0x70]
test eax, eax
je 0x100522a1
mov edi, dword [eax + 0x20]
test edi, edi
je 0x10052282
push eax
mov ecx, edi
call dword [0x101aa4e4]
call edi
add esp, 4
test eax, eax
je 0x10052282
mov eax, dword [esi + 0x70]
push eax
mov esi, dword [eax + 0x28]
mov ecx, esi
call dword [0x101aa4e4]
call esi
mov esi, dword [esp + 0x2c]
add esp, 4
mov eax, dword [esi + 0x70]
push eax
mov esi, dword [eax + 0x2c]
mov ecx, esi
call dword [0x101aa4e4]
call esi
mov esi, dword [esp + 0x2c]
add esp, 4
mov dword [esi + 0x70], 0
lea edi, [esi + 0xc]
test edi, edi
je 0x100522d6
push dword [edi + 8]
mov esi, dword [fcn.10034de0]
mov ecx, esi
call dword [0x101aa4e4]
call esi
mov esi, dword [esp + 0x2c]
add esp, 4
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi], 0
lea edi, [esi + 0x20]
mov ecx, edi
call fcn.100226c0
test edi, edi
je 0x10052312
push dword [edi + 8]
mov esi, dword [fcn.10034de0]
mov ecx, esi
call dword [0x101aa4e4]
call esi
mov esi, dword [esp + 0x2c]
add esp, 4
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi], 0
lea edi, [esi + 0x34]
mov ecx, edi
call fcn.100226c0
test edi, edi
je 0x1005234e
push dword [edi + 8]
mov esi, dword [fcn.10034de0]
mov ecx, esi
call dword [0x101aa4e4]
call esi
mov esi, dword [esp + 0x2c]
add esp, 4
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi], 0
lea edi, [esi + 0x48]
mov ecx, edi
call fcn.100226c0
test edi, edi
je 0x1005238a
push dword [edi + 8]
mov esi, dword [fcn.10034de0]
mov ecx, esi
call dword [0x101aa4e4]
call esi
mov esi, dword [esp + 0x2c]
add esp, 4
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi], 0
cmp dword [esi + 0x68], 0
jbe 0x100523d0
xor ebx, ebx
mov eax, dword [esi + 0x64]
mov esi, dword [fcn.10034de0]
mov ecx, esi
mov edi, dword [eax + ebx*4]
push dword [edi + 0x2c]
call dword [0x101aa4e4]
call esi
mov esi, dword [fcn.10034de0]
add esp, 4
mov ecx, esi
push edi
call dword [0x101aa4e4]
call esi
mov esi, dword [esp + 0x2c]
inc ebx
add esp, 4
cmp ebx, dword [esi + 0x68]
jb 0x10052392
mov ebx, dword [esp + 0x10]
lea edi, [esi + 0x5c]
test edi, edi
je 0x10052405
push dword [edi + 8]
mov esi, dword [fcn.10034de0]
mov ecx, esi
call dword [0x101aa4e4]
call esi
mov esi, dword [esp + 0x2c]
add esp, 4
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi], 0
mov ecx, dword [esi + 0x78]
call fcn.1007aec0
push dword [esi + 4]
mov esi, dword [fcn.10034de0]
mov ecx, esi
call dword [0x101aa4e4]
call esi
mov edi, dword [esp + 0x2c]
add esp, 4
mov esi, dword [fcn.10034de0]
mov ecx, esi
push dword [edi + 8]
call dword [0x101aa4e4]
call esi
mov esi, dword [fcn.10034de0]
add esp, 4
mov ecx, esi
push dword [edi]
call dword [0x101aa4e4]
call esi
mov esi, dword [fcn.10034de0]
add esp, 4
mov ecx, esi
push edi
call dword [0x101aa4e4]
call esi
add esp, 4
mov edi, dword [esp + 0x44]
test edi, edi
je 0x10052714
mov ecx, dword [edi + 0xa8]
call fcn.1004c260
mov eax, dword [0x102048ac]
lea esi, [edi + 0x14]
mov dword [edi + 0xa8], 0
mov dword [esp + 0x1c], eax
push esi
test eax, eax
je 0x100524a6
mov ecx, eax
call dword [0x101aa4e4]
call dword [esp + 0x20]
jmp 0x100524ac
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea ecx, [edi + 0x10]
call fcn.100564b0
mov eax, dword [0x102048a4]
mov dword [esp + 0x1c], eax
push esi
test eax, eax
je 0x100524d0
mov ecx, eax
call dword [0x101aa4e4]
call dword [esp + 0x20]
jmp 0x100524d6
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor ecx, ecx
lea eax, [edi + 0x30]
xchg dword [eax], ecx
test ecx, ecx
je 0x100524e6
call fcn.1004b590
xor edx, edx
lea eax, [edi + 8]
xchg dword [eax], edx
test edx, edx
je 0x10052501
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 [0x101ebf70]
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 0x10052555
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 0x10052558
cmp dword [edx], 0
jne 0x10052558
call fcn.10043750
jmp 0x10052558
or esi, 0xffffffff
xor edx, edx
xchg dword [edi], edx
test edx, edx
je 0x10052570
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 0x10052595
lea edx, [ecx + 4]
xor eax, eax
xchg dword [edx], eax
lock xadd dword [ecx], esi
dec esi
test esi, esi
jg 0x10052595
cmp dword [edx], 0
jne 0x10052595
call fcn.10040540
lea ecx, [edi + 0x10]
call fcn.10056650
mov ecx, dword [edi + 0x34]
call fcn.10030d80
mov eax, dword [edi + 0x58]
xor ecx, ecx
mov dword [edi + 0x34], 0
mov dword [esp + 0x1c], ecx
test eax, eax
je 0x10052629
xor edx, edx
mov dword [esp + 0x2c], edx
cmp ecx, eax
jae 0x10052616
mov eax, dword [edi + 0x54]
add eax, edx
mov dword [esp + 0x20], eax
je 0x10052616
cmp dword [eax + 4], 0
jbe 0x10052602
mov edx, dword [eax]
test edx, edx
je 0x100525fe
cmp edx, 0x102069cc
je 0x100525fe
mov esi, dword [fcn.10034de0]
mov ecx, esi
push edx
call dword [0x101aa4e4]
call esi
mov eax, dword [esp + 0x24]
add esp, 4
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x2c]
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax], 0x102069cd
mov eax, dword [edi + 0x58]
inc ecx
add edx, 0xc
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x2c], edx
cmp ecx, eax
jb 0x100525c3
push dword [edi + 0x54]
mov esi, dword [fcn.10034de0]
mov ecx, esi
call dword [0x101aa4e4]
call esi
add esp, 4
mov dword [edi + 0x5c], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x54], 0
mov esi, dword [fcn.10034de0]
mov ecx, esi
push dword [edi + 0x38]
call dword [0x101aa4e4]
call esi
mov esi, dword [fcn.10034de0]
add esp, 4
mov ecx, esi
push dword [edi + 0x3c]
call dword [0x101aa4e4]
call esi
mov esi, dword [fcn.10034de0]
add esp, 4
mov ecx, esi
push dword [edi + 0x40]
call dword [0x101aa4e4]
call esi
mov esi, dword [fcn.10034de0]
add esp, 4
mov ecx, esi
push dword [edi + 0x44]
call dword [0x101aa4e4]
call esi
mov esi, dword [fcn.10034de0]
add esp, 4
mov ecx, esi
push dword [edi + 0x48]
call dword [0x101aa4e4]
call esi
mov esi, dword [fcn.10034de0]
add esp, 4
mov ecx, esi
push dword [edi + 0x4c]
call dword [0x101aa4e4]
call esi
mov esi, dword [fcn.10034de0]
add esp, 4
mov ecx, esi
push dword [edi + 0x50]
call dword [0x101aa4e4]
call esi
add esp, 4
mov ecx, 0xac
mov eax, edi
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x100526f5
mov esi, dword [fcn.10034de0]
mov ecx, esi
push edi
call dword [0x101aa4e4]
call esi
add esp, 4
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.git_submodule_update_options
push ecx
push str.invalid_version__d_on__s
push 3
call fcn.1002a5a0
add esp, 0x10
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret