Function at 0x41ce10
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x4c
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
test eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
je 0x41d3ac
mov edx, dword [ebp + 8]
mov dword [esp], edx
call fcn.00422880
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x41ce5e
mov eax, dword [ebp + 0x10]
mov dword [eax], 0
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x41ce6e
mov edx, dword [ebp + 0xc]
mov dword [edx], 0
lea eax, [ebp - 0x14]
mov dword [esp + 4], eax
mov edx, dword [ebp - 0x24]
mov dword [esp], edx
call fcn.0041f6e0
test eax, eax
mov esi, eax
je 0x41d45e
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x41d3be
lea esi, [esi]
lea edi, [edi]
mov dword [ebp - 0x20], 0
mov eax, dword [0x438a98]
xor edi, edi
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
test eax, eax
je 0x41cf00
mov eax, dword [0x438aac]
mov edx, dword [esi + 8]
test eax, eax
je 0x41cedc
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0040d420
test eax, eax
jne 0x41cf00
mov eax, dword [esi + 4]
cmp eax, 1
je 0x41d1ed
jb 0x41d023
cmp eax, 2
je 0x41d100
mov esi, esi
lea edi, [edi]
mov eax, dword [esi + 4]
cmp eax, 1
jbe 0x41cf1b
test edi, edi
je 0x41d120
mov edx, dword [edi + 4]
test edx, edx
jne 0x41d120
mov dword [esp + 0x14], edi
mov edx, dword [ebp + 0x18]
mov dword [esp + 0x10], edx
mov eax, dword [ebp + 0x14]
mov dword [esp], esi
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x18]
mov dword [esp + 8], eax
lea eax, [ebp - 0x1c]
mov dword [esp + 4], eax
call fcn.00413320
mov dword [ebp - 0x20], eax
test edi, edi
je 0x41cf52
mov dword [esp], edi
call fcn.0041e780
cmp dword [ebp - 0x20], 6
jne 0x41d216
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x41d1b0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x41d1e0
mov eax, dword [ebp - 0x1c]
mov dword [esp + 4], eax
mov edx, dword [ebp - 0x24]
mov dword [esp], edx
call fcn.0041ef80
mov ebx, eax
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call fcn.004228c0
mov dword [ebp - 0x1c], ebx
lea eax, [ebp - 0x14]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.0041f6e0
test eax, eax
mov ebx, eax
je 0x41d27a
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call fcn.004228c0
mov eax, dword [ebx]
mov dword [esp], eax
call fcn.00422880
inc dword [ebp - 0x28]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x28], 0x14
jg 0x41d2e7
mov edx, dword [ebp - 0x24]
mov dword [esp], edx
call fcn.004228c0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
mov dword [esp], esi
mov esi, ebx
call fcn.0041e780
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x41cea0
mov dword [ebp - 0x2c], 1
mov eax, dword [0x438b9c]
mov edx, dword [0x438b98]
mov dword [ebp - 0x34], eax
xor eax, eax
mov dword [0x438b98], eax
xor eax, eax
mov dword [ebp - 0x30], edx
mov dword [0x438b9c], eax
jmp 0x41cea0
mov ebx, dword [0x438aa0]
test ebx, ebx
je 0x41d3cb
cmp byte [ebx], 0
je 0x41cf00
mov dword [esp], ebx
call fcn.0041e410
test eax, eax
je 0x41d06b
mov dword [esp + 4], eax
mov ebx, 0x400
mov dword [esp + 8], ebx
mov ebx, 0x4382f0
mov dword [esp], 0x4382f0
call sub.cygwin1.dll_strncpy
mov byte [0x4386ef], 0
mov dword [ebp - 0x38], ebx
test ebx, ebx
je 0x41cf00
mov dword [esp], ebx
lea edx, [ebp - 0x14]
mov dword [esp + 4], edx
call fcn.0041f6e0
test eax, eax
mov edi, eax
je 0x41d425
mov edx, dword [eax + 4]
test edx, edx
je 0x41cf00
mov eax, dword [esi + 4]
cmp edx, eax
je 0x41cf03
mov dword [esp], str.Error_in_proxy_URL__s:_Must_be_HTTP._n
call sub.cygintl_8.dll_libintl_gettext
mov edx, dword [ebp - 0x38]
mov dword [esp + 4], eax
mov dword [esp], 1
mov dword [esp + 8], edx
call fcn.00417550
mov dword [esp], edi
call fcn.0041e780
mov eax, dword [ebp - 0x24]
mov dword [esp], eax
call fcn.004228c0
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x41d0f3
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x34]
mov dword [0x438b98], edx
mov dword [0x438b9c], eax
mov eax, 0x31
jmp 0x41d272
mov ebx, dword [0x438aa4]
test ebx, ebx
jne 0x41d031
mov dword [esp], str.ftp_proxy
jmp 0x41d202
cmp eax, 2
jne 0x41cf46
mov eax, dword [ebp - 0x28]
mov edx, dword [0x438a80]
mov ebx, dword [0x4389f8]
test eax, eax
mov dword [ebp - 0x3c], edx
je 0x41d14d
xor eax, eax
mov dword [0x438a80], eax
xor eax, eax
mov dword [0x4389f8], eax
mov dword [esp + 8], edi
mov eax, dword [ebp + 0x18]
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.00408db0
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x3c]
mov dword [0x4389f8], ebx
test eax, eax
mov dword [0x438a80], edx
je 0x41cf46
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x41cf46
cmp dword [esi + 4], 2
jne 0x41cf46
mov dword [esp], eax
call fcn.00421500
test eax, eax
je 0x41cf46
mov eax, dword [ebp + 0x18]
or dword [eax], 1
jmp 0x41cf46
mov dword [esp], str._home_eblake_wget_1.10.2_2_src_wget_1.10.2_src_retr.c
mov eax, str.mynewloc___NULL
mov edi, 0x2c1
mov dword [esp + 8], eax
mov dword [esp + 4], edi
call sub.cygwin1.dll___assert
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x41cf72
lea esi, [esi]
mov dword [esp], eax
call fcn.004228c0
jmp 0x41cf72
mov ebx, dword [0x438aa8]
test ebx, ebx
jne 0x41d031
mov dword [esp], str.https_proxy
call sub.cygwin1.dll_getenv
test eax, eax
mov ebx, eax
jne 0x41d031
jmp 0x41cf00
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x41d357
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x41d3f7
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov dword [esp], esi
call fcn.0041e780
mov esi, dword [ebp - 0x28]
test esi, esi
je 0x41d3d7
mov ebx, dword [ebp + 0x10]
test ebx, ebx
je 0x41d3e7
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp + 0x10]
mov dword [eax], edx
mov edx, dword [ebp - 0x2c]
test edx, edx
je 0x41d26f
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x34]
mov dword [0x438b98], edx
mov dword [0x438b9c], eax
mov eax, dword [ebp - 0x20]
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call fcn.0041e550
mov ebx, eax
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call fcn.004172d0
mov dword [esp + 0xc], ebx
mov ebx, str._s:__s._n
mov dword [esp + 8], eax
mov dword [esp + 4], ebx
mov dword [esp], 1
call fcn.00417550
mov dword [esp], esi
call fcn.0041e780
mov edx, dword [ebp - 0x24]
mov dword [esp], edx
call fcn.004228c0
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call fcn.004228c0
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x41d26f
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x34]
mov dword [0x438b98], eax
mov dword [0x438b9c], edx
jmp 0x41d26f
mov dword [esp], str._d_redirections_exceeded._n
call sub.cygintl_8.dll_libintl_gettext
mov dword [esp + 4], eax
mov edx, 0x14
mov dword [esp + 8], edx
mov dword [esp], 1
call fcn.00417550
mov dword [esp], ebx
call fcn.0041e780
mov dword [esp], esi
call fcn.0041e780
mov eax, dword [ebp - 0x24]
mov dword [esp], eax
call fcn.004228c0
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call fcn.004228c0
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x41d34a
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x34]
mov dword [0x438b98], edx
mov dword [0x438b9c], eax
add esp, 0x4c
mov eax, 0x22
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, dword [ebp + 0x18]
test byte [edx], 2
je 0x41d221
mov dword [esp + 4], eax
mov eax, dword [esi]
mov dword [esp], eax
call fcn.00402860
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x41d39c
mov ebx, dword [esi]
mov dword [esp + 4], ebx
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.cygwin1.dll_strcmp
test eax, eax
je 0x41d39c
mov dword [esp + 4], ebx
mov edx, dword [ebp + 8]
mov dword [esp], edx
call fcn.00402a90
mov eax, dword [ebp + 0x18]
test byte [eax], 1
jne 0x41d40c
mov eax, dword [ebp - 0x18]
jmp 0x41d221
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
mov dword [ebp + 0x18], eax
jmp 0x41ce40
mov eax, dword [0x438b28]
mov dword [ebp + 0x14], eax
jmp 0x41cea0
mov dword [esp], str.http_proxy
jmp 0x41d202
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x41d3e7
mov edx, dword [ebp + 0x10]
mov dword [edx], 0
mov eax, dword [ebp - 0x24]
mov dword [esp], eax
call fcn.004228c0
jmp 0x41d257
test eax, eax
je 0x41d231
mov dword [esp], eax
call fcn.004228c0
jmp 0x41d231
mov eax, dword [ebp - 0x18]
mov dword [esp + 4], eax
mov eax, dword [esi]
mov dword [esp], eax
call fcn.00402c50
mov eax, dword [ebp - 0x18]
jmp 0x41d221
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call fcn.0041e550
mov dword [esp], str.Error_parsing_proxy_URL__s:__s._n
mov ebx, eax
call sub.cygintl_8.dll_libintl_gettext
mov dword [esp + 0xc], ebx
mov edx, dword [ebp - 0x38]
mov dword [esp + 4], eax
mov dword [esp], 1
mov dword [esp + 8], edx
call fcn.00417550
jmp 0x41d0d0
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call fcn.0041e550
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x24]
mov dword [esp], 1
mov dword [esp + 8], eax
mov eax, str._s:__s._n
mov dword [esp + 4], eax
call fcn.00417550
mov edx, dword [ebp - 0x24]
mov dword [esp], edx
call fcn.004228c0
mov eax, 0x17
jmp 0x41d272