Function at 0x48baa6
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov dword [esp], str.GIT_CEILING_DIRECTORIES
call sub.cygwin1.dll_getenv
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
movzx eax, byte [ebp - 0x2c]
or eax, 1
mov byte [ebp - 0x2c], al
mov dword [ebp - 0x10], 0xffffffff
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov dword [esp], eax
call fcn.004cea94
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x24], 1
mov dword [esp], 0x5af620
call sub.cygwin1.dll_getenv
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x48bb3f
mov eax, dword [ebp - 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call fcn.004896e6
mov eax, 1
jmp 0x48be33
cmp dword [ebp - 0x20], 0
je 0x48bbbb
mov dword [ebp - 0x3c], 0
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], 0x3a
mov eax, dword [ebp - 0x20]
mov dword [esp + 4], eax
lea eax, [ebp - 0x38]
mov dword [esp], eax
call fcn.00496014
lea eax, [ebp - 0x3c]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x48b8e0
mov dword [esp + 4], 0
lea eax, [ebp - 0x38]
mov dword [esp], eax
call fcn.00495acd
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
lea edx, [ebp - 0x38]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0044dd1d
mov dword [ebp - 0x10], eax
mov dword [esp + 4], 0
lea eax, [ebp - 0x38]
mov dword [esp], eax
call fcn.00495bdb
cmp dword [ebp - 0x10], 0
jns 0x48bbca
mov eax, dword [ebp - 0x14]
sub eax, 2
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x14], 0
je 0x48bc14
mov eax, dword [ebp + 8]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 0x14]
cmp edx, eax
jne 0x48bc14
mov eax, dword [ebp + 8]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 0x14]
sub eax, 1
add eax, edx
movzx eax, byte [eax]
movsx eax, al
mov dword [esp], eax
call fcn.004894e8
test eax, eax
jne 0x48bc14
mov dword [esp + 4], 0x2f
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.0048968a
add dword [ebp - 0x14], 1
mov dword [esp + 4], 0
mov dword [esp], str.GIT_DISCOVERY_ACROSS_FILESYSTEM
call fcn.00419cc6
test eax, eax
sete al
movzx eax, al
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x48bc5a
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.0048b86c
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x14]
jle 0x48bc85
mov dword [esp + 4], 0x2f
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.0048968a
mov dword [esp + 4], 0x5af28f
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.004896e6
cmp dword [ebp + 0x10], 0
jne 0x48bca3
lea eax, [ebp - 0x40]
jmp 0x48bca8
mov eax, 0
mov edx, dword [ebp + 8]
mov edx, dword [edx + 8]
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.0048af00
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x48bcfe
cmp dword [ebp + 0x10], 0
jne 0x48bcd1
mov eax, dword [ebp - 0x40]
cmp eax, 2
jne 0x48bcec
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov dword [esp], eax
call fcn.0048a0af
test eax, eax
je 0x48bcfe
mov dword [ebp - 0xc], 0x5af28f
jmp 0x48bcfe
mov eax, dword [ebp - 0x40]
cmp eax, 1
je 0x48bcfe
mov eax, 0xfffffffd
jmp 0x48be33
mov eax, dword [ebp - 0x1c]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.004895f3
cmp dword [ebp - 0xc], 0
je 0x48bd4e
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov dword [esp], eax
call fcn.0048ba46
test eax, eax
jne 0x48bd32
mov eax, 0xfffffffc
jmp 0x48be33
mov eax, dword [ebp - 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call fcn.004896e6
mov eax, 2
jmp 0x48be33
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov dword [esp], eax
call fcn.0048a0af
test eax, eax
je 0x48bd99
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov dword [esp], eax
call fcn.0048ba46
test eax, eax
jne 0x48bd7c
mov eax, 0xfffffffc
jmp 0x48be33
mov dword [esp + 4], 0x5af2fc
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call fcn.004896e6
mov eax, 3
jmp 0x48be33
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x14]
jg 0x48bdab
mov eax, 0xffffffff
jmp 0x48be33
nop
sub dword [ebp - 0x1c], 1
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x10]
jle 0x48bdd5
mov eax, dword [ebp + 8]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 0x1c]
add eax, edx
movzx eax, byte [eax]
movsx eax, al
mov dword [esp], eax
call fcn.004894e8
test eax, eax
je 0x48bdac
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x10]
jg 0x48bde4
mov eax, 0xffffffff
jmp 0x48be33
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
cmp edx, eax
cmovge eax, edx
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.004895f3
cmp dword [ebp - 0x24], 0
je 0x48bc5a
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 0x1c]
mov dword [esp + 8], edx
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.0048b86c
cmp dword [ebp - 0x18], eax
je 0x48bc5a
mov eax, 0xfffffffe
leave
ret