Function at 0x40a220
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x38
mov rax, qword [sym.imp.msvcrt.dll___argc]
mov rax, qword [rax]
mov edi, dword [rax]
call qword [0x00473be0]
mov rsi, qword [sym.imp.python38.dll_PyImport_FrozenModules]
mov r12, qword [rsi]
cmp qword [r12], 0
mov rax, r12
je 0x40a25c
add rax, 0x18
cmp qword [rax], 0
jne 0x40a252
sub rax, r12
mov rbx, rax
movabs rax, 0xaaaaaaaaaaaaaaab
sar rbx, 3
imul rbx, rax
lea eax, [rbx + 0xa6]
movsxd rbx, ebx
lea rbx, [rbx + rbx*2]
cdqe
lea rcx, [rax + rax*2]
shl rbx, 3
shl rcx, 3
call sub.msvcrt.dll_malloc
mov r8, rbx
mov rdx, r12
mov rbp, rax
mov rcx, rax
call sub.msvcrt.dll_memcpy
lea rcx, [rbp + rbx]
call fcn.00403b70
mov rax, qword [rsi]
mov qword [rsi], rbp
mov qword [0x00486860], rax
call fcn.00431a90
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetDllDirectoryW]
call fcn.00431a90
mov rcx, rax
call qword [sym.imp.python38.dll_Py_SetPythonHome]
mov rax, qword [sym.imp.python38.dll_Py_DebugFlag]
mov rbx, qword [sym.imp.python38.dll_Py_NoSiteFlag]
mov dword [rax], 0
mov rax, qword [sym.imp.python38.dll_Py_InspectFlag]
mov dword [rbx], 1
mov dword [rax], 0
mov rax, qword [sym.imp.python38.dll_Py_InteractiveFlag]
mov dword [rax], 0
mov rax, qword [sym.imp.python38.dll_Py_OptimizeFlag]
mov dword [rax], 0
mov rax, qword [sym.imp.python38.dll_Py_DontWriteBytecodeFlag]
mov dword [rax], 0
mov rax, qword [sym.imp.python38.dll_Py_NoUserSiteDirectory]
mov dword [rax], 0
mov rax, qword [sym.imp.python38.dll_Py_IgnoreEnvironmentFlag]
mov dword [rax], 0
mov rax, qword [sym.imp.python38.dll_Py_VerboseFlag]
mov dword [rax], 0
mov rax, qword [sym.imp.python38.dll_Py_BytesWarningFlag]
mov dword [rax], 0
mov rax, qword [sym.imp.python38.dll_Py_UTF8Mode]
mov dword [rax], 0
mov rax, qword [sym.imp.python38.dll_Py_FrozenFlag]
mov dword [rax], 1
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea rdx, [rsp + 0x2c]
mov rcx, rax
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov r8d, 1
mov ecx, edi
mov rdx, rax
mov qword [0x00486868], rax
call fcn.0040a170
call qword [sym.imp.python38.dll_Py_Initialize]
call fcn.00431a90
mov rcx, rax
call qword [sym.imp.python38.dll_PySys_SetPath]
call fcn.00431a90
mov rcx, rax
call qword [sym.imp.python38.dll_Py_SetPath]
xor r8d, r8d
mov ecx, edi
mov dword [rbx], 0
mov rdx, qword [0x00486868]
call fcn.0040a170
call fcn.00431c50
call fcn.00401550
call fcn.00434b40
mov rbp, qword [0x0047beb0]
lea rcx, [0x00476cee]
mov rbx, qword [sym.imp.python38.dll_PySys_GetObject]
mov rdi, qword [rbp + 0x10]
call rbx
mov edx, 6
mov rcx, rax
mov r8, rdi
call qword [sym.imp.python38.dll_PyStructSequence_SetItem]
call fcn.0040a910
call fcn.00419cc0
call fcn.0040d620
call fcn.0040f2c0
call fcn.0041a990
call fcn.00434cd0
call fcn.004311e0
call fcn.004619f0
call fcn.00461a70
call fcn.00461b50
lea rcx, str.NUITKA_TICKER
call sub.msvcrt.dll_getenv
test rax, rax
je 0x40a467
mov rcx, rax
call sub.msvcrt.dll_atoi
mov rdx, qword [0x0047bce0]
mov dword [rdx], eax
lea rcx, str.NUL:
call qword [sym.imp.python38.dll_PyUnicode_FromString]
lea rcx, str.stdin
mov rdi, rax
call rbx
test rax, rax
je 0x40a5a7
lea rcx, [0x00476d0f]
call rbx
test rax, rax
je 0x40a5cb
lea rcx, [0x00476d18]
call rbx
test rax, rax
je 0x40a583
mov rax, qword [rdi]
sub rax, 1
mov qword [rdi], rax
je 0x40a575
call fcn.00463ba0
mov rax, qword [0x00486860]
mov qword [rsi], rax
call fcn.00403b10
call qword [sym.imp.python38.dll__PyWarnings_Init]
call fcn.00461720
mov rbx, qword [rbp + 0x208]
call qword [sym.imp.python38.dll_PyImport_GetModuleDict]
mov rcx, rax
mov rdx, rbx
call qword [sym.imp.python38.dll_PyDict_DelItem]
lea rcx, str.__main__
call fcn.004639c0
mov rbx, qword [sym.imp.python38.dll_PyThreadState_Get]
call rbx
xor ecx, ecx
cmp qword [rax + 0x58], 0
je 0x40a561
call rbx
mov rbx, qword [rax + 0x68]
mov rbp, rax
test rbx, rbx
je 0x40a554
mov r13, qword [sym.imp.python38.dll_PyUnicode_AsUTF8]
lea r12, str._frozen_importlib._bootstrap_
mov rax, qword [rbx + 0x18]
mov rdi, r12
mov rax, qword [rax + 0x20]
mov rcx, qword [rax + 0x68]
call r13
mov ecx, 0x1e
mov rsi, rax
repe cmpsb byte [rsi], byte [rdi]
seta al
sbb al, 0
test al, al
je 0x40a567
xor ecx, ecx
call qword [sym.imp.python38.dll_PyErr_PrintEx]
mov ecx, 1
call qword [sym.imp.python38.dll_Py_Exit]
mov rbx, qword [rbx + 0x10]
mov qword [rbp + 0x68], rbx
add qword [rbx], 1
jmp 0x40a52f
mov rcx, rdi
call qword [sym.imp.python38.dll__Py_Dealloc]
jmp 0x40a4bd
lea rdx, [0x00476d16]
mov rcx, rdi
call fcn.0040a1d0
lea rcx, [0x00476d18]
mov rdx, rax
call qword [sym.imp.python38.dll_PySys_SetObject]
jmp 0x40a4ad
lea rdx, [0x00476d0d]
mov rcx, rdi
call fcn.0040a1d0
lea rcx, str.stdin
mov rdx, rax
call qword [sym.imp.python38.dll_PySys_SetObject]
jmp 0x40a489
lea rdx, [0x00476d16]
mov rcx, rdi
call fcn.0040a1d0
lea rcx, [0x00476d0f]
mov rdx, rax
call qword [sym.imp.python38.dll_PySys_SetObject]
jmp 0x40a49b
sub rsp, 0x28
call fcn.00464340
mov rax, qword [0x0047bdc0]
xor edx, edx
mov r9d, dword [rax]
mov rax, qword [0x0047bdb0]
mov r8, qword [rax]
mov rax, qword [0x0047bda0]
mov rcx, qword [rax]
add rsp, 0x28
jmp 0x40a220