Function at 0x1800321c0
Capabilities:
Query environment variable

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x78
xor edi, edi
mov r14, rdx
mov r12d, ecx
mov r15d, edi
mov ebp, edi
mov qword [rsp + 0x38], rdi
call fcn.18023601c
lea r8, str.3bBc:dEhiJm:OQ:RsStuUvVW:xX_
mov ebx, edi
mov rdx, r14
mov ecx, r12d
mov dword [rsp + 0xc8], ebx
mov r13, rax
mov dword [rsp + 0x34], edi
mov esi, edi
mov dword [rsp + 0xd8], edi
mov dword [rsp + 0xd0], edi
mov dword [rsp + 0x30], edi
mov dword [rsp + 0xc0], edi
mov dword [0x18050d9d0], r12d
mov qword [0x18050d9c8], r14
mov dword [reloc.WS2_32.dll_accept], edi
call fcn.180149790
cmp eax, 0xffffffff
je 0x180032279
nop
cmp eax, 0x6d
je 0x180032279
cmp eax, 0x63
je 0x180032279
cmp eax, 0x45
je 0x18003225c
cmp eax, 0x52
jne 0x180032262
inc dword [sym.extension.dll_Py_HashRandomizationFlag]
jmp 0x180032262
inc dword [sym.extension.dll_Py_IgnoreEnvironmentFlag]
lea r8, str.3bBc:dEhiJm:OQ:RsStuUvVW:xX_
mov rdx, r14
mov ecx, r12d
call fcn.180149790
cmp eax, 0xffffffff
jne 0x180032240
cmp dword [sym.extension.dll_Py_HashRandomizationFlag], ebx
mov edi, 1
jne 0x1800322b3
cmp dword [sym.extension.dll_Py_IgnoreEnvironmentFlag], ebx
jne 0x1800322b3
lea rcx, str.PYTHONHASHSEED
call fcn.180236e9c
mov rcx, rax
test rax, rax
je 0x1800322b3
mov eax, dword [sym.extension.dll_Py_HashRandomizationFlag]
cmp byte [rcx], bl
cmovne eax, edi
mov dword [sym.extension.dll_Py_HashRandomizationFlag], eax
call sym.extension.dll__PyRandom_Init
call sym.extension.dll_PySys_ResetWarnOptions
call fcn.180149750
lea r8, str.3bBc:dEhiJm:OQ:RsStuUvVW:xX_
mov rdx, r14
mov ecx, r12d
call fcn.180149790
or rdi, 0xffffffffffffffff
cmp eax, edi
je 0x180032612
lea r8, [0x180314df0]
lea r11, str.warnall
lea r10, str.warn
lea r9, [0x180314dd8]
lea rdx, [0x180000000]
cmp eax, 0x63
je 0x18003255b
cmp eax, 0x6d
je 0x1800324fc
add eax, 0xffffffcd
cmp eax, 0x45
ja case.0x180032335.69
cdqe
movzx eax, byte [rdx + rax + 0x32c44]
mov ecx, dword [rdx + rax*4 + 0x32bf8]
add rcx, rdx
jmp rcx
inc dword [sym.extension.dll_Py_BytesWarningFlag]
jmp case.0x180032335.54
inc dword [sym.extension.dll_Py_DebugFlag]
jmp case.0x180032335.54
inc dword [sym.extension.dll_Py_Py3kWarningFlag]
cmp dword [sym.extension.dll_Py_DivisionWarningFlag], ebp
jne case.0x180032335.54
mov dword [sym.extension.dll_Py_DivisionWarningFlag], 1
jmp case.0x180032335.54
mov rdx, qword [0x1805188c8]
xor ecx, ecx
nop word [rax + rax]
movzx eax, byte [rdx + rcx]
inc rcx
cmp al, byte [r9 + rcx - 1]
jne 0x18003239f
cmp rcx, 4
jne 0x180032380
mov dword [sym.extension.dll_Py_DivisionWarningFlag], ebp
jmp case.0x180032335.54
xor ecx, ecx
movzx eax, byte [rdx + rcx]
inc rcx
cmp al, byte [r10 + rcx - 1]
jne 0x1800323c4
cmp rcx, 5
jne 0x1800323a1
mov dword [sym.extension.dll_Py_DivisionWarningFlag], 1
jmp case.0x180032335.54
xor ecx, ecx
nop word [rax + rax]
movzx eax, byte [rdx + rcx]
inc rcx
cmp al, byte [r11 + rcx - 1]
jne 0x1800323f3
cmp rcx, 8
jne 0x1800323d0
mov dword [sym.extension.dll_Py_DivisionWarningFlag], 2
jmp case.0x180032335.54
xor ecx, ecx
nop word [rax + rax]
movzx eax, byte [rdx + rcx]
inc rcx
cmp al, byte [r8 + rcx - 1]
jne 0x1800324d5
cmp rcx, 4
jne 0x180032400
or dword [rsp + 0xc0], 0x2000
mov dword [sym.extension.dll__Py_QnewFlag], 1
jmp case.0x180032335.54
inc dword [sym.extension.dll_Py_InspectFlag]
inc dword [sym.extension.dll_Py_InteractiveFlag]
jmp case.0x180032335.54
inc dword [sym.extension.dll_Py_OptimizeFlag]
jmp case.0x180032335.54
inc dword [sym.extension.dll_Py_DontWriteBytecodeFlag]
jmp case.0x180032335.54
inc dword [sym.extension.dll_Py_NoUserSiteDirectory]
jmp case.0x180032335.54
inc dword [sym.extension.dll_Py_NoSiteFlag]
jmp case.0x180032335.54
inc dword [sym.extension.dll_Py_TabcheckFlag]
jmp case.0x180032335.54
inc ebx
mov dword [rsp + 0x30], 1
mov dword [rsp + 0xc8], ebx
jmp case.0x180032335.54
inc dword [sym.extension.dll_Py_VerboseFlag]
jmp case.0x180032335.54
mov dword [rsp + 0x34], 1
jmp case.0x180032335.54
inc dword [sym.extension.dll_Py_UnicodeFlag]
jmp case.0x180032335.54
inc esi
mov dword [rsp + 0xd8], esi
jmp case.0x180032335.54
inc dword [rsp + 0xd0]
jmp case.0x180032335.54
mov rcx, qword [0x1805188c8]
call sym.extension.dll_PySys_AddWarnOption
lea r8, str.3bBc:dEhiJm:OQ:RsStuUvVW:xX_
mov rdx, r14
mov ecx, r12d
call fcn.180149790
cmp eax, 0xffffffff
je 0x1800325d1
jmp 0x1800322e0
call fcn.18023601c
lea rdx, str._Q_option_should_be___Qold____Qwarn____Qwarnall__or___Qnew_only_n
lea rcx, [rax + 0x60]
call fcn.1802367b8
mov rdx, qword [r14]
mov ecx, 2
call fcn.180032c90
jmp 0x180032be6
mov rbx, qword [0x1805188c8]
mov rcx, rdi
inc rcx
cmp byte [rbx + rcx], bpl
jne 0x180032506
add rcx, 2
call fcn.180230da8
mov rsi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x180032538
lea rcx, str.not_enough_memory_to_copy__m_argument
call sym.extension.dll_Py_FatalError
mov rbx, qword [0x1805188c8]
mov rcx, rsi
nop dword [rax + rax]
movzx eax, byte [rbx]
lea rcx, [rcx + 1]
lea rbx, [rbx + 1]
mov byte [rcx - 1], al
test al, al
jne 0x180032540
mov esi, dword [rsp + 0xd8]
jmp 0x1800325ca
mov rbx, qword [0x1805188c8]
mov rcx, rdi
inc rcx
cmp byte [rbx + rcx], bpl
jne 0x180032565
add rcx, 2
call fcn.180230da8
mov r15, rax
test rax, rax
jne 0x180032592
lea rcx, str.not_enough_memory_to_copy__c_argument
call sym.extension.dll_Py_FatalError
mov rbx, qword [0x1805188c8]
mov rdx, r15
nop word [rax + rax]
movzx ecx, byte [rbx]
lea rdx, [rdx + 1]
lea rbx, [rbx + 1]
mov byte [rdx - 1], cl
test cl, cl
jne 0x1800325a0
lea rcx, [r15 - 1]
cmp byte [rcx + 1], bpl
lea rcx, [rcx + 1]
jne 0x1800325b6
movzx eax, word [reloc.WS2_32.dll_ioctlsocket]
mov word [rcx], ax
mov ebx, dword [rsp + 0xc8]
test esi, esi
je 0x1800325e4
mov rdx, qword [r14]
xor ecx, ecx
call fcn.180032c90
jmp 0x180032be6
mov eax, dword [rsp + 0xd0]
test eax, eax
je 0x180032612
call fcn.18023601c
lea r8, str.2.7.10
lea rdx, str.Python__s_n
lea rcx, [rax + 0x60]
call fcn.1802367b8
xor eax, eax
jmp 0x180032be6
cmp dword [sym.extension.dll_Py_Py3kWarningFlag], ebp
mov esi, 1
je 0x180032630
mov eax, dword [sym.extension.dll_Py_TabcheckFlag]
test eax, eax
cmove eax, esi
mov dword [sym.extension.dll_Py_TabcheckFlag], eax
cmp dword [sym.extension.dll_Py_InspectFlag], ebp
jne 0x180032663
cmp dword [sym.extension.dll_Py_IgnoreEnvironmentFlag], ebp
jne 0x180032663
lea rcx, str.PYTHONINSPECT
call fcn.180236e9c
test rax, rax
je 0x180032663
mov ecx, dword [sym.extension.dll_Py_InspectFlag]
cmp byte [rax], bpl
cmovne ecx, esi
mov dword [sym.extension.dll_Py_InspectFlag], ecx
cmp dword [rsp + 0x30], ebp
jne 0x18003268f
cmp dword [sym.extension.dll_Py_IgnoreEnvironmentFlag], ebp
jne 0x18003268f
lea rcx, str.PYTHONUNBUFFERED
call fcn.180236e9c
test rax, rax
je 0x18003268f
cmp byte [rax], bpl
cmovne ebx, esi
mov dword [rsp + 0xc8], ebx
cmp dword [sym.extension.dll_Py_NoUserSiteDirectory], ebp
jne 0x1800326c6
cmp dword [sym.extension.dll_Py_IgnoreEnvironmentFlag], ebp
jne 0x180032766
lea rcx, str.PYTHONNOUSERSITE
call fcn.180236e9c
test rax, rax
je 0x1800326c6
mov ecx, dword [sym.extension.dll_Py_NoUserSiteDirectory]
cmp byte [rax], bpl
cmovne ecx, esi
mov dword [sym.extension.dll_Py_NoUserSiteDirectory], ecx
cmp dword [sym.extension.dll_Py_IgnoreEnvironmentFlag], ebp
jne 0x180032766
lea rcx, str.PYTHONWARNINGS
call fcn.180236e9c
mov rbx, rax
test rax, rax
je 0x180032766
cmp byte [rax], bpl
je 0x180032766
nop
cmp byte [rax + rdi + 1], bpl
lea rdi, [rdi + 1]
jne 0x1800326f0
lea rcx, [rdi + 1]
call fcn.180230da8
mov rdi, rax
test rax, rax
jne 0x180032718
lea rcx, str.not_enough_memory_to_copy_PYTHONWARNINGS
call sym.extension.dll_Py_FatalError
mov rcx, rdi
sub rcx, rbx
nop
movzx eax, byte [rbx]
lea rbx, [rbx + 1]
mov byte [rbx + rcx - 1], al
test al, al
jne 0x180032720
lea rdx, [0x180314edc]
mov rcx, rdi
call fcn.180236bfc
test rax, rax
je 0x18003275e
mov rcx, rax
call sym.extension.dll_PySys_AddWarnOption
lea rdx, [0x180314edc]
xor ecx, ecx
call fcn.180236bfc
test rax, rax
jne 0x180032743
mov rcx, rdi
call fcn.180230d68
mov rdi, qword [rsp + 0x38]
test r15, r15
jne 0x1800327a6
test rdi, rdi
jne 0x1800327a6
movsxd rax, dword [reloc.WS2_32.dll_accept]
cmp eax, r12d
jge 0x1800327a6
mov rdx, qword [r14 + rax*8]
movzx eax, byte [0x180314ee0]
movzx ecx, byte [rdx]
sub ecx, eax
jne 0x1800327a0
movzx ecx, byte [rdx + 1]
movzx eax, byte [0x180314ee1]
sub ecx, eax
test ecx, ecx
cmovne rbp, rdx
call fcn.18023601c
xor edx, edx
mov rcx, rax
call sym.extension.dll_Py_FdIsInteractive
cmp dword [rsp + 0xc8], 0
mov esi, eax
je 0x180032832
call fcn.18023601c
mov rcx, rax
call fcn.1802403a4
mov edx, 0x8000
mov ecx, eax
call fcn.180236418
call fcn.18023601c
lea rcx, [rax + 0x30]
call fcn.1802403a4
mov edx, 0x8000
mov ecx, eax
call fcn.180236418
call fcn.18023601c
xor edx, edx
lea r8d, [rdx + 4]
mov r9d, 0x200
mov rcx, rax
call fcn.1802368e0
call fcn.18023601c
xor edx, edx
lea r8d, [rdx + 4]
lea rcx, [rax + 0x30]
mov r9d, 0x200
call fcn.1802368e0
call fcn.18023601c
lea rcx, [rax + 0x60]
jmp 0x180032844
cmp dword [sym.extension.dll_Py_InteractiveFlag], 0
je 0x180032857
call fcn.18023601c
lea rcx, [rax + 0x30]
mov r9d, 0x200
mov r8d, 4
xor edx, edx
call fcn.1802368e0
mov rcx, qword [r14]
call sym.extension.dll_Py_SetProgramName
call sym.extension.dll_Py_Initialize
cmp dword [sym.extension.dll_Py_VerboseFlag], 0
lea rcx, [0x180314f4c]
jne 0x180032893
test r15, r15
jne 0x1800328ef
test rbp, rbp
jne 0x180032908
test rdi, rdi
jne 0x18003290d
test esi, esi
je 0x180032921
call sym.extension.dll_Py_GetPlatform
mov rdi, rax
call sym.extension.dll_Py_GetVersion
mov rbx, rax
call fcn.18023601c
lea rdx, str.Python__s_on__s_n
lea rcx, [rax + 0x60]
mov r9, rdi
mov r8, rbx
call fcn.1802367b8
cmp dword [sym.extension.dll_Py_NoSiteFlag], 0
jne 0x1800328e3
call fcn.18023601c
lea r8, str.Type__help____copyright____credits__or__license__for_more_information.
lea rdx, [0x180314f48]
lea rcx, [rax + 0x60]
call fcn.1802367b8
lea rcx, [0x180314f4c]
test r15, r15
je 0x180032903
mov eax, dword [reloc.WS2_32.dll_accept]
dec eax
mov dword [reloc.WS2_32.dll_accept], eax
cdqe
mov qword [r14 + rax*8], rcx
mov rdi, qword [rsp + 0x38]
test rdi, rdi
je 0x180032921
mov eax, dword [reloc.WS2_32.dll_accept]
dec eax
mov dword [reloc.WS2_32.dll_accept], eax
cdqe
mov qword [r14 + rax*8], rcx
movsxd rcx, dword [reloc.WS2_32.dll_accept]
sub r12d, ecx
lea rdx, [r14 + rcx*8]
mov ecx, r12d
call sym.extension.dll_PySys_SetArgv
cmp dword [sym.extension.dll_Py_InspectFlag], 0
lea r12, str._stdin_
jne 0x180032956
test r15, r15
jne 0x18003299a
test rbp, rbp
jne 0x1800329be
test rdi, rdi
jne 0x1800329c3
call fcn.18023601c
mov rcx, rax
call fcn.1802403a4
mov ecx, eax
call fcn.18024fc58
test eax, eax
je 0x180032995
lea rcx, str.readline
call sym.extension.dll_PyImport_ImportModule
mov rcx, rax
test rax, rax
jne 0x180032989
call sym.extension.dll_PyErr_Clear
jmp 0x180032995
dec qword [rax]
jne 0x180032995
mov rax, qword [rax + 8]
call qword [rax + 0x30]
test r15, r15
je 0x1800329be
lea rdx, [rsp + 0xc0]
mov rcx, r15
call sym.extension.dll_PyRun_SimpleStringFlags
xor ebx, ebx
mov rcx, r15
test eax, eax
setne bl
call fcn.180230d68
jmp 0x180032b60
test rdi, rdi
je 0x1800329e8
mov r14d, 1
mov rcx, rdi
mov edx, r14d
call fcn.180032e50
xor ebx, ebx
mov rcx, rdi
test eax, eax
setne bl
call fcn.180230d68
jmp 0x180032b66
test rbp, rbp
jne 0x180032a25
test esi, esi
je 0x180032a04
lea rcx, [rsp + 0xc0]
mov dword [sym.extension.dll_Py_InspectFlag], ebp
call fcn.180032d80
call sym.extension.dll_Py_MakePendingCalls
cmp eax, 0xffffffff
jne 0x180032b35
call sym.extension.dll_PyErr_Print
mov r14d, 1
mov ebx, r14d
jmp 0x180032b66
mov rcx, rbp
call fcn.180032fc0
mov ebx, eax
cmp eax, 0xffffffff
jne 0x180032b60
lea rdx, [0x180313b9c]
mov rcx, rbp
call fcn.1802367ac
mov r13, rax
test rax, rax
jne 0x180032a98
call fcn.18023193c
mov rbx, rax
call fcn.18023193c
mov ecx, dword [rbx]
mov rdi, rax
call fcn.180236b60
mov rbx, rax
call fcn.18023601c
mov ecx, dword [rdi]
mov r8, qword [r14]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], ecx
lea rcx, [rax + 0x60]
lea rdx, str._s:_cant_open_file__s:__Errno__d___s_n
mov r9, rbp
call fcn.1802367b8
lea eax, [r13 + 2]
jmp 0x180032be6
cmp dword [rsp + 0x34], 0
je 0x180032ad1
mov rcx, rax
call fcn.180234ea0
cmp eax, 0xffffffff
je 0x180032ad1
nop dword [rax]
cmp eax, 0xa
je 0x180032ac4
mov rcx, r13
call fcn.180234ea0
cmp eax, 0xffffffff
jne 0x180032ab0
jmp 0x180032ad1
mov rdx, r13
mov ecx, 0xa
call fcn.180236b00
mov rcx, r13
call fcn.1802403a4
lea rdx, [rsp + 0x40]
mov ecx, eax
call fcn.180236f08
test eax, eax
jne 0x180032a04
movzx ecx, word [rsp + 0x46]
mov eax, 0xf000
mov edx, 0x4000
and cx, ax
cmp cx, dx
jne 0x180032a04
call fcn.18023601c
mov r8, qword [r14]
lea rdx, str._s:__s_is_a_directory__cannot_continue_n
lea rcx, [rax + 0x60]
mov r9, rbp
call fcn.1802367b8
mov rcx, r13
call fcn.18023666c
mov eax, 1
jmp 0x180032be6
xor r8d, r8d
test rbp, rbp
mov rdx, rbp
setne r8b
test rbp, rbp
lea r9, [rsp + 0xc0]
cmove rdx, r12
mov rcx, r13
call sym.extension.dll_PyRun_AnyFileExFlags
xor ebx, ebx
test eax, eax
setne bl
mov r14d, 1
cmp dword [sym.extension.dll_Py_InspectFlag], 0
jne 0x180032ba0
cmp dword [sym.extension.dll_Py_IgnoreEnvironmentFlag], 0
jne 0x180032bdf
lea rcx, str.PYTHONINSPECT
call fcn.180236e9c
test rax, rax
je 0x180032b97
cmp byte [rax], 0
je 0x180032b97
mov dword [sym.extension.dll_Py_InspectFlag], r14d
jmp 0x180032ba0
cmp dword [sym.extension.dll_Py_InspectFlag], 0
je 0x180032bdf
test esi, esi
je 0x180032bdf
test rbp, rbp
jne 0x180032bb3
test r15, r15
jne 0x180032bb3
test rdi, rdi
je 0x180032bdf
mov dword [sym.extension.dll_Py_InspectFlag], 0
call fcn.18023601c
lea r9, [rsp + 0xc0]
xor r8d, r8d
mov rdx, r12
mov rcx, rax
call sym.extension.dll_PyRun_AnyFileExFlags
xor ebx, ebx
test eax, eax
setne bl
call sym.extension.dll_Py_Finalize
mov eax, ebx
add rsp, 0x78
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret