Function at 0x14000e670
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 0x14000ee72
mov rax, qword [fcn.14001baf0]
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 0x14000ee19
lea rsi, [0x14001e508]
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, [0x14001e518]
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 0x14000edd4
lea rsi, [0x14001e508]
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, [0x14001e518]
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 0x14000f773
mov edx, 1
lea rcx, [0x140007ee0]
call qword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
test eax, eax
je 0x14000f80b
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 0x14000f86a
cmp cl, 0x59
jne 0x14000f86a
mov qword [0x140047130], 0
mov ecx, 0x20000
call sub.msvcrt.dll_malloc
mov qword [0x140047150], rax
test rax, rax
je 0x14000f767
mov ecx, 0x274b8
call sub.msvcrt.dll_malloc
mov r8, rax
test rax, rax
je 0x14000f75c
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 0x14000ee5e
mov dword [r8 + 0x73d0], ecx
movdqa xmm6, xmmword [0x14001f2b0]
mov qword [r8 + 0x7410], 0x8000001
movd xmm7, dword [0x14001f2c0]
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 0x14000eb2d
mov rcx, qword [0x140047140]
mov rdx, qword [0x140047138]
cmp rcx, rdx
setb al
or r15b, al
je 0x14000eb80
mov rcx, qword [0x140047128]
movups xmmword [0x140047158], xmm6
call fcn.14000d190
mov rdi, qword [0x140047160]
cmp qword [0x140047158], rdi
sete r15b
cmp rax, 0xffffffffffffff88
ja 0x14000eb89
xor r14d, r14d
mov r8, rdi
mov qword [0x140047158], rdi
mov qword [0x140047160], 0
sub r8, r14
je 0x14000eac8
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 0x14000eac0
movzx eax, word [rsp + 0x220]
mov word [r12], ax
test ax, ax
je 0x14000eb95
add r12, 2
jmp 0x14000eab0
cmp rcx, rdx
je 0x14000eac0
lea rcx, str.Error__couldnt_decode_attached_data.
call fcn.140007d60
lea rax, [0x140042900]
movzx ecx, word [rax]
test cx, cx
je 0x14000ef7e
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 0x14000ebe9
jmp 0x14000ebfd
cmp rax, r9
je 0x14001c4e8
add r8, 2
mov word [rax], dx
add rax, 2
movzx edx, word [r8]
test dx, dx
jne 0x14000ebe0
xor edi, edi
mov word [rax], di
cmp word [0x1400240a0], 0
je 0x14000edc8
mov edx, 0x1000
lea rax, [0x1400240a0]
nop dword [rax]
add rax, 2
sub rdx, 1
cmp word [rax], 0
jne 0x14000ec20
test rdx, rdx
je 0x14000f8c6
movd dword [rax], xmm7
mov edx, 0x1000
cmp word [0x1400240a0], 0
lea rax, [0x1400240a0]
je 0x14000ec6f
nop dword [rax]
add rax, 2
sub rdx, 1
cmp word [rax], 0
jne 0x14000ec58
test rdx, rdx
je 0x14000f8b2
lea r8, [0x140042900]
jmp 0x14000ec89
test rdx, rdx
je 0x14000f8b7
add r8, 2
mov word [rax], cx
add rax, 2
sub rdx, 1
movzx ecx, word [r8]
test cx, cx
jne 0x14000ec80
xor r11d, r11d
cmp word [0x140042100], 0
mov word [rax], r11w
je 0x14000ed75
mov edx, 8
mov rcx, rsi
call fcn.14000e420
mov r14, qword [rsp + 0x220]
call fcn.140010b80
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 0x14000f83e
mov r12, qword [sym.imp.KERNEL32.dll_WriteFile]
lea rdi, [0x1400260c0]
test r14, r14
je 0x14000ed67
mov ebx, 0x8000
mov rcx, rdi
cmp r14, rbx
cmovbe rbx, r14
mov rdx, rbx
call fcn.14000e420
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 0x14000f820
sub r14, rbx
jne 0x14000ed20
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14000ea95
movzx ecx, word [0x1400240a0]
lea rax, [0x1400240a0]
lea rdx, [0x140042100]
lea r8, [rax + 0x2000]
test cx, cx
jne 0x14000eda9
jmp 0x14000edbc
cmp rax, r8
je 0x14001c4e8
add rax, 2
mov word [rdx], cx
add rdx, 2
movzx ecx, word [rax]
test cx, cx
jne 0x14000eda0
xor r10d, r10d
mov word [rdx], r10w
jmp 0x14000ecb6
lea rax, [0x1400240a0]
jmp 0x14000ec37
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 0x14000e88f
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 0x14000e7c0
mov eax, 7
cpuid
shr ebx, 8
and ebx, 1
mov ecx, ebx
jmp 0x14000ea23
mov rdi, qword [fcn.14001baf0]
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 0x14000e6c7
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, [0x14001e502]
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 0x14000e6f1
mov rdi, qword [0x140047128]
test rdi, rdi
je 0x14000f031
cmp qword [rdi + 0x73c8], 0
jne 0x14000f031
mov rbp, qword [rdi + 0x73d8]
mov r12, qword [rdi + 0x73a8]
mov r14, qword [rdi + 0x73b0]
test rbp, rbp
je 0x14000efe9
mov rdx, qword [rbp]
mov r13, qword [rbp + 0x6ac8]
mov r15, qword [rbp + 0x6ad0]
test rdx, rdx
je 0x14000f7f5
test r13, r13
je 0x14000f8a5
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 0x14000f7df
test r12, r12
je 0x14000f898
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, [0x14001e33e]
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 0x14000f11b
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 0x14001c4e8
cmp word [r14], 0
movzx ecx, word [rsp + 0x84]
mov rdx, r15
mov rax, r14
je 0x14000f0ee
nop word [rax + rax]
add rax, 2
sub rdx, 1
cmp word [rax], 0
jne 0x14000f0e0
test rdx, rdx
je 0x14001c4e8
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 0x14000f11b
mov r15, rdx
jmp 0x14000f09e
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 0x14001c4e8
cmp word [r15], 0
movzx edx, word [rsp + 0x88]
mov rax, r15
je 0x14000f1a6
nop word [rax + rax]
add rax, 2
sub rdi, 1
cmp word [rax], 0
jne 0x14000f198
test rdi, rdi
je 0x14001c4e8
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 0x14000f154
mov rcx, rbp
mov r13, qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov rdx, rsi
lea rbp, [0x14002e0c0]
call r13
cmp word [0x14002e0c0], 0
je 0x14000f792
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 0x14001c4e8
cmp word [r15], 0
movzx edx, word [rsp + 0x8c]
mov rax, r15
mov r9, qword [rsp + 0x68]
je 0x14000f286
nop dword [rax]
add rax, 2
sub rdi, 1
cmp word [rax], 0
jne 0x14000f278
test rdi, rdi
je 0x14001c4e8
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 0x14000f22a
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 0x14001c4e8
mov r9d, dword [rsp + 0x80]
mov qword [rdi], r13
lea r13, [0x1400320e0]
mov r15d, dword [0x14001f2c0]
test r9d, r9d
jle 0x14000f5c0
test ebx, ebx
jg 0x14000f726
mov r14, qword [rdi + rbx*8]
lea r12, str.__t_n_v_
mov eax, 0x20
jmp 0x14000f3ab
movzx eax, word [r12 + 2]
add r12, 2
test ax, ax
je 0x14000f556
movzx edx, ax
mov rcx, r14
call sub.msvcrt.dll_wcschr
test rax, rax
je 0x14000f398
cmp word [r13], 0
mov edx, 0x8000
lea rax, [0x1400320e0]
je 0x14000f3e6
add rax, 2
sub rdx, 1
cmp word [rax], 0
jne 0x14000f3cf
test rdx, rdx
je 0x14001c4e8
mov r11d, dword [0x14001f2c4]
mov rcx, qword [rdi + rbx*8]
mov dword [rax], r11d
movzx edx, word [rcx]
cmp dx, 0x5c
jne 0x14000f4d3
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 0x14000f408
test dx, dx
je 0x14000f6aa
cmp dx, 0x22
je 0x14000f4ea
xor r8d, r8d
test eax, eax
jle 0x14000f485
nop dword [rax]
cmp word [r13], 0
mov edx, 0x8000
lea rax, [0x1400320e0]
je 0x14000f46f
nop dword [rax]
add rax, 2
sub rdx, 1
cmp word [rax], 0
jne 0x14000f458
test rdx, rdx
je 0x14001c4e8
mov dword [rax], r15d
lea eax, [r8 + 1]
cmp r8d, r9d
je 0x14000f480
mov r8d, eax
jmp 0x14000f440
movzx edx, word [r10 + 2]
cmp word [r13], 0
je 0x14000f54a
mov r8d, 0x8000
lea rax, [0x1400320e0]
nop
add rax, 2
sub r8, 1
cmp word [rax], 0
jne 0x14000f4a0
test r8, r8
je 0x14000f8bc
xor r8d, r8d
add rcx, 2
mov word [rax], dx
mov word [rax + 2], r8w
movzx edx, word [rcx]
cmp dx, 0x5c
je 0x14000f401
test dx, dx
je 0x14000f6f3
cmp dx, 0x22
jne 0x14000f485
mov r9d, 1
jmp 0x14000f4f4
lea r9d, [rax + rax + 1]
test r9d, r9d
jle 0x14000f485
xor r8d, r8d
nop word [rax + rax]
cmp word [r13], 0
mov edx, 0x8000
lea rax, [0x1400320e0]
je 0x14000f52f
nop dword [rax]
add rax, 2
sub rdx, 1
cmp word [rax], 0
jne 0x14000f518
test rdx, rdx
je 0x14001c4e8
add r8d, 1
mov dword [rax], r15d
cmp r9d, r8d
jne 0x14000f500
cmp word [r13], 0
movzx edx, word [rcx]
jne 0x14000f491
lea rax, [0x1400320e0]
jmp 0x14000f4b7
mov r8, qword [rdi + rbx*8]
cmp word [r13], 0
mov edx, 0x8000
lea rax, [0x1400320e0]
movzx ecx, word [r8]
je 0x14000f784
add rax, 2
sub rdx, 1
cmp word [rax], 0
jne 0x14000f576
test cx, cx
je 0x14000f5aa
test rdx, rdx
je 0x14001c4e8
add r8, 2
mov word [rax], cx
add rax, 2
sub rdx, 1
movzx ecx, word [r8]
test cx, cx
jne 0x14000f589
xor edx, edx
mov word [rax], dx
add rbx, 1
cmp dword [rsp + 0x80], ebx
jg 0x14000f379
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 0x14000f876
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 0x14000f67a
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 0x14000f666
mov dword [rsp + 0x1a0], 1
mov rcx, qword [0x1400420e0]
call rbx
mov qword [0x1400420e0], 0
call fcn.140007d80
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 0x14000f6f3
mov r9d, dword [0x14001f2c0]
xor r8d, r8d
cmp word [r13], 0
mov ecx, 0x8000
lea rdx, [0x1400320e0]
je 0x14000f6e7
nop
add rdx, 2
sub rcx, 1
cmp word [rdx], 0
jne 0x14000f6d0
test rcx, rcx
je 0x14001c4e8
add r8d, 1
mov dword [rdx], r9d
cmp r8d, eax
jne 0x14000f6ba
cmp word [r13], 0
mov edx, 0x8000
lea rax, [0x1400320e0]
je 0x14000f71e
add rax, 2
sub rdx, 1
cmp word [rax], 0
jne 0x14000f707
test rdx, rdx
je 0x14001c4e8
mov dword [rax], r11d
jmp 0x14000f5af
cmp word [r13], 0
je 0x14000f77b
mov edx, 0x8000
lea rax, [0x1400320e0]
add rax, 2
sub rdx, 1
cmp word [rax], 0
jne 0x14000f73a
test rdx, rdx
je 0x14000f8c1
mov dword [rax], 0x20
jmp 0x14000f381
mov qword [0x140047128], 0
lea rcx, str.Error__couldnt_allocate_memory.
call fcn.140007d60
mov rcx, rbx
call fcn.140007cc0
lea rax, [0x1400320e0]
jmp 0x14000f751
test cx, cx
jne 0x14000f592
jmp 0x14000f5aa
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 0x14000f7c9
jmp 0x14000f7d3
cmp rax, rdx
je 0x14001c4e8
add rax, 2
cmp word [rax], 0
jne 0x14000f7c0
xor r12d, r12d
mov word [rax], r12w
jmp 0x14000f1ee
test r12, r12
jne 0x14000f028
mov rcx, rdi
call sub.msvcrt.dll_free
jmp 0x14000f031
test r13, r13
jne 0x14000efe0
mov rcx, rbp
call sub.msvcrt.dll_free
jmp 0x14000efe9
lea rcx, str.Error__failed_to_register_signal_handler.
call fcn.140007d60
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.140007cf0
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.140007d60
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.Error__couldnt_launch_child
mov edx, eax
call fcn.140007cf0
mov ecx, 2
call sub.msvcrt.dll_exit
nop dword [rax]
mov rcx, rdx
call sub.msvcrt.dll_free
jmp 0x14000f7e8
mov rcx, rdx
call sub.msvcrt.dll_free
jmp 0x14000f7fe
jmp 0x14001c4e8
jmp 0x14001c4e8
jmp 0x14001c4e8
jmp 0x14001c4e8
jmp 0x14001c4e8
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