Function at 0x45be83
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 0x45bf1a
mov edx, 0x11
jmp 0x45bf1f
mov edx, 0x10
cmp dword [ebp - 0x30], 0
je 0x45bf2c
mov eax, 8
jmp 0x45bf31
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 0x45bf91
mov dword [esp], 2
call sub.cygwin1.dll_isatty
test eax, eax
je 0x45bf91
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov esi, eax
mov edi, 0
mov dword [esp], str.Refresh_index
call fcn.00458e80
mov dword [esp + 4], esi
mov dword [esp + 8], edi
mov dword [esp], eax
call fcn.004564c5
mov dword [ebp - 0x64], eax
call fcn.004a06cf
cmp dword [ebp - 0x3c], 0
je 0x45bfa3
mov eax, str.M_t_s_n
jmp 0x45bfa8
mov eax, str._s:_needs_update_n
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x3c], 0
je 0x45bfb8
mov eax, str.D_t_s_n
jmp 0x45bfbd
mov eax, str._s:_needs_update_n
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x3c], 0
je 0x45bfcd
mov eax, str.T_t_s_n
jmp 0x45bfd2
mov eax, str._s:_needs_update_n
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x3c], 0
je 0x45bfe2
mov eax, str.A_t_s_n
jmp 0x45bfe7
mov eax, str._s:_needs_update_n
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x3c], 0
je 0x45bff7
mov eax, str.U_t_s_n
jmp 0x45bffc
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.00555a47
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], str.refresh
mov dword [esp + 8], 0x5a9b3e
mov dword [esp + 4], 0x662
mov dword [esp], str.read_cache.c
call fcn.004a2029
mov dword [ebp - 0xc], 0
jmp 0x45c314
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 0x45c0a2
mov eax, dword [ebp - 0x58]
mov eax, dword [eax + 0x2c]
and eax, 0xf000
cmp eax, 0xe000
je 0x45c2fd
cmp dword [ebp - 0x38], 0
je 0x45c0bb
mov eax, dword [ebp - 0x58]
mov eax, dword [eax + 0x30]
and eax, 0x40000000
test eax, eax
jne 0x45c300
mov eax, dword [ebp - 0x58]
mov eax, dword [eax + 0x2c]
cmp eax, 0x4000
je 0x45c303
cmp dword [ebp + 0x10], 0
je 0x45c0fd
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.004590ec
test eax, eax
jne 0x45c0fd
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 0x45c196
jmp 0x45c117
add dword [ebp - 0xc], 1
mov eax, dword [ebp + 8]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 0xc]
cmp edx, eax
jbe 0x45c14c
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 0x45c113
sub dword [ebp - 0xc], 1
cmp dword [ebp - 0x28], 0
jne 0x45c306
cmp dword [ebp - 0x1c], 0
jne 0x45c18a
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.0045bd89
mov dword [ebp - 0x10], 1
jmp 0x45c310
cmp dword [ebp - 0x1c], 0
jne 0x45c309
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.0045ba6a
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 0x45c30c
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.00456376
cmp dword [ebp - 0x5c], 0
jne 0x45c2e2
cmp dword [ebp - 0x24], 0
je 0x45c266
mov eax, dword [ebp - 0x68]
cmp eax, 0x16
jne 0x45c266
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.00459250
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 0x45c30f
mov eax, dword [ebp - 0x68]
cmp eax, 2
jne 0x45c280
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x20], eax
jmp 0x45c2af
mov eax, dword [ebp - 0x58]
mov eax, dword [eax + 0x30]
and eax, 0x20000000
test eax, eax
je 0x45c297
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x20], eax
jmp 0x45c2af
mov eax, dword [ebp - 0x6c]
and eax, 0x40
test eax, eax
je 0x45c2a9
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x20], eax
jmp 0x45c2af
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.0045bd89
mov dword [ebp - 0x10], 1
jmp 0x45c310
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.00459477
jmp 0x45c310
nop
jmp 0x45c310
nop
jmp 0x45c310
nop
jmp 0x45c310
nop
jmp 0x45c310
nop
jmp 0x45c310
nop
jmp 0x45c310
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 0x45c051
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], 0x5a9b3e
mov dword [esp + 4], 0x6b4
mov dword [esp], str.read_cache.c
call fcn.004a2356
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], 0x5a9b3e
mov dword [esp + 4], 0x6b5
mov dword [esp], str.read_cache.c
call fcn.004a2356
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], str.refresh
mov dword [esp + 8], 0x5a9b3e
mov dword [esp + 4], 0x6b6
mov dword [esp], str.read_cache.c
call fcn.004a21c9
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.00456376
lea eax, [ebp - 0x64]
mov dword [esp], eax
call fcn.004592e1
mov dword [esp], str.GIT_TRACE_PERFORMANCE
call fcn.00458ea4
test eax, eax
je 0x45c423
call fcn.004a0ce9
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.004a093a
mov eax, dword [ebp - 0x10]
add esp, 0x90
pop esi
pop edi
pop ebp
ret