Function at 0x402e41
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 0x402e64
mov dword [esp], str.curl_easy_init_failed
call fcn.004b54c7
mov eax, dword [0x599040]
test eax, eax
jne 0x402eb1
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 0x402ef3
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 [0x61c150]
test eax, eax
je 0x402f3a
mov eax, dword [0x61c150]
lea edx, [ebp - 0xb8]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00402dd9
test eax, eax
jne 0x402f3a
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 [0x61c190]
test eax, eax
je 0x402ffd
mov dword [ebp - 0xc], 0
jmp 0x402fda
mov eax, dword [ebp - 0xc]
mov edx, dword [eax*8 + 0x599108]
mov eax, dword [0x61c190]
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.cygwin1.dll_strcmp
test eax, eax
jne 0x402fd6
mov dword [ebp - 0x34], 0xd2
mov eax, dword [ebp - 0xc]
mov edx, dword [eax*8 + 0x59910c]
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 0x402fe2
add dword [ebp - 0xc], 1
mov eax, dword [ebp - 0xc]
cmp eax, 2
jbe 0x402f8e
cmp dword [ebp - 0xc], 3
jne 0x402ffd
mov eax, dword [0x61c190]
mov dword [esp + 4], eax
mov dword [esp], str.Unknown_delegation_method__s:_using_default
call fcn.004b57fa
mov eax, dword [0x61c1c0]
test eax, eax
je 0x403049
mov eax, dword [0x61c1c0]
mov dword [esp + 4], eax
mov dword [esp], str.schannel
call sub.cygwin1.dll_strcmp
test eax, eax
jne 0x403049
mov eax, dword [0x5991e8]
test eax, eax
jne 0x403049
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 [0x61c1a0]
test eax, eax
je 0x40305d
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call fcn.0040225f
mov dword [esp], str.GIT_SSL_VERSION
call sub.cygwin1.dll_getenv
test eax, eax
je 0x40307e
mov dword [esp], str.GIT_SSL_VERSION
call sub.cygwin1.dll_getenv
mov dword [0x61c15c], eax
mov eax, dword [0x61c15c]
test eax, eax
je 0x40310f
mov eax, dword [0x61c15c]
movzx eax, byte [eax]
test al, al
je 0x40310f
mov dword [ebp - 0x10], 0
jmp 0x4030ec
mov eax, dword [ebp - 0x10]
mov edx, dword [eax*8 + 0x599060]
mov eax, dword [0x61c15c]
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.cygwin1.dll_strcmp
test eax, eax
jne 0x4030e8
mov dword [ebp - 0x3c], 0x20
mov eax, dword [ebp - 0x10]
mov edx, dword [eax*8 + 0x599064]
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 0x4030f4
add dword [ebp - 0x10], 1
mov eax, dword [ebp - 0x10]
cmp eax, 6
jbe 0x4030a0
cmp dword [ebp - 0x10], 7
jne 0x40310f
mov eax, dword [0x61c15c]
mov dword [esp + 4], eax
mov dword [esp], str.unsupported_ssl_version__s:_using_default
call fcn.004b57fa
mov dword [esp], str.GIT_SSL_CIPHER_LIST
call sub.cygwin1.dll_getenv
test eax, eax
je 0x403130
mov dword [esp], str.GIT_SSL_CIPHER_LIST
call sub.cygwin1.dll_getenv
mov dword [0x61c158], eax
mov eax, dword [0x61c158]
test eax, eax
je 0x403168
mov eax, dword [0x61c158]
movzx eax, byte [eax]
test al, al
je 0x403168
mov dword [ebp - 0x40], 0x2763
mov edx, dword [0x61c158]
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 [0x61c154]
test eax, eax
je 0x403194
mov dword [ebp - 0x44], 0x2729
mov edx, dword [0x61c154]
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.0040248f
test eax, eax
je 0x4031c0
mov dword [ebp - 0x48], 0x272a
mov edx, dword [0x5991bc]
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 [0x61c160]
test eax, eax
je 0x4031ec
mov dword [ebp - 0x4c], 0x2767
mov edx, dword [0x61c160]
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 [0x61c164]
test eax, eax
je 0x403218
mov dword [ebp - 0x50], 0x2771
mov edx, dword [0x61c164]
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 [0x61c16c]
test eax, eax
je 0x403244
mov dword [ebp - 0x54], 0x27f6
mov edx, dword [0x61c16c]
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 [0x61c1c0]
test eax, eax
je 0x4032b3
mov eax, dword [0x61c1c0]
mov dword [esp + 4], eax
mov dword [esp], str.schannel
call sub.cygwin1.dll_strcmp
test eax, eax
jne 0x4032b3
mov eax, dword [0x61c1c4]
test eax, eax
jne 0x4032b3
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 0x40331d
mov eax, dword [0x61c170]
test eax, eax
jne 0x4032c5
mov eax, dword [0x61c188]
test eax, eax
je 0x40331d
mov eax, dword [0x61c170]
test eax, eax
je 0x4032f1
mov dword [ebp - 0x60], 0x2751
mov edx, dword [0x61c170]
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 [0x61c188]
test eax, eax
je 0x40331d
mov dword [ebp - 0x64], 0x2806
mov edx, dword [0x61c188]
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 [0x599098]
test eax, eax
jle 0x403375
mov eax, dword [0x59909c]
test eax, eax
jle 0x403375
mov dword [ebp - 0x68], 0x13
mov edx, dword [0x599098]
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 [0x59909c]
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.00402d5b
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.00402d5b
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 0x40341e
call fcn.00402cb6
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call fcn.00402cdd
mov dword [esp], str.GIT_TRACE_CURL_NO_DATA
call sub.cygwin1.dll_getenv
test eax, eax
je 0x403443
mov dword [0x59902c], 0
mov dword [esp + 4], 1
mov dword [esp], 0x59f64a
call fcn.00419cc6
test eax, eax
jne 0x403465
mov dword [0x599030], 0
mov dword [ebp - 0x80], 0x2722
mov eax, dword [0x61c1a4]
test eax, eax
jne 0x40347c
call fcn.004b7422
jmp 0x403481
mov eax, dword [0x61c1a4]
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 [0x61c174]
test eax, eax
je 0x4034c7
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 [0x61c14c]
test eax, eax
je 0x4034f7
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 [0x61c178]
test eax, eax
jne 0x4035bd
mov eax, dword [0x599180]
test eax, eax
je 0x403560
mov eax, dword [0x599180]
mov dword [esp + 4], 0x59f54b
mov dword [esp], eax
call sub.cygwin1.dll_strcmp
test eax, eax
jne 0x403560
mov dword [esp], str.HTTPS_PROXY
call sub.cygwin1.dll_getenv
mov dword [esp + 4], eax
mov dword [esp], 0x61c178
call fcn.004022fd
mov dword [esp], str.https_proxy
call sub.cygwin1.dll_getenv
mov dword [esp + 4], eax
mov dword [esp], 0x61c178
call fcn.004022fd
jmp 0x40357c
mov dword [esp], str.http_proxy
call sub.cygwin1.dll_getenv
mov dword [esp + 4], eax
mov dword [esp], 0x61c178
call fcn.004022fd
mov eax, dword [0x61c178]
test eax, eax
jne 0x4035bd
mov dword [esp], str.ALL_PROXY
call sub.cygwin1.dll_getenv
mov dword [esp + 4], eax
mov dword [esp], 0x61c178
call fcn.004022fd
mov dword [esp], str.all_proxy
call sub.cygwin1.dll_getenv
mov dword [esp + 4], eax
mov dword [esp], 0x61c178
call fcn.004022fd
mov eax, dword [0x61c178]
test eax, eax
je 0x4035fe
mov eax, dword [0x61c178]
movzx eax, byte [eax]
test al, al
jne 0x4035fe
mov dword [ebp - 0x8c], 0x2714
mov eax, dword [ebp - 0x8c]
mov dword [esp + 8], 0x59f097
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sub.cygcurl_4.dll_curl_easy_setopt
jmp 0x40393c
mov eax, dword [0x61c178]
test eax, eax
je 0x40393c
mov eax, dword [0x61c178]
mov dword [esp + 4], str.socks5h
mov dword [esp], eax
call fcn.00491b72
test eax, eax
je 0x403650
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 0x4037f9
mov eax, dword [0x61c178]
mov dword [esp + 4], str.socks5
mov dword [esp], eax
call fcn.00491b72
test eax, eax
je 0x403695
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 0x4037f9
mov eax, dword [0x61c178]
mov dword [esp + 4], str.socks4a
mov dword [esp], eax
call fcn.00491b72
test eax, eax
je 0x4036da
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 0x4037f9
mov eax, dword [0x61c178]
mov dword [esp + 4], str.socks
mov dword [esp], eax
call fcn.00491b72
test eax, eax
je 0x40371f
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 0x4037f9
mov eax, dword [0x61c178]
mov dword [esp + 4], 0x59f54b
mov dword [esp], eax
call fcn.00491b72
test eax, eax
je 0x4037f9
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 [0x61c180]
test eax, eax
je 0x403795
mov dword [ebp - 0x94], 0x280e
mov edx, dword [0x61c180]
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 [0x61c184]
test eax, eax
je 0x4037c7
mov dword [ebp - 0x98], 0x2810
mov edx, dword [0x61c184]
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.00402510
test eax, eax
je 0x4037f9
mov dword [ebp - 0x9c], 0x2812
mov edx, dword [0x5990bc]
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 [0x61c178]
mov dword [esp + 4], 0x59f6af
mov dword [esp], eax
call sub.cygwin1.dll_strstr
test eax, eax
je 0x403829
mov eax, dword [0x61c178]
mov dword [esp + 4], eax
mov dword [esp], 0x599120
call fcn.0041e995
jmp 0x403894
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xbc], 0x61d2e4
mov eax, dword [0x61c178]
mov dword [esp + 8], eax
mov dword [esp + 4], str.http:___s
lea eax, [ebp - 0xc4]
mov dword [esp], eax
call fcn.00492911
mov eax, dword [ebp - 0xbc]
mov dword [esp + 4], eax
mov dword [esp], 0x599120
call fcn.0041e995
lea eax, [ebp - 0xc4]
mov dword [esp], eax
call fcn.00491cd8
mov eax, dword [0x599144]
test eax, eax
jne 0x4038b2
mov eax, dword [0x61c178]
mov dword [esp + 4], eax
mov dword [esp], str.Invalid_proxy_URL__s
call fcn.004b54c7
mov dword [ebp - 0xb0], 0x2714
mov edx, dword [0x599144]
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], 0x61c168
call fcn.004022fd
mov dword [esp], str.no_proxy
call sub.cygwin1.dll_getenv
mov dword [esp + 4], eax
mov dword [esp], 0x61c168
call fcn.004022fd
mov dword [ebp - 0xb4], 0x27c1
mov edx, dword [0x61c168]
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.00402378
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call fcn.00402591
mov eax, dword [ebp - 0x14]
leave
ret