Function at 0x140002070
Capabilities:
Link many functions at runtime
Read file on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x98
lea rbp, [rsp + 0x20]
mov rax, qword [0x1400342a0]
xor rax, rbp
mov qword [rbp + 0x60], rax
mov rbx, rdx
lea rdx, str.Py_Initialize
mov r12, r9
movsxd r15, r8d
mov rsi, rcx
mov qword [rbp], rcx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.PySys_SetArgv
mov rcx, rsi
mov qword [rbp + 8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.PyRun_SimpleString
mov rcx, rsi
mov r13, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.Py_Finalize
mov rcx, rsi
mov rdi, rax
mov qword [rbp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.Py_BuildValue
mov rcx, rsi
mov r14, rax
mov qword [rbp + 0x18], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbp]
lea rdx, str.PyCFunction_New
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbp]
lea rdx, str.PyArg_ParseTuple
mov qword [rbp + 0x10], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbp]
lea rdx, str.PyErr_Format
mov qword [rbp + 0x28], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
xor ecx, ecx
cmp qword [rbp + 8], rcx
je 0x1400022e9
test r13, r13
je 0x1400022e9
test rdi, rdi
je 0x1400022e9
test r14, r14
je 0x1400022e9
test rsi, rsi
je 0x1400022e9
cmp qword [rbp + 0x28], rcx
je 0x1400022e9
test rax, rax
je 0x1400022e9
cmp qword [rbp + 0x10], rcx
je 0x1400022e9
test rbx, rbx
je 0x1400022e2
cmp byte [rbx], cl
je 0x1400022e2
xor edx, edx
mov rcx, rbx
call fcn.140021da4
mov esi, eax
cmp eax, 0xffffffff
jne 0x1400021d6
call fcn.14000a5a0
lea rdx, str.Could_not_open_postinstall_script__s_n
mov r8, rbx
lea rcx, [rax + 0x60]
call fcn.14000a3c8
lea eax, [rsi + 4]
jmp 0x1400022ee
mov rcx, qword [0x1400388c0]
lea r8, str.Running_Script...
mov edx, 0x3ec
call qword [sym.imp.USER32.dll_SetDlgItemTextA]
call qword [rbp + 8]
mov rcx, qword [rbp]
call fcn.140001ed0
lea rcx, [0x1400358b0]
xor edx, edx
mov r8d, 0x800
call fcn.140008d30
xor ebx, ebx
test r15d, r15d
jle 0x140002246
lea r14, [0x1400358b0]
sub r12, r14
lea rax, [r12 + rbx*8]
mov rcx, qword [rax + r14]
test rcx, rcx
je 0x140002234
call fcn.1400018a4
jmp 0x140002236
xor eax, eax
mov qword [r14 + rbx*8], rax
inc rbx
cmp rbx, r15
jl 0x140002220
mov r14, qword [rbp + 0x18]
lea r12, [0x1400358b0]
mov ecx, r15d
mov rdx, r12
call r13
xor ebx, ebx
test r15d, r15d
jle 0x140002273
mov rcx, qword [r12 + rbx*8]
test rcx, rcx
je 0x14000226b
call fcn.140009ba0
inc rbx
cmp rbx, r15
jl 0x14000225d
lea rdx, [rbp + 0x30]
mov ecx, esi
mov ebx, 3
call fcn.14000a014
test eax, eax
jne 0x1400022d4
mov r8d, dword [rbp + 0x44]
lea eax, [r8 + 5]
movsxd rcx, eax
lea rax, [rcx + 0xf]
cmp rax, rcx
ja 0x1400022a5
movabs rax, 0xffffffffffffff0
and rax, 0xfffffffffffffff0
call fcn.14000a7d0
sub rsp, rax
mov ecx, esi
lea rdi, [rsp + 0x20]
mov rdx, rdi
call fcn.140022a44
test eax, eax
jle 0x1400022d4
cdqe
mov rcx, rdi
mov word [rax + rdi], 0xa
call qword [rbp + 0x20]
mov ebx, eax
call r14
mov ecx, esi
call fcn.140017690
mov eax, ebx
jmp 0x1400022ee
mov eax, 2
jmp 0x1400022ee
mov eax, 1
mov rcx, qword [rbp + 0x60]
xor rcx, rbp
call fcn.1400093b0
lea rsp, [rbp + 0x78]
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret