Function at 0x14000bac0
Capabilities:
Create process on windows
Extract resource via kernel32 functions

Disassembly:
push rbp
push r12
lea rbp, [rsp - 8]
sub rsp, 0x108
lea r12, [0x14002fd30]
mov r8d, 0x1000
mov rcx, r12
lea rdx, str.TEMPonefile_PID_TIME
call fcn.14000ac30
test al, al
je 0x14000bf35
mov edx, 1
lea rcx, [0x14000b740]
call qword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
test eax, eax
je 0x14000bf5b
mov edx, 0x1b
mov qword [rsp + 0x120], rbx
xor ecx, ecx
lea r8d, [rdx - 0x11]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rdx, rax
xor ecx, ecx
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdx, rbx
xor ecx, ecx
mov qword [0x14002fd00], rax
mov qword [0x14002fd28], rax
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rcx, qword [0x14002fd28]
mov eax, eax
mov qword [0x140031d50], rax
movzx eax, word [rcx]
mov word [rbp + 0x30], ax
movzx eax, byte [rcx + 2]
add rcx, 3
cmp byte [rbp + 0x30], 0x4b
mov qword [0x14002fd28], rcx
jne 0x14000bfdd
cmp byte [rbp + 0x31], 0x41
jne 0x14000bfdd
cmp al, 0x59
jne 0x14000bf72
mov qword [rsp + 0x100], rsi
mov qword [rsp + 0xf8], rdi
mov qword [rsp + 0xf0], r13
mov qword [rsp + 0xe8], r14
mov qword [rsp + 0xe0], r15
call fcn.14000b0b0
mov rax, qword [0x14002fd28]
lea r15, [0x140038570]
mov qword [0x140031d38], rax
lea rsi, [0x140033d60]
mov rax, qword [0x140031d50]
lea r14, [0x140035d60]
xor edi, edi
mov qword [0x140031d40], rax
mov qword [0x140031d48], rdi
mov byte [0x14002fd08], 1
nop word [rax + rax]
mov edx, 2
lea rcx, [rbp + 0x30]
mov rbx, r15
call fcn.14000b180
movzx eax, word [rbp + 0x30]
mov word [0x140038570], ax
test ax, ax
je 0x14000bdce
nop word [rax + rax]
mov edx, 2
lea rcx, [rbp + 0x30]
lea rbx, [rbx + 2]
call fcn.14000b180
movzx eax, word [rbp + 0x30]
mov word [rbx], ax
test ax, ax
jne 0x14000bc40
cmp word [0x140038570], di
je 0x14000bdce
cmp word [0x14002fd30], di
mov edx, 0x1000
mov word [0x140033d60], di
mov rcx, rsi
je 0x14000bcb0
mov r8, r12
sub r8, rsi
nop dword [rax]
cmp rdx, 1
jb 0x14000bf89
movzx eax, word [r8 + rcx]
dec rdx
mov word [rcx], ax
add rcx, 2
cmp word [r8 + rcx], di
jne 0x14000bc90
mov word [rcx], di
mov rax, rsi
cmp word [0x140033d60], di
mov ecx, 0x1000
je 0x14000bcda
add rax, 2
dec rcx
cmp word [rax], di
jne 0x14000bcc4
cmp rcx, 1
jb 0x14000bf8f
mov dword [rax], 0x5c
mov edx, 0x1000
cmp word [0x140033d60], di
mov rax, rsi
je 0x14000bcfd
add rax, 2
dec rdx
cmp word [rax], di
jne 0x14000bcf1
mov r8, r15
sub r8, rax
cmp rdx, 1
jb 0x14000bfc2
movzx ecx, word [r8 + rax]
dec rdx
mov word [rax], cx
add rax, 2
cmp word [r8 + rax], di
jne 0x14000bd03
cmp word [0x140035d60], di
mov word [rax], di
jne 0x14000bd69
cmp word [0x140033d60], di
mov edx, 0x1000
mov rcx, r14
je 0x14000bd66
mov r8, rsi
sub r8, r14
cmp rdx, 1
jb 0x14000bf95
movzx eax, word [r8 + rcx]
dec rdx
mov word [rcx], ax
add rcx, 2
cmp word [r8 + rcx], di
jne 0x14000bd46
mov word [rcx], di
mov edx, 8
lea rcx, [rsp + 0x50]
call fcn.14000b180
mov rcx, rsi
call fcn.14000b4f0
xor r9d, r9d
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov edx, 0x40000000
mov rcx, rsi
mov dword [rsp + 0x20], 2
lea r8d, [r9 + 2]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14000bf9b
mov rdx, qword [rsp + 0x50]
mov rcx, rax
call fcn.14000b2c0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14000bc10
call fcn.140005d50
mov rcx, qword [0x14002fd10]
call fcn.140011480
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, eax
call fcn.14000a9f0
call fcn.14000ab00
mov rdx, rax
lea rcx, str.NUITKA_ONEFILE_BINARY
call fcn.14000a8f0
xor edx, edx
lea rcx, [rsp + 0x70]
lea r8d, [rdx + 0x68]
call fcn.14000d3c0
mov ecx, 0xfffffff6
mov dword [rbp - 0x54], 0x100
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ecx, 0xfffffff5
mov qword [rbp - 0x40], rax
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ecx, 0xfffffff4
mov qword [rbp - 0x38], rax
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [rbp - 0x30], rax
mov dword [rsp + 0x70], 0x68
call fcn.14000b770
mov rdx, rax
mov ebx, 1
lea rax, [rsp + 0x58]
xor r9d, r9d
mov qword [rsp + 0x48], rax
xor r8d, r8d
lea rax, [rsp + 0x70]
mov rcx, r14
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x20
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x14000bfc8
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
mov qword [0x140031d30], rcx
mov dword [rbp + 0x38], edi
test rcx, rcx
je 0x14000bef2
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [0x140031d30]
lea rdx, [rbp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov ecx, dword [rbp + 0x38]
test eax, eax
cmove ecx, ebx
mov dword [rbp + 0x38], ecx
mov rcx, qword [0x140031d30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x140031d30], rdi
call fcn.14000b6e0
mov eax, dword [rbp + 0x38]
mov r14, qword [rsp + 0xe8]
mov r13, qword [rsp + 0xf0]
mov rdi, qword [rsp + 0xf8]
mov rsi, qword [rsp + 0x100]
mov r15, qword [rsp + 0xe0]
mov rbx, qword [rsp + 0x120]
add rsp, 0x108
pop r12
pop rbp
ret
mov ecx, 2
call fcn.14000e3ec
mov rcx, rax
lea r8, str.TEMPonefile_PID_TIME
lea rdx, str.Error__couldnt_runtime_expand_spec__ls._n
call fcn.140001010
call fcn.14000deec
int3
lea rcx, str.Error__failed_to_register_signal_handler.
call fcn.14000e594
mov ecx, 2
call fcn.14000dee0
int3
lea rcx, str.Error__couldnt_find_attached_data_header.
call fcn.14000e594
mov ecx, 2
call fcn.14000dee0
int3
call fcn.14000deec
int3
call fcn.14000deec
int3
call fcn.14000deec
int3
mov ecx, 2
call fcn.14000e3ec
mov rcx, rax
lea rdx, str.Error__failed_to_open__ls_for_writing._n
mov r8, rsi
call fcn.140001010
mov ecx, 2
call fcn.14000dee0
int3
call fcn.14000deec
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Error__couldnt_launch_child
call fcn.14000b040
int3
lea rcx, str.Error__couldnt_find_attached_data_header.
call fcn.14000e594
mov ecx, 2
call fcn.14000dee0
int3