Function at 0x1400103a0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xd0
mov rax, qword [0x1400210c0]
xor rax, rsp
mov qword [rbp + 0x47], rax
xor edi, edi
mov qword [rbp - 0x21], rdi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rbp - 0x21]
mov edx, 8
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x140010455
movabs rax, 0xfabf483f784e2ebf
mov qword [rbp - 0x49], rax
mov rax, qword [rbp - 0x49]
mov qword [rbp - 0x39], rax
movabs rcx, 0xf2a329d2db9ef01e
mov qword [rbp - 0x49], rcx
mov rax, qword [rbp - 0x49]
mov qword [rbp - 0x31], rax
movabs rax, 0xfabf483f780f01f1
mov qword [rbp - 0x49], rax
mov rax, qword [rbp - 0x49]
mov qword [rbp + 0x37], rax
mov qword [rbp - 0x49], rcx
mov rax, qword [rbp - 0x49]
mov qword [rbp + 0x3f], rax
movdqa xmm0, xmmword [rbp - 0x39]
xorps xmm0, xmmword [rbp + 0x37]
movdqa xmmword [rbp - 0x39], xmm0
lea rdx, [rbp - 0x39]
lea rcx, [rbp + 0xf]
call fcn.140004690
jmp 0x14001054a
mov dword [rbp - 0x29], edi
lea rax, [rbp - 0x29]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 1
mov rcx, qword [rbp - 0x21]
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
mov ecx, dword [rbp - 0x29]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
lea rax, [rbp - 0x29]
mov qword [rsp + 0x20], rax
mov r9d, dword [rbp - 0x29]
mov r8, rbx
mov edx, 1
mov rcx, qword [rbp - 0x21]
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
mov qword [rbp - 0x19], rdi
lea rdx, [rbp - 0x19]
mov rcx, qword [rbx]
call qword [sym.imp.ADVAPI32.dll_ConvertSidToStringSidW]
mov rdx, qword [rbp - 0x19]
lea rcx, [rbp - 0x11]
call fcn.140005110
nop
mov rcx, qword [rbp - 0x19]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rbp - 0x21]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbp - 0x11]
cmp qword [rbp + 7], 7
cmova rdx, qword [rbp - 0x11]
mov rax, qword [rbp - 1]
lea r8, [rdx + rax*2]
lea rdx, [rbp - 0x11]
cmova rdx, qword [rbp - 0x11]
lea rcx, [rbp + 0xf]
call fcn.140010880
nop
mov rdx, qword [rbp + 7]
cmp rdx, 7
jbe 0x14001054a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140010544
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140010544
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140016f00
nop
lea rcx, [rbp + 0xf]
call fcn.14000f6f0
test eax, eax
je 0x140010566
sub eax, 1
je 0x140010588
sub eax, 1
je 0x140010577
cmp eax, 1
je 0x14001058e
call fcn.140008960
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
call fcn.14000e990
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
call fcn.14000b900
nop
mov rdx, qword [rbp + 0x27]
cmp rdx, 0xf
jbe 0x1400105cc
inc rdx
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400105c7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400105c7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140016f00
xor eax, eax
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.140016ee0
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret