Function at 0x14000b340
Capabilities:
Accept command line arguments
Create process on windows
Extract resource via kernel32 functions
Write and execute a file
Write file on windows

Disassembly:
push rbp
lea rbp, [rsp - 0x1c0]
sub rsp, 0x2c0
mov rax, qword [0x14002b008]
xor rax, rsp
mov qword [rbp + 0x190], rax
mov r8d, 0x1000
lea rdx, str.TEMPonefile_PID_TIME
lea rcx, [0x14002f560]
call fcn.14000a680
test al, al
je 0x14000bbb8
mov edx, 1
lea rcx, [0x14000b310]
call qword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
test eax, eax
je 0x14000bbc5
mov edx, 0x1b
mov qword [rsp + 0x2d0], 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 [0x140033580], rax
mov qword [0x14002f558], rax
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rcx, qword [0x14002f558]
mov eax, eax
mov qword [0x14002f538], rax
movzx eax, word [rcx]
mov word [rsp + 0x50], ax
movzx eax, byte [rcx + 2]
add rcx, 3
cmp byte [rsp + 0x50], 0x4b
mov qword [0x14002f558], rcx
jne 0x14000bbb2
cmp byte [rsp + 0x51], 0x41
jne 0x14000bbb2
cmp al, 0x59
jne 0x14000bbb2
mov qword [rsp + 0x2b8], r12
mov ecx, 0x20000
xor r12d, r12d
mov qword [0x14002f540], r12
call fcn.1400105a4
mov qword [0x140033560], rax
test rax, rax
je 0x14000bbd2
movups xmm0, xmmword [0x140026bd8]
mov ecx, 0x274b8
movaps xmmword [rsp + 0x70], xmm0
movsd xmm0, qword [0x140026be8]
movsd qword [rsp + 0x60], xmm0
call fcn.1400105a4
mov rbx, rax
test rax, rax
je 0x14000bbd8
movaps xmm0, xmmword [rsp + 0x70]
mov rcx, rax
mov qword [rsp + 0x2d8], rsi
movups xmmword [rax + 0x73a0], xmm0
mov qword [rsp + 0x2e0], rdi
movsd xmm0, qword [rsp + 0x60]
mov qword [rsp + 0x2b0], r13
mov qword [rsp + 0x2a8], r14
movsd qword [rax + 0x73b0], xmm0
mov qword [rsp + 0x2a0], r15
call fcn.1400053a0
mov rax, qword [0x14002f558]
lea r13, [0x14002cd20]
mov qword [0x14002f540], rax
mov rax, qword [0x14002f538]
mov qword [0x14002f548], rax
mov qword [0x14002f530], rbx
mov qword [0x14002f550], r12
mov byte [0x140033578], 1
nop dword [rax]
mov rcx, qword [0x140033570]
lea r15, [0x1400355a0]
nop
mov edi, 2
lea r14, [rsp + 0x50]
xor sil, sil
nop dword [rax]
mov rax, qword [0x140033568]
sub rax, rcx
je 0x14000b56d
mov rdx, qword [0x140033560]
cmp rdi, rax
mov rbx, rdi
cmovae rbx, rax
add rdx, rcx
mov r8, rbx
mov rcx, r14
call fcn.14000d200
mov rcx, qword [0x140033570]
add r14, rbx
sub rdi, rbx
add rcx, rbx
jmp 0x14000b5e2
mov rax, qword [0x14002f548]
mov rdx, qword [0x14002f550]
cmp rdx, rax
jb 0x14000b590
test sil, sil
jne 0x14000b590
cmp rax, rdx
jne 0x14000bbe5
jmp 0x14000b5e9
mov rcx, qword [0x14002f530]
lea r8, [0x14002f540]
lea rdx, [0x140033560]
mov qword [0x140033570], r12
mov qword [0x140033568], 0x20000
call fcn.140007160
mov rcx, qword [0x140033570]
cmp rcx, qword [0x140033568]
sete sil
cmp rax, 0xffffffffffffff88
ja 0x14000bbe5
mov qword [0x140033568], rcx
mov rcx, r12
mov qword [0x140033570], rcx
test rdi, rdi
jne 0x14000b530
movzx eax, word [rsp + 0x50]
mov word [r15], ax
test ax, ax
je 0x14000b609
add r15, 2
jmp 0x14000b520
cmp word [0x1400355a0], r12w
je 0x14000b7fa
cmp word [0x14002f560], r12w
mov edx, 0x1000
mov word [0x14002cd20], r12w
mov rcx, r13
je 0x14000b660
lea r8, [0x14002f560]
sub r8, r13
nop dword [rax + rax]
cmp rdx, 1
jb 0x14000bbf7
movzx eax, word [r8 + rcx]
dec rdx
mov word [rcx], ax
add rcx, 2
cmp word [r8 + rcx], r12w
jne 0x14000b640
mov word [rcx], r12w
mov rax, r13
cmp word [0x14002cd20], r12w
mov ecx, 0x1000
je 0x14000b697
nop word [rax + rax]
add rax, 2
dec rcx
cmp word [rax], r12w
jne 0x14000b680
cmp rcx, 1
jb 0x14000bbf7
mov dword [rax], 0x5c
mov edx, 0x1000
cmp word [0x14002cd20], r12w
mov rcx, r13
je 0x14000b6bd
nop
add rcx, 2
dec rdx
cmp word [rcx], r12w
jne 0x14000b6b0
lea r8, [0x1400355a0]
sub r8, rcx
nop word [rax + rax]
cmp rdx, 1
jb 0x14000bbf7
movzx eax, word [r8 + rcx]
dec rdx
mov word [rcx], ax
add rcx, 2
cmp word [r8 + rcx], r12w
jne 0x14000b6d0
cmp word [0x14002ed20], r12w
mov word [rcx], r12w
jne 0x14000b744
cmp word [0x14002cd20], r12w
lea rax, [0x14002ed20]
mov rcx, rax
mov edx, 0x1000
je 0x14000b740
mov r8, r13
sub r8, rax
nop dword [rax]
cmp rdx, 1
jb 0x14000bbf7
movzx eax, word [r8 + rcx]
dec rdx
mov word [rcx], ax
add rcx, 2
cmp word [r8 + rcx], r12w
jne 0x14000b720
mov word [rcx], r12w
mov edx, 8
lea rcx, [rsp + 0x70]
call fcn.14000ae20
mov rcx, r13
call fcn.14000b0c0
xor r9d, r9d
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov edx, 0x40000000
mov rcx, r13
mov dword [rsp + 0x20], 2
lea r8d, [r9 + 2]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r14, rax
cmp rax, 0xffffffffffffffff
je 0x14000bbf1
mov rdi, qword [rsp + 0x70]
test rdi, rdi
je 0x14000b7ec
nop dword [rax]
mov ebx, 0x8000
lea rcx, [0x140035da0]
cmp rdi, rbx
cmovbe ebx, edi
movsxd rsi, ebx
mov rdx, rsi
call fcn.14000ae20
lea r9, [rsp + 0x60]
mov dword [rsp + 0x60], r12d
mov r8d, ebx
mov qword [rsp + 0x20], r12
lea rdx, [0x140035da0]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14000bbeb
sub rdi, rsi
jne 0x14000b7a0
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14000b510
call fcn.140005510
mov rcx, qword [0x140033560]
call fcn.140010564
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edi, 0x80
lea r8, [0x140026754]
mov r9d, eax
lea rcx, [rbp + 0x10]
mov edx, edi
call fcn.140001060
movzx eax, byte [rbp + 0x10]
lea rsi, [rbp + 0x10]
mov word [rbp + 0x90], r12w
lea rbx, [rbp + 0x90]
test al, al
je 0x14000b8c5
nop word [rax + rax]
mov r8d, 2
mov byte [rsp + 0x50], al
lea rdx, [rsp + 0x50]
mov byte [rsp + 0x51], r12b
lea rcx, [rsp + 0x60]
call fcn.14000df6c
cmp rax, 1
jne 0x14000bc0b
mov rax, rdi
mov rcx, rbx
cmp word [rbx], r12w
je 0x14000b89d
nop dword [rax]
nop dword [rax + rax]
add rcx, 2
dec rax
cmp word [rcx], r12w
jne 0x14000b890
cmp rax, 1
jb 0x14000bc0b
movzx eax, word [rsp + 0x60]
inc rsi
mov word [rcx], ax
add rbx, 2
dec rdi
mov word [rcx + 2], r12w
movzx eax, byte [rsi]
test al, al
jne 0x14000b850
lea rdx, [rbp + 0x90]
lea rcx, str.NUITKA_ONEFILE_PARENT
call fcn.14000a450
call fcn.14000a550
mov rdx, rax
lea rcx, str.NUITKA_ONEFILE_BINARY
call fcn.14000a450
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x30], xmm0
mov ecx, 0xfffffff6
mov dword [rbp - 0x24], 0x100
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp], rax
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ecx, 0xfffffff5
mov qword [rbp - 0x10], rax
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ecx, 0xfffffff4
mov qword [rbp - 8], rax
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [rbp], rax
mov dword [rbp - 0x60], 0x68
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, rax
lea rdx, [rsp + 0x60]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
lea rbx, [0x14003dda0]
mov word [0x14003fdb0], r12w
mov rdx, rbx
mov r8d, 0x1000
xor ecx, ecx
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x14000bc11
cmp word [0x14003fdb0], r12w
lea rsi, [0x14003fdb0]
mov rcx, rsi
mov edx, 0x8000
je 0x14000b9ad
add rcx, 2
dec rdx
cmp word [rcx], r12w
jne 0x14000b9a0
cmp word [0x14003dda0], r12w
je 0x14000b9df
sub rbx, rcx
nop word [rax + rax]
cmp rdx, 1
jb 0x14000bc11
movzx eax, word [rbx + rcx]
dec rdx
mov word [rcx], ax
add rcx, 2
cmp word [rbx + rcx], r12w
jne 0x14000b9c0
mov r11d, dword [rsp + 0x60]
mov r14d, 1
mov word [rcx], r12w
mov r9d, r14d
lea ebx, [r14 + 0x1f]
cmp r11d, r14d
jle 0x14000bab8
lea r10, [rdi + 8]
nop dword [rax]
nop word [rax + rax]
cmp word [0x14003fdb0], r12w
mov ecx, 0x8000
mov r8, qword [r10]
mov rax, rsi
je 0x14000ba3d
nop word [rax + rax]
add rax, 2
dec rcx
cmp word [rax], r12w
jne 0x14000ba30
movzx edx, word [r8]
test dx, dx
je 0x14000ba66
cmp rcx, r14
jb 0x14000bc11
add r8, 2
mov word [rax], dx
add rax, 2
dec rcx
movzx edx, word [r8]
test dx, dx
jne 0x14000ba46
mov word [rax], r12w
lea eax, [r11 - 1]
cmp r9d, eax
je 0x14000baa8
cmp word [0x14003fdb0], r12w
mov ecx, 0x8000
mov rax, rsi
je 0x14000baa6
nop word [rax + rax]
add rax, 2
dec rcx
cmp word [rax], r12w
jne 0x14000ba90
cmp rcx, r14
jb 0x14000bc11
mov dword [rax], ebx
inc r9d
add r10, 8
cmp r9d, r11d
jl 0x14000ba10
lea rax, [rbp - 0x80]
xor r9d, r9d
mov qword [rsp + 0x48], rax
lea rcx, [0x14002ed20]
lea rax, [rbp - 0x60]
xor r8d, r8d
mov qword [rsp + 0x40], rax
mov rdx, rsi
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], r14d
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x14000bbfd
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x80]
mov qword [0x14002f528], rcx
mov dword [rsp + 0x54], r12d
test rcx, rcx
je 0x14000bb59
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [0x14002f528]
lea rdx, [rsp + 0x54]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov ecx, dword [rsp + 0x54]
test eax, eax
cmove ecx, r14d
mov dword [rsp + 0x54], ecx
mov rcx, qword [0x14002f528]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x14002f528], r12
call fcn.14000b1d0
mov eax, dword [rsp + 0x54]
mov r14, qword [rsp + 0x2a8]
mov r13, qword [rsp + 0x2b0]
mov rsi, qword [rsp + 0x2d8]
mov rdi, qword [rsp + 0x2e0]
mov r15, qword [rsp + 0x2a0]
mov r12, qword [rsp + 0x2b8]
mov rbx, qword [rsp + 0x2d0]
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.14000bc30
add rsp, 0x2c0
pop rbp
ret
call fcn.14000ad60
int3
lea rcx, str.TEMPonefile_PID_TIME
call fcn.14000adf0
int3
lea rcx, str.Error__failed_to_register_signal_handler.
call fcn.14000ace0
int3
call fcn.14000ad80
int3
mov qword [0x14002f530], r12
call fcn.14000ad80
int3
call fcn.14000ad40
int3
call fcn.14000ad20
int3
call fcn.14000adc0
int3
call fcn.14000dc70
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
call fcn.14000ada0
int3
call fcn.14000dc70
int3
call fcn.14000dc70
int3