Function at 0x52f230
Capabilities:
Accept command line arguments

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x38
mov r12d, ecx
call fcn.00526c64
mov rsi, qword [sym.imp.python39.dll_PyImport_FrozenModules]
mov r13, qword [rsi]
cmp qword [r13], 0
mov rax, r13
je 0x52f26a
nop dword [rax + rax]
add rax, 0x18
cmp qword [rax], 0
jne 0x52f260
sub rax, r13
mov rbx, rax
movabs rax, 0xaaaaaaaaaaaaaaab
sar rbx, 3
imul rbx, rax
lea eax, [rbx + 0xa7]
movsxd rbx, ebx
cdqe
lea rbx, [rbx + rbx*2]
lea rcx, [rax + rax*2]
shl rbx, 3
shl rcx, 3
call sub.msvcrt.dll_malloc
mov r8, rbx
mov rdx, r13
mov rdi, rax
mov rcx, rax
call sub.msvcrt.dll_memcpy
lea rcx, [rdi + rbx]
call fcn.00401950
mov rax, qword [rsi]
mov qword [rsi], rdi
mov qword [0x005571e0], rax
call fcn.004b32d0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetDllDirectoryW]
call fcn.004b32d0
mov rcx, rax
call qword [sym.imp.python39.dll_Py_SetPythonHome]
mov rax, qword [sym.imp.python39.dll_Py_DebugFlag]
mov rbx, qword [sym.imp.python39.dll_Py_NoSiteFlag]
mov dword [rax], 0
mov rax, qword [sym.imp.python39.dll_Py_InspectFlag]
mov dword [rbx], 1
mov dword [rax], 0
mov rax, qword [sym.imp.python39.dll_Py_InteractiveFlag]
mov dword [rax], 0
mov rax, qword [sym.imp.python39.dll_Py_OptimizeFlag]
mov dword [rax], 0
mov rax, qword [sym.imp.python39.dll_Py_DontWriteBytecodeFlag]
mov dword [rax], 0
mov rax, qword [sym.imp.python39.dll_Py_NoUserSiteDirectory]
mov dword [rax], 0
mov rax, qword [sym.imp.python39.dll_Py_IgnoreEnvironmentFlag]
mov dword [rax], 0
mov rax, qword [sym.imp.python39.dll_Py_VerboseFlag]
mov dword [rax], 0
mov rax, qword [sym.imp.python39.dll_Py_BytesWarningFlag]
mov dword [rax], 0
mov rax, qword [sym.imp.python39.dll_Py_UTF8Mode]
mov dword [rax], 0
mov rax, qword [sym.imp.python39.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, r12d
mov rdx, rax
mov qword [0x005571e8], rax
call fcn.00498100
call qword [sym.imp.python39.dll_Py_Initialize]
call fcn.004b32d0
mov rcx, rax
call qword [sym.imp.python39.dll_PySys_SetPath]
call fcn.004b32d0
mov rcx, rax
call qword [sym.imp.python39.dll_Py_SetPath]
mov rdx, qword [0x005571e8]
xor r8d, r8d
mov ecx, r12d
mov dword [rbx], 0
call fcn.00498100
call fcn.004b33e0
call fcn.004017c0
call fcn.004cb0f0
mov rdi, qword [0x00542840]
lea rcx, [0x0053cb06]
mov rbx, qword [sym.imp.python39.dll_PySys_GetObject]
mov rbp, qword [rdi + 0x10]
call rbx
mov edx, 6
mov rcx, rax
mov r8, rbp
call qword [sym.imp.python39.dll_PyStructSequence_SetItem]
call fcn.00498580
call fcn.00522570
call fcn.004ac700
call fcn.004aca70
call fcn.00523410
call fcn.004e8cc0
call fcn.004cb290
call fcn.004b2db0
call fcn.005241b0
call fcn.00524240
call fcn.00524310
lea rcx, str.NUL:
call qword [sym.imp.python39.dll_PyUnicode_FromString]
lea rcx, [0x0053cb11]
mov r12, rax
call rbx
test rax, rax
je 0x52f578
lea rcx, [0x0053cb19]
call rbx
test rax, rax
je 0x52f59c
lea rcx, [0x0053cb22]
call rbx
test rax, rax
je 0x52f5c0
sub qword [r12], 1
je 0x52f55b
call fcn.00526450
mov rax, qword [0x005571e0]
mov qword [rsi], rax
call fcn.004018f0
call qword [sym.imp.python39.dll__PyWarnings_Init]
call fcn.00523f80
mov r12, qword [rdi + 0x218]
call qword [sym.imp.python39.dll_PyImport_GetModuleDict]
mov rcx, rax
mov rdx, r12
call qword [sym.imp.python39.dll_PyDict_DelItem]
lea rcx, str.__main__
call fcn.00526260
mov rax, qword [sym.imp.python39.dll__PyRuntime]
xor ecx, ecx
mov rdx, qword [rax + 0x1f0]
cmp qword [rdx + 0x58], 0
je 0x52f555
mov rbx, qword [rax + 0x1f0]
mov rbp, qword [rbx + 0x68]
test rbp, rbp
je 0x52f548
mov r13, qword [sym.imp.python39.dll_PyUnicode_AsUTF8]
lea r12, str._frozen_importlib._bootstrap_
mov rax, qword [rbp + 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 0x52f569
xor ecx, ecx
call qword [sym.imp.python39.dll_PyErr_PrintEx]
mov ecx, 1
call qword [sym.imp.python39.dll_Py_Exit]
mov rcx, r12
call qword [sym.imp.python39.dll__Py_Dealloc]
jmp 0x52f4aa
mov rbp, qword [rbp + 0x10]
mov qword [rbx + 0x68], rbp
add qword [rbp], 1
jmp 0x52f523
mov rcx, r12
lea rdx, [0x0053cb17]
call fcn.004981c0
lea rcx, [0x0053cb11]
mov rdx, rax
call qword [sym.imp.python39.dll_PySys_SetObject]
jmp 0x52f47b
mov rcx, r12
lea rdx, [0x0053cb20]
call fcn.004981c0
lea rcx, [0x0053cb19]
mov rdx, rax
call qword [sym.imp.python39.dll_PySys_SetObject]
jmp 0x52f48d
mov rcx, r12
lea rdx, [0x0053cb20]
call fcn.004981c0
lea rcx, [0x0053cb22]
mov rdx, rax
call qword [sym.imp.python39.dll_PySys_SetObject]
jmp 0x52f49f