Function at 0x41e190
Capabilities:
Query environment variable

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x3c
mov eax, dword [sym.imp.cygwin1.dll___stack_chk_guard]
mov dword [esp + 0x2c], eax
xor eax, eax
mov dword [esp], 0x479f36
mov esi, dword [esp + 0x50]
call sub.cygwin1.dll_getenv
test eax, eax
je 0x41e270
lea edi, [esp + 0x2b]
mov dword [esp + 4], 0
mov ebx, eax
mov dword [esp + 8], edi
mov dword [esp], 6
call fcn.00451170
mov ecx, 0x4c4c
lea edx, [eax + 0xc]
mov dword [eax + 0xc], 0x415f434c
mov word [edx + 4], cx
cmp eax, sym.imp.cygstdc_6.dll_std::string::_Rep::_S_empty_rep_storage
jne 0x41e3c0
mov dword [esi], edx
mov dword [esp], ebx
call sub.cygwin1.dll_strlen
mov ebp, eax
test eax, eax
je 0x41e2ce
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.00451170
mov edi, eax
lea edx, [eax + 0xc]
cmp ebp, 1
je 0x41e2e0
mov dword [esp], edx
mov dword [esp + 8], ebp
mov dword [esp + 4], ebx
mov dword [esp + 0x1c], edx
call fcn.004513c4
mov edx, dword [esp + 0x1c]
cmp edi, sym.imp.cygstdc_6.dll_std::string::_Rep::_S_empty_rep_storage
jne 0x41e388
mov dword [esi + 4], edx
mov eax, dword [esp + 0x2c]
sub eax, dword [sym.imp.cygwin1.dll___stack_chk_guard]
jne 0x41e408
add esp, 0x3c
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret 4
mov dword [esp], 0x479f3d
call sub.cygwin1.dll_getenv
mov ebx, eax
test eax, eax
je 0x41e310
lea edi, [esp + 0x2b]
mov dword [esp + 4], 0
mov dword [esp + 8], edi
mov dword [esp], 8
call fcn.00451170
lea edx, [eax + 0xc]
mov dword [eax + 0xc], 0x435f434c
mov dword [edx + 4], 0x45505954
cmp eax, sym.imp.cygstdc_6.dll_std::string::_Rep::_S_empty_rep_storage
jne 0x41e3a0
mov dword [esi], edx
mov dword [esp], ebx
call sub.cygwin1.dll_strlen
mov ebp, eax
test eax, eax
jne 0x41e2f0
mov edx, method.std::string.swap_std::string_
jmp 0x41e250
movzx eax, byte [ebx]
mov byte [edi + 0xc], al
jmp 0x41e244
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.00451170
jmp 0x41e21e
mov dword [esp], 0x479f46
call sub.cygwin1.dll_getenv
mov ebx, eax
test eax, eax
je 0x41e3e0
lea edi, [esp + 0x2b]
mov dword [esp + 4], 0
mov dword [esp + 8], edi
mov dword [esp], 4
call fcn.00451170
mov dword [eax + 0xc], 0x474e414c
lea edx, [eax + 0xc]
cmp eax, sym.imp.cygstdc_6.dll_std::string::_Rep::_S_empty_rep_storage
jne 0x41e3f2
mov dword [esi], edx
mov dword [esp], ebx
call sub.cygwin1.dll_strlen
mov ebp, eax
test eax, eax
je 0x41e2ce
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.00451170
jmp 0x41e21e
mov dword [edi + 8], 0
mov dword [edi], ebp
mov byte [edi + ebp + 0xc], 0
jmp 0x41e250
mov dword [eax + 8], 0
mov dword [eax], 8
mov byte [eax + 0x14], 0
jmp 0x41e2be
mov dword [eax + 8], 0
mov dword [eax], 6
mov byte [eax + 0x12], 0
jmp 0x41e1f6
mov dword [esi], method.std::string.swap_std::string_
mov dword [esi + 4], method.std::string.swap_std::string_
jmp 0x41e253
mov dword [eax + 8], 0
mov dword [eax], 4
mov byte [eax + 0x10], 0
jmp 0x41e357
call sub.cygwin1.dll___stack_chk_fail
mov ebx, eax
jmp 0x46fdf0
mov dword [esp], esi
call fcn.004510f0
mov dword [esp], ebx
call sub.cyggcc_s_1.dll__Unwind_Resume
mov dword [esp], esi
call fcn.004510f0
mov dword [esp], ebx
call sub.cyggcc_s_1.dll__Unwind_Resume
mov dword [esp], esi
call fcn.004510f0
mov dword [esp], ebx
call sub.cyggcc_s_1.dll__Unwind_Resume