Function at 0x406e99
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd8
call sub.cygcurl_4.dll_curl_easy_init
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x406ebc
mov dword [esp], str.curl_easy_init_failed
call fcn.004ae00f
mov eax, dword [0x59b060]
test eax, eax
jne 0x406f09
mov dword [ebp - 0x20], 0x40
mov eax, dword [ebp - 0x20]
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sub.cygcurl_4.dll_curl_easy_setopt
mov dword [ebp - 0x24], 0x51
mov eax, dword [ebp - 0x24]
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sub.cygcurl_4.dll_curl_easy_setopt
jmp 0x406f4b
mov dword [ebp - 0x18], 0x40
mov eax, dword [ebp - 0x18]
mov dword [esp + 8], 1
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sub.cygcurl_4.dll_curl_easy_setopt
mov dword [ebp - 0x1c], 0x51
mov eax, dword [ebp - 0x1c]
mov dword [esp + 8], 2
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sub.cygcurl_4.dll_curl_easy_setopt
mov eax, dword [0x61e1d0]
test eax, eax
je 0x406f92
mov eax, dword [0x61e1d0]
lea edx, [ebp - 0xb8]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00406e31
test eax, eax
jne 0x406f92
mov dword [ebp - 0x28], 0x54
mov edx, dword [ebp - 0xb8]
mov eax, dword [ebp - 0x28]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sub.cygcurl_4.dll_curl_easy_setopt
mov dword [ebp - 0x2c], 0x33
mov eax, dword [ebp - 0x2c]
mov dword [esp + 8], 1
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sub.cygcurl_4.dll_curl_easy_setopt
mov dword [ebp - 0x30], 0x6b
mov eax, dword [ebp - 0x30]
mov dword [esp + 8], 0xffffffef
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sub.cygcurl_4.dll_curl_easy_setopt
mov eax, dword [0x61e210]
test eax, eax
je 0x407055
mov dword [ebp - 0xc], 0
jmp 0x407032
mov eax, dword [ebp - 0xc]
mov edx, dword [eax*8 + 0x59b128]
mov eax, dword [0x61e210]
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.cygwin1.dll_strcmp
test eax, eax
jne 0x40702e
mov dword [ebp - 0x34], 0xd2
mov eax, dword [ebp - 0xc]
mov edx, dword [eax*8 + 0x59b12c]
mov eax, dword [ebp - 0x34]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sub.cygcurl_4.dll_curl_easy_setopt
jmp 0x40703a
add dword [ebp - 0xc], 1
mov eax, dword [ebp - 0xc]
cmp eax, 2
jbe 0x406fe6
cmp dword [ebp - 0xc], 3
jne 0x407055
mov eax, dword [0x61e210]
mov dword [esp + 4], eax
mov dword [esp], str.Unknown_delegation_method__s:_using_default
call fcn.004ae342
mov eax, dword [0x61e240]
test eax, eax
je 0x4070a1
mov eax, dword [0x61e240]
mov dword [esp + 4], eax
mov dword [esp], str.schannel
call sub.cygwin1.dll_strcmp
test eax, eax
jne 0x4070a1
mov eax, dword [0x59b208]
test eax, eax
jne 0x4070a1
mov dword [ebp - 0x38], 0xd8
mov eax, dword [ebp - 0x38]
mov dword [esp + 8], 2
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sub.cygcurl_4.dll_curl_easy_setopt
mov eax, dword [0x61e220]
test eax, eax
je 0x4070b5
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call fcn.004062b7
mov dword [esp], str.GIT_SSL_VERSION
call sub.cygwin1.dll_getenv
test eax, eax
je 0x4070d6
mov dword [esp], str.GIT_SSL_VERSION
call sub.cygwin1.dll_getenv
mov dword [0x61e1dc], eax
mov eax, dword [0x61e1dc]
test eax, eax
je 0x407167
mov eax, dword [0x61e1dc]
movzx eax, byte [eax]
test al, al
je 0x407167
mov dword [ebp - 0x10], 0
jmp 0x407144
mov eax, dword [ebp - 0x10]
mov edx, dword [eax*8 + 0x59b080]
mov eax, dword [0x61e1dc]
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.cygwin1.dll_strcmp
test eax, eax
jne 0x407140
mov dword [ebp - 0x3c], 0x20
mov eax, dword [ebp - 0x10]
mov edx, dword [eax*8 + 0x59b084]
mov eax, dword [ebp - 0x3c]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sub.cygcurl_4.dll_curl_easy_setopt
jmp 0x40714c
add dword [ebp - 0x10], 1
mov eax, dword [ebp - 0x10]
cmp eax, 6
jbe 0x4070f8
cmp dword [ebp - 0x10], 7
jne 0x407167
mov eax, dword [0x61e1dc]
mov dword [esp + 4], eax
mov dword [esp], str.unsupported_ssl_version__s:_using_default
call fcn.004ae342
mov dword [esp], str.GIT_SSL_CIPHER_LIST
call sub.cygwin1.dll_getenv
test eax, eax
je 0x407188
mov dword [esp], str.GIT_SSL_CIPHER_LIST
call sub.cygwin1.dll_getenv
mov dword [0x61e1d8], eax
mov eax, dword [0x61e1d8]
test eax, eax
je 0x4071c0
mov eax, dword [0x61e1d8]
movzx eax, byte [eax]
test al, al
je 0x4071c0
mov dword [ebp - 0x40], 0x2763
mov edx, dword [0x61e1d8]
mov eax, dword [ebp - 0x40]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sub.cygcurl_4.dll_curl_easy_setopt
mov eax, dword [0x61e1d4]
test eax, eax
je 0x4071ec
mov dword [ebp - 0x44], 0x2729
mov edx, dword [0x61e1d4]
mov eax, dword [ebp - 0x44]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sub.cygcurl_4.dll_curl_easy_setopt
call fcn.004064e7
test eax, eax
je 0x407218
mov dword [ebp - 0x48], 0x272a
mov edx, dword [0x59b1dc]
mov eax, dword [ebp - 0x48]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sub.cygcurl_4.dll_curl_easy_setopt
mov eax, dword [0x61e1e0]
test eax, eax
je 0x407244
mov dword [ebp - 0x4c], 0x2767
mov edx, dword [0x61e1e0]
mov eax, dword [ebp - 0x4c]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sub.cygcurl_4.dll_curl_easy_setopt
mov eax, dword [0x61e1e4]
test eax, eax
je 0x407270
mov dword [ebp - 0x50], 0x2771
mov edx, dword [0x61e1e4]
mov eax, dword [ebp - 0x50]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sub.cygcurl_4.dll_curl_easy_setopt
mov eax, dword [0x61e1ec]
test eax, eax
je 0x40729c
mov dword [ebp - 0x54], 0x27f6
mov edx, dword [0x61e1ec]
mov eax, dword [ebp - 0x54]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sub.cygcurl_4.dll_curl_easy_setopt
mov eax, dword [0x61e240]
test eax, eax
je 0x40730b
mov eax, dword [0x61e240]
mov dword [esp + 4], eax
mov dword [esp], str.schannel
call sub.cygwin1.dll_strcmp
test eax, eax
jne 0x40730b
mov eax, dword [0x61e244]
test eax, eax
jne 0x40730b
mov dword [ebp - 0x58], 0x2751
mov eax, dword [ebp - 0x58]
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sub.cygcurl_4.dll_curl_easy_setopt
mov dword [ebp - 0x5c], 0x2806
mov eax, dword [ebp - 0x5c]
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sub.cygcurl_4.dll_curl_easy_setopt
jmp 0x407375
mov eax, dword [0x61e1f0]
test eax, eax
jne 0x40731d
mov eax, dword [0x61e208]
test eax, eax
je 0x407375
mov eax, dword [0x61e1f0]
test eax, eax
je 0x407349
mov dword [ebp - 0x60], 0x2751
mov edx, dword [0x61e1f0]
mov eax, dword [ebp - 0x60]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sub.cygcurl_4.dll_curl_easy_setopt
mov eax, dword [0x61e208]
test eax, eax
je 0x407375
mov dword [ebp - 0x64], 0x2806
mov edx, dword [0x61e208]
mov eax, dword [ebp - 0x64]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sub.cygcurl_4.dll_curl_easy_setopt
mov eax, dword [0x59b0b8]
test eax, eax
jle 0x4073cd
mov eax, dword [0x59b0bc]
test eax, eax
jle 0x4073cd
mov dword [ebp - 0x68], 0x13
mov edx, dword [0x59b0b8]
mov eax, dword [ebp - 0x68]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sub.cygcurl_4.dll_curl_easy_setopt
mov dword [ebp - 0x6c], 0x14
mov edx, dword [0x59b0bc]
mov eax, dword [ebp - 0x6c]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sub.cygcurl_4.dll_curl_easy_setopt
mov dword [ebp - 0x70], 0x44
mov eax, dword [ebp - 0x70]
mov dword [esp + 8], 0x14
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sub.cygcurl_4.dll_curl_easy_setopt
mov dword [ebp - 0x74], 0xa1
mov eax, dword [ebp - 0x74]
mov dword [esp + 8], 7
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sub.cygcurl_4.dll_curl_easy_setopt
mov dword [ebp - 0x78], 0xb6
mov dword [esp], 0
call fcn.00406db3
mov edx, dword [ebp - 0x78]
mov dword [esp + 8], eax
mov dword [esp + 4], edx
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sub.cygcurl_4.dll_curl_easy_setopt
mov dword [ebp - 0x7c], 0xb5
mov dword [esp], 0xffffffff
call fcn.00406db3
mov edx, dword [ebp - 0x7c]
mov dword [esp + 8], eax
mov dword [esp + 4], edx
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sub.cygcurl_4.dll_curl_easy_setopt
mov dword [esp], str.GIT_CURL_VERBOSE
call sub.cygwin1.dll_getenv
test eax, eax
je 0x407476
call fcn.00406d0e
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call fcn.00406d35
mov dword [esp], str.GIT_TRACE_CURL_NO_DATA
call sub.cygwin1.dll_getenv
test eax, eax
je 0x40749b
mov dword [0x59b04c], 0
mov dword [esp + 4], 1
mov dword [esp], 0x5a21c2
call fcn.004135de
test eax, eax
jne 0x4074bd
mov dword [0x59b050], 0
mov dword [ebp - 0x80], 0x2722
mov eax, dword [0x61e224]
test eax, eax
jne 0x4074d4
call fcn.004aff6a
jmp 0x4074d9
mov eax, dword [0x61e224]
mov edx, dword [ebp - 0x80]
mov dword [esp + 8], eax
mov dword [esp + 4], edx
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sub.cygcurl_4.dll_curl_easy_setopt
mov eax, dword [0x61e1f4]
test eax, eax
je 0x40751f
mov dword [ebp - 0x84], 0x55
mov eax, dword [ebp - 0x84]
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sub.cygcurl_4.dll_curl_easy_setopt
mov eax, dword [0x61e1cc]
test eax, eax
je 0x40754f
mov dword [ebp - 0x88], 0x77
mov eax, dword [ebp - 0x88]
mov dword [esp + 8], 1
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sub.cygcurl_4.dll_curl_easy_setopt
mov eax, dword [0x61e1f8]
test eax, eax
jne 0x407615
mov eax, dword [0x59b1a0]
test eax, eax
je 0x4075b8
mov eax, dword [0x59b1a0]
mov dword [esp + 4], 0x5a20c3
mov dword [esp], eax
call sub.cygwin1.dll_strcmp
test eax, eax
jne 0x4075b8
mov dword [esp], str.HTTPS_PROXY
call sub.cygwin1.dll_getenv
mov dword [esp + 4], eax
mov dword [esp], 0x61e1f8
call fcn.00406355
mov dword [esp], str.https_proxy
call sub.cygwin1.dll_getenv
mov dword [esp + 4], eax
mov dword [esp], 0x61e1f8
call fcn.00406355
jmp 0x4075d4
mov dword [esp], str.http_proxy
call sub.cygwin1.dll_getenv
mov dword [esp + 4], eax
mov dword [esp], 0x61e1f8
call fcn.00406355
mov eax, dword [0x61e1f8]
test eax, eax
jne 0x407615
mov dword [esp], str.ALL_PROXY
call sub.cygwin1.dll_getenv
mov dword [esp + 4], eax
mov dword [esp], 0x61e1f8
call fcn.00406355
mov dword [esp], str.all_proxy
call sub.cygwin1.dll_getenv
mov dword [esp + 4], eax
mov dword [esp], 0x61e1f8
call fcn.00406355
mov eax, dword [0x61e1f8]
test eax, eax
je 0x407656
mov eax, dword [0x61e1f8]
movzx eax, byte [eax]
test al, al
jne 0x407656
mov dword [ebp - 0x8c], 0x2714
mov eax, dword [ebp - 0x8c]
mov dword [esp + 8], 0x5a1c0f
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sub.cygcurl_4.dll_curl_easy_setopt
jmp 0x407994
mov eax, dword [0x61e1f8]
test eax, eax
je 0x407994
mov eax, dword [0x61e1f8]
mov dword [esp + 4], str.socks5h
mov dword [esp], eax
call fcn.0048a6ba
test eax, eax
je 0x4076a8
mov dword [ebp - 0xac], 0x65
mov eax, dword [ebp - 0xac]
mov dword [esp + 8], 7
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sub.cygcurl_4.dll_curl_easy_setopt
jmp 0x407851
mov eax, dword [0x61e1f8]
mov dword [esp + 4], str.socks5
mov dword [esp], eax
call fcn.0048a6ba
test eax, eax
je 0x4076ed
mov dword [ebp - 0xa8], 0x65
mov eax, dword [ebp - 0xa8]
mov dword [esp + 8], 5
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sub.cygcurl_4.dll_curl_easy_setopt
jmp 0x407851
mov eax, dword [0x61e1f8]
mov dword [esp + 4], str.socks4a
mov dword [esp], eax
call fcn.0048a6ba
test eax, eax
je 0x407732
mov dword [ebp - 0xa4], 0x65
mov eax, dword [ebp - 0xa4]
mov dword [esp + 8], 6
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sub.cygcurl_4.dll_curl_easy_setopt
jmp 0x407851
mov eax, dword [0x61e1f8]
mov dword [esp + 4], str.socks
mov dword [esp], eax
call fcn.0048a6ba
test eax, eax
je 0x407777
mov dword [ebp - 0xa0], 0x65
mov eax, dword [ebp - 0xa0]
mov dword [esp + 8], 4
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sub.cygcurl_4.dll_curl_easy_setopt
jmp 0x407851
mov eax, dword [0x61e1f8]
mov dword [esp + 4], 0x5a20c3
mov dword [esp], eax
call fcn.0048a6ba
test eax, eax
je 0x407851
mov dword [ebp - 0x90], 0x65
mov eax, dword [ebp - 0x90]
mov dword [esp + 8], 2
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sub.cygcurl_4.dll_curl_easy_setopt
mov eax, dword [0x61e200]
test eax, eax
je 0x4077ed
mov dword [ebp - 0x94], 0x280e
mov edx, dword [0x61e200]
mov eax, dword [ebp - 0x94]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sub.cygcurl_4.dll_curl_easy_setopt
mov eax, dword [0x61e204]
test eax, eax
je 0x40781f
mov dword [ebp - 0x98], 0x2810
mov edx, dword [0x61e204]
mov eax, dword [ebp - 0x98]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sub.cygcurl_4.dll_curl_easy_setopt
call fcn.00406568
test eax, eax
je 0x407851
mov dword [ebp - 0x9c], 0x2812
mov edx, dword [0x59b0dc]
mov eax, dword [ebp - 0x9c]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sub.cygcurl_4.dll_curl_easy_setopt
mov eax, dword [0x61e1f8]
mov dword [esp + 4], 0x5a2227
mov dword [esp], eax
call sub.cygwin1.dll_strstr
test eax, eax
je 0x407881
mov eax, dword [0x61e1f8]
mov dword [esp + 4], eax
mov dword [esp], 0x59b140
call fcn.0041b051
jmp 0x4078ec
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xbc], 0x62f624
mov eax, dword [0x61e1f8]
mov dword [esp + 8], eax
mov dword [esp + 4], str.http:___s
lea eax, [ebp - 0xc4]
mov dword [esp], eax
call fcn.0048b459
mov eax, dword [ebp - 0xbc]
mov dword [esp + 4], eax
mov dword [esp], 0x59b140
call fcn.0041b051
lea eax, [ebp - 0xc4]
mov dword [esp], eax
call fcn.0048a820
mov eax, dword [0x59b164]
test eax, eax
jne 0x40790a
mov eax, dword [0x61e1f8]
mov dword [esp + 4], eax
mov dword [esp], str.Invalid_proxy_URL__s
call fcn.004ae00f
mov dword [ebp - 0xb0], 0x2714
mov edx, dword [0x59b164]
mov eax, dword [ebp - 0xb0]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sub.cygcurl_4.dll_curl_easy_setopt
mov dword [esp], str.NO_PROXY
call sub.cygwin1.dll_getenv
mov dword [esp + 4], eax
mov dword [esp], 0x61e1e8
call fcn.00406355
mov dword [esp], str.no_proxy
call sub.cygwin1.dll_getenv
mov dword [esp + 4], eax
mov dword [esp], 0x61e1e8
call fcn.00406355
mov dword [ebp - 0xb4], 0x27c1
mov edx, dword [0x61e1e8]
mov eax, dword [ebp - 0xb4]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sub.cygcurl_4.dll_curl_easy_setopt
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call fcn.004063d0
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call fcn.004065e9
mov eax, dword [ebp - 0x14]
leave
ret