Function at 0x140001ce0
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 - 0x190]
sub rsp, 0x290
mov rax, qword [0x140023008]
xor rax, rsp
mov qword [rbp + 0x160], rax
call fcn.14000695c
call fcn.140006964
mov r8d, 0x1000
lea rdx, str.TEMPonefile_PID_TIME
lea rcx, [0x1400255a0]
call fcn.1400012e0
test al, al
je 0x14000226b
mov edx, 1
lea rcx, [0x140001cb0]
call qword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
test eax, eax
je 0x140002278
mov edx, 0x1b
mov qword [rsp + 0x2a0], 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 [0x140035db0], rax
mov qword [0x14002bda8], rax
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov r9, qword [0x14002bda8]
movzx eax, word [r9]
movzx ecx, byte [r9 + 2]
add r9, 3
mov word [rsp + 0x50], ax
mov qword [0x14002bda8], r9
cmp al, 0x4b
jne 0x140002265
cmp byte [rsp + 0x51], 0x41
jne 0x140002265
cmp cl, 0x58
jne 0x140002265
mov qword [rsp + 0x2a8], rsi
mov qword [rsp + 0x2b0], rdi
mov qword [rsp + 0x288], r12
xor r12d, r12d
mov qword [rsp + 0x280], r13
lea r13, [0x140033db0]
mov qword [rsp + 0x278], r14
mov qword [rsp + 0x270], r15
mov byte [0x14002bda2], 1
nop dword [rax]
movzx eax, word [r9]
lea rcx, [0x1400275a0]
add r9, 2
mov word [0x1400275a0], ax
mov qword [0x14002bda8], r9
test ax, ax
je 0x140002065
mov rdx, r9
nop dword [rax]
movzx eax, word [r9]
lea rcx, [rcx + 2]
mov word [rcx], ax
lea r9, [rdx + 2]
mov rdx, r9
test ax, ax
jne 0x140001e40
cmp word [0x1400275a0], r12w
mov qword [0x14002bda8], r9
je 0x140002065
cmp word [0x1400255a0], r12w
mov edx, 0x1000
mov word [0x140033db0], r12w
mov rcx, r13
je 0x140001eb0
lea r8, [0x1400255a0]
sub r8, r13
cmp rdx, 1
jb 0x140002291
movzx eax, word [r8 + rcx]
dec rdx
mov word [rcx], ax
add rcx, 2
cmp word [r8 + rcx], r12w
jne 0x140001e90
mov word [rcx], r12w
mov rax, r13
cmp word [0x140033db0], r12w
mov ecx, 0x1000
je 0x140001ee7
nop word [rax + rax]
add rax, 2
dec rcx
cmp word [rax], r12w
jne 0x140001ed0
cmp rcx, 1
jb 0x140002291
mov dword [rax], 0x5c
mov edx, 0x1000
cmp word [0x140033db0], r12w
mov rax, r13
je 0x140001f0d
nop
add rax, 2
dec rdx
cmp word [rax], r12w
jne 0x140001f00
lea r8, [0x1400275a0]
sub r8, rax
nop word [rax + rax]
cmp rdx, 1
jb 0x140002291
movzx ecx, word [r8 + rax]
dec rdx
mov word [rax], cx
add rax, 2
cmp word [r8 + rax], r12w
jne 0x140001f20
cmp word [0x140024da0], r12w
mov word [rax], r12w
jne 0x140001f95
cmp word [0x140033db0], r12w
lea rdx, [0x140024da0]
mov r8d, 0x1000
mov rcx, r13
je 0x140001f91
nop dword [rax + rax]
cmp r8, 1
jb 0x140002291
movzx eax, word [rcx]
dec r8
add rcx, 2
mov word [rdx], ax
add rdx, 2
cmp word [rcx], r12w
jne 0x140001f70
mov word [rdx], r12w
mov rsi, qword [r9]
mov rcx, r13
add r9, 8
mov qword [0x14002bda8], r9
call fcn.140001a60
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 r15, rax
cmp rax, 0xffffffffffffffff
je 0x14000228b
test rsi, rsi
je 0x140002050
nop dword [rax]
nop dword [rax + rax]
mov rbx, qword [0x14002bda8]
lea rcx, [0x14002bdb0]
mov edi, 0x8000
mov rdx, rbx
cmp rsi, rdi
cmovbe edi, esi
movsxd r14, edi
mov r8, r14
call fcn.140004190
add rbx, r14
mov dword [rsp + 0x50], r12d
lea r9, [rsp + 0x50]
mov qword [0x14002bda8], rbx
mov r8d, edi
mov qword [rsp + 0x20], r12
lea rdx, [0x14002bdb0]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x140002285
sub rsi, r14
jne 0x140001ff0
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r9, qword [0x14002bda8]
jmp 0x140001e10
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edi, 0x80
lea r8, [0x14001f6a0]
mov r9d, eax
lea rcx, [rbp - 0x20]
mov edx, edi
call fcn.140001060
movzx edx, byte [rbp - 0x20]
lea rsi, [rbp - 0x20]
mov word [rbp + 0x60], r12w
lea rbx, [rbp + 0x60]
test dl, dl
je 0x140002112
nop word [rax + rax]
mov rcx, rdi
mov rax, rbx
cmp word [rbx], r12w
je 0x1400020bd
nop dword [rax]
add rax, 2
dec rcx
cmp word [rax], r12w
jne 0x1400020b0
cmp rcx, 1
jb 0x1400022a5
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 0x1400020e0
lea rcx, [rax + rcx*2]
mov r8d, 2
lea rdx, [rsp + 0x50]
call fcn.1400066f0
movzx edx, byte [rsi + 1]
inc rsi
add rbx, 2
dec rdi
test dl, dl
jne 0x1400020a0
lea rdx, [rbp + 0x60]
lea rcx, str.NUITKA_ONEFILE_PARENT
call fcn.1400010c0
call fcn.1400011b0
mov rdx, rax
lea rcx, str.NUITKA_ONEFILE_BINARY
call fcn.1400010c0
xorps xmm0, xmm0
mov dword [rsp + 0x70], 0x68
xor eax, eax
movups xmmword [rsp + 0x74], xmm0
mov dword [rbp - 0x2c], eax
movups xmmword [rbp - 0x7c], xmm0
movups xmmword [rbp - 0x6c], xmm0
movups xmmword [rbp - 0x5c], xmm0
movups xmmword [rbp - 0x4c], xmm0
movups xmmword [rbp - 0x3c], xmm0
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
xor r9d, r9d
lea rcx, [0x140024da0]
mov rdx, rax
xor r8d, r8d
lea rax, [rsp + 0x58]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
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 0x140002297
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
mov qword [0x140024d98], rcx
mov dword [rsp + 0x54], r12d
test rcx, rcx
je 0x14000220c
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [0x140024d98]
lea rdx, [rsp + 0x54]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x1400021f8
mov dword [rsp + 0x54], 1
mov rcx, qword [0x140024d98]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x140024d98], r12
call fcn.140001b70
mov eax, dword [rsp + 0x54]
mov r14, qword [rsp + 0x278]
mov r13, qword [rsp + 0x280]
mov r12, qword [rsp + 0x288]
mov rdi, qword [rsp + 0x2b0]
mov rsi, qword [rsp + 0x2a8]
mov r15, qword [rsp + 0x270]
mov rbx, qword [rsp + 0x2a0]
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.1400022c0
add rsp, 0x290
pop rbp
ret
call fcn.140001850
int3
lea rcx, str.TEMPonefile_PID_TIME
call fcn.1400018c0
int3
lea rcx, str.Error__failed_to_register_signal_handler.
call fcn.1400017f0
int3
call fcn.140001830
int3
call fcn.140001890
int3
call fcn.1400063bc
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
call fcn.140001870
int3
call fcn.1400063bc
int3