Function at 0x140008010
Capabilities:
Accept command line arguments
Check for time delay via queryperformancecounter
Create process on windows
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x20a0]
mov eax, 0x21a0
call fcn.14000bc60
sub rsp, rax
mov rax, qword [0x140040040]
xor rax, rsp
mov qword [rbp + 0x2090], rax
mov rbx, rcx
lea rdx, [rbp + 0x90]
add rcx, 0x10
mov r8d, 0x1000
call fcn.140008920
mov esi, 1
lea rcx, [0x140007970]
mov edx, esi
call qword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
xor r14d, r14d
mov dword [rbp - 0x50], 0x18
lea rcx, [rbp + 0x20]
mov qword [rbp - 0x48], r14
mov dword [rbp - 0x40], esi
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
xorps xmm0, xmm0
mov qword [rbp + 0x28], r14
xor ecx, ecx
movdqa xmmword [rbp + 0x30], xmm0
mov dword [rbp + 0x5c], 0x101
mov word [rbp + 0x60], si
call fcn.1400170a0
mov rcx, rax
call fcn.14001c1c4
mov ecx, eax
call fcn.14001a498
cmp rax, 0xffffffffffffffff
mov ecx, esi
cmove rax, r14
mov qword [rbp + 0x70], rax
call fcn.1400170a0
mov rcx, rax
call fcn.14001c1c4
mov ecx, eax
call fcn.14001a498
cmp rax, 0xffffffffffffffff
lea ecx, [rsi + 1]
cmove rax, r14
mov qword [rbp + 0x78], rax
call fcn.1400170a0
mov rcx, rax
call fcn.14001c1c4
mov ecx, eax
call fcn.14001a498
cmp rax, 0xffffffffffffffff
lea rdi, [rbx + 0x3040]
cmove rax, r14
mov qword [rbp + 0x80], rax
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov qword [rsp + 0x48], rdi
lea r8, [rbp - 0x50]
mov rdx, rax
lea rcx, [rbp + 0x90]
lea rax, [rbp + 0x20]
xor r9d, r9d
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], esi
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x140008179
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea r8, str.Failed_to_create_child_process__n
lea rcx, [0x14002f958]
call fcn.140002310
lea eax, [rsi - 2]
jmp 0x140008469
xorps xmm0, xmm0
mov qword [rbp - 0x30], r14
lea rax, str.PyInstallerOnefileHiddenWindow
movdqa xmmword [rbp - 0x20], xmm0
mov qword [rbp + 0x10], rax
lea rcx, [rbp - 0x30]
lea rax, [0x1400074f0]
movdqa xmmword [rbp], xmm0
xorps xmm1, xmm1
mov qword [rbp - 0x28], rax
movdqa xmmword [rbp - 0x10], xmm1
call qword [sym.imp.USER32.dll_RegisterClassW]
test ax, ax
jne 0x1400081bd
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdx, qword [rbp + 0x10]
lea r8, str.PyInstaller_Onefile_Hidden_Window
mov qword [rsp + 0x58], rbx
xor r9d, r9d
mov qword [rsp + 0x50], r14
xor ecx, ecx
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x40], r14
mov dword [rsp + 0x38], 0x80000000
mov dword [rsp + 0x30], 0x80000000
mov dword [rsp + 0x28], 0x80000000
mov dword [rsp + 0x20], 0x80000000
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov qword [rbx + 0x3058], rax
test rax, rax
jne 0x14000821b
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x140008226
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rdi]
mov edx, 0x64
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1400082ba
nop dword [rax]
cmp eax, 0xffffffff
jne 0x14000824b
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx eax, byte [rbx + 0x3060]
test al, al
jne 0x1400082ba
mov rdx, qword [rbx + 0x3058]
lea rcx, [rbp - 0x80]
xor r9d, r9d
mov dword [rsp + 0x20], esi
xor r8d, r8d
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jle 0x1400082a8
lea rcx, [rbp - 0x80]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp - 0x80]
call qword [sym.imp.USER32.dll_DispatchMessageW]
mov rdx, qword [rbx + 0x3058]
lea rcx, [rbp - 0x80]
xor r9d, r9d
mov dword [rsp + 0x20], esi
xor r8d, r8d
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jg 0x140008275
mov rcx, qword [rdi]
mov edx, 0x64
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x140008240
movzx eax, byte [rbx + 0x3060]
test al, al
je 0x140008306
mov rcx, qword [rdi]
mov edx, 0x1f4
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x140008428
mov rcx, qword [rdi]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x1400082f3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rdi]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x140008428
cmp byte [rbx + 0x3061], r14b
jne 0x1400083f0
lea rcx, [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
nop dword [rax]
mov r9d, 0x32
mov dword [rsp + 0x20], 0x4ff
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
mov rdx, qword [rbx + 0x3058]
lea rcx, [rbp - 0x80]
xor r9d, r9d
mov dword [rsp + 0x20], esi
xor r8d, r8d
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jle 0x1400083a3
nop word [rax + rax]
lea rcx, [rbp - 0x80]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp - 0x80]
call qword [sym.imp.USER32.dll_DispatchMessageW]
mov rdx, qword [rbx + 0x3058]
lea rcx, [rbp - 0x80]
xor r9d, r9d
mov dword [rsp + 0x20], esi
xor r8d, r8d
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jg 0x140008370
cmp byte [rbx + 0x3061], r14b
jne 0x1400083f0
lea rcx, [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rsp + 0x68]
sub rax, qword [rsp + 0x70]
imul rax, rax, 0x3e8
cqo
idiv qword [rsp + 0x78]
cmp rax, 0xfa
jl 0x140008330
cmp byte [rbx + 0x3061], r14b
je 0x140008428
nop dword [rax]
nop dword [rax + rax]
mov rdx, qword [rbx + 0x3058]
lea rcx, [rbp - 0x80]
xor r9d, r9d
xor r8d, r8d
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jle 0x14000841f
lea rcx, [rbp - 0x80]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp - 0x80]
call qword [sym.imp.USER32.dll_DispatchMessageW]
cmp byte [rbx + 0x3061], r14b
jne 0x1400083f0
mov rcx, qword [rbx + 0x3058]
test rcx, rcx
je 0x140008441
call qword [sym.imp.USER32.dll_DestroyWindow]
mov qword [rbx + 0x3058], r14
mov rcx, qword [rdi]
lea rdx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x3048]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x60]
mov rcx, qword [rbp + 0x2090]
xor rcx, rsp
call fcn.14000ba80
lea r11, [rsp + 0x21a0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret