Function at 0x4168fc
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0xa4
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x28], 0x61d2e4
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x3c], 0x61d2ec
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [esp + 8], 0x54
mov dword [esp + 4], 0
lea eax, [ebp - 0x90]
mov dword [esp], eax
call sub.cygwin1.dll_memset
mov eax, dword [0x61c360]
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x80], 4
lea eax, [ebp - 0x90]
mov dword [0x61c360], eax
mov dword [esp], 0x5a1a04
call sub.cygwin1.dll_getenv
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x416b4f
mov dword [esp + 8], 0xa
lea eax, [ebp - 0x94]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call sub.cygwin1.dll_strtoul
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x94]
movzx eax, byte [eax]
test al, al
je 0x4169f6
mov dword [esp], str.bogus_count_in__s
call fcn.0041532e
mov dword [esp + 4], 0x5a1a04
mov dword [esp], eax
call fcn.004b5782
call fcn.00414f60
mov dword [ebp - 0xc], eax
jmp 0x416b99
mov eax, dword [ebp - 0x1c]
test eax, eax
jns 0x416a26
mov dword [esp], str.too_many_entries_in__s
call fcn.0041532e
mov dword [esp + 4], 0x5a1a04
mov dword [esp], eax
call fcn.004b5782
call fcn.00414f60
mov dword [ebp - 0xc], eax
jmp 0x416b99
mov dword [ebp - 0x14], 0
jmp 0x416b43
mov eax, dword [ebp - 0x14]
mov dword [esp + 8], eax
mov dword [esp + 4], str.GIT_CONFIG_KEY__d
lea eax, [ebp - 0x30]
mov dword [esp], eax
call fcn.00492911
mov eax, dword [ebp - 0x28]
mov dword [esp + 4], eax
lea eax, [ebp - 0x3c]
mov dword [esp], eax
call fcn.0042a228
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x416a8f
mov ebx, dword [ebp - 0x28]
mov dword [esp], str.missing_config_key__s
call fcn.0041532e
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.004b5782
call fcn.00414f60
mov dword [ebp - 0xc], eax
jmp 0x416b99
mov dword [esp + 4], 0
lea eax, [ebp - 0x30]
mov dword [esp], eax
call fcn.00415151
mov eax, dword [ebp - 0x14]
mov dword [esp + 8], eax
mov dword [esp + 4], str.GIT_CONFIG_VALUE__d
lea eax, [ebp - 0x30]
mov dword [esp], eax
call fcn.00492911
mov eax, dword [ebp - 0x28]
mov dword [esp + 4], eax
lea eax, [ebp - 0x3c]
mov dword [esp], eax
call fcn.0042a228
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x416aff
mov ebx, dword [ebp - 0x28]
mov dword [esp], str.missing_config_value__s
call fcn.0041532e
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.004b5782
call fcn.00414f60
mov dword [ebp - 0xc], eax
jmp 0x416b99
mov dword [esp + 4], 0
lea eax, [ebp - 0x30]
mov dword [esp], eax
call fcn.00415151
mov eax, dword [ebp + 0xc]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 8]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x24]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call fcn.00416524
test eax, eax
jns 0x416b3f
mov dword [ebp - 0xc], 0xffffffff
jmp 0x416b99
add dword [ebp - 0x14], 1
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x1c], eax
ja 0x416a32
mov dword [esp], 0x5a18a8
call sub.cygwin1.dll_getenv
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x416b98
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call fcn.004ba79d
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 8], eax
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call fcn.004166ee
test eax, eax
jns 0x416b98
mov dword [ebp - 0xc], 0xffffffff
jmp 0x416b99
nop
lea eax, [ebp - 0x30]
mov dword [esp], eax
call fcn.00491cd8
lea eax, [ebp - 0x3c]
mov dword [esp], eax
call fcn.0049651f
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call sub.cygwin1.dll_free
mov eax, dword [ebp - 0x90]
mov dword [0x61c360], eax
mov eax, dword [ebp - 0xc]
mov ebx, dword [ebp - 4]
leave
ret