Function at 0x415210
Capabilities:
Query environment variable
Terminate process

Disassembly:
push ebp
mov eax, 0x1d8
mov ebp, esp
push edi
mov edi, 1
push esi
mov esi, 1
push ebx
sub esp, 0x1c
mov dword [ebp - 0x10], 1
mov ebx, 1
mov dword [esp + 8], eax
xor eax, eax
mov dword [esp + 4], eax
mov dword [esp], 0x4389e0
call sub.cygwin1.dll_memset
mov dword [0x438a18], edi
mov eax, 1
mov ecx, 1
mov dword [0x438b88], eax
mov eax, 0xffffffff
mov edx, 1
mov dword [0x4389e0], eax
mov eax, 0x14
mov dword [0x4389e8], eax
mov eax, 5
mov dword [0x438a08], eax
mov eax, 1
mov dword [0x438a7c], esi
mov dword [0x438a80], ebx
mov dword [0x438b34], ecx
mov dword [0x438a94], edx
mov dword [0x438a98], eax
mov dword [esp], str.no_proxy
call sub.cygwin1.dll_getenv
test eax, eax
je 0x4152c1
mov dword [esp], eax
call fcn.00420030
mov dword [0x438aac], eax
mov dword [esp], str._etc_wgetrc
mov eax, 1
xor esi, esi
mov dword [0x438a9c], eax
xor eax, eax
mov ecx, 0x32
mov dword [0x438ac0], eax
mov eax, 0x408c2000
mov edx, 1
mov dword [0x438ac4], eax
mov eax, 1
mov edi, 0x400
mov dword [0x438af0], eax
mov eax, 1
mov ebx, 0xa
mov dword [0x438b30], eax
mov eax, 1
mov dword [0x438a84], eax
mov eax, 1
mov dword [0x438b64], eax
mov eax, 1
mov dword [0x438ba0], eax
mov eax, 1
mov dword [0x438b40], edi
mov dword [0x438b44], esi
mov dword [0x438b4c], ebx
mov dword [0x438b48], ecx
mov dword [0x438a50], edx
mov dword [0x438ba4], eax
call fcn.00420470
test eax, eax
jne 0x415400
mov dword [esp], str.WGETRC
call sub.cygwin1.dll_getenv
test eax, eax
mov esi, eax
je 0x41537b
cmp byte [eax], 0
jne 0x415415
call fcn.00414d20
test eax, eax
mov ebx, eax
je 0x4153f3
mov dword [esp + 4], eax
mov dword [esp], str._s_.wgetrc
call fcn.00420120
mov dword [esp], ebx
mov esi, eax
call fcn.004228c0
test esi, esi
je 0x4153f3
mov dword [esp], esi
call fcn.00420470
mov dword [ebp - 0x14], esi
test eax, eax
je 0x415468
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x4153f3
cld
mov esi, dword [ebp - 0x14]
mov eax, str._etc_wgetrc
mov ecx, 0xc
mov edi, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x415430
mov eax, dword [ebp - 0x14]
call fcn.00414ff0
and dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x415472
mov edi, dword [ebp - 0x14]
mov dword [esp], edi
call fcn.004228c0
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, str._etc_wgetrc
call fcn.00414ff0
and eax, 1
mov dword [ebp - 0x10], eax
jmp 0x415360
mov dword [esp], eax
call fcn.00420470
test eax, eax
je 0x41547e
mov dword [esp], esi
call fcn.00422880
mov dword [ebp - 0x14], eax
jmp 0x4153b7
mov dword [esp], str._s:_Warning:_Both_system_and_user_wgetrc_point_to___s._n
call sub.cygintl_8.dll_libintl_gettext
mov ebx, eax
call sub.cygwin1.dll___getreent
mov dword [esp + 4], ebx
mov edx, dword [ebp - 0x14]
mov dword [esp + 0xc], edx
mov edx, dword [0x4389d0]
mov dword [esp + 8], edx
mov eax, dword [eax + 0xc]
mov dword [esp], eax
call sub.cygwin1.dll_fprintf
jmp 0x4153dd
mov dword [esp], esi
call fcn.004228c0
jmp 0x4153f3
mov dword [esp], 2
call sub.cygwin1.dll_exit
mov dword [esp], str._s:_WGETRC_points_to__s__which_doesnt_exist._n
call sub.cygintl_8.dll_libintl_gettext
mov ebx, eax
call sub.cygwin1.dll___getreent
mov dword [esp + 0xc], esi
mov edx, dword [0x4389d0]
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov eax, dword [eax + 0xc]
mov dword [esp], eax
call sub.cygwin1.dll_fprintf
mov dword [esp], 1
call sub.cygwin1.dll_exit
lea esi, [esi]