Function at 0x1400115d0
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 0x1400017b0
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 0x1400017c5
lea rcx, [0x1400017e0]
add rsp, 0x28
pop rbx
pop r12
pop r13
pop rbp
jmp fcn.1400016d5
lea rax, [0x140001720]
lea rbx, [0x140001710]
mov qword [0x14001e010], rax
lea rdx, [0x140025060]
lea rcx, [section..eh_fram]
call rbx
jmp 0x140001797
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x178
movaps xmmword [rsp + 0x150], xmm6
movaps xmmword [rsp + 0x160], xmm7
mov rax, qword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
xor edx, edx
lea rcx, [0x140032120]
lea r12, [0x140030120]
mov qword [rsp + 0x80], rax
call rax
mov rax, qword [sym.imp.KERNEL32.DLL_CreateFileW]
xor r9d, r9d
mov rcx, r12
mov byte [0x140034120], 1
mov r8d, 1
mov edx, 0x80000000
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
mov qword [rsp + 0x78], rax
call rax
mov qword [0x140030108], rax
cmp rax, 0xffffffffffffffff
je 0x14001149a
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 0x140011510
mov r8d, ebx
mov rdx, rax
mov rcx, r12
call rsi
test eax, eax
je 0x140011473
lea r14, [rsp + 0xd0]
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 0x140011473
mov rsi, qword [rsp + 0xd0]
mov rcx, rsi
call sub.msvcrt.dll_malloc
mov r12, rax
test rax, rax
je 0x140011510
mov r9, r13
mov r8, rsi
mov rdx, rax
mov rcx, r14
mov qword [rsp + 0x20], 0xffffffffffffffff
call rbx
test eax, eax
jne 0x14001146b
xor r9d, r9d
mov r8, r14
lea rdx, str.dont_search_path
mov rcx, r12
mov dword [rsp + 0x20], 1
call qword [sym.imp.imagehlp.dll_MapAndLoad]
test eax, eax
jne 0x140010a4a
mov rcx, r12
call sub.msvcrt.dll_free
mov rcx, qword [0x140030108]
mov r15, qword [sym.imp.KERNEL32.DLL_SetFilePointer]
xor r8d, r8d
mov edx, 0xfffffff8
mov r9d, 2
call r15
cmp eax, 0xffffffff
je 0x14001121e
xor r8d, r8d
xor edx, edx
mov rcx, qword [0x140030108]
mov r9d, 1
call r15
mov rcx, qword [0x140030108]
mov rdi, qword [sym.imp.KERNEL32.DLL_ReadFile]
mov qword [rsp + 0x20], 0
mov eax, eax
lea r9, [rsp + 0x9c]
mov r8d, 8
mov qword [0x140030100], rax
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x88], rax
mov rdx, rax
call rdi
test eax, eax
je 0x14001121e
cmp dword [rsp + 0x9c], 8
jne 0x14001121e
mov rdx, qword [0x140030100]
xor r9d, r9d
xor r8d, r8d
sub edx, dword [rsp + 0xb0]
mov rcx, qword [0x140030108]
call r15
cmp eax, 0xffffffff
je 0x14001121e
mov qword [rsp + 0x20], 0
mov rcx, qword [0x140030108]
lea rdx, [rsp + 0x99]
lea r9, [rsp + 0xa0]
mov r8d, 3
call rdi
test eax, eax
je 0x14001121e
cmp dword [rsp + 0xa0], 3
jne 0x14001121e
cmp byte [rsp + 0x99], 0x4b
jne 0x14001121e
cmp byte [rsp + 0x9a], 0x41
jne 0x14001121e
cmp byte [rsp + 0x9b], 0x59
jne 0x14001121e
mov ecx, 0x20003
call sub.msvcrt.dll_malloc
mov qword [0x1400250d0], rax
test rax, rax
je 0x140011510
mov ecx, 0x20000
call sub.msvcrt.dll_malloc
mov qword [0x1400250b0], rax
test rax, rax
je 0x140011510
mov ecx, 0x274b8
call sub.msvcrt.dll_malloc
mov r8, rax
test rax, rax
je 0x140011505
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 0x140010953
mov eax, 7
cpuid
shr ebx, 8
and ebx, 1
mov ecx, ebx
lea rax, [rsp + 0x96]
mov rbp, rdi
mov dword [r8 + 0x73d0], ecx
movdqa xmm6, xmmword [0x1400202a0]
mov qword [r8 + 0x7410], 0x8000001
mov dword [r8 + 0x7458], 0
mov qword [r8 + 0x7388], 0
mov dword [r8 + 0x7390], 1
mov qword [0x1400250a8], r8
mov qword [rsp + 0x68], rax
lea rax, [0x14002f900]
mov qword [rsp + 0x58], rax
nop dword [rax]
mov rsi, qword [rsp + 0x68]
xor r13d, r13d
mov ebx, 2
lea rdi, [rsp + 0xa4]
nop dword [rax]
mov r14, qword [0x1400250c0]
mov r8, qword [0x1400250b8]
sub r8, r14
jne 0x140010b50
mov rcx, qword [0x1400250e0]
mov rdx, qword [0x1400250d8]
cmp rcx, rdx
setb al
or r13b, al
je 0x140010ab0
mov rcx, qword [0x1400250a8]
movups xmmword [0x1400250b8], xmm6
call fcn.14000f350
mov r8, rax
mov rax, qword [0x1400250c0]
cmp qword [0x1400250b8], rax
sete r13b
cmp r8, 0xffffffffffffff88
ja 0x14001121e
mov qword [0x1400250b8], rax
mov qword [0x1400250c0], 0
jmp 0x1400109d0
mov rax, qword [rsp + 0xe8]
test rax, rax
je 0x140011480
cmp dword [rax + 0x84], 4
jbe 0x140011480
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 0x140010737
mov rcx, qword [0x140030108]
lea edx, [rbx - 8]
xor r9d, r9d
xor r8d, r8d
mov r15, qword [sym.imp.KERNEL32.DLL_SetFilePointer]
call r15
jmp 0x140010756
cmp rcx, rdx
jne 0x14001121e
mov r12, qword [0x140030100]
mov rcx, qword [0x140030108]
xor r8d, r8d
xor edx, edx
mov r9d, 1
call r15
mov eax, eax
sub r12, rax
je 0x1400109d0
mov r8d, r12d
cmp r12, 0x20002
jbe 0x140010af8
mov r8d, 0x20003
mov r12d, 0x20003
mov qword [rsp + 0x20], 0
mov rdx, qword [0x1400250d0]
mov r9, rdi
mov rcx, qword [0x140030108]
call rbp
test eax, eax
je 0x14001121e
mov eax, dword [rsp + 0xa4]
cmp r12, rax
jne 0x14001121e
add qword [0x1400250a0], r12
mov qword [0x1400250e0], 0
mov qword [0x1400250d8], r12
jmp 0x1400109d0
cmp r8, rbx
lea rax, [0x1400250b0]
mov rcx, rsi
cmova r8, rbx
mov rdx, qword [rax]
mov r12, r8
add rdx, r14
call sub.msvcrt.dll_memcpy
add r14, r12
add rsi, r12
mov qword [0x1400250c0], r14
sub rbx, r12
jne 0x1400109d0
movzx eax, word [rsp + 0x96]
mov rdi, qword [rsp + 0x58]
mov word [rdi], ax
test ax, ax
je 0x140010ba8
add rdi, 2
mov qword [rsp + 0x58], rdi
jmp 0x1400109b8
lea rax, [0x14002f900]
movzx eax, word [rax]
test ax, ax
je 0x140011223
lea r12, [0x14002d900]
lea rbx, [0x14002f900]
lea rsi, [r12 + 0x2000]
nop dword [rax]
lea rdi, [0x140032120]
movzx edx, word [rdi]
cmp ax, 0x5c
je 0x1400110b3
movzx eax, word [rbx + 2]
add rbx, 2
test ax, ax
jne 0x140010bd8
lea rax, [0x140032120]
xor r9d, r9d
lea rcx, [0x140032120]
movzx edx, word [rax]
lea rax, [0x14002d900]
mov word [0x14002d900], r9w
lea r8, [rax + 0x2000]
test dx, dx
jne 0x140010c39
jmp 0x140010c4c
cmp rax, r8
je 0x14001cff8
add rcx, 2
mov word [rax], dx
add rax, 2
movzx edx, word [rcx]
test dx, dx
jne 0x140010c30
xor r8d, r8d
mov word [rax], r8w
cmp word [0x14002d900], 0
je 0x140011445
mov edx, 0x1000
lea rax, [0x14002d900]
nop dword [rax]
add rax, 2
sub rdx, 1
cmp word [rax], 0
jne 0x140010c70
test rdx, rdx
je 0x1400115a3
mov dword [rax], 0x5c
lea rax, [0x14002f900]
cmp word [0x14002d900], 0
movzx ecx, word [rax]
je 0x140011451
mov edx, 0x1000
lea rax, [0x14002d900]
nop dword [rax]
add rax, 2
sub rdx, 1
cmp word [rax], 0
jne 0x140010cb8
test cx, cx
je 0x140010d01
test rdx, rdx
je 0x1400115b2
lea r8, [0x14002f900]
jmp 0x140010ce9
test rdx, rdx
je 0x1400115ad
add r8, 2
mov word [rax], cx
add rax, 2
sub rdx, 1
movzx ecx, word [r8]
test cx, cx
jne 0x140010ce0
xor ecx, ecx
cmp word [0x14002d100], 0
mov word [rax], cx
je 0x1400111ce
mov rax, qword [rsp + 0x78]
xor r9d, r9d
mov edx, 0x40000000
mov rcx, r12
mov qword [rsp + 0x30], 0
mov r8d, 2
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 2
call rax
mov qword [rsp + 0x70], rax
cmp rax, 0xffffffffffffffff
je 0x140011566
movdqa xmm7, xmmword [0x1400202a0]
xor r13d, r13d
lea rdi, [rsp + 0xd0]
mov esi, 8
lea r12, [rsp + 0xa8]
nop dword [rax]
mov r14, qword [0x1400250c0]
mov r8, qword [0x1400250b8]
sub r8, r14
jne 0x140010e90
mov rcx, qword [0x1400250e0]
mov rdx, qword [0x1400250d8]
cmp rcx, rdx
setb al
or r13b, al
je 0x140010df0
mov rcx, qword [0x1400250a8]
movups xmmword [0x1400250b8], xmm7
call fcn.14000f350
mov r8, rax
mov rax, qword [0x1400250c0]
cmp qword [0x1400250b8], rax
sete r13b
cmp r8, 0xffffffffffffff88
ja 0x14001121e
mov qword [0x1400250b8], rax
mov qword [0x1400250c0], 0
jmp 0x140010d78
cmp rcx, rdx
jne 0x14001121e
mov rbx, qword [0x140030100]
mov rcx, qword [0x140030108]
xor r8d, r8d
xor edx, edx
mov r9d, 1
call r15
mov eax, eax
sub rbx, rax
je 0x140010d78
mov r8d, ebx
cmp rbx, 0x20002
jbe 0x140010e37
mov r8d, 0x20003
mov ebx, 0x20003
mov qword [rsp + 0x20], 0
mov rdx, qword [0x1400250d0]
mov r9, r12
mov rcx, qword [0x140030108]
call rbp
test eax, eax
je 0x14001121e
mov eax, dword [rsp + 0xa8]
cmp rbx, rax
jne 0x14001121e
add qword [0x1400250a0], rbx
mov qword [0x1400250e0], 0
mov qword [0x1400250d8], rbx
jmp 0x140010d78
cmp r8, rsi
mov rbx, r8
lea rax, [0x1400250b0]
mov rcx, rdi
cmova rbx, rsi
mov rdx, qword [rax]
mov r8, rbx
add rdx, r14
add r14, rbx
add rdi, rbx
call sub.msvcrt.dll_memcpy
mov qword [0x1400250c0], r14
sub rsi, rbx
jne 0x140010d78
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x60], rax
test rax, rax
je 0x1400110a3
nop
mov rax, qword [rsp + 0x60]
mov r12d, 0x8000
lea rdi, [0x140025100]
lea r13, [rsp + 0xac]
cmp rax, r12
cmovbe r12, rax
xor r14d, r14d
mov qword [rsp + 0x58], r12
mov rsi, r12
nop dword [rax]
mov r12, qword [0x1400250c0]
mov r8, qword [0x1400250b8]
sub r8, r12
jne 0x140011030
mov rcx, qword [0x1400250e0]
mov rdx, qword [0x1400250d8]
cmp rcx, rdx
setb al
or r14b, al
je 0x140010f90
mov rcx, qword [0x1400250a8]
movups xmmword [0x1400250b8], xmm6
call fcn.14000f350
mov r8, rax
mov rax, qword [0x1400250c0]
cmp qword [0x1400250b8], rax
sete r14b
cmp r8, 0xffffffffffffff88
ja 0x14001121e
mov qword [0x1400250b8], rax
mov qword [0x1400250c0], 0
jmp 0x140010f10
cmp rcx, rdx
jne 0x14001121e
mov rbx, qword [0x140030100]
mov rcx, qword [0x140030108]
xor r8d, r8d
xor edx, edx
mov r9d, 1
call r15
mov eax, eax
sub rbx, rax
je 0x140010f10
mov r8d, ebx
cmp rbx, 0x20002
jbe 0x140010fd7
mov r8d, 0x20003
mov ebx, 0x20003
mov qword [rsp + 0x20], 0
mov rdx, qword [0x1400250d0]
mov r9, r13
mov rcx, qword [0x140030108]
call rbp
test eax, eax
je 0x14001121e
mov eax, dword [rsp + 0xac]
cmp rbx, rax
jne 0x14001121e
add qword [0x1400250a0], rbx
mov qword [0x1400250e0], 0
mov qword [0x1400250d8], rbx
jmp 0x140010f10
cmp r8, rsi
mov rbx, r8
lea rax, [0x1400250b0]
mov rcx, rdi
cmova rbx, rsi
mov rdx, qword [rax]
mov r8, rbx
add rdx, r12
add r12, rbx
add rdi, rbx
call sub.msvcrt.dll_memcpy
mov qword [0x1400250c0], r12
sub rsi, rbx
jne 0x140010f10
xor r9d, r9d
mov r8d, dword [rsp + 0x58]
mov qword [rsp + 0x20], 0
lea rdx, [0x140025100]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.DLL_WriteFile]
test eax, eax
je 0x14001154b
mov rdi, qword [rsp + 0x58]
sub qword [rsp + 0x60], rdi
jne 0x140010ee0
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
jmp 0x1400109a5
xor r13d, r13d
xor r14d, r14d
lea rax, [0x14002d900]
mov rcx, rdi
mov word [rbx], r13w
mov word [0x14002d900], r14w
test dx, dx
jne 0x1400110e9
jmp 0x1400110fc
cmp rax, rsi
je 0x14001cff8
add rcx, 2
mov word [rax], dx
add rax, 2
movzx edx, word [rcx]
test dx, dx
jne 0x1400110e0
xor edi, edi
mov word [rax], di
cmp word [r12], 0
je 0x14001148e
mov edx, 0x1000
lea rax, [0x14002d900]
nop dword [rax]
add rax, 2
sub rdx, 1
cmp word [rax], 0
jne 0x140011120
test rdx, rdx
je 0x1400115b7
mov dword [rax], 0x5c
lea rax, [0x14002f900]
mov edx, 0x1000
cmp word [r12], 0
movzx ecx, word [rax]
lea rax, [0x14002d900]
je 0x1400114f7
nop
add rax, 2
sub rdx, 1
cmp word [rax], 0
jne 0x140011160
test cx, cx
je 0x1400111a9
test rdx, rdx
je 0x1400115bc
lea r8, [0x14002f900]
jmp 0x140011191
test rdx, rdx
je 0x1400115a8
add r8, 2
mov word [rax], cx
add rax, 2
sub rdx, 1
movzx ecx, word [r8]
test cx, cx
jne 0x140011188
xor r10d, r10d
mov r11d, 0x5c
xor edx, edx
mov rcx, r12
mov word [rax], r10w
mov rax, qword [rsp + 0x80]
mov word [rbx], r11w
call rax
jmp 0x140010bec
movzx edx, word [0x14002d900]
lea rax, [0x14002d100]
lea rcx, [0x14002d900]
lea r8, [rax + 0x2000]
test dx, dx
jne 0x140011201
jmp 0x140011214
cmp rax, r8
je 0x14001cff8
add rcx, 2
mov word [rax], dx
add rax, 2
movzx edx, word [rcx]
test dx, dx
jne 0x1400111f8
xor edx, edx
mov word [rax], dx
jmp 0x140010d14
call fcn.140008f20
mov rcx, qword [0x140030108]
mov rbx, qword [sym.imp.KERNEL32.DLL_CloseHandle]
call rbx
mov r12, qword [0x1400250a8]
test r12, r12
je 0x1400112ec
cmp qword [r12 + 0x73c8], 0
jne 0x1400112ec
mov r13, qword [r12 + 0x73d8]
mov rsi, qword [r12 + 0x73a8]
mov r14, qword [r12 + 0x73b0]
test r13, r13
je 0x1400112a0
mov rdx, qword [r13]
mov rdi, qword [r13 + 0x6ac8]
mov r15, qword [r13 + 0x6ad0]
test rdx, rdx
je 0x140011515
test rdi, rdi
je 0x140011541
mov rcx, r15
call rdi
mov rdx, r13
mov rcx, r15
call rdi
mov rdx, qword [r12 + 0x73f8]
pxor xmm0, xmm0
mov dword [r12 + 0x73f0], 0
movups xmmword [r12 + 0x73d8], xmm0
test rdx, rdx
je 0x14001152b
test rsi, rsi
je 0x14001155c
mov rcx, r14
call rsi
mov qword [r12 + 0x73f8], 0
mov rdx, r12
mov rcx, r14
call rsi
mov rcx, qword [0x1400250d0]
lea rbp, [rsp + 0xd0]
mov rdi, rbp
call sub.msvcrt.dll_free
mov rcx, qword [0x1400250b0]
call sub.msvcrt.dll_free
call qword [sym.imp.KERNEL32.DLL_GetCurrentProcessId]
lea r8, [0x14001f392]
mov edx, pe_nt_image_headers64
mov rcx, rbp
mov r9d, eax
call fcn.140001a20
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 + 0xd0], 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 + 0x88]
mov qword [rsp + 0x38], 0
lea rcx, [0x14002d100]
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 0x140011591
mov rcx, qword [rsp + 0xb8]
call rbx
mov rcx, qword [rsp + 0xb0]
mov dword [rsp + 0xac], 0
mov qword [0x140034128], rcx
test rcx, rcx
je 0x140011415
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
mov rcx, qword [0x140034128]
lea rdx, [rsp + 0xac]
call qword [sym.imp.KERNEL32.DLL_GetExitCodeProcess]
test eax, eax
jne 0x140011401
mov dword [rsp + 0xac], 1
mov rcx, qword [0x140034128]
call rbx
mov qword [0x140034128], 0
call fcn.140008f40
mov eax, dword [rsp + 0xac]
movaps xmm6, xmmword [rsp + 0x150]
movaps xmm7, xmmword [rsp + 0x160]
add rsp, 0x178
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
lea rax, [0x14002d900]
jmp 0x140010c87
lea rax, [0x14002d900]
mov edx, 0x1000
test cx, cx
jne 0x140010cd4
jmp 0x140010d01
mov rcx, r12
call sub.msvcrt.dll_free
mov rcx, r13
call sub.msvcrt.dll_free
jmp 0x140010737
mov rcx, r14
call qword [sym.imp.imagehlp.dll_UnMapAndLoad]
jmp 0x14001072f
lea rax, [0x14002d900]
jmp 0x140011137
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov r9d, 0x400
xor edx, edx
mov ecx, 0x1300
mov r8d, eax
lea rax, [rsp + 0xd0]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
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 + 0xd0]
call sub.msvcrt.dll_puts
mov eax, 1
jmp 0x140011421
test cx, cx
jne 0x14001117c
jmp 0x1400111a9
mov qword [0x1400250a8], 0
call fcn.140008f00
test rdi, rdi
jne 0x140011298
mov rcx, r13
call sub.msvcrt.dll_free
jmp 0x1400112a0
test rsi, rsi
jne 0x1400112e4
mov rcx, r12
call sub.msvcrt.dll_free
jmp 0x1400112ec
mov rcx, rdx
call sub.msvcrt.dll_free
jmp 0x14001151e
lea rcx, str.Error__couldnt_runtime_expand_temporary_files.
call fcn.140008ea0
call sub.msvcrt.dll_abort
mov rcx, rdx
call sub.msvcrt.dll_free
jmp 0x140011534
mov ecx, 2
call qword [fcn.14001cca0]
lea r8, [0x14002d900]
lea rdx, [0x14001f4f8]
mov rcx, rax
call fcn.140011ab0
mov ecx, 2
call sub.msvcrt.dll_exit
lea rcx, str.Error__couldnt_launch_child.
call fcn.140008ea0
call sub.msvcrt.dll_abort
nop
jmp 0x14001cff8
jmp 0x14001cff8
jmp 0x14001cff8
jmp 0x14001cff8
jmp 0x14001cff8
jmp 0x14001cff8
sub rsp, 0x58
xor ecx, ecx
mov r8d, 0x1000
lea rdx, [0x140030120]
call qword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
test eax, eax
je 0x140011680
call fcn.140009090
test al, al
je 0x1400116d7
mov edx, 1
lea rcx, [0x140009070]
call qword [sym.imp.KERNEL32.DLL_SetConsoleCtrlHandler]
test eax, eax
je 0x140011620
add rsp, 0x58
jmp 0x1400105d0
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, 0x58
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_locate_onefile_filename.
call sub.msvcrt.dll_puts
mov rcx, qword [rsp + 0x48]
call sub.msvcrt.dll_puts
mov eax, 1
add rsp, 0x58
ret
lea rcx, str.Error__couldnt_runtime_expand_temporary_directory_pattern:
call sub.msvcrt.dll_puts
lea rcx, str._TEMP_onefile__PID___TIME_
call qword [sym.imp.msvcrt.dll__putws]
call sub.msvcrt.dll_abort
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
call sub.msvcrt.dll_abort
nop
nop
nop
jmp 0x140001730