Function at 0x410214
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], 0x62f624
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x3c], 0x62f62c
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 [0x61e27c]
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x80], 4
lea eax, [ebp - 0x90]
mov dword [0x61e27c], eax
mov dword [esp], 0x5a3324
call sub.cygwin1.dll_getenv
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x410467
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 0x41030e
mov dword [esp], str.bogus_count_in__s
call fcn.0040ec46
mov dword [esp + 4], 0x5a3324
mov dword [esp], eax
call fcn.004ae2ca
call fcn.0040e878
mov dword [ebp - 0xc], eax
jmp 0x4104b1
mov eax, dword [ebp - 0x1c]
test eax, eax
jns 0x41033e
mov dword [esp], str.too_many_entries_in__s
call fcn.0040ec46
mov dword [esp + 4], 0x5a3324
mov dword [esp], eax
call fcn.004ae2ca
call fcn.0040e878
mov dword [ebp - 0xc], eax
jmp 0x4104b1
mov dword [ebp - 0x14], 0
jmp 0x41045b
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.0048b459
mov eax, dword [ebp - 0x28]
mov dword [esp + 4], eax
lea eax, [ebp - 0x3c]
mov dword [esp], eax
call fcn.004268e4
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x4103a7
mov ebx, dword [ebp - 0x28]
mov dword [esp], str.missing_config_key__s
call fcn.0040ec46
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.004ae2ca
call fcn.0040e878
mov dword [ebp - 0xc], eax
jmp 0x4104b1
mov dword [esp + 4], 0
lea eax, [ebp - 0x30]
mov dword [esp], eax
call fcn.0040ea69
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.0048b459
mov eax, dword [ebp - 0x28]
mov dword [esp + 4], eax
lea eax, [ebp - 0x3c]
mov dword [esp], eax
call fcn.004268e4
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x410417
mov ebx, dword [ebp - 0x28]
mov dword [esp], str.missing_config_value__s
call fcn.0040ec46
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.004ae2ca
call fcn.0040e878
mov dword [ebp - 0xc], eax
jmp 0x4104b1
mov dword [esp + 4], 0
lea eax, [ebp - 0x30]
mov dword [esp], eax
call fcn.0040ea69
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.0040fe3c
test eax, eax
jns 0x410457
mov dword [ebp - 0xc], 0xffffffff
jmp 0x4104b1
add dword [ebp - 0x14], 1
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x1c], eax
ja 0x41034a
mov dword [esp], 0x5a31c8
call sub.cygwin1.dll_getenv
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4104b0
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call fcn.004b4201
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.00410006
test eax, eax
jns 0x4104b0
mov dword [ebp - 0xc], 0xffffffff
jmp 0x4104b1
nop
lea eax, [ebp - 0x30]
mov dword [esp], eax
call fcn.0048a820
lea eax, [ebp - 0x3c]
mov dword [esp], eax
call fcn.0048f067
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call sub.cygwin1.dll_free
mov eax, dword [ebp - 0x90]
mov dword [0x61e27c], eax
mov eax, dword [ebp - 0xc]
mov ebx, dword [ebp - 4]
leave
ret