Function at 0x140039350
Capabilities:
Get token membership
Terminate process

Disassembly:
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x1c0]
sub rsp, 0x2c0
mov rax, qword [0x1401ae1c0]
xor rax, rsp
mov qword [rbp + 0x150], rax
xor edi, edi
mov word [rbp + 0x134], 0x500
lea rax, [rbp + 0x140]
mov dword [rbp + 0x138], edi
mov qword [rsp + 0x50], rax
lea rcx, [rbp + 0x130]
mov dword [rsp + 0x48], edi
mov r9d, 0x220
mov dword [rsp + 0x40], edi
mov r8d, reloc.WLDAP32.dll_Ordinal_32
mov dword [rsp + 0x38], edi
mov dl, 2
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
mov qword [rbp + 0x140], rdi
mov dword [rbp + 0x130], edi
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x1400393fa
mov rdx, qword [rbp + 0x140]
lea r8, [rbp + 0x138]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
mov rcx, qword [rbp + 0x140]
call qword [sym.imp.ADVAPI32.dll_FreeSid]
cmp dword [rbp + 0x138], edi
jne 0x140039426
xor r9d, r9d
lea r8, str.warning
lea rdx, str.run_in_admin
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.140038220
test al, al
jne 0x140039438
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov qword [rsp + 0x2d0], rbx
mov qword [rsp + 0x2d8], rsi
movaps xmmword [rsp + 0x2b0], xmm6
movaps xmmword [rsp + 0x2a0], xmm7
movaps xmmword [rsp + 0x290], xmm8
movaps xmmword [rsp + 0x280], xmm9
movaps xmmword [rsp + 0x270], xmm10
movaps xmmword [rsp + 0x260], xmm11
call fcn.1400381c0
mov rbx, qword [0x1402c4d80]
xorps xmm6, xmm6
movss xmm7, dword [0x140193998]
xor eax, eax
cmp qword [0x1402c5730], rax
mov esi, 0xffff
movups xmmword [rbp + 0x90], xmm6
mov qword [rbp + 0x100], rax
movups xmmword [rbp + 0xc0], xmm6
mov dword [rbp + 0xc4], 0x7f7fffff
movups xmmword [rbp + 0xd0], xmm6
mov dword [rbp + 0xd0], 0x3f800000
movups xmmword [rbp + 0x80], xmm6
mov byte [rbp + 0x8c], 1
movups xmmword [rbp + 0xa0], xmm6
mov word [rbp + 0xd4], si
mov byte [rbp + 0xc8], 1
mov byte [rbp + 0xa0], 1
mov dword [rbp + 0x98], 3
mov dword [rbp + 0x9c], 3
jne 0x140039544
mov rcx, qword [0x1402c56e0]
lea rax, [0x1402c5730]
mov qword [rsp + 0x30], rdi
lea rdx, [0x1402bab90]
mov qword [rsp + 0x28], rax
xor r9d, r9d
mov r8d, 0x76f4
mov qword [rsp + 0x20], rdi
call qword [sym.imp.d3dx11_43.dll_D3DX11CreateShaderResourceViewFromMemory]
cmp qword [0x1402c5738], rdi
jne 0x140039580
mov rcx, qword [0x1402c56e0]
lea rax, [0x1402c5738]
mov qword [rsp + 0x30], rdi
lea rdx, [0x1401ec9d0]
mov qword [rsp + 0x28], rax
xor r9d, r9d
mov r8d, 0x47570
mov qword [rsp + 0x20], rdi
call qword [sym.imp.d3dx11_43.dll_D3DX11CreateShaderResourceViewFromMemory]
cmp qword [0x1402c5728], rdi
jne 0x1400395bc
mov rcx, qword [0x1402c56e0]
lea rax, [0x1402c5728]
mov qword [rsp + 0x30], rdi
lea rdx, [0x140233f40]
mov qword [rsp + 0x28], rax
xor r9d, r9d
mov r8d, 0x4923
mov qword [rsp + 0x20], rdi
call qword [sym.imp.d3dx11_43.dll_D3DX11CreateShaderResourceViewFromMemory]
cmp qword [0x1402c5720], rdi
jne 0x1400395f8
mov rcx, qword [0x1402c56e0]
lea rax, [0x1402c5720]
mov qword [rsp + 0x30], rdi
lea rdx, [0x1401d0570]
mov qword [rsp + 0x28], rax
xor r9d, r9d
mov r8d, 0x91d2
mov qword [rsp + 0x20], rdi
call qword [sym.imp.d3dx11_43.dll_D3DX11CreateShaderResourceViewFromMemory]
cmp qword [0x1402c5718], rdi
jne 0x140039634
mov rcx, qword [0x1402c56e0]
lea rax, [0x1402c5718]
mov qword [rsp + 0x30], rdi
lea rdx, [0x1402aed80]
mov qword [rsp + 0x28], rax
xor r9d, r9d
mov r8d, 0xbe10
mov qword [rsp + 0x20], rdi
call qword [sym.imp.d3dx11_43.dll_D3DX11CreateShaderResourceViewFromMemory]
cmp qword [0x1402c5710], rdi
jne 0x140039670
mov rcx, qword [0x1402c56e0]
lea rax, [0x1402c5710]
mov qword [rsp + 0x30], rdi
lea rdx, [0x1401ae260]
mov qword [rsp + 0x28], rax
xor r9d, r9d
mov r8d, 0x666a
mov qword [rsp + 0x20], rdi
call qword [sym.imp.d3dx11_43.dll_D3DX11CreateShaderResourceViewFromMemory]
cmp qword [0x1402c5740], rdi
jne 0x1400396ac
mov rcx, qword [0x1402c56e0]
lea rax, [0x1402c5740]
mov qword [rsp + 0x30], rdi
lea rdx, [0x1401c7c90]
mov qword [rsp + 0x28], rax
xor r9d, r9d
mov r8d, 0x88de
mov qword [rsp + 0x20], rdi
call qword [sym.imp.d3dx11_43.dll_D3DX11CreateShaderResourceViewFromMemory]
cmp qword [0x1402c5708], rdi
jne 0x1400396e8
mov rcx, qword [0x1402c56e0]
lea rax, [0x1402c5708]
mov qword [rsp + 0x30], rdi
lea rdx, [0x140238870]
mov qword [rsp + 0x28], rax
xor r9d, r9d
mov r8d, 0x1757f
mov qword [rsp + 0x20], rdi
call qword [sym.imp.d3dx11_43.dll_D3DX11CreateShaderResourceViewFromMemory]
cmp qword [0x1402c56c8], rdi
jne 0x1400397a0
mov rcx, qword [rbx + 0x58]
lea rdx, [rbp - 0x10]
xorps xmm2, xmm2
xor eax, eax
movups xmmword [rsp + 0x70], xmm2
mov qword [rbp - 0x20], rax
lea rax, [0x14024fdf0]
movups xmmword [rbp - 0x50], xmm2
mov dword [rsp + 0x78], 3
movups xmmword [rsp + 0x60], xmm2
mov byte [rsp + 0x6c], 1
movaps xmm0, xmmword [rsp + 0x60]
movaps xmmword [rbp - 0x10], xmm0
movups xmmword [rbp - 0x60], xmm2
mov dword [rsp + 0x7c], 1
movaps xmm1, xmmword [rsp + 0x70]
movaps xmmword [rbp], xmm1
mov dword [rbp - 0x5c], 0x7f7fffff
movaps xmm0, xmmword [rbp - 0x60]
movaps xmmword [rbp + 0x30], xmm0
movsd xmm0, qword [rbp - 0x20]
mov dword [rbp - 0x50], 0x3f800000
mov word [rbp - 0x4c], si
movaps xmm1, xmmword [rbp - 0x50]
movsd qword [rbp + 0x70], xmm0
movaps xmmword [rbp + 0x10], xmm2
movaps xmmword [rbp + 0x20], xmm2
movaps xmmword [rbp + 0x40], xmm1
movaps xmmword [rbp + 0x50], xmm2
movaps xmmword [rbp + 0x60], xmm2
mov qword [rbp - 0x10], rax
mov dword [rbp - 8], 0x4bbec
mov dword [rbp + 4], 0x41800000
call fcn.140021e50
mov qword [0x1402c56c8], rax
cmp qword [0x1402c5750], rdi
jne 0x140039858
mov rcx, qword [rbx + 0x58]
lea rdx, [rbp - 0x10]
xorps xmm2, xmm2
xor eax, eax
movups xmmword [rsp + 0x70], xmm2
mov qword [rbp - 0x20], rax
lea rax, [0x1401b48d0]
movups xmmword [rbp - 0x50], xmm2
mov dword [rsp + 0x78], 3
movups xmmword [rsp + 0x60], xmm2
mov byte [rsp + 0x6c], 1
movaps xmm0, xmmword [rsp + 0x60]
movaps xmmword [rbp - 0x10], xmm0
movups xmmword [rbp - 0x60], xmm2
mov dword [rsp + 0x7c], 1
movaps xmm1, xmmword [rsp + 0x70]
movaps xmmword [rbp], xmm1
mov dword [rbp - 0x5c], 0x7f7fffff
movaps xmm0, xmmword [rbp - 0x60]
movaps xmmword [rbp + 0x30], xmm0
movsd xmm0, qword [rbp - 0x20]
mov dword [rbp - 0x50], 0x3f800000
mov word [rbp - 0x4c], si
movaps xmm1, xmmword [rbp - 0x50]
movsd qword [rbp + 0x70], xmm0
movaps xmmword [rbp + 0x10], xmm2
movaps xmmword [rbp + 0x20], xmm2
movaps xmmword [rbp + 0x40], xmm1
movaps xmmword [rbp + 0x50], xmm2
movaps xmmword [rbp + 0x60], xmm2
mov qword [rbp - 0x10], rax
mov dword [rbp - 8], 0x133c0
mov dword [rbp + 4], 0x41500000
call fcn.140021e50
mov qword [0x1402c5750], rax
cmp qword [0x1402c5758], rdi
jne 0x140039910
mov rcx, qword [rbx + 0x58]
lea rdx, [rbp - 0x10]
xorps xmm2, xmm2
xor eax, eax
movups xmmword [rsp + 0x70], xmm2
mov qword [rbp - 0x20], rax
lea rax, [0x1401d9750]
movups xmmword [rbp - 0x50], xmm2
mov dword [rsp + 0x78], 3
movups xmmword [rsp + 0x60], xmm2
mov byte [rsp + 0x6c], 1
movaps xmm0, xmmword [rsp + 0x60]
movaps xmmword [rbp - 0x10], xmm0
movups xmmword [rbp - 0x60], xmm2
mov dword [rsp + 0x7c], 1
movaps xmm1, xmmword [rsp + 0x70]
movaps xmmword [rbp], xmm1
mov dword [rbp - 0x5c], 0x7f7fffff
movaps xmm0, xmmword [rbp - 0x60]
movaps xmmword [rbp + 0x30], xmm0
movsd xmm0, qword [rbp - 0x20]
mov dword [rbp - 0x50], 0x3f800000
mov word [rbp - 0x4c], si
movaps xmm1, xmmword [rbp - 0x50]
movsd qword [rbp + 0x70], xmm0
movaps xmmword [rbp + 0x10], xmm2
movaps xmmword [rbp + 0x20], xmm2
movaps xmmword [rbp + 0x40], xmm1
movaps xmmword [rbp + 0x50], xmm2
movaps xmmword [rbp + 0x60], xmm2
mov qword [rbp - 0x10], rax
mov dword [rbp - 8], 0x13280
mov dword [rbp + 4], 0x41c80000
call fcn.140021e50
mov qword [0x1402c5758], rax
cmp qword [0x1402c5748], rdi
jne 0x1400399c8
mov rcx, qword [rbx + 0x58]
lea rdx, [rbp - 0x10]
xorps xmm2, xmm2
xor eax, eax
movups xmmword [rsp + 0x70], xmm2
mov qword [rbp - 0x20], rax
lea rax, [0x14029b9e0]
movups xmmword [rbp - 0x50], xmm2
mov dword [rsp + 0x78], 3
movups xmmword [rsp + 0x60], xmm2
mov byte [rsp + 0x6c], 1
movaps xmm0, xmmword [rsp + 0x60]
movaps xmmword [rbp - 0x10], xmm0
movups xmmword [rbp - 0x60], xmm2
mov dword [rsp + 0x7c], 1
movaps xmm1, xmmword [rsp + 0x70]
movaps xmmword [rbp], xmm1
mov dword [rbp - 0x5c], 0x7f7fffff
movaps xmm0, xmmword [rbp - 0x60]
movaps xmmword [rbp + 0x30], xmm0
movsd xmm0, qword [rbp - 0x20]
mov dword [rbp - 0x50], 0x3f800000
mov word [rbp - 0x4c], si
movaps xmm1, xmmword [rbp - 0x50]
movsd qword [rbp + 0x70], xmm0
movaps xmmword [rbp + 0x10], xmm2
movaps xmmword [rbp + 0x20], xmm2
movaps xmmword [rbp + 0x40], xmm1
movaps xmmword [rbp + 0x50], xmm2
movaps xmmword [rbp + 0x60], xmm2
mov qword [rbp - 0x10], rax
mov dword [rbp - 8], 0x13394
mov dword [rbp + 4], 0x41e00000
call fcn.140021e50
mov qword [0x1402c5748], rax
cmp qword [0x1402c56d0], rdi
jne 0x140039af3
mov rax, qword [0x1402c4d80]
mov qword [rsp + 0x2e0], r14
mov r14, qword [rbx + 0x58]
test rax, rax
je 0x1400399f3
inc dword [rax + 0xf4]
mov ecx, 0x6106c
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
lea rbx, [0x140159820]
lea rax, [0x140159810]
mov qword [0x1402c5678], rsi
mov rcx, rbx
mov qword [0x1402c4da8], rax
mov qword [0x1402c5680], rsi
lea rdi, [rsi + 0x6106c]
mov qword [0x1402c5368], rdi
call fcn.1400252c0
cmp rax, rbx
je 0x140039a59
nop
cmp qword [0x1402c5680], rdi
ja 0x140039a59
mov rcx, rax
mov rbx, rax
call fcn.1400252c0
cmp rax, rbx
jne 0x140039a40
movaps xmm0, xmmword [rbp + 0x80]
lea rax, [0x140193858]
movaps xmm2, xmmword [rbp + 0x90]
lea rdx, [rsp + 0x60]
movaps xmm3, xmmword [rbp + 0xa0]
mov rcx, r14
movaps xmm4, xmmword [rbp + 0xc0]
movaps xmm5, xmmword [rbp + 0xd0]
movsd xmm1, qword [rbp + 0x100]
movaps xmmword [rbp - 0x10], xmm0
movaps xmmword [rsp + 0x70], xmm2
movaps xmmword [rbp - 0x70], xmm6
mov byte [rbp - 4], 1
movaps xmm0, xmmword [rbp - 0x10]
movaps xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x60], rsi
mov dword [rsp + 0x68], 0x6106c
movaps xmmword [rbp - 0x80], xmm3
movaps xmmword [rbp - 0x60], xmm4
movaps xmmword [rbp - 0x50], xmm5
movaps xmmword [rbp - 0x40], xmm6
movaps xmmword [rbp - 0x30], xmm6
movsd qword [rbp - 0x20], xmm1
mov dword [rsp + 0x74], 0x41600000
mov qword [rbp - 0x68], rax
call fcn.140021e50
mov r14, qword [rsp + 0x2e0]
mov qword [0x1402c56d0], rax
movss xmm8, dword [0x140193f70]
mov ebx, 0x64
movss xmm9, dword [0x140193a30]
movss xmm10, dword [0x14019394c]
movss xmm11, dword [0x140193964]
mov rsi, qword [rsp + 0x2d8]
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov r8d, eax
mov eax, 0x44fc3a35
imul r8d
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
imul ecx, edx, 0x1db
sub r8d, ecx
movd xmm6, r8d
cvtdq2ps xmm6, xmm6
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov r8d, eax
movss dword [rbp + 0x114], xmm6
mov eax, 0x5d9f7391
imul r8d
sar edx, 8
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
imul ecx, edx, 0x2bc
sub r8d, ecx
movd xmm0, r8d
cvtdq2ps xmm0, xmm0
movss dword [rbp + 0x110], xmm0
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov r8d, eax
movss dword [rbp + 0x120], xmm7
mov eax, 0x66666667
mov dword [rbp + 0x118], 0
imul r8d
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
lea ecx, [rdx + rdx*4]
shl ecx, 2
sub r8d, ecx
movd xmm0, r8d
cvtdq2ps xmm0, xmm0
divss xmm0, xmm9
addss xmm0, xmm10
xorps xmm0, xmm8
movss dword [rbp + 0x11c], xmm0
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov r8d, eax
mov dword [rbp + 0x128], 0x60ffffff
mov eax, 0x55555556
imul r8d
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
lea ecx, [rdx + rdx*2]
mov rdx, qword [0x1402c5690]
sub r8d, ecx
inc r8d
cmp rdx, qword [0x1402c5698]
movd xmm2, r8d
cvtdq2ps xmm2, xmm2
mulss xmm2, xmm11
movss dword [rbp + 0x124], xmm2
je 0x140039c56
movups xmm0, xmmword [rbp + 0x110]
movaps xmm1, xmm7
movups xmmword [rdx], xmm0
unpcklps xmm1, xmm2
movsd qword [rdx + 0x10], xmm1
mov dword [rdx + 0x18], 0x60ffffff
add qword [0x1402c5690], 0x1c
jmp 0x140039c62
lea r8, [rbp + 0x110]
call fcn.14003fbb0
sub rbx, 1
jne 0x140039b24
movaps xmm11, xmmword [rsp + 0x260]
lea rcx, str.user32.dll
movaps xmm10, xmmword [rsp + 0x270]
movaps xmm9, xmmword [rsp + 0x280]
movaps xmm8, xmmword [rsp + 0x290]
movaps xmm7, xmmword [rsp + 0x2a0]
movaps xmm6, xmmword [rsp + 0x2b0]
mov rdi, qword [0x1402c56b0]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rbx, rax
test rax, rax
je 0x140039d18
lea rdx, str.SetWindowCompositionAttribute
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140039d0f
movdqa xmm0, xmmword [reloc.WS2_32.dll_connect]
lea rcx, [rbp + 0x140]
mov qword [rbp + 0x118], rcx
lea rdx, [rbp + 0x110]
mov rcx, rdi
mov dword [rbp + 0x110], reloc.WS2_32.dll_send
movdqu xmmword [rbp + 0x140], xmm0
mov dword [rbp + 0x120], reloc.WS2_32.dll_recv
call rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rbx, qword [rsp + 0x2d0]
mov rcx, qword [rbp + 0x150]
xor rcx, rsp
call fcn.1401210c0
mov rdi, qword [rsp + 0x2e8]
add rsp, 0x2c0
pop rbp
ret