Function at 0x140011380
Capabilities:
Accept command line arguments
Create directory
Create process on windows
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, [0x140034140]
xor ecx, ecx
mov r8d, 0x1000
mov rdx, r12
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x14001d1e8
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 0x140011347
mov r8d, ebx
mov rdx, rax
mov rcx, r12
call rsi
test eax, eax
je 0x140011091
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 0x140011091
mov rsi, qword [rsp + 0xb0]
mov rcx, rsi
call sub.msvcrt.dll_malloc
mov r12, rax
test rax, rax
je 0x140011347
mov r9, r13
mov r8, rsi
mov rdx, rax
mov rcx, r14
mov qword [rsp + 0x20], 0xffffffffffffffff
call rbx
test eax, eax
jne 0x140011089
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 0x140010690
mov rcx, r12
call sub.msvcrt.dll_free
mov rcx, qword [0x140036140]
mov r15, qword [sym.imp.KERNEL32.dll_SetFilePointer]
xor r8d, r8d
mov edx, 0xfffffff8
mov r9d, 2
call r15
cmp eax, 0xffffffff
je 0x14001133b
xor r8d, r8d
xor edx, edx
mov rcx, qword [0x140036140]
mov r9d, 1
call r15
mov rcx, qword [0x140036140]
mov r8d, 8
lea rbp, [rsp + 0xb0]
mov qword [rsp + 0x20], 0
mov eax, eax
mov rdx, rbp
mov qword [0x140034120], 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 0x140010681
cmp dword [rsp + 0x90], 8
je 0x1400106f2
lea rcx, str.Error__couldnt_read_attached_data.
call fcn.140008ed0
nop dword [rax]
mov rax, qword [rsp + 0xc8]
test rax, rax
je 0x1400106e4
cmp dword [rax + 0x84], 4
jbe 0x1400106e4
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 0x1400105ee
mov rcx, qword [0x140036140]
lea edx, [rbx - 8]
xor r9d, r9d
xor r8d, r8d
mov r15, qword [sym.imp.KERNEL32.dll_SetFilePointer]
call r15
jmp 0x14001060d
mov rcx, r14
call qword [sym.imp.imagehlp.dll_UnMapAndLoad]
jmp 0x1400105e6
mov rdx, qword [0x140034120]
xor r9d, r9d
xor r8d, r8d
sub edx, dword [rsp + 0xb0]
mov rcx, qword [0x140036140]
call r15
cmp eax, 0xffffffff
je 0x14001133b
mov rcx, qword [0x140036140]
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 0x140010758
lea rcx, str.Error__couldnt_read_attached_data.
call fcn.140008ed0
nop dword [rax]
cmp dword [rsp + 0xb0], 3
jne 0x140010745
cmp byte [rsp + 0x89], 0x4b
jne 0x14001133b
cmp byte [rsp + 0x8a], 0x41
jne 0x14001133b
cmp byte [rsp + 0x8b], 0x59
jne 0x14001133b
mov ecx, 0x20003
call sub.msvcrt.dll_malloc
mov qword [0x1400290f0], rax
test rax, rax
je 0x140011347
mov ecx, 0x20000
call sub.msvcrt.dll_malloc
mov qword [0x1400290d0], rax
test rax, rax
je 0x140011347
mov ecx, 0x274b8
call sub.msvcrt.dll_malloc
mov r8, rax
test rax, rax
je 0x140011163
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 0x140010883
mov eax, 7
cpuid
shr ebx, 8
mov ecx, ebx
and ecx, 1
mov dword [r8 + 0x73d0], ecx
movdqa xmm6, xmmword [0x140020280]
lea r12, [0x1400290d0]
mov qword [r8 + 0x7410], 0x8000001
mov dword [r8 + 0x7458], 0
mov qword [r8 + 0x7388], 0
mov dword [r8 + 0x7390], 1
mov qword [0x1400290c8], r8
mov byte [0x1400250a8], 1
mov qword [rsp + 0x78], rbp
lea rdi, [0x140033920]
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 [0x1400290e0]
mov r8, qword [0x1400290d8]
sub r8, rbx
jne 0x140010a00
mov rcx, qword [0x140029100]
mov rdx, qword [0x1400290f8]
cmp rcx, rdx
setb al
or dil, al
je 0x140010980
mov rcx, qword [0x1400290c8]
movups xmmword [0x1400290d8], xmm6
call fcn.14000f250
mov r8, rax
mov rax, qword [0x1400290e0]
cmp qword [0x1400290d8], rax
sete dil
cmp r8, 0xffffffffffffff88
ja 0x140011078
mov qword [0x1400290d8], rax
mov qword [0x1400290e0], 0
jmp 0x140010900
cmp rcx, rdx
jne 0x140011078
mov rbx, qword [0x140034120]
mov rcx, qword [0x140036140]
xor r8d, r8d
xor edx, edx
mov r9d, 1
call r15
mov eax, eax
sub rbx, rax
je 0x140010900
mov r8d, ebx
cmp rbx, 0x20002
jbe 0x1400109c7
mov r8d, 0x20003
mov ebx, 0x20003
mov rdx, qword [0x1400290f0]
mov rcx, qword [0x140036140]
mov r9, rbp
mov qword [rsp + 0x20], 0
mov rax, qword [rsp + 0x50]
call rax
test eax, eax
jne 0x140010a58
lea rcx, str.Error__couldnt_read_attached_data.
call fcn.140008ed0
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 [0x1400290e0], rbx
sub rsi, r14
jne 0x140010900
movzx eax, word [rsp + 0x90]
mov rdi, qword [rsp + 0x58]
mov word [rdi], ax
test ax, ax
je 0x140010a82
add rdi, 2
mov qword [rsp + 0x58], rdi
jmp 0x1400108f0
mov eax, dword [rsp + 0xb0]
cmp rbx, rax
jne 0x1400109ec
add qword [0x1400290c0], rbx
mov qword [0x140029100], 0
mov qword [0x1400290f8], rbx
jmp 0x140010900
lea rax, [0x140033920]
movzx ecx, word [rax]
test cx, cx
je 0x14001109e
movzx edx, word [0x1400250c0]
lea rdi, [0x140031920]
xor ebx, ebx
lea r8, [0x1400250c0]
mov word [0x140031920], bx
mov rax, rdi
lea r9, [rdi + 0x2000]
test dx, dx
jne 0x140010ad1
jmp 0x140010ae5
cmp rax, r9
je 0x14001d1e8
add r8, 2
mov word [rax], dx
add rax, 2
movzx edx, word [r8]
test dx, dx
jne 0x140010ac8
xor r11d, r11d
mov word [rax], r11w
cmp word [0x140031920], 0
je 0x14001107d
mov edx, 0x1000
lea rax, [0x140031920]
nop word cs:[rax + rax]
add rax, 2
sub rdx, 1
cmp word [rax], 0
jne 0x140010b10
test rdx, rdx
je 0x140011362
mov dword [rax], 0x5c
cmp word [0x140031920], 0
mov edx, 0x1000
lea rax, [0x140031920]
je 0x140010b5f
nop dword [rax + rax]
add rax, 2
sub rdx, 1
cmp word [rax], 0
jne 0x140010b48
test rdx, rdx
je 0x140011367
lea r8, [0x140033920]
jmp 0x140010b79
test rdx, rdx
je 0x14001136c
add r8, 2
mov word [rax], cx
add rax, 2
sub rdx, 1
movzx ecx, word [r8]
test cx, cx
jne 0x140010b70
xor r10d, r10d
cmp word [0x140031120], 0
mov word [rax], r10w
je 0x140011027
xor r13d, r13d
mov r14, qword [rsp + 0x78]
mov esi, 8
movdqa xmm7, xmmword [0x140020280]
mov ebp, r13d
nop
mov r13, qword [0x1400290e0]
mov rax, qword [0x1400290d8]
sub rax, r13
jne 0x140010cc0
mov rcx, qword [0x140029100]
mov rdx, qword [0x1400290f8]
cmp rcx, rdx
setb al
or bpl, al
je 0x140010c40
mov rcx, qword [0x1400290c8]
movups xmmword [0x1400290d8], xmm7
call fcn.14000f250
mov r8, rax
mov rax, qword [0x1400290e0]
cmp qword [0x1400290d8], rax
sete bpl
cmp r8, 0xffffffffffffff88
ja 0x140011078
mov qword [0x1400290d8], rax
mov qword [0x1400290e0], 0
jmp 0x140010bc0
cmp rcx, rdx
jne 0x140011078
mov rbx, qword [0x140034120]
mov rcx, qword [0x140036140]
xor r8d, r8d
xor edx, edx
mov r9d, 1
call r15
mov eax, eax
sub rbx, rax
je 0x140010bc0
mov r8d, ebx
cmp rbx, 0x20002
jbe 0x140010c87
mov r8d, 0x20003
mov ebx, 0x20003
mov qword [rsp + 0x20], 0
mov r9, qword [rsp + 0x68]
mov rdx, qword [0x1400290f0]
mov rcx, qword [0x140036140]
mov rax, qword [rsp + 0x50]
call rax
test eax, eax
jne 0x140010fce
lea rcx, str.Error__couldnt_read_attached_data.
call fcn.140008ed0
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 [0x1400290e0], r13
sub rsi, rbx
jne 0x140010bc0
mov rax, qword [rsp + 0xb0]
movzx edx, word [0x140031920]
xor r8d, r8d
lea r14, [0x1400270c0]
mov word [0x1400270c0], r8w
lea rcx, [0x140031920]
lea r8, [r14 + 0x2000]
mov qword [rsp + 0x60], rax
mov rax, r14
test dx, dx
jne 0x140010d39
jmp 0x140010d4c
cmp rax, r8
je 0x14001d1e8
add rcx, 2
mov word [rax], dx
add rax, 2
movzx edx, word [rcx]
test dx, dx
jne 0x140010d30
xor ecx, ecx
mov rbx, qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea rsi, [0x1400270c0]
mov word [rax], cx
movzx eax, word [0x1400270c0]
test ax, ax
je 0x140010d87
nop dword [rax + rax]
cmp ax, 0x5c
je 0x140010ffc
movzx eax, word [rsi + 2]
add rsi, 2
test ax, ax
jne 0x140010d70
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 0x1400112d4
cmp qword [rsp + 0x60], 0
mov rbp, qword [rsp + 0x78]
je 0x140010f88
nop word [rax + rax]
mov rax, qword [rsp + 0x60]
mov r14d, 0x8000
lea r13, [0x140029120]
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 [0x1400290e0]
mov r8, qword [0x1400290d8]
sub r8, rsi
jne 0x140010f10
mov rcx, qword [0x140029100]
mov rdx, qword [0x1400290f8]
cmp rcx, rdx
setb al
or dil, al
je 0x140010e90
mov rcx, qword [0x1400290c8]
movups xmmword [0x1400290d8], xmm6
call fcn.14000f250
mov r8, rax
mov rax, qword [0x1400290e0]
cmp qword [0x1400290d8], rax
sete dil
cmp r8, 0xffffffffffffff88
ja 0x140011078
mov qword [0x1400290d8], rax
mov qword [0x1400290e0], 0
jmp 0x140010e10
cmp rcx, rdx
jne 0x140011078
mov rbx, qword [0x140034120]
mov rcx, qword [0x140036140]
xor r8d, r8d
xor edx, edx
mov r9d, 1
call r15
mov eax, eax
sub rbx, rax
je 0x140010e10
mov r8d, ebx
cmp rbx, 0x20002
jbe 0x140010ed7
mov r8d, 0x20003
mov ebx, 0x20003
mov rdx, qword [0x1400290f0]
mov rcx, qword [0x140036140]
mov r9, rbp
mov qword [rsp + 0x20], 0
mov rax, qword [rsp + 0x50]
call rax
test eax, eax
jne 0x140010fa0
lea rcx, str.Error__couldnt_read_attached_data.
call fcn.140008ed0
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 [0x1400290e0], rsi
sub r13, rbx
jne 0x140010e10
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, [0x140029120]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14001134c
mov rdi, qword [rsp + 0x58]
sub qword [rsp + 0x60], rdi
jne 0x140010de0
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400108d8
mov eax, dword [rsp + 0xb0]
cmp rbx, rax
jne 0x140010f00
add qword [0x1400290c0], rbx
mov qword [0x140029100], 0
mov qword [0x1400290f8], rbx
jmp 0x140010e10
mov eax, dword [rsp + 0x90]
cmp rbx, rax
jne 0x140010cb2
add qword [0x1400290c0], rbx
mov qword [0x140029100], 0
mov qword [0x1400290f8], rbx
jmp 0x140010bc0
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 0x140010d70
jmp 0x140010d87
movzx edx, word [0x140031920]
lea rax, [0x140031120]
lea rcx, [0x140031920]
lea r8, [rax + 0x2000]
test dx, dx
jne 0x140011059
jmp 0x14001106c
cmp rax, r8
je 0x14001d1e8
add rcx, 2
mov word [rax], dx
add rax, 2
movzx edx, word [rcx]
test dx, dx
jne 0x140011050
xor r9d, r9d
mov word [rax], r9w
jmp 0x140010ba6
call fcn.140008f30
lea rax, [0x140031920]
jmp 0x140010b27
mov rcx, r12
call sub.msvcrt.dll_free
mov rcx, r13
call sub.msvcrt.dll_free
jmp 0x1400105ee
mov rbp, qword [rsp + 0x78]
mov rcx, qword [0x140036140]
mov r14, qword [sym.imp.KERNEL32.dll_CloseHandle]
call r14
mov r12, qword [0x1400290c8]
test r12, r12
je 0x140011184
cmp qword [r12 + 0x73c8], 0
jne 0x140011184
mov r13, qword [r12 + 0x73d8]
mov rbx, qword [r12 + 0x73a8]
mov r15, qword [r12 + 0x73b0]
test r13, r13
je 0x140011121
mov rdx, qword [r13]
mov rsi, qword [r13 + 0x6ac8]
mov rdi, qword [r13 + 0x6ad0]
test rdx, rdx
je 0x140011310
test rsi, rsi
je 0x140011358
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 0x140011173
test rbx, rbx
je 0x140011326
mov rcx, r15
call rbx
mov qword [r12 + 0x73f8], 0
jmp 0x14001117c
mov qword [0x1400290c8], 0
call fcn.140008f50
test rbx, rbx
je 0x14001132e
mov rdx, r12
mov rcx, r15
call rbx
mov rcx, qword [0x1400290f0]
mov rdi, rbp
call sub.msvcrt.dll_free
mov rcx, qword [0x1400290d0]
call sub.msvcrt.dll_free
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea r8, [0x14001f36a]
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, [0x140031120]
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 0x1400112ff
mov rcx, qword [rsp + 0x98]
call r14
mov rcx, qword [rsp + 0x90]
mov dword [rsp + 0x8c], 0
mov qword [0x1400250a0], rcx
test rcx, rcx
je 0x1400112a4
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [0x1400250a0]
lea rdx, [rsp + 0x8c]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x14001128f
mov dword [rsp + 0x8c], 1
mov rcx, qword [0x1400250a0]
call r14
mov qword [0x1400250a0], 0
call fcn.1400118b0
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.14001c860]
lea r8, [0x140031920]
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.140008ed0
nop dword [rax + rax]
test rsi, rsi
jne 0x140011119
mov rcx, r13
call sub.msvcrt.dll_free
jmp 0x140011121
mov rcx, rdx
call sub.msvcrt.dll_free
mov rcx, r12
call sub.msvcrt.dll_free
jmp 0x140011184
lea rcx, str.Error__couldnt_find_attached_data.
call fcn.140008ed0
call fcn.140008f50
lea rcx, str.Error__couldnt_runtime_expand_temporary_files.
call fcn.140008ed0
mov rcx, rdx
call sub.msvcrt.dll_free
jmp 0x140011319
jmp 0x14001d1e8
jmp 0x14001d1e8
jmp 0x14001d1e8
push r12
sub rsp, 0x50
call fcn.140008f90
test al, al
je 0x1400114d8
mov edx, 1
lea rcx, [0x140008f70]
call qword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
test eax, eax
je 0x140011418
lea r12, [0x140034140]
xor ecx, ecx
mov r8d, 0x1000
mov rdx, r12
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x14001d1ee
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 [0x140036140], rax
cmp rax, 0xffffffffffffffff
je 0x140011478
add rsp, 0x50
pop r12
jmp 0x1400104d0
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.14001c860]
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