Function at 0x1e13eea0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
xor esi, esi
push edi
mov dword [ebp - 0x110], esi
mov dword [ebp - 0x118], esi
mov dword [ebp - 0x114], esi
cmp dword [0x1e28300c], esi
jne 0x1e13f3ed
mov ebx, dword [sym.imp.MSVCR90.dll_getenv]
mov dword [0x1e28300c], 1
cmp dword [sym.python27.dll_Py_IgnoreEnvironmentFlag], esi
jne 0x1e13f02d
push str.PYTHONDEBUG
call ebx
mov edi, dword [sym.imp.MSVCR90.dll_atoi]
add esp, 4
cmp eax, esi
je 0x1e13ef2d
cmp byte [eax], 0
je 0x1e13ef2d
mov esi, dword [sym.python27.dll_Py_DebugFlag]
push eax
call edi
add esp, 4
cmp esi, eax
jge 0x1e13ef1d
mov esi, eax
cmp esi, 1
jge 0x1e13ef27
mov esi, 1
mov dword [sym.python27.dll_Py_DebugFlag], esi
cmp dword [sym.python27.dll_Py_IgnoreEnvironmentFlag], 0
jne 0x1e13f02d
push str.PYTHONVERBOSE
call ebx
add esp, 4
test eax, eax
je 0x1e13ef6f
cmp byte [eax], 0
je 0x1e13ef6f
mov esi, dword [sym.python27.dll_Py_VerboseFlag]
push eax
call edi
add esp, 4
cmp esi, eax
jge 0x1e13ef5f
mov esi, eax
cmp esi, 1
jge 0x1e13ef69
mov esi, 1
mov dword [sym.python27.dll_Py_VerboseFlag], esi
cmp dword [sym.python27.dll_Py_IgnoreEnvironmentFlag], 0
jne 0x1e13f02d
push str.PYTHONOPTIMIZE
call ebx
add esp, 4
test eax, eax
je 0x1e13efb1
cmp byte [eax], 0
je 0x1e13efb1
mov esi, dword [sym.python27.dll_Py_OptimizeFlag]
push eax
call edi
add esp, 4
cmp esi, eax
jge 0x1e13efa1
mov esi, eax
cmp esi, 1
jge 0x1e13efab
mov esi, 1
mov dword [sym.python27.dll_Py_OptimizeFlag], esi
cmp dword [sym.python27.dll_Py_IgnoreEnvironmentFlag], 0
jne 0x1e13f02d
push str.PYTHONDONTWRITEBYTECODE
call ebx
add esp, 4
test eax, eax
je 0x1e13efef
cmp byte [eax], 0
je 0x1e13efef
mov esi, dword [sym.python27.dll_Py_DontWriteBytecodeFlag]
push eax
call edi
add esp, 4
cmp esi, eax
jge 0x1e13efdf
mov esi, eax
cmp esi, 1
jge 0x1e13efe9
mov esi, 1
mov dword [sym.python27.dll_Py_DontWriteBytecodeFlag], esi
cmp dword [sym.python27.dll_Py_IgnoreEnvironmentFlag], 0
jne 0x1e13f02d
push str.PYTHONHASHSEED
call ebx
add esp, 4
test eax, eax
je 0x1e13f02d
cmp byte [eax], 0
je 0x1e13f02d
mov esi, dword [sym.python27.dll_Py_HashRandomizationFlag]
push eax
call edi
add esp, 4
cmp esi, eax
jge 0x1e13f01d
mov esi, eax
cmp esi, 1
jge 0x1e13f027
mov esi, 1
mov dword [sym.python27.dll_Py_HashRandomizationFlag], esi
call sym.python27.dll__PyRandom_Init
call sym.python27.dll_PyInterpreterState_New
mov esi, eax
test esi, esi
jne 0x1e13f04a
push str.Py_Initialize:_cant_make_first_interpreter
call sym.python27.dll_Py_FatalError
add esp, 4
push 1
push esi
call fcn.1e130600
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x1e13f068
push str.Py_Initialize:_cant_make_first_thread
call sym.python27.dll_Py_FatalError
add esp, 4
mov dword [sym.python27.dll__PyThreadState_Current], ebx
call fcn.1e0c7860
call sym.python27.dll__PyFrame_Init
test eax, eax
jne 0x1e13f089
push str.Py_Initialize:_cant_init_frames
call sym.python27.dll_Py_FatalError
add esp, 4
call sym.python27.dll__PyInt_Init
test eax, eax
jne 0x1e13f09f
push str.Py_Initialize:_cant_init_ints
call sym.python27.dll_Py_FatalError
add esp, 4
cmp dword [0x1e274a8c], 0
jne 0x1e13f0ba
push 0x1e240ae4
push 0x1e274a80
call sym.python27.dll_PyStructSequence_InitType
add esp, 8
call sym.python27.dll__PyFloat_Init
call sym.python27.dll_PyDict_New
mov dword [esi + 8], eax
test eax, eax
jne 0x1e13f0d8
push str.Py_Initialize:_cant_make_modules_dictionary
call sym.python27.dll_Py_FatalError
add esp, 4
call sym.python27.dll_PyDict_New
mov dword [esi + 0x14], eax
test eax, eax
jne 0x1e13f0f1
push str.Py_Initialize:_cant_make_modules_reloading_dictionary
call sym.python27.dll_Py_FatalError
add esp, 4
call fcn.1e0f6210
call sym.python27.dll__PyBuiltin_Init
mov edi, eax
test edi, edi
jne 0x1e13f10e
push str.Py_Initialize:_cant_initialize___builtin__
call sym.python27.dll_Py_FatalError
add esp, 4
push edi
call sym.python27.dll_PyModule_GetDict
add esp, 4
mov dword [esi + 0x10], eax
test eax, eax
jne 0x1e13f12b
push str.Py_Initialize:_cant_initialize_builtins_dict
call sym.python27.dll_Py_FatalError
add esp, 4
mov eax, dword [esi + 0x10]
inc dword [eax]
call sym.python27.dll__PySys_Init
mov edi, eax
test edi, edi
jne 0x1e13f148
push str.Py_Initialize:_cant_initialize_sys
call sym.python27.dll_Py_FatalError
add esp, 4
push edi
call sym.python27.dll_PyModule_GetDict
add esp, 4
mov dword [esi + 0xc], eax
test eax, eax
jne 0x1e13f165
push str.Py_Initialize:_cant_initialize_sys_dict
call sym.python27.dll_Py_FatalError
add esp, 4
mov eax, dword [esi + 0xc]
inc dword [eax]
push 0x1e20a0bc
push 0x1e20a0bc
call sym.python27.dll__PyImport_FixupExtension
add esp, 8
cmp dword [0x1e282f58], 0
jne 0x1e13f18a
call fcn.1e100900
mov eax, dword [0x1e282f58]
push eax
call sym.python27.dll_PySys_SetPath
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0xc]
add esp, 4
push ecx
push str.modules
push edx
call sym.python27.dll_PyDict_SetItemString
add esp, 0xc
call sym.python27.dll__PyImport_Init
call sym.python27.dll__PyExc_Init
push str.exceptions
push str.exceptions
call sym.python27.dll__PyImport_FixupExtension
push str.__builtin__
push str.__builtin__
call sym.python27.dll__PyImport_FixupExtension
add esp, 0x10
call sym.python27.dll__PyImportHooks_Init
cmp dword [ebp + 8], 0
je 0x1e13f1fa
call fcn.1e060960
push 0x1e1f9a68
push 0x1e1f9a68
call sym.python27.dll__PyImport_FixupExtension
add esp, 8
call sym.python27.dll__PyWarnings_Init
call sym.python27.dll_PySys_HasWarnOptions
test eax, eax
je 0x1e13f231
push str.warnings
call sym.python27.dll_PyImport_ImportModule
add esp, 4
test eax, eax
jne 0x1e13f220
call sym.python27.dll_PyErr_Clear
jmp 0x1e13f231
add dword [eax], 0xffffffff
jne 0x1e13f231
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 0x18]
push eax
call edx
add esp, 4
call fcn.1e13f7b0
mov edi, ebx
mov eax, esi
call fcn.1e130dd0
cmp dword [sym.python27.dll_Py_NoSiteFlag], 0
jne 0x1e13f24d
call fcn.1e13f8a0
cmp dword [sym.python27.dll_Py_IgnoreEnvironmentFlag], 0
jne 0x1e13f3fe
push str.PYTHONIOENCODING
call dword [sym.imp.MSVCR90.dll_getenv]
add esp, 4
test eax, eax
je 0x1e13f3fe
cmp byte [eax], 0
je 0x1e13f3fe
push eax
call dword [sym.imp.MSVCR90.dll__strdup]
add esp, 4
mov esi, eax
push 0x3a
mov edi, 1
push esi
mov ebx, esi
mov dword [ebp - 0x118], edi
call dword [sym.imp.MSVCR90.dll_strchr]
add esp, 8
mov dword [ebp - 0x110], eax
test eax, eax
je 0x1e13f2b3
mov byte [eax], 0
add eax, edi
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x114], edi
test esi, esi
je 0x1e13f3ed
push str.stdin
call sym.python27.dll_PySys_GetObject
add esp, 4
cmp dword [ebp - 0x114], 0
mov edi, eax
jne 0x1e13f2e2
call fcn.1e13ee50
test eax, eax
je 0x1e13f320
mov eax, dword [edi + 4]
cmp eax, sym.python27.dll_PyFile_Type
je 0x1e13f2fe
push sym.python27.dll_PyFile_Type
push eax
call sym.python27.dll_PyType_IsSubtype
add esp, 8
test eax, eax
je 0x1e13f320
mov edx, dword [ebp - 0x110]
push edx
push ebx
push edi
call sym.python27.dll_PyFile_SetEncodingAndErrors
add esp, 0xc
test eax, eax
jne 0x1e13f320
push str.Cannot_set_codeset_of_stdin
call sym.python27.dll_Py_FatalError
add esp, 4
push str.stdout
call sym.python27.dll_PySys_GetObject
mov ebx, dword [ebp - 0x114]
add esp, 4
mov edi, eax
test ebx, ebx
jne 0x1e13f342
call fcn.1e13ee50
test eax, eax
je 0x1e13f380
mov eax, dword [edi + 4]
cmp eax, sym.python27.dll_PyFile_Type
je 0x1e13f35e
push sym.python27.dll_PyFile_Type
push eax
call sym.python27.dll_PyType_IsSubtype
add esp, 8
test eax, eax
je 0x1e13f380
mov eax, dword [ebp - 0x110]
push eax
push esi
push edi
call sym.python27.dll_PyFile_SetEncodingAndErrors
add esp, 0xc
test eax, eax
jne 0x1e13f380
push str.Cannot_set_codeset_of_stdout
call sym.python27.dll_Py_FatalError
add esp, 4
push str.stderr
call sym.python27.dll_PySys_GetObject
add esp, 4
mov edi, eax
test ebx, ebx
jne 0x1e13f39c
call fcn.1e13ee50
test eax, eax
je 0x1e13f3da
mov eax, dword [edi + 4]
cmp eax, sym.python27.dll_PyFile_Type
je 0x1e13f3b8
push sym.python27.dll_PyFile_Type
push eax
call sym.python27.dll_PyType_IsSubtype
add esp, 8
test eax, eax
je 0x1e13f3da
mov ecx, dword [ebp - 0x110]
push ecx
push esi
push edi
call sym.python27.dll_PyFile_SetEncodingAndErrors
add esp, 0xc
test eax, eax
jne 0x1e13f3da
push str.Cannot_set_codeset_of_stderr
call sym.python27.dll_Py_FatalError
add esp, 4
cmp dword [ebp - 0x118], 0
je 0x1e13f3ed
push esi
call dword [sym.imp.MSVCR90.dll_free]
add esp, 4
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1e148908
mov esp, ebp
pop ebp
ret
lea ebx, [ebp - 0x10c]
lea esi, [ebp - 0x8c]
call dword [sym.imp.KERNEL32.dll_GetConsoleCP]
mov edi, dword [sym.imp.MSVCR90.dll_sprintf]
push eax
mov eax, ebx
push str.cp_d
push eax
call edi
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetConsoleOutputCP]
push eax
mov ecx, esi
push str.cp_d
push ecx
call edi
add esp, 0xc
jmp 0x1e13f2c1