Function at 0x1e100900
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x1e283010]
push ebx
push esi
mov esi, dword [sym.imp.MSVCR90.dll_getenv]
push edi
mov ebx, eax
test eax, eax
jne 0x1e10093c
cmp dword [sym.python27.dll_Py_IgnoreEnvironmentFlag], 0
jne 0x1e10093c
push str.PYTHONHOME
call esi
add esp, 4
mov ebx, eax
cmp dword [sym.python27.dll_Py_IgnoreEnvironmentFlag], 0
mov edi, ebx
mov dword [ebp - 0x228], ebx
je 0x1e100959
mov dword [ebp - 0x220], 0
jmp 0x1e100969
push str.PYTHONPATH
call esi
add esp, 4
mov dword [ebp - 0x220], eax
call fcn.1e1007b0
xor eax, eax
mov cl, byte [eax + 0x1e2814e0]
mov byte [ebp + eax - 0x110], cl
inc eax
test cl, cl
jne 0x1e100970
lea eax, [ebp - 0x110]
lea edx, [eax + 1]
jmp 0x1e100990
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1e100990
sub eax, edx
je 0x1e1009b6
jmp 0x1e1009a0
mov cl, byte [ebp + eax - 0x110]
cmp cl, 0x5c
je 0x1e1009b6
cmp cl, 0x2f
je 0x1e1009b6
sub eax, 1
jne 0x1e1009a0
mov esi, dword [sym.imp.MSVCR90.dll_strncpy]
mov byte [ebp + eax - 0x110], 0
test ebx, ebx
je 0x1e1009df
cmp byte [ebx], 0
je 0x1e1009df
push 0x100
push ebx
push 0x1e2815e8
call esi
add esp, 0xc
jmp 0x1e1009fc
lea eax, [ebp - 0x110]
call fcn.1e100380
mov edi, eax
neg edi
sbb edi, edi
and edi, 0x1e2815e8
mov dword [ebp - 0x228], edi
mov eax, dword [ebp - 0x220]
test eax, eax
je 0x1e100a15
cmp byte [eax], 0
jne 0x1e100a15
mov dword [ebp - 0x220], 0
cmp byte [0x1e2813d8], 0
push 0x100
je 0x1e100a31
push 0x1e2813d8
lea eax, [ebp - 0x218]
push eax
jmp 0x1e100a3d
push 0x1e2814e0
lea ecx, [ebp - 0x218]
push ecx
call esi
lea eax, [ebp - 0x218]
add esp, 0xc
mov byte [ebp - 0x118], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1e100a52
sub eax, edx
cmp eax, 4
jbe 0x1e100a75
lea eax, [ebp + eax - 0x218]
mov byte [eax - 3], 0x7a
mov byte [eax - 2], 0x69
mov byte [eax - 1], 0x70
jmp 0x1e100a7c
mov byte [ebp - 0x218], 0
xor edx, edx
test edi, edi
setne dl
mov esi, edx
push esi
push 0x80000002
call fcn.1e100430
push esi
push 0x80000001
mov dword [ebp - 0x224], eax
call fcn.1e100430
add esp, 0x10
cmp dword [ebp - 0x220], 0
mov ebx, eax
mov dword [ebp - 0x21c], ebx
jne 0x1e100bb2
test edi, edi
jne 0x1e100bb2
cmp dword [ebp - 0x224], edi
jne 0x1e100bb2
test ebx, ebx
jne 0x1e100bb2
mov dword [ebp - 0x22c], edi
xor edx, edx
lea eax, [ebp - 0x110]
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1e100ae6
sub eax, esi
lea ecx, [edx + eax + 0x2a]
test ebx, ebx
je 0x1e100b0d
mov eax, ebx
lea esi, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x1e100b00
sub eax, esi
lea ecx, [ecx + eax + 1]
mov eax, dword [ebp - 0x224]
test eax, eax
je 0x1e100b2d
lea esi, [eax + 1]
lea ebx, [ebx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x1e100b20
sub eax, esi
lea ecx, [ecx + eax + 1]
lea eax, [ebp - 0x218]
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x1e100b36
sub eax, esi
lea ecx, [ecx + eax + 1]
mov eax, dword [ebp - 0x220]
test eax, eax
je 0x1e100b5d
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x1e100b50
sub eax, esi
lea ecx, [ecx + eax + 1]
push ecx
call dword [sym.imp.MSVCR90.dll_malloc]
mov ebx, eax
add esp, 4
mov dword [0x1e282f58], ebx
test ebx, ebx
jne 0x1e100c46
mov esi, dword [sym.imp.MSVCR90.dll___iob_func]
push str.Cant_malloc_dynamic_PYTHONPATH._n
call esi
mov ebx, dword [sym.imp.MSVCR90.dll_fprintf]
add eax, 0x40
push eax
call ebx
mov edi, dword [ebp - 0x220]
add esp, 8
test edi, edi
je 0x1e100bf5
push str.Using_environment__PYTHONPATH._n
call esi
add eax, 0x40
push eax
call ebx
mov dword [0x1e282f58], edi
jmp 0x1e100c0c
mov dword [ebp - 0x22c], 1
test edi, edi
je 0x1e100adb
mov esi, 1
mov ecx, str..DLLs_.lib_.libplat_win_.liblib_tk
mov al, 0x2e
cmp al, 0x3b
jne 0x1e100bd5
inc esi
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x1e100bd0
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1e100be2
sub eax, edx
imul eax, esi
mov edx, eax
jmp 0x1e100add
push str.Using_default_static_path._n
call esi
add eax, 0x40
push eax
call ebx
mov dword [0x1e282f58], 0x1e20a260
mov eax, dword [ebp - 0x224]
mov esi, dword [sym.imp.MSVCR90.dll_free]
add esp, 8
test eax, eax
je 0x1e100c25
push eax
call esi
add esp, 4
mov eax, dword [ebp - 0x21c]
test eax, eax
je 0x1e100c35
push eax
call esi
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1e148908
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x220]
mov edi, dword [sym.imp.MSVCR90.dll_strchr]
test eax, eax
je 0x1e100c78
mov edx, ebx
sub edx, eax
lea ebx, [ebx]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x1e100c60
push 0
push ebx
call edi
mov ebx, eax
add esp, 8
mov byte [ebx], 0x3b
inc ebx
cmp byte [ebp - 0x218], 0
je 0x1e100ca8
lea eax, [ebp - 0x218]
mov edx, ebx
mov ecx, eax
sub edx, ecx
lea ecx, [ecx]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x1e100c90
push 0
push ebx
call edi
mov ebx, eax
add esp, 8
mov byte [ebx], 0x3b
inc ebx
mov eax, dword [ebp - 0x21c]
mov esi, dword [sym.imp.MSVCR90.dll_free]
test eax, eax
je 0x1e100ce1
mov edx, ebx
sub edx, eax
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x1e100cc0
push 0
push ebx
call edi
mov edx, dword [ebp - 0x21c]
mov ebx, eax
mov byte [ebx], 0x3b
push edx
inc ebx
call esi
add esp, 0xc
mov eax, dword [ebp - 0x224]
test eax, eax
je 0x1e100d11
mov edx, ebx
sub edx, eax
nop
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x1e100cf0
push 0
push ebx
call edi
mov ebx, eax
mov eax, dword [ebp - 0x224]
mov byte [ebx], 0x3b
push eax
inc ebx
call esi
add esp, 0xc
cmp dword [ebp - 0x228], 0
jne 0x1e100e14
cmp dword [ebp - 0x22c], 0
jne 0x1e100d4a
mov ecx, 0xa
mov esi, str..DLLs_.lib_.libplat_win_.liblib_tk
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
push 0
push ebx
movsb byte es:[edi], byte [esi]
call dword [sym.imp.MSVCR90.dll_strchr]
add esp, 8
mov ebx, eax
mov edi, dword [sym.imp.MSVCR90.dll_strchr]
mov byte [ebx], 0x3b
inc ebx
lea eax, [ebp - 0x110]
mov edx, ebx
mov ecx, eax
sub edx, ecx
lea ebx, [ebx]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x1e100d60
push 0
push ebx
call edi
add esp, 8
mov byte [eax], 0
cmp byte [0x1e2815e8], 0
jne 0x1e100c35
mov edi, dword [sym.imp.MSVCR90.dll_strncpy]
lea esi, [eax - 1]
mov eax, dword [0x1e282f58]
mov ebx, esi
cmp esi, eax
jb 0x1e100da0
cmp byte [esi], 0x3b
je 0x1e100da0
dec esi
cmp esi, eax
jae 0x1e100d96
sub ebx, esi
push ebx
lea edx, [esi + 1]
push edx
lea eax, [ebp - 0x110]
push eax
call edi
lea eax, [ebp - 0x110]
add esp, 0xc
mov byte [ebp + ebx - 0x110], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1e100dc4
sub eax, edx
je 0x1e100de6
nop
mov cl, byte [ebp + eax - 0x110]
cmp cl, 0x5c
je 0x1e100de6
cmp cl, 0x2f
je 0x1e100de6
sub eax, 1
jne 0x1e100dd0
mov byte [ebp + eax - 0x110], 0
lea eax, [ebp - 0x110]
call fcn.1e100380
test eax, eax
jne 0x1e100c35
mov eax, dword [0x1e282f58]
cmp esi, eax
jb 0x1e100c35
dec esi
jmp 0x1e100d90
mov esi, str..DLLs_.lib_.libplat_win_.liblib_tk
lea esp, [esp]
push 0x3b
push esi
call edi
add esp, 8
mov dword [ebp - 0x21c], eax
test eax, eax
jne 0x1e100e44
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1e100e37
sub eax, edx
mov edi, eax
jmp 0x1e100e4c
mov edi, dword [ebp - 0x21c]
sub edi, esi
cmp byte [esi], 0x2e
jne 0x1e100e80
mov al, byte [esi + 1]
cmp al, 0x5c
je 0x1e100e5c
cmp al, 0x2f
jne 0x1e100e80
mov eax, dword [ebp - 0x228]
mov edx, ebx
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x1e100e66
push 0
push ebx
call dword [sym.imp.MSVCR90.dll_strchr]
add esp, 8
inc esi
mov ebx, eax
dec edi
push edi
push esi
push ebx
call dword [sym.imp.MSVCR90.dll_strncpy]
add esp, 0xc
add ebx, edi
cmp dword [ebp - 0x21c], 0
je 0x1e100d44
mov esi, dword [ebp - 0x21c]
mov edi, dword [sym.imp.MSVCR90.dll_strchr]
mov byte [ebx], 0x3b
inc ebx
inc esi
jmp 0x1e100e20