Function at 0x14000e590
Capabilities:
Accept command line arguments
Create process on windows
Extract resource via kernel32 functions
Set environment variable
Write and execute a file
Write file on windows

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rbp, [rsp + 0x20]
lea rsi, str.libgcc_s_dw2_1.dll
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rbx, rax
test rax, rax
je 0x140001670
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rdi, qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.__register_frame_info
mov rcx, rbx
mov qword [0x140024040], rax
call rdi
lea rdx, str.__deregister_frame_info
mov rcx, rbx
mov rsi, rax
call rdi
mov qword [section..data], rax
test rsi, rsi
je 0x140001653
lea rdx, [0x140024060]
lea rcx, [section..eh_fram]
call rsi
lea rcx, [0x140001690]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp fcn.140001586
lea rax, [0x1400015d0]
lea rsi, [0x1400015c0]
mov qword [section..data], rax
jmp 0x140001643
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x348
movaps xmmword [rsp + 0x320], xmm6
movaps xmmword [rsp + 0x330], xmm7
mov ecx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_AttachConsole]
test eax, eax
jne 0x14000ed92
mov rax, qword [fcn.14001ba10]
mov byte [0x1400260a2], 0
mov byte [0x1400260a1], 0
mov byte [0x1400260a0], 0
mov qword [rsp + 0x50], rax
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call rax
mov rcx, rax
call sub.msvcrt.dll__fileno
mov ecx, eax
call qword [sym.imp.msvcrt.dll__get_osfhandle]
mov rbx, qword [sym.imp.KERNEL32.dll_SetStdHandle]
mov ecx, 0xfffffff6
mov rdx, rax
call rbx
cmp byte [0x1400260a1], 0
je 0x14000ed39
lea rsi, [0x14001e4c8]
mov r8d, 2
lea r9, [rsp + 0x220]
mov edx, 0x40000000
mov rcx, rsi
mov dword [rsp + 0x220], 0x18
mov qword [rsp + 0x228], 0
mov dword [rsp + 0x230], 1
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x20000000
mov dword [rsp + 0x20], 2
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r15, qword [rsp + 0x50]
mov ecx, 1
mov rdi, rax
call r15
mov rcx, rsi
lea rdx, [0x14001e4d8]
mov r8, rax
call qword [sym.imp.msvcrt.dll__wfreopen]
xor edx, edx
xor r9d, r9d
mov r8d, 4
mov rsi, rax
mov rcx, rax
call sub.msvcrt.dll_setvbuf
mov ecx, 1
call r15
movdqu xmm4, xmmword [rsi]
mov rdx, rdi
mov ecx, 0xfffffff5
movups xmmword [rax], xmm4
movdqu xmm5, xmmword [rsi + 0x10]
movups xmmword [rax + 0x10], xmm5
movdqu xmm1, xmmword [rsi + 0x20]
movups xmmword [rax + 0x20], xmm1
call rbx
cmp byte [0x1400260a0], 0
je 0x14000ecf4
lea rsi, [0x14001e4c8]
mov r8d, 2
lea r9, [rsp + 0x220]
mov edx, 0x40000000
mov rcx, rsi
mov dword [rsp + 0x220], 0x18
mov qword [rsp + 0x228], 0
mov dword [rsp + 0x230], 1
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x20000000
mov dword [rsp + 0x20], 2
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r15, qword [rsp + 0x50]
mov ecx, 2
mov rdi, rax
call r15
mov rcx, rsi
lea rdx, [0x14001e4d8]
mov r8, rax
call qword [sym.imp.msvcrt.dll__wfreopen]
xor edx, edx
xor r9d, r9d
mov r8d, 4
mov rsi, rax
mov rcx, rax
call sub.msvcrt.dll_setvbuf
mov ecx, 2
call r15
movdqu xmm2, xmmword [rsi]
mov rdx, rdi
mov ecx, 0xfffffff4
movups xmmword [rax], xmm2
movdqu xmm3, xmmword [rsi + 0x10]
movups xmmword [rax + 0x10], xmm3
movdqu xmm4, xmmword [rsi + 0x20]
movups xmmword [rax + 0x20], xmm4
call rbx
lea rbx, str.TEMPonefile_PID_TIME
mov r8d, 0x1000
lea rcx, [0x140043120]
mov rdx, rbx
call fcn.140007540
test al, al
je 0x14000f6a3
mov edx, 1
lea rcx, [0x140007e00]
call qword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
test eax, eax
je 0x14000f73b
mov r8d, 0xa
xor ecx, ecx
mov edx, 0x1b
call qword [sym.imp.KERNEL32.dll_FindResourceA]
xor ecx, ecx
mov rdx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
xor ecx, ecx
mov rdx, rbx
mov qword [0x140043110], rax
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov rax, qword [0x140043110]
mov qword [0x140043108], rsi
cmp byte [rax], 0x4b
lea rdi, [rax + 3]
movzx ecx, byte [rax + 2]
setne dl
cmp byte [rax + 1], 0x41
mov qword [0x140043110], rdi
setne al
or dl, al
jne 0x14000f79a
cmp cl, 0x59
jne 0x14000f79a
mov qword [0x140047130], 0
mov ecx, 0x20000
call sub.msvcrt.dll_malloc
mov qword [0x140047150], rax
test rax, rax
je 0x14000f697
mov ecx, 0x274b8
call sub.msvcrt.dll_malloc
mov r8, rax
test rax, rax
je 0x14000f68c
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
ja 0x14000ed7e
mov dword [r8 + 0x73d0], ecx
movdqa xmm6, xmmword [0x14001f270]
mov qword [r8 + 0x7410], 0x8000001
movd xmm7, dword [0x14001f280]
mov dword [r8 + 0x7458], 0
mov qword [r8 + 0x7388], 0
mov dword [r8 + 0x7390], 1
mov qword [0x140047128], r8
mov qword [0x140047130], rdi
mov qword [0x140047140], 0
mov byte [0x140043100], 1
mov qword [0x140047138], rsi
lea rsi, [rsp + 0x220]
mov rdi, qword [0x140047158]
mov r14, qword [0x140047160]
lea r12, [0x140042900]
nop word [rax + rax]
xor r15d, r15d
mov rbp, rsi
mov ebx, 2
nop dword [rax + rax]
mov r8, rdi
sub r8, r14
jne 0x14000ea4d
mov rcx, qword [0x140047140]
mov rdx, qword [0x140047138]
cmp rcx, rdx
setb al
or r15b, al
je 0x14000eaa0
mov rcx, qword [0x140047128]
movups xmmword [0x140047158], xmm6
call fcn.14000d0b0
mov rdi, qword [0x140047160]
cmp qword [0x140047158], rdi
sete r15b
cmp rax, 0xffffffffffffff88
ja 0x14000eaa9
xor r14d, r14d
mov r8, rdi
mov qword [0x140047158], rdi
mov qword [0x140047160], 0
sub r8, r14
je 0x14000e9e8
cmp r8, rbx
mov rdx, qword [0x140047150]
mov rcx, rbp
cmova r8, rbx
add rdx, r14
mov r13, r8
call sub.msvcrt.dll_memcpy
add r14, r13
add rbp, r13
mov qword [0x140047160], r14
sub rbx, r13
jne 0x14000e9e0
movzx eax, word [rsp + 0x220]
mov word [r12], ax
test ax, ax
je 0x14000eab5
add r12, 2
jmp 0x14000e9d0
cmp rcx, rdx
je 0x14000e9e0
lea rcx, str.Error__couldnt_decode_attached_data.
call fcn.140007c80
lea rax, [0x140042900]
movzx ecx, word [rax]
test cx, cx
je 0x14000ee9e
lea rax, [0x140043120]
lea rbx, [0x1400240a0]
xor ebp, ebp
movzx edx, word [rax]
mov word [0x1400240a0], bp
mov rax, rbx
lea r8, [0x140043120]
lea r9, [rbx + 0x2000]
test dx, dx
jne 0x14000eb09
jmp 0x14000eb1d
cmp rax, r9
je 0x14001c408
add r8, 2
mov word [rax], dx
add rax, 2
movzx edx, word [r8]
test dx, dx
jne 0x14000eb00
xor edi, edi
mov word [rax], di
cmp word [0x1400240a0], 0
je 0x14000ece8
mov edx, 0x1000
lea rax, [0x1400240a0]
nop dword [rax]
add rax, 2
sub rdx, 1
cmp word [rax], 0
jne 0x14000eb40
test rdx, rdx
je 0x14000f7f6
movd dword [rax], xmm7
mov edx, 0x1000
cmp word [0x1400240a0], 0
lea rax, [0x1400240a0]
je 0x14000eb8f
nop dword [rax]
add rax, 2
sub rdx, 1
cmp word [rax], 0
jne 0x14000eb78
test rdx, rdx
je 0x14000f7e2
lea r8, [0x140042900]
jmp 0x14000eba9
test rdx, rdx
je 0x14000f7e7
add r8, 2
mov word [rax], cx
add rax, 2
sub rdx, 1
movzx ecx, word [r8]
test cx, cx
jne 0x14000eba0
xor r11d, r11d
cmp word [0x140042100], 0
mov word [rax], r11w
je 0x14000ec95
mov edx, 8
mov rcx, rsi
call fcn.14000e340
mov r14, qword [rsp + 0x220]
call fcn.140010aa0
xor r9d, r9d
mov edx, 0x40000000
mov rcx, rbx
mov qword [rsp + 0x30], 0
mov r8d, 2
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 2
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbp, rax
cmp rax, 0xffffffffffffffff
je 0x14000f76e
mov r12, qword [sym.imp.KERNEL32.dll_WriteFile]
lea rdi, [0x1400260c0]
test r14, r14
je 0x14000ec87
mov ebx, 0x8000
mov rcx, rdi
cmp r14, rbx
cmovbe rbx, r14
mov rdx, rbx
call fcn.14000e340
mov r9, rsi
mov r8d, ebx
mov rdx, rdi
mov dword [rsp + 0x220], 0
mov rcx, rbp
mov qword [rsp + 0x20], 0
call r12
test eax, eax
je 0x14000f750
sub r14, rbx
jne 0x14000ec40
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14000e9b5
movzx ecx, word [0x1400240a0]
lea rax, [0x1400240a0]
lea rdx, [0x140042100]
lea r8, [rax + 0x2000]
test cx, cx
jne 0x14000ecc9
jmp 0x14000ecdc
cmp rax, r8
je 0x14001c408
add rax, 2
mov word [rdx], cx
add rdx, 2
movzx ecx, word [rax]
test cx, cx
jne 0x14000ecc0
xor r10d, r10d
mov word [rdx], r10w
jmp 0x14000ebd6
lea rax, [0x1400240a0]
jmp 0x14000eb57
mov rsi, qword [rsp + 0x50]
mov ecx, 2
call rsi
xor edx, edx
xor r9d, r9d
mov r8d, 4
mov rcx, rax
call sub.msvcrt.dll_setvbuf
mov ecx, 2
call rsi
mov rcx, rax
call sub.msvcrt.dll__fileno
mov ecx, eax
call qword [sym.imp.msvcrt.dll__get_osfhandle]
mov ecx, 0xfffffff4
mov rdx, rax
call rbx
jmp 0x14000e7af
mov rsi, qword [rsp + 0x50]
mov ecx, 1
call rsi
xor edx, edx
xor r9d, r9d
mov r8d, 4
mov rcx, rax
call sub.msvcrt.dll_setvbuf
mov ecx, 1
call rsi
mov rcx, rax
call sub.msvcrt.dll__fileno
mov ecx, eax
call qword [sym.imp.msvcrt.dll__get_osfhandle]
mov ecx, 0xfffffff5
mov rdx, rax
call rbx
jmp 0x14000e6e0
mov eax, 7
cpuid
shr ebx, 8
and ebx, 1
mov ecx, ebx
jmp 0x14000e943
mov rdi, qword [fcn.14001ba10]
xor ecx, ecx
mov qword [rsp + 0x50], rdi
call rdi
mov rcx, rax
call sub.msvcrt.dll__fileno
mov ecx, 1
shr eax, 0x1f
mov byte [0x1400260a2], al
call rdi
mov rcx, rax
call sub.msvcrt.dll__fileno
mov ecx, 2
shr eax, 0x1f
mov byte [0x1400260a1], al
call rdi
mov rcx, rax
call sub.msvcrt.dll__fileno
shr eax, 0x1f
cmp byte [0x1400260a2], 0
mov byte [0x1400260a0], al
je 0x14000e5e7
lea rbx, str.CONIN_
mov r8d, 1
lea r9, [rsp + 0x220]
mov edx, 0x40000000
mov rcx, rbx
mov dword [rsp + 0x220], 0x18
mov qword [rsp + 0x228], 0
mov dword [rsp + 0x230], 1
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x20000000
mov dword [rsp + 0x20], 2
call qword [sym.imp.KERNEL32.dll_CreateFileW]
xor ecx, ecx
mov rsi, rax
call rdi
lea rdx, [0x14001e4c2]
mov rcx, rbx
mov r8, rax
call qword [sym.imp.msvcrt.dll__wfreopen]
xor ecx, ecx
mov rbx, rax
call rdi
movdqu xmm1, xmmword [rbx]
mov rdx, rsi
mov ecx, 0xfffffff6
movups xmmword [rax], xmm1
movdqu xmm2, xmmword [rbx + 0x10]
movups xmmword [rax + 0x10], xmm2
movdqu xmm3, xmmword [rbx + 0x20]
mov rbx, qword [sym.imp.KERNEL32.dll_SetStdHandle]
movups xmmword [rax + 0x20], xmm3
call rbx
jmp 0x14000e611
mov rdi, qword [0x140047128]
test rdi, rdi
je 0x14000ef51
cmp qword [rdi + 0x73c8], 0
jne 0x14000ef51
mov rbp, qword [rdi + 0x73d8]
mov r12, qword [rdi + 0x73a8]
mov r14, qword [rdi + 0x73b0]
test rbp, rbp
je 0x14000ef09
mov rdx, qword [rbp]
mov r13, qword [rbp + 0x6ac8]
mov r15, qword [rbp + 0x6ad0]
test rdx, rdx
je 0x14000f725
test r13, r13
je 0x14000f7d5
mov rcx, r15
call r13
mov rdx, rbp
mov rcx, r15
call r13
mov rdx, qword [rdi + 0x73f8]
pxor xmm0, xmm0
mov dword [rdi + 0x73f0], 0
movups xmmword [rdi + 0x73d8], xmm0
test rdx, rdx
je 0x14000f70f
test r12, r12
je 0x14000f7c8
mov rcx, r14
call r12
mov qword [rdi + 0x73f8], 0
mov rdx, rdi
mov rcx, r14
call r12
mov rcx, qword [0x140047150]
call sub.msvcrt.dll_free
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea r8, [0x14001e31a]
mov edx, pe_nt_image_headers64
mov r9d, eax
lea rax, [rsp + 0x1a0]
mov rcx, rax
mov qword [rsp + 0x50], rax
call fcn.140001910
movzx eax, byte [rsp + 0x1a0]
xor r9d, r9d
mov word [rsp + 0x220], r9w
test al, al
je 0x14000f03b
mov r15d, pe_nt_image_headers64
mov r14, rsi
lea r13, [rsp + 0x7a]
mov edi, 1
lea rbp, [rsp + 0x84]
mov r8d, 2
mov rdx, r13
mov rcx, rbp
mov byte [rsp + 0x7a], al
mov byte [rsp + 0x7b], 0
call sub.msvcrt.dll_mbstowcs
cmp rax, 1
jne 0x14001c408
cmp word [r14], 0
movzx ecx, word [rsp + 0x84]
mov rdx, r15
mov rax, r14
je 0x14000f00e
nop word [rax + rax]
add rax, 2
sub rdx, 1
cmp word [rax], 0
jne 0x14000f000
test rdx, rdx
je 0x14001c408
mov word [rax], cx
xor ecx, ecx
add r14, 2
lea rdx, [r15 - 1]
mov word [rax + 2], cx
mov rax, rdi
sub rax, r15
movzx eax, byte [rsi + rax]
test al, al
je 0x14000f03b
mov r15, rdx
jmp 0x14000efbe
xor r8d, r8d
lea rdi, [rsp + 0x7c]
lea r13, str.NUITKA_ONEFILE_PARENT
mov eax, 0x4e
mov word [rsp + 0xe0], r8w
lea rbp, [rsp + 0xe0]
lea r14, [r13 + 0x28]
mov qword [rsp + 0x58], rdi
mov r15, rbp
lea r12, [rsp + 0x88]
mov rdx, qword [rsp + 0x58]
mov rdi, r14
mov rcx, r12
mov byte [rsp + 0x7c], al
mov r8d, 2
sub rdi, r13
mov byte [rsp + 0x7d], 0
call sub.msvcrt.dll_mbstowcs
cmp rax, 1
jne 0x14001c408
cmp word [r15], 0
movzx edx, word [rsp + 0x88]
mov rax, r15
je 0x14000f0c6
nop word [rax + rax]
add rax, 2
sub rdi, 1
cmp word [rax], 0
jne 0x14000f0b8
test rdi, rdi
je 0x14001c408
mov word [rax], dx
add r13, 1
xor edx, edx
add r15, 2
mov word [rax + 2], dx
movzx eax, byte [r13]
test al, al
jne 0x14000f074
mov rcx, rbp
mov r13, qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov rdx, rsi
lea rbp, [0x14002e0c0]
call r13
cmp word [0x14002e0c0], 0
je 0x14000f6c2
xor edi, edi
lea r9, str.NUITKA_ONEFILE_BINARY
mov eax, 0x4e
mov word [rsp + 0x90], di
lea rdi, [rsp + 0x7e]
lea r14, [rsp + 0x90]
mov qword [rsp + 0x58], rdi
lea rdi, [rsp + 0x8c]
mov r15, r14
lea r12, [r9 + 0x28]
mov qword [rsp + 0x60], rdi
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
mov rdi, r12
mov r8d, 2
sub rdi, r9
mov qword [rsp + 0x68], r9
mov byte [rsp + 0x7e], al
mov byte [rsp + 0x7f], 0
call sub.msvcrt.dll_mbstowcs
cmp rax, 1
jne 0x14001c408
cmp word [r15], 0
movzx edx, word [rsp + 0x8c]
mov rax, r15
mov r9, qword [rsp + 0x68]
je 0x14000f1a6
nop dword [rax]
add rax, 2
sub rdi, 1
cmp word [rax], 0
jne 0x14000f198
test rdi, rdi
je 0x14001c408
xor r11d, r11d
add r9, 1
mov word [rax], dx
add r15, 2
mov word [rax + 2], r11w
movzx eax, byte [r9]
test al, al
jne 0x14000f14a
mov rdx, rbp
lea rbp, [rsp + 0x130]
mov rcx, r14
call r13
mov rdi, rbp
xor eax, eax
mov ecx, 0xd
rep stosq qword [rdi], rax
mov rdi, qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ecx, 0xfffffff6
mov dword [rsp + 0x16c], 0x100
lea r13, [0x1400300e0]
call rdi
mov ecx, 0xfffffff5
mov qword [rsp + 0x180], rax
call rdi
mov ecx, 0xfffffff4
mov qword [rsp + 0x188], rax
call rdi
mov dword [rsp + 0x130], 0x68
mov qword [rsp + 0x190], rax
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea rdx, [rsp + 0x80]
mov rcx, rax
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
xor r10d, r10d
xor ecx, ecx
mov r8d, 0x1000
mov word [0x1400320e0], r10w
mov rdi, rax
mov rdx, r13
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x14001c408
mov r9d, dword [rsp + 0x80]
mov qword [rdi], r13
lea r13, [0x1400320e0]
mov r15d, dword [0x14001f280]
test r9d, r9d
jle 0x14000f4f0
test ebx, ebx
jg 0x14000f656
mov r14, qword [rdi + rbx*8]
lea r12, str.__t_n_v_
mov eax, 0x20
jmp 0x14000f2d3
movzx eax, word [r12 + 2]
add r12, 2
test ax, ax
je 0x14000f486
movzx edx, ax
mov rcx, r14
call sub.msvcrt.dll_wcschr
test rax, rax
je 0x14000f2c0
cmp word [r13], 0
mov edx, 0x8000
lea rax, [0x1400320e0]
je 0x14000f30e
add rax, 2
sub rdx, 1
cmp word [rax], 0
jne 0x14000f2f7
test rdx, rdx
je 0x14001c408
mov r11d, dword [0x14001f284]
mov rcx, qword [rdi + rbx*8]
mov dword [rax], r11d
movzx edx, word [rcx]
cmp dx, 0x5c
jne 0x14000f403
xor eax, eax
nop dword [rax + rax]
mov r10, rcx
movzx edx, word [rcx + 2]
add rcx, 2
mov r9d, eax
add eax, 1
cmp dx, 0x5c
je 0x14000f330
test dx, dx
je 0x14000f5da
cmp dx, 0x22
je 0x14000f41a
xor r8d, r8d
test eax, eax
jle 0x14000f3ad
nop dword [rax]
cmp word [r13], 0
mov edx, 0x8000
lea rax, [0x1400320e0]
je 0x14000f397
nop dword [rax]
add rax, 2
sub rdx, 1
cmp word [rax], 0
jne 0x14000f380
test rdx, rdx
je 0x14001c408
mov dword [rax], r15d
lea eax, [r8 + 1]
cmp r8d, r9d
je 0x14000f3a8
mov r8d, eax
jmp 0x14000f368
movzx edx, word [r10 + 2]
cmp word [r13], 0
je 0x14000f47a
mov r8d, 0x8000
lea rax, [0x1400320e0]
nop word cs:[rax + rax]
add rax, 2
sub r8, 1
cmp word [rax], 0
jne 0x14000f3d0
test r8, r8
je 0x14000f7ec
xor r8d, r8d
add rcx, 2
mov word [rax], dx
mov word [rax + 2], r8w
movzx edx, word [rcx]
cmp dx, 0x5c
je 0x14000f329
test dx, dx
je 0x14000f623
cmp dx, 0x22
jne 0x14000f3ad
mov r9d, 1
jmp 0x14000f424
lea r9d, [rax + rax + 1]
test r9d, r9d
jle 0x14000f3ad
xor r8d, r8d
nop word [rax + rax]
cmp word [r13], 0
mov edx, 0x8000
lea rax, [0x1400320e0]
je 0x14000f45f
nop dword [rax]
add rax, 2
sub rdx, 1
cmp word [rax], 0
jne 0x14000f448
test rdx, rdx
je 0x14001c408
add r8d, 1
mov dword [rax], r15d
cmp r9d, r8d
jne 0x14000f430
cmp word [r13], 0
movzx edx, word [rcx]
jne 0x14000f3b9
lea rax, [0x1400320e0]
jmp 0x14000f3e7
mov r8, qword [rdi + rbx*8]
cmp word [r13], 0
mov edx, 0x8000
lea rax, [0x1400320e0]
movzx ecx, word [r8]
je 0x14000f6b4
add rax, 2
sub rdx, 1
cmp word [rax], 0
jne 0x14000f4a6
test cx, cx
je 0x14000f4da
test rdx, rdx
je 0x14001c408
add r8, 2
mov word [rax], cx
add rax, 2
sub rdx, 1
movzx ecx, word [r8]
test cx, cx
jne 0x14000f4b9
xor edx, edx
mov word [rax], dx
add rbx, 1
cmp dword [rsp + 0x80], ebx
jg 0x14000f29d
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x48], rsi
mov rdx, r13
mov qword [rsp + 0x40], rbp
lea rcx, [0x140042100]
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x20
mov dword [rsp + 0x20], 1
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x14000f7a6
mov rcx, qword [rsp + 0x228]
mov rbx, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rbx
mov rcx, qword [rsp + 0x220]
mov dword [rsp + 0x1a0], 0
mov qword [0x1400420e0], rcx
test rcx, rcx
je 0x14000f5aa
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rdx, qword [rsp + 0x50]
mov rcx, qword [0x1400420e0]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x14000f596
mov dword [rsp + 0x1a0], 1
mov rcx, qword [0x1400420e0]
call rbx
mov qword [0x1400420e0], 0
call fcn.140007ca0
mov eax, dword [rsp + 0x1a0]
movaps xmm6, xmmword [rsp + 0x320]
movaps xmm7, xmmword [rsp + 0x330]
add rsp, 0x348
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
add eax, eax
test eax, eax
jle 0x14000f623
mov r9d, dword [0x14001f280]
xor r8d, r8d
cmp word [r13], 0
mov ecx, 0x8000
lea rdx, [0x1400320e0]
je 0x14000f617
nop
add rdx, 2
sub rcx, 1
cmp word [rdx], 0
jne 0x14000f600
test rcx, rcx
je 0x14001c408
add r8d, 1
mov dword [rdx], r9d
cmp r8d, eax
jne 0x14000f5ea
cmp word [r13], 0
mov edx, 0x8000
lea rax, [0x1400320e0]
je 0x14000f64e
add rax, 2
sub rdx, 1
cmp word [rax], 0
jne 0x14000f637
test rdx, rdx
je 0x14001c408
mov dword [rax], r11d
jmp 0x14000f4df
cmp word [r13], 0
je 0x14000f6ab
mov edx, 0x8000
lea rax, [0x1400320e0]
add rax, 2
sub rdx, 1
cmp word [rax], 0
jne 0x14000f66a
test rdx, rdx
je 0x14000f7f1
mov dword [rax], 0x20
jmp 0x14000f2a5
mov qword [0x140047128], 0
lea rcx, str.Error__couldnt_allocate_memory.
call fcn.140007c80
mov rcx, rbx
call fcn.140007be0
lea rax, [0x1400320e0]
jmp 0x14000f681
test cx, cx
jne 0x14000f4c2
jmp 0x14000f4da
mov rdx, rbp
xor ecx, ecx
mov r8d, 0x1001
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp word [0x14002e0c0], 0
mov rax, rbp
lea rdx, [rbp + 0x2002]
jne 0x14000f6f9
jmp 0x14000f703
cmp rax, rdx
je 0x14001c408
add rax, 2
cmp word [rax], 0
jne 0x14000f6f0
xor r12d, r12d
mov word [rax], r12w
jmp 0x14000f10e
test r12, r12
jne 0x14000ef48
mov rcx, rdi
call sub.msvcrt.dll_free
jmp 0x14000ef51
test r13, r13
jne 0x14000ef00
mov rcx, rbp
call sub.msvcrt.dll_free
jmp 0x14000ef09
lea rcx, str.Error__failed_to_register_signal_handler.
call fcn.140007c80
nop word [rax + rax]
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.Error__couldnt_unpack_file_to_target_path.
mov edx, eax
call fcn.140007c10
mov ecx, 2
call sub.msvcrt.dll_exit
mov ecx, 2
mov rax, qword [rsp + 0x50]
call rax
lea r8, [0x1400240a0]
lea rdx, str.Error__failed_to_open__ls_for_writing._n
mov rcx, rax
call fcn.1400018e0
mov ecx, 2
call sub.msvcrt.dll_exit
lea rcx, str.Error__couldnt_find_attached_data_header.
call fcn.140007c80
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.Error__couldnt_launch_child
mov edx, eax
call fcn.140007c10
mov ecx, 2
call sub.msvcrt.dll_exit
nop dword [rax]
mov rcx, rdx
call sub.msvcrt.dll_free
jmp 0x14000f718
mov rcx, rdx
call sub.msvcrt.dll_free
jmp 0x14000f72e
jmp 0x14001c408
jmp 0x14001c408
jmp 0x14001c408
jmp 0x14001c408
jmp 0x14001c408
call sub.msvcrt.dll_abort
nop
nop
nop
call sub.msvcrt.dll_abort
nop
call sub.msvcrt.dll_abort
nop
nop
nop
nop
nop
jmp 0x1400015e0