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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x528
mov eax, dword [0x101fd700]
xor eax, esp
mov dword [esp + 0x524], eax
mov ecx, dword [ebp + 0xc]
xorps xmm0, xmm0
mov dword [esp + 0xb0], ecx
movaps xmmword [esp + 0x18], xmm0
mov dword [esp + 0x28], 0
movaps xmmword [esp + 0x88], xmm0
mov dword [esp + 0x98], 0
mov byte [esp + 0x10c], 0
mov word [esp + 0x11d], 0
mov byte [esp + 0x11f], 0
push esi
mov esi, dword [ebp + 8]
mov dword [esp + 0x78], esi
push edi
movups xmmword [esp + 0x115], xmm0
test ecx, ecx
je 0x10023b2b
mov ecx, dword [ecx]
lea eax, [ecx - 1]
test eax, eax
je 0x10023b2b
push str.git_remote_callbacks
push ecx
push str.invalid_version__d_on__s
push 3
call fcn.1002a5a0
add esp, 0x10
or eax, 0xffffffff
pop edi
pop esi
mov ecx, dword [esp + 0x524]
xor ecx, esp
call fcn.10176fcb
mov esp, ebp
pop ebp
ret
mov edx, esi
lea ecx, [esp + 0x20]
call fcn.10022790
mov edi, eax
mov dword [esp + 0x10], edi
test edi, edi
js 0x10024827
mov eax, dword [esp + 0x24]
cmp eax, 0x10022750
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x30]
je 0x10023b62
mov dword [esp + 0x14], 0x10022750
and eax, 0xfffffffe
mov edx, esi
mov dword [esp + 0x50], eax
lea ecx, [esp + 0x90]
call fcn.100238d0
mov edi, eax
mov dword [esp + 0x10], edi
test edi, edi
js 0x10024827
mov ecx, dword [esp + 0x9c]
xor edi, edi
mov dword [esp + 0x6c], edi
test ecx, ecx
je 0x10024595
mov eax, dword [esp + 0x98]
nop
mov edi, dword [eax + edi*4]
xor ecx, ecx
mov dword [esp + 0x74], edi
mov dword [esp + 0x48], ecx
cmp dword [esi + 0x40], ecx
jbe 0x1002457d
mov eax, dword [esi + 0x3c]
push 0x34
push 0
mov dword [esp + 0x8c], 0x102069cd
mov esi, dword [eax + ecx*4]
lea eax, [esp + 0xc4]
push eax
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
call fcn.10178ee0
add esp, 0xc
test esi, esi
je 0x10024560
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x10024560
push 0
mov edx, edi
call fcn.100b17f0
add esp, 4
test eax, eax
jne 0x10024560
test edi, edi
je 0x100246c0
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x100246a3
push eax
mov edx, edi
call fcn.100b17f0
add esp, 4
test eax, eax
jne 0x100246a3
test byte [esi + 0xc], 4
mov edx, dword [esi + 4]
jne 0x10023c93
test edx, edx
jne 0x10023c6d
push str.string
push str.invalid_argument
push 0x101dc9b8
push 3
call fcn.1002a5a0
add esp, 0x10
or edi, 0xffffffff
mov dword [esp + 0x10], edi
jmp 0x10023cad
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10023c72
sub ecx, esi
push ecx
lea ecx, [esp + 0x88]
call fcn.1002bf10
mov edi, eax
add esp, 4
mov dword [esp + 0x10], edi
jmp 0x10023cad
push edi
push edx
mov edx, dword [esi + 8]
lea ecx, [esp + 0x8c]
call fcn.100785a0
add esp, 8
mov dword [esp + 0x10], eax
mov edi, eax
test edi, edi
js 0x10024827
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x84]
mov dword [esp + 0xe8], eax
test esi, esi
jne 0x10023cec
push str.key_lookup
push str.unrecoverable_internal_error
push 0x101dc9b8
push 0x23
call fcn.1002a5a0
add esp, 0x10
or edi, 0xffffffff
jmp 0x100244f6
test byte [esp + 0x50], 1
jne 0x1002445a
mov eax, dword [esp + 0x2c]
cmp eax, 1
jbe 0x10024455
cmp eax, 0x40
jae 0x10024025
cmp eax, 1
jbe 0x10024455
mov edi, dword [esp + 0x28]
dec eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], eax
lea ecx, [edi + 4]
mov dword [esp + 0x44], ecx
nop
mov eax, dword [ecx]
mov edx, dword [ecx - 4]
cmp esi, 0x10022750
jne 0x10023d6a
mov ecx, dword [eax + 0x2c]
mov eax, dword [edx + 0x2c]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10023d63
test dl, dl
je 0x10023d5f
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10023d63
add eax, 2
add ecx, 2
test dl, dl
jne 0x10023d43
xor eax, eax
jmp 0x10023d79
sbb eax, eax
or eax, 1
jmp 0x10023d79
push eax
push edx
mov ecx, esi
call dword [0x101aa4e4]
call esi
add esp, 8
test eax, eax
jle 0x10024001
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x18]
mov esi, eax
mov ecx, dword [edi]
mov dword [esp + 0x4c], eax
mov edx, dword [edx]
sar esi, 1
cmp dword [esp + 0x14], 0x10022750
lea edi, [ecx + 0x2c]
mov dword [esp + 0x10], edx
lea eax, [edx + 0x2c]
mov dword [esp + 0x78], 0
mov dword [esp + 0x80], ecx
mov dword [esp + 0x70], eax
jne 0x10023de7
mov ecx, dword [edi]
mov eax, dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10023de0
test dl, dl
je 0x10023ddc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10023de0
add eax, 2
add ecx, 2
test dl, dl
jne 0x10023dc0
xor eax, eax
jmp 0x10023dfa
sbb eax, eax
or eax, 1
jmp 0x10023dfa
push ecx
mov ecx, dword [esp + 0x18]
push edx
call dword [0x101aa4e4]
call dword [esp + 0x1c]
add esp, 8
mov edx, dword [esp + 0x70]
test eax, eax
jns 0x10023e0d
xor esi, esi
mov edi, dword [esp + 0x28]
jmp 0x10023fde
mov eax, dword [esp + 0x14]
cmp eax, 0x10022750
jne 0x10023e47
mov ecx, dword [edi]
mov eax, dword [edx]
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10023e40
test dl, dl
je 0x10023e3c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10023e40
add eax, 2
add ecx, 2
test dl, dl
jne 0x10023e20
xor eax, eax
jmp 0x10023e61
sbb eax, eax
or eax, 1
jmp 0x10023e61
push dword [esp + 0x80]
mov ecx, eax
push dword [esp + 0x14]
call dword [0x101aa4e4]
call dword [esp + 0x1c]
add esp, 8
test eax, eax
jne 0x10023ed4
mov edi, dword [esp + 0x28]
mov esi, 1
nop
mov ecx, dword [esp + 0x14]
mov eax, dword [edi + esi*4]
cmp ecx, 0x10022750
jne 0x10023eb7
mov ecx, dword [eax + 0x2c]
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x2c]
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10023eb0
test dl, dl
je 0x10023eac
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10023eb0
add eax, 2
add ecx, 2
test dl, dl
jne 0x10023e90
xor eax, eax
jmp 0x10023ec9
sbb eax, eax
or eax, 1
jmp 0x10023ec9
push eax
push dword [esp + 0x14]
call dword [0x101aa4e4]
call dword [esp + 0x1c]
add esp, 8
test eax, eax
jne 0x10023fde
inc esi
jmp 0x10023e70
mov ecx, dword [esp + 0x28]
mov edi, dword [esp + 0x4c]
mov eax, dword [ecx + esi*4]
nop
mov ecx, dword [esp + 0x14]
cmp ecx, 0x10022750
jne 0x10023f1d
mov ecx, dword [eax + 0x2c]
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x2c]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10023f16
test dl, dl
je 0x10023f12
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10023f16
add eax, 2
add ecx, 2
test dl, dl
jne 0x10023ef6
xor eax, eax
jmp 0x10023f2f
sbb eax, eax
or eax, 1
jmp 0x10023f2f
push eax
push dword [esp + 0x14]
call dword [0x101aa4e4]
call dword [esp + 0x1c]
add esp, 8
test eax, eax
jns 0x10023f57
mov eax, esi
sub eax, dword [esp + 0x78]
cmp eax, 1
jle 0x10023e04
mov eax, dword [esp + 0x78]
mov edi, esi
sub esi, eax
sar esi, 1
add esi, eax
mov eax, dword [esp + 0x28]
mov eax, dword [eax + esi*4]
jmp 0x10023ee0
jle 0x10023f83
mov eax, edi
sub eax, esi
cmp eax, 1
jle 0x10023f7c
mov eax, esi
mov esi, edi
sub esi, eax
mov dword [esp + 0x78], eax
sar esi, 1
add esi, eax
mov eax, dword [esp + 0x28]
mov eax, dword [eax + esi*4]
jmp 0x10023ee0
mov edi, dword [esp + 0x28]
inc esi
jmp 0x10023fde
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x14]
inc esi
mov eax, dword [edi + esi*4]
cmp ecx, 0x10022750
jne 0x10023fc8
mov ecx, dword [eax + 0x2c]
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x2c]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10023fc1
test dl, dl
je 0x10023fbd
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10023fc1
add eax, 2
add ecx, 2
test dl, dl
jne 0x10023fa1
xor eax, eax
jmp 0x10023fda
sbb eax, eax
or eax, 1
jmp 0x10023fda
push eax
push dword [esp + 0x14]
call dword [0x101aa4e4]
call dword [esp + 0x1c]
add esp, 8
test eax, eax
je 0x10023f87
mov edx, dword [esp + 0x18]
mov ecx, edx
cmp edx, esi
jl 0x10023ff4
mov eax, dword [edi + ecx*4]
mov dword [edi + ecx*4 + 4], eax
dec ecx
cmp ecx, esi
jge 0x10023fe8
mov eax, dword [esp + 0x10]
mov dword [edi + esi*4], eax
mov esi, dword [esp + 0x14]
jmp 0x10024005
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x44]
inc edx
add ecx, 4
mov dword [esp + 0x18], edx
sub dword [esp + 0x1c], 1
mov dword [esp + 0x44], ecx
jne 0x10023d30
jmp 0x10024455
mov ecx, eax
xor edx, edx
nop dword [eax]
mov eax, ecx
shr ecx, 1
and eax, 1
or edx, eax
cmp ecx, 0x40
jae 0x10024030
mov eax, dword [esp + 0x14]
lea esi, [edx + ecx]
mov ecx, dword [esp + 0x28]
xor edx, edx
mov dword [esp + 0xf8], eax
lea eax, [esp + 0xf0]
push eax
push dword [esp + 0x30]
mov dword [esp + 0x18], esi
mov dword [esp + 0xf8], 0
mov dword [esp + 0x104], 0
mov dword [esp + 0xfc], fcn.10096350
call fcn.10095c10
mov edi, eax
add esp, 8
mov eax, dword [esp + 0x2c]
cmp esi, eax
cmovg esi, eax
cmp esi, edi
jle 0x100240b4
push dword [esp + 0x14]
mov edx, edi
push ecx
mov ecx, dword [esp + 0x30]
push esi
call fcn.10095a90
mov eax, dword [esp + 0x38]
add esp, 0xc
mov edi, esi
mov dword [esp + 0x128], 0
mov dword [esp + 0x12c], edi
cmp edi, eax
je 0x10024455
lea ecx, [esp + 0xf0]
mov edx, edi
push ecx
mov ecx, dword [esp + 0x2c]
push eax
call fcn.10095c10
mov ecx, dword [esp + 0x34]
add esp, 8
mov esi, dword [esp + 0x10]
sub ecx, edi
cmp esi, ecx
cmovg esi, ecx
cmp esi, eax
jle 0x10024111
push dword [esp + 0x14]
mov edx, eax
push ecx
mov ecx, dword [esp + 0x30]
push esi
lea ecx, [ecx + edi*4]
call fcn.10095a90
add esp, 0xc
mov eax, esi
mov esi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x130], edi
add edi, eax
mov dword [esp + 0x134], eax
lea eax, [esp + 0xf0]
push eax
cmp edi, esi
jne 0x1002414b
push 2
lea edx, [esp + 0x130]
call fcn.10095d20
add esp, 8
jmp 0x1002442b
push esi
mov edx, edi
call fcn.10095c10
mov ecx, esi
add esp, 8
mov esi, dword [esp + 0x10]
sub ecx, edi
cmp esi, ecx
cmovg esi, ecx
cmp esi, eax
jle 0x10024180
push dword [esp + 0x14]
mov edx, eax
push ecx
mov ecx, dword [esp + 0x30]
push esi
lea ecx, [ecx + edi*4]
call fcn.10095a90
add esp, 0xc
mov eax, esi
mov dword [esp + 0x138], edi
mov esi, 3
add edi, eax
mov dword [esp + 0x13c], eax
mov dword [esp + 0x18], edi
cmp edi, dword [esp + 0x2c]
jne 0x100241e0
lea edi, [esp + 0x134]
nop word [eax + eax]
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0xf0]
push eax
push esi
lea edx, [esp + 0x130]
call fcn.10095d20
mov eax, dword [edi + 8]
lea edi, [edi - 8]
add dword [edi + 8], eax
dec esi
add esp, 8
cmp esi, 1
jg 0x100241b0
jmp 0x1002442b
cmp esi, 2
jl 0x10024380
mov ecx, dword [esp + esi*8 + 0x11c]
mov edx, dword [esp + esi*8 + 0x124]
je 0x10024205
lea eax, [edx + ecx]
cmp dword [esp + esi*8 + 0x114], eax
jle 0x10024210
cmp ecx, edx
jg 0x10024380
nop dword [eax]
cmp esi, 2
je 0x1002432c
lea eax, [esp + esi*8 + 0x114]
mov dword [esp + 0x80], eax
lea edi, [esi*8 - 0x10]
mov eax, dword [eax]
mov edx, dword [esp + edi + 0x12c]
mov dword [esp + 0x1c], eax
lea eax, [esi*8]
mov ecx, dword [esp + eax + 0x124]
mov dword [esp + 0x70], eax
mov dword [esp + 0x4c], edi
lea eax, [ecx + edx]
cmp dword [esp + 0x1c], eax
jg 0x100242e4
cmp dword [esp + 0x1c], ecx
lea eax, [esp + 0xf0]
mov ecx, dword [esp + 0x28]
lea edi, [esi - 1]
lea edx, [esp + 0x128]
push eax
jge 0x100242bb
push edi
call fcn.10095d20
mov edx, dword [esp + 0x54]
add esp, 8
mov ecx, dword [esp + 0x80]
mov esi, edi
mov eax, dword [esp + edx + 0x12c]
add dword [ecx], eax
mov ecx, dword [esp + 0x70]
mov eax, dword [esp + ecx + 0x120]
mov ecx, dword [esp + ecx + 0x124]
mov dword [esp + edx + 0x128], eax
mov dword [esp + edx + 0x12c], ecx
jmp 0x1002431e
push esi
call fcn.10095d20
lea ecx, [esi*8]
add esp, 8
mov eax, dword [esp + ecx + 0x124]
lea edx, [esi*8 - 0x10]
add dword [esp + edx + 0x12c], eax
mov esi, edi
jmp 0x1002431e
cmp edx, ecx
jg 0x100241e0
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0xf0]
push eax
push esi
lea edx, [esp + 0x130]
call fcn.10095d20
lea ecx, [esi*8]
add esp, 8
mov eax, dword [esp + ecx + 0x124]
add dword [esp + edi + 0x12c], eax
dec esi
cmp esi, 1
jg 0x10024210
jmp 0x100241e0
mov ecx, dword [esp + 0x12c]
mov edx, dword [esp + 0x134]
lea eax, [ecx + edx]
cmp eax, dword [esp + 0x2c]
je 0x1002434b
cmp ecx, edx
jg 0x100241e0
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0xf0]
push eax
push 2
lea edx, [esp + 0x130]
call fcn.10095d20
mov eax, dword [esp + 0x13c]
add esp, 8
add dword [esp + 0x12c], eax
mov esi, 1
jmp 0x100241e0
mov edi, dword [esp + 0x2c]
lea eax, [esp + 0xf0]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x28]
push eax
push edi
call fcn.10095c10
mov edx, dword [esp + 0x20]
mov ecx, edi
mov edi, dword [esp + 0x18]
sub ecx, edx
add esp, 8
cmp edi, ecx
cmovg edi, ecx
cmp edi, eax
jle 0x100243cb
push dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x30]
push edi
lea ecx, [ecx + edx*4]
mov edx, eax
call fcn.10095a90
add esp, 0xc
mov eax, edi
mov edi, dword [esp + 0x18]
mov dword [esp + esi*8 + 0x128], edi
add edi, eax
mov dword [esp + esi*8 + 0x12c], eax
inc esi
mov dword [esp + 0x18], edi
cmp edi, dword [esp + 0x2c]
jne 0x100241e0
cmp esi, 1
jle 0x1002442b
lea edi, [esp + esi*8 + 0x11c]
nop word [eax + eax]
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0xf0]
push eax
push esi
lea edx, [esp + 0x130]
call fcn.10095d20
mov eax, dword [edi + 8]
lea edi, [edi - 8]
add dword [edi + 8], eax
dec esi
add esp, 8
cmp esi, 1
jg 0x10024400
mov eax, dword [esp + 0xfc]
test eax, eax
je 0x10024455
mov esi, dword [fcn.10034de0]
mov ecx, esi
push eax
call dword [0x101aa4e4]
call esi
add esp, 4
mov dword [esp + 0xfc], 0
or dword [esp + 0x50], 1
mov esi, dword [esp + 0x2c]
or edi, 0xffffffff
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x1c], ecx
test esi, esi
je 0x100244ef
mov edi, dword [esp + 0x14]
mov eax, esi
shr eax, 1
lea eax, [ecx + eax*4]
mov dword [esp + 0x4c], eax
mov eax, dword [eax]
cmp edi, 0x10022750
jne 0x100244bb
mov ecx, dword [eax + 0x2c]
mov eax, dword [esp + 0xe8]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x100244b4
test dl, dl
je 0x100244b0
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x100244b4
add eax, 2
add ecx, 2
test dl, dl
jne 0x10024494
xor edi, edi
jmp 0x100244d3
sbb edi, edi
or edi, 1
jmp 0x100244d3
push eax
lea eax, [esp + 0xc0]
mov ecx, edi
push eax
call dword [0x101aa4e4]
call edi
add esp, 8
mov edi, eax
test edi, edi
je 0x100244ef
jle 0x100244e7
mov ecx, dword [esp + 0x4c]
add ecx, 4
dec esi
mov dword [esp + 0x1c], ecx
jmp 0x100244eb
mov ecx, dword [esp + 0x1c]
shr esi, 1
jne 0x10024471
neg edi
sbb edi, edi
and edi, 0xfffffffd
cmp dword [esp + 0x88], 0
mov dword [esp + 0x10], edi
jbe 0x1002452a
mov eax, dword [esp + 0x84]
test eax, eax
je 0x1002452a
cmp eax, 0x102069cc
je 0x1002452a
mov esi, dword [fcn.10034de0]
mov ecx, esi
push eax
call dword [0x101aa4e4]
call esi
add esp, 4
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x84], 0x102069cd
test edi, edi
jns 0x10024643
cmp edi, 0xfffffffd
jne 0x10024827
mov edi, dword [esp + 0x74]
mov ecx, dword [esp + 0x48]
mov esi, dword [esp + 0x7c]
inc ecx
mov dword [esp + 0x48], ecx
cmp ecx, dword [esi + 0x40]
jb 0x10023bb6
mov eax, dword [esp + 0x98]
mov edi, dword [esp + 0x6c]
mov ecx, dword [esp + 0x9c]
inc edi
mov dword [esp + 0x6c], edi
cmp edi, ecx
jb 0x10023ba0
xor esi, esi
mov dword [esp + 0x14], esi
test ecx, ecx
je 0x10024827
nop dword [eax]
nop word [eax + eax]
mov eax, dword [esp + 0x98]
mov eax, dword [eax + esi*4]
mov dword [esp + 0x74], eax
test eax, eax
je 0x10024815
push 0
push eax
mov eax, dword [esp + 0x84]
lea ecx, [esp + 0x4c]
mov edx, dword [eax + 0x74]
call fcn.100135c0
mov edi, eax
add esp, 8
mov dword [esp + 0x10], edi
cmp edi, 0xfffffffd
je 0x10024815
test edi, edi
js 0x10024827
mov esi, dword [esp + 0x44]
test esi, esi
jne 0x100246e6
push 0x101def14
push str.invalid_argument
push 0x101dc9b8
push 3
call fcn.1002a5a0
add esp, 0x10
test esi, esi
jne 0x10024742
push 0x101def14
push str.invalid_argument
push 0x101dc9b8
push 3
call fcn.1002a5a0
add esp, 0x10
xor eax, eax
jmp 0x1002474f
mov edi, dword [esp + 0x6c]
lea edx, [edi + 1]
cmp edx, dword [esp + 0x9c]
jbe 0x10024663
lea ecx, [esp + 0x90]
call fcn.1003a9d0
test eax, eax
js 0x100246d9
mov ecx, dword [esp + 0x98]
mov dword [esp + 0x10], 0
mov eax, dword [ecx + edi*4]
mov dword [ecx + edi*4], 0
mov esi, dword [fcn.10034de0]
mov ecx, esi
push eax
call dword [0x101aa4e4]
call esi
mov esi, dword [esp + 0x80]
add esp, 4
mov eax, dword [esp + 0x98]
jmp 0x10024581
push edi
push str.ref__s_doesnt_match_the_destination
push 3
call fcn.1002a5a0
add esp, 0xc
mov dword [esp + 0x10], 0xffffffff
jmp 0x10024827
push str.name
push str.invalid_argument
push 0x101dc9b8
push 3
call fcn.1002a5a0
add esp, 0x10
mov dword [esp + 0x10], 0xffffffff
jmp 0x10024827
cmp dword [esi + 4], 2
jne 0x1002461b
push dword [esi + 8]
mov esi, dword [fcn.10034de0]
mov ecx, esi
call dword [0x101aa4e4]
call esi
mov esi, dword [esp + 0x48]
add esp, 4
mov ecx, dword [esi]
test ecx, ecx
je 0x10024729
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x10024729
cmp dword [ecx + 4], 0
jne 0x10024729
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
jmp 0x10024811
cmp dword [esi + 4], 1
je 0x1002474c
xor eax, eax
jmp 0x1002474f
lea eax, [esi + 8]
movups xmm0, xmmword [eax]
push esi
movups xmmword [esp + 0xf4], xmm0
mov eax, dword [eax + 0x10]
mov dword [esp + 0x104], eax
call sym.user32.dll_git_reference_delete
add esp, 4
mov edi, eax
mov dword [esp + 0x10], edi
test esi, esi
je 0x100247ca
cmp dword [esi + 4], 2
jne 0x10024797
push dword [esi + 8]
mov esi, dword [fcn.10034de0]
mov ecx, esi
call dword [0x101aa4e4]
call esi
mov esi, dword [esp + 0x48]
add esp, 4
mov ecx, dword [esi]
test ecx, ecx
je 0x100247b6
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x100247b6
cmp dword [ecx + 4], 0
jne 0x100247b6
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 edi, edi
js 0x10024827
mov eax, dword [esp + 0xb8]
test eax, eax
je 0x10024811
mov esi, dword [eax + 0x18]
test esi, esi
je 0x10024811
push dword [eax + 0x34]
lea eax, [esp + 0x118]
mov ecx, esi
push eax
lea eax, [esp + 0xf8]
push eax
push dword [esp + 0x80]
call dword [0x101aa4e4]
call esi
mov edi, eax
add esp, 0x10
mov dword [esp + 0x10], edi
test edi, edi
js 0x10024827
mov esi, dword [esp + 0x14]
inc esi
mov dword [esp + 0x14], esi
cmp esi, dword [esp + 0x9c]
jb 0x100245b0
push dword [esp + 0x28]
mov esi, dword [fcn.10034de0]
mov ecx, esi
call dword [0x101aa4e4]
call esi
xor eax, eax
add esp, 4
mov dword [esp + 0x48], eax
cmp dword [esp + 0x9c], eax
jbe 0x10024888
nop dword [eax]
mov ecx, dword [esp + 0x98]
push dword [ecx + eax*4]
mov esi, dword [fcn.10034de0]
lea edi, [ecx + eax*4]
mov ecx, esi
call dword [0x101aa4e4]
call esi
mov eax, dword [esp + 0x4c]
add esp, 4
inc eax
mov dword [edi], 0
mov dword [esp + 0x48], eax
cmp eax, dword [esp + 0x9c]
jb 0x10024850
push dword [esp + 0x98]
mov esi, dword [fcn.10034de0]
mov ecx, esi
call dword [0x101aa4e4]
call esi
mov ecx, dword [esp + 0x530]
add esp, 4
mov eax, dword [esp + 0x10]
pop edi
pop esi
xor ecx, esp
call fcn.10176fcb
mov esp, ebp
pop ebp
ret