Function at 0x14000fb70
Capabilities:
Accept command line arguments
Create directory
Read file on windows
Set environment variable
Write and execute a file
Write file on windows

Disassembly:
push rbp
push r13
push r12
push rbx
sub rsp, 0x28
lea rbp, [rsp + 0x20]
lea r13, str.libgcc_s_dw2_1.dll
mov rcx, r13
call qword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
mov r12, rax
test rax, rax
je 0x1400017a0
mov rcx, r13
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov r13, qword [sym.imp.KERNEL32.DLL_GetProcAddress]
lea rdx, str.__register_frame_info
mov rcx, r12
mov qword [0x140025040], rax
call r13
lea rdx, str.__deregister_frame_info
mov rcx, r12
mov rbx, rax
call r13
mov qword [0x14001e010], rax
test rbx, rbx
jne 0x1400017b5
lea rcx, [0x1400017d0]
add rsp, 0x28
pop rbx
pop r12
pop r13
pop rbp
jmp fcn.1400016c7
lea rax, [0x140001710]
lea rbx, [0x140001700]
mov qword [0x14001e010], rax
lea rdx, [0x140025060]
lea rcx, [section..eh_fram]
call rbx
jmp 0x140001787
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x158
movaps xmmword [rsp + 0x130], xmm6
movaps xmmword [rsp + 0x140], xmm7
lea r12, [0x140032120]
xor ecx, ecx
mov r8d, 0x1000
mov rdx, r12
call qword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
test eax, eax
je 0x14001d3c8
xor r8d, r8d
xor edx, edx
mov rcx, r12
mov rsi, qword [sym.imp.KERNEL32.DLL_GetShortPathNameW]
call rsi
lea ecx, [rax + 1]
mov ebx, eax
add rcx, rcx
call sub.msvcrt.dll_malloc
mov r13, rax
test rax, rax
je 0x1400109e7
mov r8d, ebx
mov rdx, rax
mov rcx, r12
call rsi
test eax, eax
je 0x140010731
lea r14, [rsp + 0xb0]
xor r8d, r8d
xor edx, edx
mov r9, r13
mov qword [rsp + 0x20], 0xffffffffffffffff
mov rbx, qword [sym.imp.msvcrt.dll_wcstombs_s]
mov rcx, r14
call rbx
test eax, eax
jne 0x140010731
mov rsi, qword [rsp + 0xb0]
mov rcx, rsi
call sub.msvcrt.dll_malloc
mov r12, rax
test rax, rax
je 0x1400109e7
mov r9, r13
mov r8, rsi
mov rdx, rax
mov rcx, r14
mov qword [rsp + 0x20], 0xffffffffffffffff
call rbx
test eax, eax
jne 0x140010729
mov rcx, r13
call sub.msvcrt.dll_free
xor r9d, r9d
mov r8, r14
mov rcx, r12
mov dword [rsp + 0x20], 1
lea rdx, str.dont_search_path
call qword [sym.imp.imagehlp.dll_MapAndLoad]
test eax, eax
jne 0x14000fd30
mov rcx, r12
call sub.msvcrt.dll_free
mov rcx, qword [0x140034120]
mov r15, qword [sym.imp.KERNEL32.DLL_SetFilePointer]
xor r8d, r8d
mov edx, 0xfffffff8
mov r9d, 2
call r15
cmp eax, 0xffffffff
je 0x1400109db
xor r8d, r8d
xor edx, edx
mov rcx, qword [0x140034120]
mov r9d, 1
call r15
mov rcx, qword [0x140034120]
mov r8d, 8
lea rbp, [rsp + 0xb0]
mov qword [rsp + 0x20], 0
mov eax, eax
mov rdx, rbp
mov qword [0x140032100], rax
lea rax, [rsp + 0x90]
mov qword [rsp + 0x68], rax
mov r9, rax
mov rax, qword [sym.imp.KERNEL32.DLL_ReadFile]
mov qword [rsp + 0x50], rax
call rax
test eax, eax
je 0x14000fd21
cmp dword [rsp + 0x90], 8
je 0x14000fd92
lea rcx, str.Error__couldnt_read_attached_data.
call fcn.140008c00
nop dword [rax]
mov rax, qword [rsp + 0xc8]
test rax, rax
je 0x14000fd84
cmp dword [rax + 0x84], 4
jbe 0x14000fd84
mov ebx, dword [rax + 0xa8]
mov rcx, r14
call qword [sym.imp.imagehlp.dll_UnMapAndLoad]
mov rcx, r12
call sub.msvcrt.dll_free
test ebx, ebx
je 0x14000fc8e
mov rcx, qword [0x140034120]
lea edx, [rbx - 8]
xor r9d, r9d
xor r8d, r8d
mov r15, qword [sym.imp.KERNEL32.DLL_SetFilePointer]
call r15
jmp 0x14000fcad
mov rcx, r14
call qword [sym.imp.imagehlp.dll_UnMapAndLoad]
jmp 0x14000fc86
mov rdx, qword [0x140032100]
xor r9d, r9d
xor r8d, r8d
sub edx, dword [rsp + 0xb0]
mov rcx, qword [0x140034120]
call r15
cmp eax, 0xffffffff
je 0x1400109db
mov rcx, qword [0x140034120]
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x20], 0
lea rdx, [rsp + 0x89]
mov r9, rbp
mov r8d, 3
call rax
test eax, eax
jne 0x14000fdf8
lea rcx, str.Error__couldnt_read_attached_data.
call fcn.140008c00
nop dword [rax]
cmp dword [rsp + 0xb0], 3
jne 0x14000fde5
cmp byte [rsp + 0x89], 0x4b
jne 0x1400109db
cmp byte [rsp + 0x8a], 0x41
jne 0x1400109db
cmp byte [rsp + 0x8b], 0x59
jne 0x1400109db
mov ecx, 0x20003
call sub.msvcrt.dll_malloc
mov qword [0x1400270d0], rax
test rax, rax
je 0x1400109e7
mov ecx, 0x20000
call sub.msvcrt.dll_malloc
mov qword [0x1400270b0], rax
test rax, rax
je 0x1400109e7
mov ecx, 0x274b8
call sub.msvcrt.dll_malloc
mov r8, rax
test rax, rax
je 0x140010803
mov qword [rax + 0x73b0], 0
pxor xmm0, xmm0
mov qword [rax + 0x73c8], 0
mov qword [rax + 0x72d8], 0
mov qword [rax + 0x73ec], 0
mov qword [rax + 0x73f8], 0
mov qword [rax + 0x7400], 0
mov qword [rax + 0x7420], 0
mov dword [rax + 0x73f4], 0
mov qword [rax + 0x7440], 0
mov dword [rax + 0x7448], 0
mov dword [rax + 0x7454], 0
mov qword [rax + 0x274b0], 0
movups xmmword [rax + 0x73a0], xmm0
movups xmmword [rax + 0x73d8], xmm0
xor eax, eax
cpuid
xor ecx, ecx
cmp eax, 6
jbe 0x14000ff23
mov eax, 7
cpuid
shr ebx, 8
mov ecx, ebx
and ecx, 1
mov dword [r8 + 0x73d0], ecx
movdqa xmm6, xmmword [0x1400202e0]
lea r12, [0x1400270b0]
mov qword [r8 + 0x7410], 0x8000001
mov dword [r8 + 0x7458], 0
mov qword [r8 + 0x7388], 0
mov dword [r8 + 0x7390], 1
mov qword [0x1400270a8], r8
mov byte [0x140036140], 1
mov qword [rsp + 0x78], rbp
lea rdi, [0x140031900]
mov rbp, qword [rsp + 0x78]
mov qword [rsp + 0x58], rdi
nop dword [rax]
mov r13, qword [rsp + 0x68]
xor edi, edi
mov esi, 2
nop dword [rax]
mov rbx, qword [0x1400270c0]
mov r8, qword [0x1400270b8]
sub r8, rbx
jne 0x1400100a0
mov rcx, qword [0x1400270e0]
mov rdx, qword [0x1400270d8]
cmp rcx, rdx
setb al
or dil, al
je 0x140010020
mov rcx, qword [0x1400270a8]
movups xmmword [0x1400270b8], xmm6
call fcn.14000e8f0
mov r8, rax
mov rax, qword [0x1400270c0]
cmp qword [0x1400270b8], rax
sete dil
cmp r8, 0xffffffffffffff88
ja 0x140010718
mov qword [0x1400270b8], rax
mov qword [0x1400270c0], 0
jmp 0x14000ffa0
cmp rcx, rdx
jne 0x140010718
mov rbx, qword [0x140032100]
mov rcx, qword [0x140034120]
xor r8d, r8d
xor edx, edx
mov r9d, 1
call r15
mov eax, eax
sub rbx, rax
je 0x14000ffa0
mov r8d, ebx
cmp rbx, 0x20002
jbe 0x140010067
mov r8d, 0x20003
mov ebx, 0x20003
mov rdx, qword [0x1400270d0]
mov rcx, qword [0x140034120]
mov r9, rbp
mov qword [rsp + 0x20], 0
mov rax, qword [rsp + 0x50]
call rax
test eax, eax
jne 0x1400100f8
lea rcx, str.Error__couldnt_read_attached_data.
call fcn.140008c00
nop dword [rax + rax]
cmp r8, rsi
mov r14, r8
mov rdx, qword [r12]
mov rcx, r13
cmova r14, rsi
add rdx, rbx
mov r8, r14
add rbx, r14
add r13, r14
call sub.msvcrt.dll_memcpy
mov qword [0x1400270c0], rbx
sub rsi, r14
jne 0x14000ffa0
movzx eax, word [rsp + 0x90]
mov rdi, qword [rsp + 0x58]
mov word [rdi], ax
test ax, ax
je 0x140010122
add rdi, 2
mov qword [rsp + 0x58], rdi
jmp 0x14000ff90
mov eax, dword [rsp + 0xb0]
cmp rbx, rax
jne 0x14001008c
add qword [0x1400270a0], rbx
mov qword [0x1400270e0], 0
mov qword [0x1400270d8], rbx
jmp 0x14000ffa0
lea rax, [0x140031900]
movzx ecx, word [rax]
test cx, cx
je 0x14001073e
movzx edx, word [0x140034140]
lea rdi, [0x14002f900]
xor ebx, ebx
lea r8, [0x140034140]
mov word [0x14002f900], bx
mov rax, rdi
lea r9, [rdi + 0x2000]
test dx, dx
jne 0x140010171
jmp 0x140010185
cmp rax, r9
je 0x14001d3c8
add r8, 2
mov word [rax], dx
add rax, 2
movzx edx, word [r8]
test dx, dx
jne 0x140010168
xor r11d, r11d
mov word [rax], r11w
cmp word [0x14002f900], 0
je 0x14001071d
mov edx, 0x1000
lea rax, [0x14002f900]
nop word cs:[rax + rax]
add rax, 2
sub rdx, 1
cmp word [rax], 0
jne 0x1400101b0
test rdx, rdx
je 0x140010a02
mov dword [rax], 0x5c
cmp word [0x14002f900], 0
mov edx, 0x1000
lea rax, [0x14002f900]
je 0x1400101ff
nop dword [rax + rax]
add rax, 2
sub rdx, 1
cmp word [rax], 0
jne 0x1400101e8
test rdx, rdx
je 0x140010a07
lea r8, [0x140031900]
jmp 0x140010219
test rdx, rdx
je 0x140010a0c
add r8, 2
mov word [rax], cx
add rax, 2
sub rdx, 1
movzx ecx, word [r8]
test cx, cx
jne 0x140010210
xor r10d, r10d
cmp word [0x14002f100], 0
mov word [rax], r10w
je 0x1400106c7
xor r13d, r13d
mov r14, qword [rsp + 0x78]
mov esi, 8
movdqa xmm7, xmmword [0x1400202e0]
mov ebp, r13d
nop
mov r13, qword [0x1400270c0]
mov rax, qword [0x1400270b8]
sub rax, r13
jne 0x140010360
mov rcx, qword [0x1400270e0]
mov rdx, qword [0x1400270d8]
cmp rcx, rdx
setb al
or bpl, al
je 0x1400102e0
mov rcx, qword [0x1400270a8]
movups xmmword [0x1400270b8], xmm7
call fcn.14000e8f0
mov r8, rax
mov rax, qword [0x1400270c0]
cmp qword [0x1400270b8], rax
sete bpl
cmp r8, 0xffffffffffffff88
ja 0x140010718
mov qword [0x1400270b8], rax
mov qword [0x1400270c0], 0
jmp 0x140010260
cmp rcx, rdx
jne 0x140010718
mov rbx, qword [0x140032100]
mov rcx, qword [0x140034120]
xor r8d, r8d
xor edx, edx
mov r9d, 1
call r15
mov eax, eax
sub rbx, rax
je 0x140010260
mov r8d, ebx
cmp rbx, 0x20002
jbe 0x140010327
mov r8d, 0x20003
mov ebx, 0x20003
mov qword [rsp + 0x20], 0
mov r9, qword [rsp + 0x68]
mov rdx, qword [0x1400270d0]
mov rcx, qword [0x140034120]
mov rax, qword [rsp + 0x50]
call rax
test eax, eax
jne 0x14001066e
lea rcx, str.Error__couldnt_read_attached_data.
call fcn.140008c00
nop
cmp rax, rsi
mov rdx, qword [r12]
mov rcx, r14
cmova rax, rsi
add rdx, r13
mov rbx, rax
mov r8, rax
call sub.msvcrt.dll_memcpy
add r13, rbx
add r14, rbx
mov qword [0x1400270c0], r13
sub rsi, rbx
jne 0x140010260
mov rax, qword [rsp + 0xb0]
movzx edx, word [0x14002f900]
xor r8d, r8d
lea r14, [0x1400250a0]
mov word [0x1400250a0], r8w
lea rcx, [0x14002f900]
lea r8, [r14 + 0x2000]
mov qword [rsp + 0x60], rax
mov rax, r14
test dx, dx
jne 0x1400103d9
jmp 0x1400103ec
cmp rax, r8
je 0x14001d3c8
add rcx, 2
mov word [rax], dx
add rax, 2
movzx edx, word [rcx]
test dx, dx
jne 0x1400103d0
xor ecx, ecx
mov rbx, qword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
lea rsi, [0x1400250a0]
mov word [rax], cx
movzx eax, word [0x1400250a0]
test ax, ax
je 0x140010427
nop dword [rax + rax]
cmp ax, 0x5c
je 0x14001069c
movzx eax, word [rsi + 2]
add rsi, 2
test ax, ax
jne 0x140010410
mov qword [rsp + 0x30], 0
xor r9d, r9d
mov r8d, 2
mov rcx, rdi
mov dword [rsp + 0x28], 0
mov edx, 0x40000000
mov dword [rsp + 0x20], 2
call qword [sym.imp.KERNEL32.DLL_CreateFileW]
mov qword [rsp + 0x70], rax
cmp rax, 0xffffffffffffffff
je 0x140010974
cmp qword [rsp + 0x60], 0
mov rbp, qword [rsp + 0x78]
je 0x140010628
nop word [rax + rax]
mov rax, qword [rsp + 0x60]
mov r14d, 0x8000
lea r13, [0x140027100]
cmp rax, r14
cmovbe r14, rax
mov rsi, r14
mov qword [rsp + 0x58], r14
xor r14d, r14d
mov edi, r14d
mov r14, r13
mov r13, rsi
nop dword [rax]
mov rsi, qword [0x1400270c0]
mov r8, qword [0x1400270b8]
sub r8, rsi
jne 0x1400105b0
mov rcx, qword [0x1400270e0]
mov rdx, qword [0x1400270d8]
cmp rcx, rdx
setb al
or dil, al
je 0x140010530
mov rcx, qword [0x1400270a8]
movups xmmword [0x1400270b8], xmm6
call fcn.14000e8f0
mov r8, rax
mov rax, qword [0x1400270c0]
cmp qword [0x1400270b8], rax
sete dil
cmp r8, 0xffffffffffffff88
ja 0x140010718
mov qword [0x1400270b8], rax
mov qword [0x1400270c0], 0
jmp 0x1400104b0
cmp rcx, rdx
jne 0x140010718
mov rbx, qword [0x140032100]
mov rcx, qword [0x140034120]
xor r8d, r8d
xor edx, edx
mov r9d, 1
call r15
mov eax, eax
sub rbx, rax
je 0x1400104b0
mov r8d, ebx
cmp rbx, 0x20002
jbe 0x140010577
mov r8d, 0x20003
mov ebx, 0x20003
mov rdx, qword [0x1400270d0]
mov rcx, qword [0x140034120]
mov r9, rbp
mov qword [rsp + 0x20], 0
mov rax, qword [rsp + 0x50]
call rax
test eax, eax
jne 0x140010640
lea rcx, str.Error__couldnt_read_attached_data.
call fcn.140008c00
nop dword [rax]
cmp r8, r13
mov rbx, r8
mov rdx, qword [r12]
mov rcx, r14
cmova rbx, r13
add rdx, rsi
mov r8, rbx
add rsi, rbx
add r14, rbx
call sub.msvcrt.dll_memcpy
mov qword [0x1400270c0], rsi
sub r13, rbx
jne 0x1400104b0
mov r8d, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x70]
mov r9, rbp
mov dword [rsp + 0xb0], 0
mov qword [rsp + 0x20], 0
lea rdx, [0x140027100]
call qword [sym.imp.KERNEL32.DLL_WriteFile]
test eax, eax
je 0x1400109ec
mov rdi, qword [rsp + 0x58]
sub qword [rsp + 0x60], rdi
jne 0x140010480
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
jmp 0x14000ff78
mov eax, dword [rsp + 0xb0]
cmp rbx, rax
jne 0x1400105a0
add qword [0x1400270a0], rbx
mov qword [0x1400270e0], 0
mov qword [0x1400270d8], rbx
jmp 0x1400104b0
mov eax, dword [rsp + 0x90]
cmp rbx, rax
jne 0x140010352
add qword [0x1400270a0], rbx
mov qword [0x1400270e0], 0
mov qword [0x1400270d8], rbx
jmp 0x140010260
xor eax, eax
xor edx, edx
mov rcx, r14
add rsi, 2
mov word [rsi - 2], ax
call rbx
mov edx, 0x5c
mov word [rsi - 2], dx
movzx eax, word [rsi]
test ax, ax
jne 0x140010410
jmp 0x140010427
movzx edx, word [0x14002f900]
lea rax, [0x14002f100]
lea rcx, [0x14002f900]
lea r8, [rax + 0x2000]
test dx, dx
jne 0x1400106f9
jmp 0x14001070c
cmp rax, r8
je 0x14001d3c8
add rcx, 2
mov word [rax], dx
add rax, 2
movzx edx, word [rcx]
test dx, dx
jne 0x1400106f0
xor r9d, r9d
mov word [rax], r9w
jmp 0x140010246
call fcn.140008c60
lea rax, [0x14002f900]
jmp 0x1400101c7
mov rcx, r12
call sub.msvcrt.dll_free
mov rcx, r13
call sub.msvcrt.dll_free
jmp 0x14000fc8e
mov rbp, qword [rsp + 0x78]
mov rcx, qword [0x140034120]
mov r14, qword [sym.imp.KERNEL32.DLL_CloseHandle]
call r14
mov r12, qword [0x1400270a8]
test r12, r12
je 0x140010824
cmp qword [r12 + 0x73c8], 0
jne 0x140010824
mov r13, qword [r12 + 0x73d8]
mov rbx, qword [r12 + 0x73a8]
mov r15, qword [r12 + 0x73b0]
test r13, r13
je 0x1400107c1
mov rdx, qword [r13]
mov rsi, qword [r13 + 0x6ac8]
mov rdi, qword [r13 + 0x6ad0]
test rdx, rdx
je 0x1400109b0
test rsi, rsi
je 0x1400109f8
mov rcx, rdi
call rsi
mov rdx, r13
mov rcx, rdi
call rsi
mov rdx, qword [r12 + 0x73f8]
pxor xmm0, xmm0
mov dword [r12 + 0x73f0], 0
movups xmmword [r12 + 0x73d8], xmm0
test rdx, rdx
je 0x140010813
test rbx, rbx
je 0x1400109c6
mov rcx, r15
call rbx
mov qword [r12 + 0x73f8], 0
jmp 0x14001081c
mov qword [0x1400270a8], 0
call fcn.140008c80
test rbx, rbx
je 0x1400109ce
mov rdx, r12
mov rcx, r15
call rbx
mov rcx, qword [0x1400270d0]
mov rdi, rbp
call sub.msvcrt.dll_free
mov rcx, qword [0x1400270b0]
call sub.msvcrt.dll_free
call qword [sym.imp.KERNEL32.DLL_GetCurrentProcessId]
lea r8, [0x14001f3d2]
mov edx, pe_nt_image_headers64
mov rcx, rbp
mov r9d, eax
call fcn.140001a50
mov rdx, rbp
lea rcx, str.NUITKA_ONEFILE_PARENT
call qword [sym.imp.KERNEL32.DLL_SetEnvironmentVariableA]
xor eax, eax
mov ecx, 0xd
rep stosq qword [rdi], rax
mov dword [rsp + 0xb0], 0x68
call qword [sym.imp.KERNEL32.DLL_GetCommandLineW]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x40], rbp
mov rdx, rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x38], 0
lea rcx, [0x14002f100]
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x28], 0x20
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.DLL_CreateProcessW]
test eax, eax
je 0x14001099f
mov rcx, qword [rsp + 0x98]
call r14
mov rcx, qword [rsp + 0x90]
mov dword [rsp + 0x8c], 0
mov qword [0x140036148], rcx
test rcx, rcx
je 0x140010944
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
mov rcx, qword [0x140036148]
lea rdx, [rsp + 0x8c]
call qword [sym.imp.KERNEL32.DLL_GetExitCodeProcess]
test eax, eax
jne 0x14001092f
mov dword [rsp + 0x8c], 1
mov rcx, qword [0x140036148]
call r14
mov qword [0x140036148], 0
call fcn.140008ca0
mov eax, dword [rsp + 0x8c]
movaps xmm6, xmmword [rsp + 0x130]
movaps xmm7, xmmword [rsp + 0x140]
add rsp, 0x158
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov ecx, 2
call qword [fcn.14001ca50]
lea r8, [0x14002f900]
lea rdx, str.Error__failed_to_open__ls_for_writing._n
mov rcx, rax
call fcn.140001a20
mov ecx, 2
call sub.msvcrt.dll_exit
lea rcx, str.Error__couldnt_launch_child.
call fcn.140008c00
nop dword [rax + rax]
test rsi, rsi
jne 0x1400107b9
mov rcx, r13
call sub.msvcrt.dll_free
jmp 0x1400107c1
mov rcx, rdx
call sub.msvcrt.dll_free
mov rcx, r12
call sub.msvcrt.dll_free
jmp 0x140010824
lea rcx, str.Error__couldnt_find_attached_data.
call fcn.140008c00
call fcn.140008c80
lea rcx, str.Error__couldnt_runtime_expand_temporary_files.
call fcn.140008c00
mov rcx, rdx
call sub.msvcrt.dll_free
jmp 0x1400109b9
jmp 0x14001d3c8
jmp 0x14001d3c8
jmp 0x14001d3c8
push r12
sub rsp, 0x50
call fcn.140008df0
test al, al
je 0x140010b78
mov edx, 1
lea rcx, [0x140008dd0]
call qword [sym.imp.KERNEL32.DLL_SetConsoleCtrlHandler]
test eax, eax
je 0x140010ab8
lea r12, [0x140032120]
xor ecx, ecx
mov r8d, 0x1000
mov rdx, r12
call qword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
test eax, eax
je 0x14001d3ce
mov qword [rsp + 0x30], 0
xor r9d, r9d
mov r8d, 1
mov rcx, r12
mov dword [rsp + 0x28], 0
mov edx, 0x80000000
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.DLL_CreateFileW]
mov qword [0x140034120], rax
cmp rax, 0xffffffffffffffff
je 0x140010b18
add rsp, 0x50
pop r12
jmp 0x14000fb70
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov r9d, 0x400
xor edx, edx
mov qword [rsp + 0x30], 0
mov r8d, eax
lea rax, [rsp + 0x48]
mov dword [rsp + 0x28], 0
mov ecx, 0x1300
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.DLL_FormatMessageA]
lea rcx, str.Error__failed_to_register_signal_handler.
call sub.msvcrt.dll_puts
mov rcx, qword [rsp + 0x48]
call sub.msvcrt.dll_puts
mov eax, 1
add rsp, 0x50
pop r12
ret
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov r9d, 0x400
xor edx, edx
mov qword [rsp + 0x30], 0
mov r8d, eax
lea rax, [rsp + 0x48]
mov dword [rsp + 0x28], 0
mov ecx, 0x1300
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.DLL_FormatMessageA]
lea rcx, str.Error__failed_to_access_unpacked_executable.
call sub.msvcrt.dll_puts
mov rcx, qword [rsp + 0x48]
call sub.msvcrt.dll_puts
mov eax, 1
add rsp, 0x50
pop r12
ret
mov ecx, 2
call qword [fcn.14001ca50]
lea r8, str._TEMP_onefile__PID___TIME_
lea rdx, str.Error__couldnt_runtime_expand_spec__ls._n
mov rcx, rax
call fcn.140001a20
call sub.msvcrt.dll_abort
nop
nop
call sub.msvcrt.dll_abort
nop
call sub.msvcrt.dll_abort
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
jmp 0x140001720