Function at 0x1e02edda
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x5c
push ebx
mov ebx, dword [sym.imp.MSVCR90.dll___iob_func]
push esi
xor esi, esi
push edi
mov dword [esp + 0x18], esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], esi
call ebx
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov esi, dword [ebp + 8]
mov dword [esp + 0x34], eax
mov dword [0x1e20cb74], esi
mov dword [0x1e20cb70], edi
call sym.python27.dll_PySys_ResetWarnOptions
push edi
push esi
call fcn.1e0cd2c6
pop ecx
pop ecx
cmp eax, 0xffffffff
je 0x1e02f132
cmp eax, 0x63
je 0x1e02f034
cmp eax, 0x6d
je 0x1e02f08a
cmp eax, 0x57
jg 0x1e02ef86
je 0x1e02ef75
cmp eax, 0x4f
jg 0x1e02eec8
je 0x1e02eebd
cmp eax, 0x33
je 0x1e02ee9b
cmp eax, 0x3f
je 0x1e02efb0
cmp eax, 0x42
je 0x1e02ee90
cmp eax, 0x45
jne 0x1e02f0f8
inc dword [sym.python27.dll_Py_IgnoreEnvironmentFlag]
jmp 0x1e02f007
inc dword [sym.python27.dll_Py_DontWriteBytecodeFlag]
jmp 0x1e02f007
inc dword [sym.python27.dll_Py_Py3kWarningFlag]
cmp dword [sym.python27.dll_Py_DivisionWarningFlag], 0
jne 0x1e02f007
mov dword [sym.python27.dll_Py_DivisionWarningFlag], 1
jmp 0x1e02f007
inc dword [sym.python27.dll_Py_OptimizeFlag]
jmp 0x1e02f007
sub eax, 0x51
je 0x1e02eefb
dec eax
dec eax
je 0x1e02eef0
dec eax
dec eax
je 0x1e02eee5
dec eax
jne 0x1e02f0f8
inc dword [esp + 0x28]
jmp 0x1e02f007
inc dword [sym.python27.dll_Py_UnicodeFlag]
jmp 0x1e02f007
inc dword [sym.python27.dll_Py_NoSiteFlag]
jmp 0x1e02f007
mov eax, dword [0x1e212d30]
push 4
mov edi, 0x1e1925c0
mov esi, eax
pop ecx
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x1e02ef1b
and dword [sym.python27.dll_Py_DivisionWarningFlag], edx
jmp 0x1e02f007
push 5
mov edi, str.warn
mov esi, eax
pop ecx
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x1e02eeae
push 8
mov edi, str.warnall
mov esi, eax
pop ecx
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x1e02ef4a
mov dword [sym.python27.dll_Py_DivisionWarningFlag], 2
jmp 0x1e02f007
mov esi, eax
push 4
mov edi, 0x1e1925d4
pop ecx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x1e02f0d3
or dword [esp + 0x1c], 0x2000
mov dword [sym.python27.dll__Py_QnewFlag], 1
jmp 0x1e02f007
push dword [0x1e212d30]
call sym.python27.dll_PySys_AddWarnOption
pop ecx
jmp 0x1e02f007
cmp eax, 0x73
jg 0x1e02efce
je 0x1e02efc6
sub eax, 0x62
je 0x1e02efbe
dec eax
dec eax
je 0x1e02efb6
sub eax, 4
je 0x1e02efb0
dec eax
jne 0x1e02f0f8
inc dword [sym.python27.dll_Py_InspectFlag]
inc dword [sym.python27.dll_Py_InteractiveFlag]
jmp 0x1e02f007
inc dword [esp + 0x24]
jmp 0x1e02f007
inc dword [sym.python27.dll_Py_DebugFlag]
jmp 0x1e02f007
inc dword [sym.python27.dll_Py_BytesWarningFlag]
jmp 0x1e02f007
inc dword [sym.python27.dll_Py_NoUserSiteDirectory]
jmp 0x1e02f007
sub eax, 0x74
je 0x1e02f001
dec eax
je 0x1e02eff3
dec eax
je 0x1e02efeb
dec eax
dec eax
jne 0x1e02f0f8
mov dword [esp + 0x30], 1
jmp 0x1e02f007
inc dword [sym.python27.dll_Py_VerboseFlag]
jmp 0x1e02f007
inc dword [esp + 0x20]
mov dword [esp + 0x2c], 1
jmp 0x1e02f007
inc dword [sym.python27.dll_Py_TabcheckFlag]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.1e0cd2c6
pop ecx
pop ecx
cmp eax, 0xffffffff
jne 0x1e02ee41
cmp dword [esp + 0x24], 0
je 0x1e02f10b
mov eax, dword [ebp + 0xc]
push dword [eax]
push 0
jmp 0x1e02f0ff
mov eax, dword [0x1e212d30]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1e02f03c
sub eax, edx
add eax, 2
push eax
call dword [sym.imp.MSVCR90.dll_malloc]
mov edi, eax
pop ecx
mov dword [esp + 0x18], edi
test edi, edi
jne 0x1e02f065
push str.not_enough_memory_to_copy__c_argument
call sym.python27.dll_Py_FatalError
pop ecx
mov eax, dword [0x1e212d30]
mov edx, edi
sub edx, eax
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
test cl, cl
jne 0x1e02f06e
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x1e02f079
mov esi, 0x1e18e9dc
movsw word es:[edi], word [esi]
jmp 0x1e02f01d
mov eax, dword [0x1e212d30]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1e02f092
sub eax, edx
add eax, 2
push eax
call dword [sym.imp.MSVCR90.dll_malloc]
pop ecx
mov dword [esp + 0x14], eax
test eax, eax
jne 0x1e02f0b9
push str.not_enough_memory_to_copy__m_argument
call sym.python27.dll_Py_FatalError
pop ecx
mov eax, dword [0x1e212d30]
mov edx, dword [esp + 0x14]
sub edx, eax
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
test cl, cl
jne 0x1e02f0c4
jmp 0x1e02f01d
push str._Q_option_should_be___Qold____Qwarn____Qwarnall__or___Qnew_only_n
call ebx
add eax, 0x40
push eax
call dword [sym.imp.MSVCR90.dll_fprintf]
mov eax, dword [ebp + 0xc]
push dword [eax]
push 2
call fcn.1e02eb1c
add esp, 0x10
jmp 0x1e02f666
mov eax, dword [ebp + 0xc]
push dword [eax]
push 2
call fcn.1e02eb1c
pop ecx
pop ecx
jmp 0x1e02f666
cmp dword [esp + 0x28], 0
je 0x1e02f132
push 0x1e192620
push str.Python__s_n
call ebx
add eax, 0x40
push eax
call dword [sym.imp.MSVCR90.dll_fprintf]
add esp, 0xc
xor eax, eax
jmp 0x1e02f666
xor eax, eax
cmp dword [sym.python27.dll_Py_Py3kWarningFlag], eax
je 0x1e02f14e
cmp dword [sym.python27.dll_Py_TabcheckFlag], eax
jne 0x1e02f14e
mov dword [sym.python27.dll_Py_TabcheckFlag], 1
cmp dword [sym.python27.dll_Py_InspectFlag], eax
jne 0x1e02f17e
cmp dword [sym.python27.dll_Py_IgnoreEnvironmentFlag], 0
jne 0x1e02f17e
push str.PYTHONINSPECT
call dword [sym.imp.MSVCR90.dll_getenv]
pop ecx
test eax, eax
je 0x1e02f17e
cmp byte [eax], 0
je 0x1e02f17e
mov dword [sym.python27.dll_Py_InspectFlag], 1
xor esi, esi
cmp dword [esp + 0x2c], esi
jne 0x1e02f1ab
cmp dword [sym.python27.dll_Py_IgnoreEnvironmentFlag], esi
jne 0x1e02f1ab
push str.PYTHONUNBUFFERED
call dword [sym.imp.MSVCR90.dll_getenv]
pop ecx
cmp eax, esi
je 0x1e02f1ab
cmp byte [eax], 0
je 0x1e02f1ab
mov dword [esp + 0x20], 1
cmp dword [sym.python27.dll_Py_NoUserSiteDirectory], esi
jne 0x1e02f1de
cmp dword [sym.python27.dll_Py_IgnoreEnvironmentFlag], esi
jne 0x1e02f263
push str.PYTHONNOUSERSITE
call dword [sym.imp.MSVCR90.dll_getenv]
pop ecx
cmp eax, esi
je 0x1e02f1de
cmp byte [eax], 0
je 0x1e02f1de
mov dword [sym.python27.dll_Py_NoUserSiteDirectory], 1
cmp dword [sym.python27.dll_Py_IgnoreEnvironmentFlag], esi
jne 0x1e02f263
push str.PYTHONWARNINGS
call dword [sym.imp.MSVCR90.dll_getenv]
mov edi, eax
pop ecx
cmp edi, esi
je 0x1e02f263
cmp byte [edi], 0
je 0x1e02f263
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1e02f200
sub eax, edx
inc eax
push eax
call dword [sym.imp.MSVCR90.dll_malloc]
mov esi, eax
pop ecx
mov dword [esp + 0x2c], esi
test esi, esi
jne 0x1e02f227
push str.not_enough_memory_to_copy_PYTHONWARNINGS
call sym.python27.dll_Py_FatalError
pop ecx
mov edx, esi
mov eax, edi
sub edx, edi
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
test cl, cl
jne 0x1e02f22d
mov edi, 0x1e1926a8
push edi
push esi
mov esi, dword [sym.imp.MSVCR90.dll_strtok]
jmp 0x1e02f250
push eax
call sym.python27.dll_PySys_AddWarnOption
pop ecx
push edi
push 0
call esi
pop ecx
pop ecx
test eax, eax
jne 0x1e02f246
push dword [esp + 0x2c]
call dword [sym.imp.MSVCR90.dll_free]
pop ecx
cmp dword [esp + 0x18], 0
jne 0x1e02f295
cmp dword [esp + 0x14], 0
jne 0x1e02f295
mov eax, dword [0x1e1c0a18]
cmp eax, dword [ebp + 8]
jge 0x1e02f295
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + eax*4]
push 2
mov edi, 0x1e1926ac
mov esi, eax
pop ecx
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x1e02f295
mov dword [esp + 0x10], eax
xor esi, esi
push esi
call ebx
push eax
call sym.python27.dll_Py_FdIsInteractive
pop ecx
pop ecx
mov dword [esp + 0x28], eax
cmp dword [esp + 0x20], esi
je 0x1e02f312
push 0x8000
call ebx
mov esi, dword [sym.imp.MSVCR90.dll__fileno]
push eax
call esi
mov edi, dword [sym.imp.MSVCR90.dll__setmode]
pop ecx
push eax
call edi
pop ecx
pop ecx
push 0x8000
call ebx
add eax, 0x20
push eax
call esi
pop ecx
push eax
call edi
pop ecx
pop ecx
mov edi, 0x200
push edi
push 4
push 0
call ebx
mov esi, dword [sym.imp.MSVCR90.dll_setvbuf]
push eax
call esi
add esp, 0x10
push edi
push 4
push 0
call ebx
add eax, 0x20
push eax
call esi
add esp, 0x10
push edi
push 4
push 0
call ebx
add eax, 0x40
push eax
call esi
jmp 0x1e02f32e
cmp dword [sym.python27.dll_Py_InteractiveFlag], esi
je 0x1e02f331
push 0x200
push 4
push esi
call ebx
add eax, 0x20
push eax
call dword [sym.imp.MSVCR90.dll_setvbuf]
add esp, 0x10
mov edi, dword [ebp + 0xc]
push dword [edi]
call sym.python27.dll_Py_SetProgramName
add esp, 4
call sym.python27.dll_Py_Initialize
cmp dword [sym.python27.dll_Py_VerboseFlag], 0
mov esi, dword [sym.imp.MSVCR90.dll_fprintf]
jne 0x1e02f36c
xor eax, eax
cmp dword [esp + 0x18], eax
jne 0x1e02f3ad
cmp dword [esp + 0x10], eax
jne 0x1e02f3bf
cmp dword [esp + 0x14], eax
jne 0x1e02f3c6
cmp dword [esp + 0x28], eax
je 0x1e02f3d8
call sym.python27.dll_Py_GetPlatform
push eax
call sym.python27.dll_Py_GetVersion
push eax
push str.Python__s_on__s_n
call ebx
add eax, 0x40
push eax
call esi
add esp, 0x10
cmp dword [sym.python27.dll_Py_NoSiteFlag], 0
jne 0x1e02f3a6
push str.Type__help____copyright____credits__or__license__for_more_information.
push 0x1e192710
call ebx
add eax, 0x40
push eax
call esi
add esp, 0xc
cmp dword [esp + 0x18], 0
je 0x1e02f3bf
dec dword [0x1e1c0a18]
mov eax, dword [0x1e1c0a18]
mov dword [edi + eax*4], 0x1e192714
cmp dword [esp + 0x14], 0
je 0x1e02f3d8
dec dword [0x1e1c0a18]
mov eax, dword [0x1e1c0a18]
mov dword [edi + eax*4], 0x1e192714
mov ecx, dword [0x1e1c0a18]
lea eax, [edi + ecx*4]
push eax
mov eax, dword [ebp + 8]
sub eax, ecx
push eax
call sym.python27.dll_PySys_SetArgv
xor esi, esi
pop ecx
pop ecx
cmp dword [sym.python27.dll_Py_InspectFlag], esi
jne 0x1e02f40b
cmp dword [esp + 0x18], esi
jne 0x1e02f449
cmp dword [esp + 0x10], esi
jne 0x1e02f465
cmp dword [esp + 0x14], esi
jne 0x1e02f46b
call ebx
push eax
call dword [sym.imp.MSVCR90.dll__fileno]
pop ecx
push eax
call dword [sym.imp.MSVCR90.dll__isatty]
pop ecx
test eax, eax
je 0x1e02f443
push str.readline
call sym.python27.dll_PyImport_ImportModule
pop ecx
cmp eax, esi
jne 0x1e02f437
call sym.python27.dll_PyErr_Clear
jmp 0x1e02f443
dec dword [eax]
jne 0x1e02f443
mov ecx, dword [eax + 4]
push eax
call dword [ecx + 0x18]
pop ecx
cmp dword [esp + 0x18], esi
je 0x1e02f465
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x1c]
call sym.python27.dll_PyRun_SimpleStringFlags
push dword [esp + 0x20]
mov esi, eax
neg esi
sbb esi, esi
neg esi
jmp 0x1e02f47c
cmp dword [esp + 0x14], esi
je 0x1e02f48a
push 1
push dword [esp + 0x18]
call fcn.1e02ec2c
push dword [esp + 0x1c]
mov esi, eax
call dword [sym.imp.MSVCR90.dll_free]
add esp, 0xc
jmp 0x1e02f5ea
cmp dword [esp + 0x10], esi
jne 0x1e02f4c6
cmp dword [esp + 0x28], esi
je 0x1e02f4a7
and dword [sym.python27.dll_Py_InspectFlag], esi
lea eax, [esp + 0x1c]
push eax
call fcn.1e02eba0
pop ecx
mov edi, dword [esp + 0x34]
call sym.python27.dll_Py_MakePendingCalls
cmp eax, 0xffffffff
jne 0x1e02f5bc
call sym.python27.dll_PyErr_Print
xor esi, esi
inc esi
jmp 0x1e02f5ea
push dword [esp + 0x10]
call fcn.1e02ed3a
mov esi, eax
pop ecx
cmp esi, 0xffffffff
jne 0x1e02f5ea
push 0x1e191684
push dword [esp + 0x14]
call dword [sym.imp.MSVCR90.dll_fopen]
mov edi, eax
pop ecx
pop ecx
test edi, edi
jne 0x1e02f531
mov esi, dword [sym.imp.MSVCR90.dll__errno]
call esi
mov edi, eax
call esi
push dword [edi]
mov esi, eax
call dword [sym.imp.MSVCR90.dll_strerror]
pop ecx
push eax
push dword [esi]
mov eax, dword [ebp + 0xc]
push dword [esp + 0x18]
push dword [eax]
push str._s:_cant_open_file__s:__Errno__d___s_n
call ebx
add eax, 0x40
push eax
call dword [sym.imp.MSVCR90.dll_fprintf]
add esp, 0x18
push 2
pop eax
jmp 0x1e02f666
cmp dword [esp + 0x30], 0
je 0x1e02f55b
mov esi, dword [sym.imp.MSVCR90.dll_getc]
jmp 0x1e02f545
cmp eax, 0xa
je 0x1e02f550
push edi
call esi
pop ecx
cmp eax, 0xffffffff
jne 0x1e02f540
jmp 0x1e02f55b
push edi
push 0xa
call dword [sym.imp.MSVCR90.dll_ungetc]
pop ecx
pop ecx
push edi
call dword [sym.imp.MSVCR90.dll__fileno]
pop ecx
lea ecx, [esp + 0x38]
push ecx
push eax
call dword [sym.imp.MSVCR90.dll__fstat64i32]
pop ecx
pop ecx
test eax, eax
jne 0x1e02f4ab
mov eax, dword [esp + 0x3e]
and eax, 0xf000
mov ecx, 0x4000
cmp ax, cx
jne 0x1e02f4ab
push dword [esp + 0x10]
mov eax, dword [ebp + 0xc]
push dword [eax]
push str._s:__s_is_a_directory__cannot_continue_n
call ebx
add eax, 0x40
push eax
call dword [sym.imp.MSVCR90.dll_fprintf]
push edi
call dword [sym.imp.MSVCR90.dll_fclose]
xor eax, eax
add esp, 0x14
inc eax
jmp 0x1e02f666
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x1e02f5c9
mov eax, str._stdin_
lea ecx, [esp + 0x1c]
push ecx
xor ecx, ecx
cmp dword [esp + 0x14], ecx
setne cl
push ecx
push eax
push edi
call sym.python27.dll_PyRun_AnyFileExFlags
add esp, 0x10
mov esi, eax
neg esi
sbb esi, esi
neg esi
xor edi, edi
cmp dword [sym.python27.dll_Py_InspectFlag], edi
jne 0x1e02f623
cmp dword [sym.python27.dll_Py_IgnoreEnvironmentFlag], edi
jne 0x1e02f65f
push str.PYTHONINSPECT
call dword [sym.imp.MSVCR90.dll_getenv]
pop ecx
cmp eax, edi
je 0x1e02f61b
cmp byte [eax], 0
je 0x1e02f61b
mov dword [sym.python27.dll_Py_InspectFlag], 1
cmp dword [sym.python27.dll_Py_InspectFlag], edi
je 0x1e02f65f
cmp dword [esp + 0x28], edi
je 0x1e02f65f
cmp dword [esp + 0x10], edi
jne 0x1e02f63b
cmp dword [esp + 0x18], edi
jne 0x1e02f63b
cmp dword [esp + 0x14], edi
je 0x1e02f65f
lea eax, [esp + 0x1c]
push eax
push edi
push str._stdin_
mov dword [sym.python27.dll_Py_InspectFlag], edi
call ebx
push eax
call sym.python27.dll_PyRun_AnyFileExFlags
add esp, 0x10
mov esi, eax
neg esi
sbb esi, esi
neg esi
call sym.python27.dll_Py_Finalize
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret