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

Disassembly:
push rbp
push r12
lea rbp, [rsp - 0x18]
sub rsp, 0x118
lea r12, [0x140032d30]
mov r8d, 0x1000
mov rcx, r12
lea rdx, str.TEMPSutton_PLC4.2.3.4
call fcn.14000b340
test al, al
je 0x14000c644
mov edx, 1
lea rcx, [0x14000be00]
call qword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
test eax, eax
je 0x14000c66a
mov edx, 0x1b
mov qword [rsp + 0x130], 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 [0x140032d00], rax
mov qword [0x140032d28], rax
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rcx, qword [0x140032d28]
mov eax, eax
mov qword [0x140034d50], rax
movzx eax, word [rcx]
mov word [rbp + 0x40], ax
movzx eax, byte [rcx + 2]
add rcx, 3
cmp byte [rbp + 0x40], 0x4b
mov qword [0x140032d28], rcx
jne 0x14000c6ec
cmp byte [rbp + 0x41], 0x41
jne 0x14000c6ec
cmp al, 0x59
jne 0x14000c681
mov qword [rsp + 0x110], rsi
mov qword [rsp + 0x108], rdi
mov qword [rsp + 0x100], r13
mov qword [rsp + 0xf8], r14
mov qword [rsp + 0xf0], r15
call fcn.14000b860
mov rax, qword [0x140032d28]
lea r15, [0x14003b570]
mov qword [0x140034d38], rax
lea rsi, [0x140036d60]
mov rax, qword [0x140034d50]
lea r14, [0x140038d60]
xor edi, edi
mov qword [0x140034d40], rax
mov qword [0x140034d48], rdi
mov edx, 2
lea rcx, [rbp + 0x40]
mov rbx, r15
call fcn.14000b930
movzx eax, word [rbp + 0x40]
mov word [0x14003b570], ax
test ax, ax
je 0x14000c4e0
nop word [rax + rax]
mov edx, 2
lea rcx, [rbp + 0x40]
lea rbx, [rbx + 2]
call fcn.14000b930
movzx eax, word [rbp + 0x40]
mov word [rbx], ax
test ax, ax
jne 0x14000c320
cmp word [0x14003b570], di
je 0x14000c4e0
cmp word [0x140032d30], di
mov edx, 0x1000
mov word [0x140036d60], di
mov rcx, rsi
je 0x14000c390
mov r8, r12
sub r8, rsi
nop dword [rax]
cmp rdx, 1
jb 0x14000c698
movzx eax, word [r8 + rcx]
dec rdx
mov word [rcx], ax
add rcx, 2
cmp word [r8 + rcx], di
jne 0x14000c370
mov word [rcx], di
mov rax, rsi
cmp word [0x140036d60], di
mov ecx, 0x1000
je 0x14000c3ba
add rax, 2
dec rcx
cmp word [rax], di
jne 0x14000c3a4
cmp rcx, 1
jb 0x14000c69e
mov dword [rax], 0x5c
mov edx, 0x1000
cmp word [0x140036d60], di
mov rax, rsi
je 0x14000c3dd
add rax, 2
dec rdx
cmp word [rax], di
jne 0x14000c3d1
mov r8, r15
sub r8, rax
cmp rdx, 1
jb 0x14000c6d1
movzx ecx, word [r8 + rax]
dec rdx
mov word [rax], cx
add rax, 2
cmp word [r8 + rax], di
jne 0x14000c3e3
cmp word [0x140038d60], di
mov word [rax], di
jne 0x14000c449
cmp word [0x140036d60], di
mov edx, 0x1000
mov rcx, r14
je 0x14000c446
mov r8, rsi
sub r8, r14
cmp rdx, 1
jb 0x14000c6a4
movzx eax, word [r8 + rcx]
dec rdx
mov word [rcx], ax
add rcx, 2
cmp word [r8 + rcx], di
jne 0x14000c426
mov word [rcx], di
mov edx, 8
lea rcx, [rsp + 0x58]
call fcn.14000b930
mov edx, 4
lea rcx, [rsp + 0x50]
mov bl, 1
call fcn.14000b930
call fcn.14000b180
cmp dword [rsp + 0x50], eax
movzx ecx, bl
cmove ecx, edi
or rbx, 0xffffffffffffffff
test cl, cl
je 0x14000c4bb
mov rcx, rsi
call fcn.14000bca0
mov qword [rsp + 0x30], rdi
lea r8d, [rbx + 3]
mov dword [rsp + 0x28], edi
xor r9d, r9d
mov edx, 0x40000000
mov dword [rsp + 0x20], 2
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14000c6aa
mov rdx, qword [rsp + 0x58]
mov rcx, rbx
call fcn.14000ba70
cmp rbx, 0xffffffffffffffff
je 0x14000c2f0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14000c2f0
call fcn.140005d50
mov rcx, qword [0x140032d10]
call fcn.140011b50
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, eax
call fcn.14000aef0
call fcn.14000b210
mov rdx, rax
lea rcx, str.NUITKA_ONEFILE_BINARY
call fcn.14000adf0
xor edx, edx
lea rcx, [rbp - 0x80]
lea r8d, [rdx + 0x68]
call fcn.14000dad0
mov ecx, 0xfffffff6
mov dword [rbp - 0x44], pe_nt_image_headers64
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ecx, 0xfffffff5
mov qword [rbp - 0x30], rax
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ecx, 0xfffffff4
mov qword [rbp - 0x28], rax
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [rbp - 0x20], rax
mov dword [rbp - 0x80], 0x68
call fcn.14000be60
mov rdx, rax
mov ebx, 1
lea rax, [rsp + 0x60]
xor r9d, r9d
mov qword [rsp + 0x48], rax
xor r8d, r8d
lea rax, [rbp - 0x80]
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 0x14000c6d7
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x60]
mov qword [0x140034d30], rcx
mov dword [rbp + 0x48], edi
test rcx, rcx
je 0x14000c601
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [0x140034d30]
lea rdx, [rbp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov ecx, dword [rbp + 0x48]
test eax, eax
cmove ecx, ebx
mov dword [rbp + 0x48], ecx
mov rcx, qword [0x140034d30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x140034d30], rdi
call fcn.14000bdb0
mov eax, dword [rbp + 0x48]
mov r14, qword [rsp + 0xf8]
mov r13, qword [rsp + 0x100]
mov rdi, qword [rsp + 0x108]
mov rsi, qword [rsp + 0x110]
mov r15, qword [rsp + 0xf0]
mov rbx, qword [rsp + 0x130]
add rsp, 0x118
pop r12
pop rbp
ret
mov ecx, 2
call fcn.14000eafc
mov rcx, rax
lea r8, str.TEMPSutton_PLC4.2.3.4
lea rdx, str.Error__couldnt_runtime_expand_spec__ls._n
call fcn.140001010
call fcn.14000e5fc
int3
lea rcx, str.Error__failed_to_register_signal_handler.
call fcn.14000ec6c
mov ecx, 2
call fcn.14000e5f0
int3
lea rcx, str.Error__couldnt_find_attached_data_header.
call fcn.14000ec6c
mov ecx, 2
call fcn.14000e5f0
int3
call fcn.14000e5fc
int3
call fcn.14000e5fc
int3
call fcn.14000e5fc
int3
mov ecx, 2
call fcn.14000eafc
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.14000e5f0
int3
call fcn.14000e5fc
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Error__couldnt_launch_child
call fcn.14000b7f0
int3
lea rcx, str.Error__couldnt_find_attached_data_header.
call fcn.14000ec6c
mov ecx, 2
call fcn.14000e5f0
int3