Function at 0x14000b210
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 [section..data]
xor rax, rsp
mov qword [rbp + 0x190], rax
call fcn.14000fdfc
call fcn.14000fe04
mov r8d, 0x1000
lea rdx, str.TEMPonefile_PID_TIME
lea rcx, [0x14002f5d0]
call fcn.14000a6a0
test al, al
je 0x14000b8fe
mov edx, 1
lea rcx, [0x14000b1e0]
call qword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
test eax, eax
je 0x14000b90b
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 [0x140035df8], rax
mov qword [0x14002f5c8], rax
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rcx, qword [0x14002f5c8]
mov eax, eax
mov qword [0x14002eda8], 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 [0x14002f5c8], rcx
jne 0x14000b8f8
cmp byte [rsp + 0x51], 0x41
jne 0x14000b8f8
cmp al, 0x59
jne 0x14000b8f8
mov qword [rsp + 0x2b8], r12
mov ecx, 0x20000
xor r12d, r12d
mov qword [0x14002f5b0], r12
call fcn.140012e34
mov qword [0x140035de0], rax
test rax, rax
je 0x14000b91f
movups xmm0, xmmword [0x1400293e8]
mov ecx, 0x274b8
movaps xmmword [rsp + 0x70], xmm0
movsd xmm0, qword [0x1400293f8]
movsd qword [rsp + 0x60], xmm0
call fcn.140012e34
mov rbx, rax
test rax, rax
je 0x14000b918
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.140005350
mov rax, qword [0x14002f5c8]
lea r13, [0x14003de00]
mov qword [0x14002f5b0], rax
mov rax, qword [0x14002eda8]
mov qword [0x14002f5b8], rax
mov qword [0x14002eda0], rbx
mov qword [0x14002f5c0], r12
mov byte [0x140035dd2], 1
nop dword [rax]
nop word [rax + rax]
mov rcx, qword [0x140035df0]
lea r15, [0x1400315d0]
nop
mov edi, 2
lea r14, [rsp + 0x50]
xor sil, sil
nop dword [rax]
mov rax, qword [0x140035de8]
sub rax, rcx
je 0x14000b44d
mov rdx, qword [0x140035de0]
cmp rdi, rax
mov rbx, rdi
cmovae rbx, rax
add rdx, rcx
mov r8, rbx
mov rcx, r14
call fcn.14000d630
mov rcx, qword [0x140035df0]
add r14, rbx
sub rdi, rbx
add rcx, rbx
jmp 0x14000b4c2
mov rax, qword [0x14002f5c0]
mov rdx, qword [0x14002f5b8]
cmp rax, rdx
jb 0x14000b470
test sil, sil
jne 0x14000b470
cmp rdx, rax
jne 0x14000b925
jmp 0x14000b4c9
mov rcx, qword [0x14002eda0]
lea r8, [0x14002f5b0]
lea rdx, [0x140035de0]
mov qword [0x140035df0], r12
mov qword [0x140035de8], 0x20000
call fcn.140007160
mov rcx, qword [0x140035df0]
cmp rcx, qword [0x140035de8]
sete sil
cmp rax, 0xffffffffffffff88
ja 0x14000b925
mov qword [0x140035de8], rcx
mov rcx, r12
mov qword [0x140035df0], rcx
test rdi, rdi
jne 0x14000b410
movzx eax, word [rsp + 0x50]
mov word [r15], ax
test ax, ax
je 0x14000b4e9
add r15, 2
jmp 0x14000b400
cmp word [0x1400315d0], r12w
je 0x14000b6da
cmp word [0x14002f5d0], r12w
mov edx, 0x1000
mov word [0x14003de00], r12w
mov rcx, r13
je 0x14000b540
lea r8, [0x14002f5d0]
sub r8, r13
nop dword [rax + rax]
cmp rdx, 1
jb 0x14000b937
movzx eax, word [r8 + rcx]
dec rdx
mov word [rcx], ax
add rcx, 2
cmp word [r8 + rcx], r12w
jne 0x14000b520
mov word [rcx], r12w
mov rax, r13
cmp word [0x14003de00], r12w
mov ecx, 0x1000
je 0x14000b577
nop word [rax + rax]
add rax, 2
dec rcx
cmp word [rax], r12w
jne 0x14000b560
cmp rcx, 1
jb 0x14000b937
mov dword [rax], 0x5c
mov edx, 0x1000
cmp word [0x14003de00], r12w
mov rcx, r13
je 0x14000b59d
nop
add rcx, 2
dec rdx
cmp word [rcx], r12w
jne 0x14000b590
lea r8, [0x1400315d0]
sub r8, rcx
nop word [rax + rax]
cmp rdx, 1
jb 0x14000b937
movzx eax, word [r8 + rcx]
dec rdx
mov word [rcx], ax
add rcx, 2
cmp word [r8 + rcx], r12w
jne 0x14000b5b0
cmp word [0x14002edb0], r12w
mov word [rcx], r12w
jne 0x14000b624
cmp word [0x14003de00], r12w
lea rax, [0x14002edb0]
mov rcx, rax
mov edx, 0x1000
je 0x14000b620
mov r8, r13
sub r8, rax
nop dword [rax]
cmp rdx, 1
jb 0x14000b937
movzx eax, word [rcx + r8]
dec rdx
mov word [rcx], ax
add rcx, 2
cmp word [rcx + r8], r12w
jne 0x14000b600
mov word [rcx], r12w
mov edx, 8
lea rcx, [rsp + 0x70]
call fcn.14000acf0
mov rcx, r13
call fcn.14000af90
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 0x14000b931
mov rdi, qword [rsp + 0x70]
test rdi, rdi
je 0x14000b6cc
nop dword [rax]
mov ebx, 0x8000
lea rcx, [0x140035e00]
cmp rdi, rbx
cmovbe ebx, edi
movsxd rsi, ebx
mov rdx, rsi
call fcn.14000acf0
lea r9, [rsp + 0x60]
mov dword [rsp + 0x60], r12d
mov r8d, ebx
mov qword [rsp + 0x20], r12
lea rdx, [0x140035e00]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14000b92b
sub rdi, rsi
jne 0x14000b680
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14000b3f0
call fcn.1400054c0
mov rcx, qword [0x140035de0]
call fcn.140012df4
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edi, 0x80
lea r8, [0x140028694]
mov r9d, eax
lea rcx, [rbp + 0x10]
mov edx, edi
call fcn.140001060
movzx edx, byte [rbp + 0x10]
lea rsi, [rbp + 0x10]
mov word [rbp + 0x90], r12w
lea rbx, [rbp + 0x90]
test dl, dl
je 0x14000b7a2
nop word [rax + rax]
mov rcx, rdi
mov rax, rbx
cmp word [rbx], r12w
je 0x14000b74d
nop dword [rax]
add rax, 2
dec rcx
cmp word [rax], r12w
jne 0x14000b740
cmp rcx, 1
jb 0x14000b94b
mov byte [rsp + 0x50], dl
mov rcx, 0xffffffffffffffff
mov byte [rsp + 0x51], r12b
nop word [rax + rax]
cmp word [rax + rcx*2 + 2], r12w
lea rcx, [rcx + 1]
jne 0x14000b770
lea rcx, [rax + rcx*2]
mov r8d, 2
lea rdx, [rsp + 0x50]
call fcn.14000fb90
movzx edx, byte [rsi + 1]
inc rsi
add rbx, 2
dec rdi
test dl, dl
jne 0x14000b730
lea rdx, [rbp + 0x90]
lea rcx, str.NUITKA_ONEFILE_PARENT
call fcn.14000a480
call fcn.14000a570
mov rdx, rax
lea rcx, str.NUITKA_ONEFILE_BINARY
call fcn.14000a480
xorps xmm0, xmm0
mov dword [rbp - 0x60], 0x68
xor eax, eax
movups xmmword [rbp - 0x5c], xmm0
mov dword [rbp + 4], eax
movups xmmword [rbp - 0x4c], xmm0
movups xmmword [rbp - 0x3c], xmm0
movups xmmword [rbp - 0x2c], xmm0
movups xmmword [rbp - 0x1c], xmm0
movups xmmword [rbp - 0xc], xmm0
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
xor r9d, r9d
lea rcx, [0x14002edb0]
mov rdx, rax
xor r8d, r8d
lea rax, [rbp - 0x80]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x20
mov dword [rsp + 0x20], r12d
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x14000b93d
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x80]
mov qword [0x14002ed98], rcx
mov dword [rsp + 0x54], r12d
test rcx, rcx
je 0x14000b89f
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [0x14002ed98]
lea rdx, [rsp + 0x54]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov ecx, dword [rsp + 0x54]
test eax, eax
mov eax, 1
cmove ecx, eax
mov dword [rsp + 0x54], ecx
mov rcx, qword [0x14002ed98]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x14002ed98], r12
call fcn.14000b0a0
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.14000b970
add rsp, 0x2c0
pop rbp
ret
call fcn.14000ac30
int3
lea rcx, str.TEMPonefile_PID_TIME
call fcn.14000acc0
int3
lea rcx, str.Error__failed_to_register_signal_handler.
call fcn.14000abb0
int3
mov qword [0x14002eda0], r12
call fcn.14000ac50
int3
call fcn.14000ac10
int3
call fcn.14000abf0
int3
call fcn.14000ac90
int3
call fcn.14000f854
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
call fcn.14000ac70
int3
call fcn.14000f854
int3