Function at 0x140011580
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x4f0]
sub rsp, 0x5f0
mov rax, qword [0x1400c9040]
xor rax, rsp
mov qword [rbp + 0x4e0], rax
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x80], xmm0
xor r14d, r14d
mov qword [rbp + 0x90], r14
mov qword [rbp + 0x98], r14
xor r8d, r8d
lea rdx, [0x1400b23ec]
lea rcx, [rbp + 0x80]
call fcn.14000b3f0
nop
mov rsi, 0xffffffffffffffff
test rbx, rbx
je 0x1400116f5
mov r8, rsi
inc r8
cmp word [rbx + r8*2], 0
jne 0x140011603
add r8, r8
xorps xmm0, xmm0
movups xmmword [rbp + 0xa0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xb0], xmm1
mov rax, rsi
nop dword [rax]
inc rax
cmp word [rbx + rax*2], 0
jne 0x140011630
cmp rax, r8
cmovb r8, rax
mov rdx, rbx
lea rcx, [rbp + 0xa0]
call fcn.14000b3f0
nop
mov rdx, qword [rbp + 0x98]
cmp rdx, 7
jbe 0x140011697
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140011692
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140011e3f
call fcn.14004dce0
mov qword [rbp + 0x90], r14
mov qword [rbp + 0x98], 7
mov word [rbp + 0x80], r14w
movups xmm0, xmmword [rbp + 0xa0]
movups xmmword [rbp + 0x80], xmm0
movups xmm1, xmmword [rbp + 0xb0]
movups xmmword [rbp + 0x90], xmm1
movdqa xmm0, xmmword [0x1400b4010]
movdqu xmmword [rbp + 0xb0], xmm0
mov word [rbp + 0xa0], r14w
movdqu xmmword [rbp + 0xb0], xmm0
mov word [rbp + 0xa0], r14w
mov qword [rsp + 0x60], r14
lea rax, [rsp + 0x68]
mov qword [rbp - 0x78], rax
mov cl, 1
call fcn.14004fb2c
mov qword [rbp - 0x80], rax
lea rcx, [rsp + 0x68]
call fcn.1400127b0
nop
lea r8, [0x1400b23e8]
lea rdx, str.__reboot
lea rcx, [rsp + 0x60]
call fcn.140012ab0
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
mov qword [rbp - 0x70], r14
mov byte [rbp - 0x68], 0
movdqa xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], r14
mov qword [rbp - 0x48], r14
mov qword [rbp - 0x40], r14
mov byte [rbp - 0x38], 0
movdqa xmmword [rbp - 0x30], xmm0
mov byte [rbp - 0x20], 0
mov qword [rbp - 0x18], r14
mov qword [rbp - 0x10], r14
mov byte [rbp - 8], 0
lea rax, [rbp + 0x80]
mov r8, qword [rbp + 0x80]
mov rdx, qword [rbp + 0x98]
cmp rdx, 7
cmova rax, r8
mov rcx, qword [rbp + 0x90]
lea r11, [rax + rcx*2]
lea r10, [rbp + 0x80]
cmova r10, r8
mov r9, qword [rsp + 0x60]
test r9, r9
je 0x140011ae0
mov eax, dword [r9 + 0x20]
mov ecx, dword [r9 + 0x28]
lea rdx, [rbp + 0xc0]
mov qword [rbp - 0x78], rdx
mov qword [rbp + 0xc0], r14
lea rdx, [rbp + 0xc8]
mov qword [rbp + 0x70], rdx
mov qword [rbp + 0xc8], r14
movdqa xmmword [rbp + 0xd0], xmm0
mov qword [rbp + 0xe0], r14
mov qword [rbp + 0xe8], r14
movdqa xmmword [rbp + 0xf0], xmm0
lea rdx, [rbp + 0x100]
mov qword [rbp + 0x78], rdx
mov qword [rbp + 0x100], r14
lea rdx, [rbp + 0x108]
mov qword [rsp + 0x58], rdx
mov qword [rbp + 0x108], r14
movdqa xmmword [rbp + 0x110], xmm0
mov qword [rbp + 0x120], r14
mov qword [rbp + 0x128], r14
movdqa xmmword [rbp + 0x130], xmm0
movdqa xmmword [rbp + 0x140], xmm0
mov qword [rbp + 0x150], r14
mov qword [rbp + 0x158], r14
mov qword [rbp + 0x160], r11
mov qword [rbp + 0x168], r10
mov qword [rbp + 0x170], r9
mov dword [rbp + 0x178], eax
mov dword [rbp + 0x17c], r14d
mov byte [rbp + 0x180], 0
mov dword [rbp + 0x184], ecx
mov eax, dword [r9 + 0xc]
shr eax, 3
and al, 1
mov byte [rbp + 0x188], al
lea rax, [rsp + 0x68]
mov qword [rbp + 0x190], rax
mov edx, dword [r9 + 0x24]
lea rcx, [rbp + 0x140]
call fcn.140013c50
nop
lea rdx, [rbp - 0x70]
lea rcx, [rbp + 0xc0]
call fcn.140014330
movzx ebx, al
mov rcx, qword [rbp + 0x140]
test rcx, rcx
je 0x14001192b
mov rdx, qword [rbp + 0x150]
sub rdx, rcx
and rdx, 0xfffffffffffffff0
mov rax, rcx
cmp rdx, 0x1000
jb 0x140011914
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140011e45
call fcn.14004dce0
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x140], xmm0
mov qword [rbp + 0x150], r14
lea rax, [rbp + 0x100]
mov qword [rsp + 0x58], rax
mov rcx, qword [rbp + 0x128]
test rcx, rcx
je 0x14001198d
mov rdx, qword [rbp + 0x138]
sub rdx, rcx
and rdx, 0xfffffffffffffff0
mov rax, rcx
cmp rdx, 0x1000
jb 0x140011976
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140011e4b
call fcn.14004dce0
mov qword [rbp + 0x128], r14
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x130], xmm0
lea rax, [rbp + 0x108]
mov qword [rsp + 0x58], rax
mov rcx, qword [rbp + 0x108]
test rcx, rcx
je 0x1400119f7
mov rax, qword [rbp + 0x118]
sub rax, rcx
sar rax, 2
lea rdx, [rax*4]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400119e0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140011e51
call fcn.14004dce0
mov qword [rbp + 0x108], r14
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x110], xmm0
lea rax, [rbp + 0xc0]
mov qword [rsp + 0x58], rax
mov rcx, qword [rbp + 0xe8]
test rcx, rcx
je 0x140011a59
mov rdx, qword [rbp + 0xf8]
sub rdx, rcx
and rdx, 0xfffffffffffffff0
mov rax, rcx
cmp rdx, 0x1000
jb 0x140011a42
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140011e57
call fcn.14004dce0
mov qword [rbp + 0xe8], r14
xorps xmm0, xmm0
movdqa xmmword [rbp + 0xf0], xmm0
lea rax, [rbp + 0xc8]
mov qword [rsp + 0x58], rax
mov rcx, qword [rbp + 0xc8]
test rcx, rcx
je 0x140011ac3
mov rax, qword [rbp + 0xd8]
sub rax, rcx
sar rax, 2
lea rdx, [rax*4]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140011aac
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140011e5d
call fcn.14004dce0
mov qword [rbp + 0xc8], r14
xorps xmm0, xmm0
movdqa xmmword [rbp + 0xd0], xmm0
test bl, bl
jne 0x140011bb3
mov rdx, qword [rbp + 0x98]
mov rcx, qword [rbp + 0x90]
mov r8, qword [rbp + 0x80]
mov rax, rdx
sub rax, rcx
cmp rax, 1
jb 0x140011b0f
lea rax, [rcx + 1]
mov qword [rbp + 0x90], rax
lea rax, [rbp + 0x80]
cmp rdx, 7
cmova rax, r8
mov dword [rax + rcx*2], 0x20
jmp 0x140011b36
mov qword [rsp + 0x20], 1
lea r9, [0x1400b23f0]
movzx r8d, byte [rsp + 0x50]
mov edx, 1
lea rcx, [rbp + 0x80]
call fcn.14000b230
mov rdi, qword [rbp + 0x90]
mov rcx, qword [rbp + 0x98]
mov rax, rcx
sub rax, rdi
cmp rax, 8
jb 0x140011b8c
lea rax, [rdi + 8]
mov qword [rbp + 0x90], rax
lea rbx, [rbp + 0x80]
cmp rcx, 7
cmova rbx, qword [rbp + 0x80]
lea rcx, [rbx + rdi*2]
mov r8d, 0x10
lea rdx, str.__reboot
call fcn.140078840
mov word [rbx + rdi*2 + 0x10], r14w
jmp 0x140011bb3
mov qword [rsp + 0x20], 8
lea r9, str.__reboot
movzx r8d, byte [rsp + 0x50]
mov edx, 8
lea rcx, [rbp + 0x80]
call fcn.14000b230
lea rdi, [rbp + 0x80]
cmp qword [rbp + 0x98], 7
cmova rdi, qword [rbp + 0x80]
mov rbx, rsi
nop dword [rax]
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x140011bd0
cmp rbx, 0x104
cmovae rbx, r14
add rbx, rbx
mov dword [rbp], 0x68
mov qword [rbp + 8], r14
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x10], xmm0
mov qword [rbp + 0x20], r14
mov qword [rbp + 0x28], r14
mov qword [rbp + 0x30], r14
mov qword [rbp + 0x38], r14
mov dword [rbp + 0x40], r14d
mov qword [rbp + 0x48], r14
movdqa xmmword [rbp + 0x50], xmm0
mov qword [rbp + 0x60], r14
xorps xmm1, xmm1
xor eax, eax
movups xmmword [rbp + 0xa0], xmm1
mov qword [rbp + 0xb0], rax
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0xc0]
call fcn.140078480
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x2d0]
call fcn.140078480
mov r8d, 0x104
lea rdx, [rbp + 0xc0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x140011c77
cmp eax, 0x104
jne 0x140011c8b
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0xc0]
call fcn.140078480
mov r8, rbx
mov rdx, rdi
lea rcx, [rbp + 0x2d0]
call fcn.140078840
lea rax, [rbp + 0xa0]
mov qword [rsp + 0x48], rax
lea rax, [rbp]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x2d0]
lea rcx, [rbp + 0xc0]
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
nop
mov rcx, qword [rbp - 0x60]
test rcx, rcx
je 0x140011d41
mov rax, qword [rbp - 0x50]
sub rax, rcx
sar rax, 3
movabs rdx, 0xaaaaaaaaaaaaaaab
imul rax, rdx
lea rdx, [rax + rax*2]
shl rdx, 3
mov rax, rcx
cmp rdx, 0x1000
jb 0x140011d30
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140011e63
call fcn.14004dce0
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], r14
mov rax, qword [rsp + 0x60]
test rax, rax
je 0x140011d7c
lock xadd dword [rax + 0x2c], esi
cmp esi, 1
jne 0x140011d7c
mov rbx, qword [rsp + 0x60]
test rbx, rbx
je 0x140011d7c
nop
mov rcx, rbx
lea rax, [rbx + 0x10]
mov rbx, qword [rax]
mov qword [rax], r14
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
test rbx, rbx
jne 0x140011d60
mov qword [rsp + 0x60], r14
lea rax, [rsp + 0x68]
mov qword [rsp + 0x58], rax
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x140011db1
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x140011db1
mov rcx, qword [rax]
mov r8, qword [rcx]
mov edx, 1
mov rcx, rax
call r8
nop
mov rdx, qword [rbp + 0x98]
cmp rdx, 7
jbe 0x140011df3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140011dee
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140011e39
call fcn.14004dce0
mov qword [rbp + 0x90], r14
mov qword [rbp + 0x98], 7
mov word [rbp + 0x80], r14w
mov rcx, qword [rbp + 0x4e0]
xor rcx, rsp
call fcn.14004dcc0
lea r11, [rsp + 0x5f0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.1400599e0
nop
call fcn.1400599e0
nop
call fcn.1400599e0
nop
call fcn.1400599e0
nop
call fcn.1400599e0
nop
call fcn.1400599e0
nop
call fcn.1400599e0
nop
call fcn.1400599e0
int3