Function at 0x454a47
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x90
mov dword [ebp - 0x10], 0
mov eax, dword [ebp + 0xc]
and eax, 1
test eax, eax
setne al
movzx eax, al
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0xc]
and eax, 2
test eax, eax
setne al
movzx eax, al
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0xc]
and eax, 4
test eax, eax
setne al
movzx eax, al
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0xc]
and eax, 8
test eax, eax
setne al
movzx eax, al
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0xc]
and eax, 0x10
test eax, eax
setne al
movzx eax, al
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0xc]
and eax, 0x80
test eax, eax
setne al
movzx eax, al
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x60], 1
mov eax, dword [ebp + 0xc]
and eax, 0x20
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x24], 0
je 0x454ade
mov edx, 0x11
jmp 0x454ae3
mov edx, 0x10
cmp dword [ebp - 0x30], 0
je 0x454af0
mov eax, 8
jmp 0x454af5
mov eax, 0
or eax, edx
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov eax, dword [ebp + 0xc]
and eax, 0x40
test eax, eax
je 0x454b55
mov dword [esp], 2
call sub.cygwin1.dll_isatty
test eax, eax
je 0x454b55
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov esi, eax
mov edi, 0
mov dword [esp], str.Refresh_index
call fcn.00451a44
mov dword [esp + 4], esi
mov dword [esp + 8], edi
mov dword [esp], eax
call fcn.0044edb5
mov dword [ebp - 0x64], eax
call fcn.00499217
cmp dword [ebp - 0x3c], 0
je 0x454b67
mov eax, str.M_t_s_n
jmp 0x454b6c
mov eax, str._s:_needs_update_n
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x3c], 0
je 0x454b7c
mov eax, str.D_t_s_n
jmp 0x454b81
mov eax, str._s:_needs_update_n
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x3c], 0
je 0x454b91
mov eax, str.T_t_s_n
jmp 0x454b96
mov eax, str._s:_needs_update_n
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x3c], 0
je 0x454ba6
mov eax, str.A_t_s_n
jmp 0x454bab
mov eax, str._s:_needs_update_n
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x3c], 0
je 0x454bbb
mov eax, str.U_t_s_n
jmp 0x454bc0
mov eax, str._s:_needs_merge_n
mov dword [ebp - 0x54], eax
mov dword [esp + 8], 0
mov eax, dword [ebp + 0x10]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.00555acb
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], str.refresh
mov dword [esp + 8], 0x5ab47e
mov dword [esp + 4], 0x662
mov dword [esp], str.read_cache.c
call fcn.0049ab71
mov dword [ebp - 0xc], 0
jmp 0x454ed8
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x74], 0
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov eax, dword [ebp - 0xc]
shl eax, 2
add eax, edx
mov eax, dword [eax]
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x34], 0
je 0x454c66
mov eax, dword [ebp - 0x58]
mov eax, dword [eax + 0x2c]
and eax, 0xf000
cmp eax, 0xe000
je 0x454ec1
cmp dword [ebp - 0x38], 0
je 0x454c7f
mov eax, dword [ebp - 0x58]
mov eax, dword [eax + 0x30]
and eax, 0x40000000
test eax, eax
jne 0x454ec4
mov eax, dword [ebp - 0x58]
mov eax, dword [eax + 0x2c]
cmp eax, 0x4000
je 0x454ec7
cmp dword [ebp + 0x10], 0
je 0x454cc1
mov eax, dword [ebp + 0x14]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x58]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.00451cb0
test eax, eax
jne 0x454cc1
mov dword [ebp - 0x1c], 1
mov eax, dword [ebp - 0x58]
mov eax, dword [eax + 0x30]
shr eax, 0xc
and eax, 3
test eax, eax
je 0x454d5a
jmp 0x454cdb
add dword [ebp - 0xc], 1
mov eax, dword [ebp + 8]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 0xc]
cmp edx, eax
jbe 0x454d10
mov eax, dword [ebp - 0x58]
lea edx, [eax + 0x64]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ebp - 0xc]
shl eax, 2
add eax, ecx
mov eax, dword [eax]
add eax, 0x64
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.cygwin1.dll_strcmp
test eax, eax
je 0x454cd7
sub dword [ebp - 0xc], 1
cmp dword [ebp - 0x28], 0
jne 0x454eca
cmp dword [ebp - 0x1c], 0
jne 0x454d4e
mov eax, dword [ebp - 0x58]
lea edx, [eax + 0x64]
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x60]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x3c]
mov dword [esp + 8], eax
mov dword [esp + 4], edx
mov eax, dword [ebp - 0x54]
mov dword [esp], eax
call fcn.0045494d
mov dword [ebp - 0x10], 1
jmp 0x454ed4
cmp dword [ebp - 0x1c], 0
jne 0x454ecd
lea eax, [ebp - 0x74]
mov dword [esp + 0x18], eax
lea eax, [ebp - 0x70]
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x6c]
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x68]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x40]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x58]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.0045462e
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x70]
add dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x74]
add dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x5c]
cmp eax, dword [ebp - 0x58]
je 0x454ed0
mov eax, dword [ebp - 0xc]
cdq
mov ecx, dword [ebp - 0x64]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp], ecx
call fcn.0044ec66
cmp dword [ebp - 0x5c], 0
jne 0x454ea6
cmp dword [ebp - 0x24], 0
je 0x454e2a
mov eax, dword [ebp - 0x68]
cmp eax, 0x16
jne 0x454e2a
mov eax, dword [ebp - 0x58]
mov eax, dword [eax + 0x30]
and ah, 0x7f
mov edx, eax
mov eax, dword [ebp - 0x58]
mov dword [eax + 0x30], edx
mov eax, dword [ebp - 0x58]
mov eax, dword [eax + 0x30]
or eax, 0x8000000
mov edx, eax
mov eax, dword [ebp - 0x58]
mov dword [eax + 0x30], edx
mov eax, dword [ebp - 0x58]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.00451e14
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x10]
or eax, 2
mov edx, eax
mov eax, dword [ebp + 8]
mov dword [eax + 0x10], edx
cmp dword [ebp - 0x2c], 0
jne 0x454ed3
mov eax, dword [ebp - 0x68]
cmp eax, 2
jne 0x454e44
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x20], eax
jmp 0x454e73
mov eax, dword [ebp - 0x58]
mov eax, dword [eax + 0x30]
and eax, 0x20000000
test eax, eax
je 0x454e5b
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x20], eax
jmp 0x454e73
mov eax, dword [ebp - 0x6c]
and eax, 0x40
test eax, eax
je 0x454e6d
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x20], eax
jmp 0x454e73
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x58]
lea edx, [eax + 0x64]
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x60]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x3c]
mov dword [esp + 8], eax
mov dword [esp + 4], edx
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call fcn.0045494d
mov dword [ebp - 0x10], 1
jmp 0x454ed4
mov eax, dword [ebp - 0x5c]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.0045203b
jmp 0x454ed4
nop
jmp 0x454ed4
nop
jmp 0x454ed4
nop
jmp 0x454ed4
nop
jmp 0x454ed4
nop
jmp 0x454ed4
nop
jmp 0x454ed4
nop
add dword [ebp - 0xc], 1
mov eax, dword [ebp + 8]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 0xc]
cmp edx, eax
ja 0x454c15
mov eax, dword [ebp - 0x14]
cdq
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x10], str.refresh_sum_lstat
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x5ab47e
mov dword [esp + 4], 0x6b4
mov dword [esp], str.read_cache.c
call fcn.0049ae9e
mov eax, dword [ebp - 0x18]
cdq
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x10], str.refresh_sum_scan
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x5ab47e
mov dword [esp + 4], 0x6b5
mov dword [esp], str.read_cache.c
call fcn.0049ae9e
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], str.refresh
mov dword [esp + 8], 0x5ab47e
mov dword [esp + 4], 0x6b6
mov dword [esp], str.read_cache.c
call fcn.0049ad11
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov edx, 0
mov ecx, dword [ebp - 0x64]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp], ecx
call fcn.0044ec66
lea eax, [ebp - 0x64]
mov dword [esp], eax
call fcn.00451ea5
mov dword [esp], str.GIT_TRACE_PERFORMANCE
call fcn.00451a68
test eax, eax
je 0x454fe7
call fcn.00499831
mov dword [esp + 0x10], str.refresh_index
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 4], 0x6b9
mov dword [esp], str.read_cache.c
call fcn.00499482
mov eax, dword [ebp - 0x10]
add esp, 0x90
pop esi
pop edi
pop ebp
ret