Function at 0x411b50
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x42c
mov edx, dword [0x423d34]
mov ebx, dword [ebp + 8]
mov eax, dword [edx + 8]
mov dword [esp], eax
call sub.msys_1.0.dll_fflush
test eax, eax
jne 0x411cec
test ebx, ebx
je 0x411db3
lea esi, [ebp - 0x420]
mov dword [esp], esi
call fcn.00415a40
test eax, eax
js 0x411d6b
call sub.msys_1.0.dll_fork
test eax, eax
mov esi, eax
jl 0x411d8f
je 0x411c90
mov ecx, dword [ebp - 0x41c]
xor ebx, ebx
lea edi, [ebp - 0x418]
mov dword [esp], ecx
call sub.msys_1.0.dll_close
jmp 0x411bd0
mov ecx, 0x3ff
lea edx, [edi + ebx]
sub ecx, ebx
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov eax, dword [ebp - 0x420]
mov dword [esp], eax
call sub.msys_1.0.dll_read
cmp eax, 0xffffffff
je 0x411d10
test eax, eax
jle 0x411c07
add ebx, eax
cmp ebx, 0x3ff
jne 0x411bd0
xor eax, eax
mov byte [ebp + ebx - 0x418], al
mov ebx, dword [ebp - 0x420]
mov dword [esp], ebx
lea ebx, [ebp - 0x424]
call sub.msys_1.0.dll_close
lea esi, [esi]
lea edi, [edi]
mov dword [esp + 4], ebx
xor edx, edx
mov dword [esp + 8], edx
mov dword [esp], esi
call sub.msys_1.0.dll_waitpid
test eax, eax
jns 0x411c50
call sub.msys_1.0.dll___errno
cmp dword [eax], 4
je 0x411c30
mov edx, dword [ebp - 0x424]
test dl, dl
jne 0x411c67
mov ebx, edx
shr ebx, 8
test bl, bl
je 0x411d23
mov dword [esp], edi
mov eax, 0x400
xor esi, esi
mov dword [esp + 8], eax
mov dword [esp + 4], esi
call sub.msys_1.0.dll_memset
add esp, 0x42c
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
call sub.msys_1.0.dll_getuid
movzx esi, ax
mov dword [esp], esi
call fcn.00414120
mov ecx, dword [ebp - 0x420]
mov dword [esp], ecx
call sub.msys_1.0.dll_close
mov edx, 1
mov dword [esp + 4], edx
mov eax, dword [ebp - 0x41c]
mov dword [esp], eax
call sub.msys_1.0.dll_dup2
test eax, eax
jns 0x411dbf
call sub.msys_1.0.dll___errno
mov ebx, dword [eax]
mov dword [esp], ebx
call sub.msys_1.0.dll_strerror
mov dword [esp + 4], eax
mov dword [esp], str.ssh_askpass:_dup2:__s
call fcn.00411b20
call sub.msys_1.0.dll___errno
mov ecx, dword [eax]
mov dword [esp], ecx
call sub.msys_1.0.dll_strerror
mov dword [esp + 4], eax
mov dword [esp], str.ssh_askpass:_fflush:__s
call fcn.0040a680
jmp 0x411b78
call sub.msys_1.0.dll___errno
cmp dword [eax], 4
jne 0x411c07
jmp 0x411bff
mov dword [esp], edi
mov esi, 0x42009e
xor ebx, ebx
mov dword [esp + 4], esi
call sub.msys_1.0.dll_strcspn
mov byte [ebp + eax - 0x418], bl
mov dword [esp], edi
call fcn.0040cf00
mov dword [esp], edi
mov ecx, 0x400
xor edx, edx
mov dword [esp + 8], ecx
mov ebx, eax
mov dword [esp + 4], edx
call sub.msys_1.0.dll_memset
add esp, 0x42c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
call sub.msys_1.0.dll___errno
mov ebx, dword [eax]
mov dword [esp], ebx
call sub.msys_1.0.dll_strerror
mov dword [esp + 4], eax
mov dword [esp], str.ssh_askpass:_pipe:__s
call fcn.0040a680
jmp 0x411c7e
call sub.msys_1.0.dll___errno
mov edi, dword [eax]
mov dword [esp], edi
call sub.msys_1.0.dll_strerror
mov dword [esp + 4], eax
mov dword [esp], str.ssh_askpass:_fork:__s
call fcn.0040a680
jmp 0x411c7e
mov dword [esp], str.internal_error:_askpass_undefined
call fcn.00411b20
xor edx, edx
mov dword [esp + 0xc], edx
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], ebx
mov dword [esp], ebx
mov dword [esp + 8], eax
call sub.msys_1.0.dll_execlp
call sub.msys_1.0.dll___errno
mov edi, dword [eax]
mov dword [esp], edi
call sub.msys_1.0.dll_strerror
mov dword [esp + 8], eax
mov dword [esp + 4], ebx
mov dword [esp], str.ssh_askpass:_exec__s_:__s
call fcn.00411b20
nop
lea esi, [esi]