Function at 0x1400b5ce0
Capabilities:
Check processdebugport
Encode data using base64
Get system information on windows

Disassembly:
mov r11, rsp
push rbp
push rbx
push r13
push r15
lea rbp, [r11 - 0x58]
sub rsp, 0x138
mov rax, qword [0x1402bb040]
xor rax, rsp
mov qword [rbp + 0x10], rax
cmp qword [rcx + 0x20], 0
mov r13, rdx
mov rax, qword [rdx + 0x58]
mov rbx, rcx
mov qword [rcx + 0x28], rax
mov eax, dword [rdx + 0x64]
mov qword [r11 + 0x18], rsi
mov dword [rcx + 0x38], eax
mov rax, qword [rdx + 0x20]
mov qword [r11 - 0x28], rdi
mov qword [rcx + 0x40], rax
mov qword [r11 - 0x38], r14
je 0x1400b5d8e
movzx eax, word [rdx + 0x38]
xor r15d, r15d
test ax, ax
jne 0x1400b5d4d
nop dword [rax]
call sym.SystemInformer.exe_Ordinal_1430
mov rdi, rax
jmp 0x1400b5de6
mov r14, qword ds:[rdx + 0x40]
lea rcx, [rax + 0x12]
mov rdx, qword [0x1402c5ff0]
mov rsi, rax
call sym.SystemInformer.exe_Ordinal_1240
mov rdi, rax
mov qword [rax], rsi
add rax, 0x10
mov qword [rdi + 8], rax
mov word [rsi + rax], r15w
test r14, r14
je 0x1400b5de6
mov rcx, qword [rdi + 8]
mov r8, rsi
mov rdx, r14
call fcn.14020c7e0
jmp 0x1400b5de6
mov rdx, qword [0x1402c5ff0]
mov ecx, 0x38
call sym.SystemInformer.exe_Ordinal_1240
mov rdi, rax
mov qword [rax], 0x26
add rax, 0x10
mov qword [rdi + 8], rax
xor r15d, r15d
mov word [rax + 0x26], r15w
mov rcx, qword [rdi + 8]
movups xmm0, xmmword [str.System_Idle_Process]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [0x140269008]
movups xmmword [rcx + 0x10], xmm1
mov eax, dword [0x140269018]
mov dword [rcx + 0x20], eax
movzx eax, word [0x14026901c]
mov word [rcx + 0x24], ax
mov qword [rbx + 0x30], rdi
mov rcx, qword [rbx + 0x20]
test rcx, rcx
jle 0x1400b5e1a
lea rdx, [rbx + 0x118]
mov r8d, 0xa
call fcn.1401ec938
mov ecx, dword [rbx + 0x20]
lea rdx, [rbx + 0x132]
mov r8d, 0x10
call fcn.1401ec938
mov r8, qword ds:[rbx + 0x20]
test r8, r8
jle 0x1400b5e5a
mov edx, 0x400
lea rcx, [rbx + 0x48]
call sym.SystemInformer.exe_Ordinal_1560
test eax, eax
js 0x1400b5e41
or dword [rbx + 0xf0], 0x80
cmp qword [rbx + 0x48], 0
jne 0x1400b5e5a
mov r8, qword [rbx + 0x20]
lea rcx, [rbx + 0x48]
mov edx, 0x1000
call sym.SystemInformer.exe_Ordinal_1560
mov rcx, qword ds:[rbx + 0x48]
test rcx, rcx
je 0x1400b5f00
mov r9d, 0x40
mov qword [rbp - 0x30], 0x40
lea r8, [rbp - 0x30]
mov qword [rsp + 0x20], r15
xor edx, edx
call qword [sym.imp.ntdll.dll_NtQueryInformationProcess]
test eax, eax
js 0x1400b5f00
mov edx, dword [rbp + 8]
mov ecx, edx
mov eax, dword [rbx + 0xf0]
and ecx, 1
btr eax, 0xd
shl ecx, 0xd
or ecx, eax
mov eax, edx
and eax, 0x80
btr ecx, 0xe
shl eax, 7
or eax, ecx
mov ecx, edx
btr eax, 0xf
and ecx, 0x100
shl ecx, 7
or ecx, eax
mov eax, edx
and eax, 2
btr ecx, 9
shl eax, 8
or eax, ecx
mov ecx, edx
btr eax, 0x10
and ecx, 0x40
shl ecx, 0xa
or ecx, eax
mov eax, edx
and eax, 8
btr ecx, 0x12
shl eax, 0xf
and edx, 0x20
or eax, ecx
shl edx, 0xc
btr eax, 0x11
or edx, eax
mov dword [rbx + 0xf0], edx
mov rcx, qword [rbx + 0x20]
cmp rcx, 4
je 0x1400b5f44
test rcx, rcx
jle 0x1400b5f5e
lea rdx, [rsp + 0x30]
call sym.SystemInformer.exe_Ordinal_1531
test eax, eax
js 0x1400b5f26
mov rax, qword [rsp + 0x30]
mov qword [rbx + 0x58], rax
mov rcx, qword [rbx + 0x48]
test rcx, rcx
je 0x1400b5f5e
lea rdx, [rsp + 0x30]
call sym.SystemInformer.exe_Ordinal_1532
test eax, eax
js 0x1400b5f5e
mov rax, qword [rsp + 0x30]
jmp 0x1400b5f5a
call sym.SystemInformer.exe_Ordinal_1514
test rax, rax
je 0x1400b5f5e
mov rcx, rax
mov qword [rbx + 0x58], rax
call sym.SystemInformer.exe_Ordinal_1509
mov qword [rbx + 0x50], rax
mov rcx, qword [rbx + 0x48]
test rcx, rcx
je 0x1400b6199
cmp dword [0x1402c8fac], 3
lea r8, [rsp + 0x30]
mov edx, 8
jl 0x1400b5f87
nop
call fcn.140178f00
jmp 0x1400b5f98
call qword [sym.imp.ntdll.dll_NtOpenProcessToken]
cmp eax, 0xc0000022
je 0x1400b6209
nop dword [rax + rax]
test eax, eax
js 0x1400b6209
mov rcx, qword [rsp + 0x30]
lea rax, [rbp - 0x58]
mov r9d, 0x58
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x40]
mov edx, 1
call qword [sym.imp.ntdll.dll_NtQueryInformationToken]
test eax, eax
js 0x1400b6020
mov r14, qword [rsp + 0x40]
mov edx, 4
mov rcx, qword [0x1402c6140]
movzx eax, byte [r14 + 1]
lea rsi, [rax*4 + 8]
mov r8, rsi
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov r8, rsi
mov rdx, r14
mov rcx, rax
mov rdi, rax
call fcn.14020c7e0
mov rcx, qword [rsp + 0x40]
mov qword [rbx + 0x98], rdi
call fcn.1400b50c0
mov qword [rbx + 0x398], rax
mov rcx, qword ds:[rsp + 0x30]
lea rax, [rbp - 0x58]
mov r9d, 4
mov qword [rsp + 0x20], rax
lea r8, [rbp - 0x54]
mov edx, 0x12
call qword [sym.imp.ntdll.dll_NtQueryInformationToken]
test eax, eax
js 0x1400b6053
mov eax, dword [rbp - 0x54]
mov dword [rbx + 0xa0], eax
mov rcx, qword [rsp + 0x30]
lea rax, [rbp - 0x58]
mov r9d, 4
mov qword [rsp + 0x20], rax
lea r8, [rbp - 0x5c]
mov edx, 0x14
call qword [sym.imp.ntdll.dll_NtQueryInformationToken]
test eax, eax
js 0x1400b6095
mov eax, dword [rbp - 0x5c]
neg eax
mov eax, dword [rbx + 0xf0]
sbb ecx, ecx
and eax, 0xfffffff7
and ecx, 8
or ecx, eax
mov dword [rbx + 0xf0], ecx
mov rcx, qword [rsp + 0x30]
lea r8, [rbp - 0x50]
lea rdx, [rbp - 0x5c]
call sym.SystemInformer.exe_Ordinal_1543
test eax, eax
js 0x1400b611b
mov eax, dword [rbp - 0x5c]
cmp eax, 0x2100
jg 0x1400b60e2
je 0x1400b60ce
test eax, eax
je 0x1400b60dc
nop dword [rax + rax]
cmp eax, 0x1000
je 0x1400b60d5
cmp eax, 0x2000
jne 0x1400b611b
mov eax, 2
jmp 0x1400b610a
mov eax, 1
jmp 0x1400b610a
mov eax, r15d
jmp 0x1400b610a
cmp eax, 0x3000
je 0x1400b6105
cmp eax, 0x4000
je 0x1400b60fe
cmp eax, 0x5000
jne 0x1400b611b
mov eax, 5
jmp 0x1400b610a
mov eax, 4
jmp 0x1400b610a
mov eax, 3
mov dword [rbx + 0xa4], eax
mov rax, qword [rbp - 0x50]
mov qword [rbx + 0xa8], rax
mov rcx, qword [rsp + 0x30]
lea rax, [rbp - 0x58]
mov r9d, 4
mov qword [rsp + 0x20], rax
lea r8, [rbp - 0x5c]
mov edx, 0x1a
call qword [sym.imp.ntdll.dll_NtQueryInformationToken]
nop
test eax, eax
js 0x1400b6163
cmp dword [rbp - 0x5c], 0
setne al
movzx ecx, al
mov eax, dword [rbx + 0xf0]
btr eax, 0x15
shl ecx, 0x15
or ecx, eax
mov dword [rbx + 0xf0], ecx
cmp dword [0x1402bbf68], 0x3e
jb 0x1400b618c
test dword [rbx + 0xf0], 0x10000
je 0x1400b618c
mov rcx, qword ds:[rsp + 0x30]
call fcn.140162b60
mov qword [rbx + 0x390], rax
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ntdll.dll_NtClose]
jmp 0x1400b6209
test qword [rbx + 0x20], 0xfffffffffffffffb
jne 0x1400b6209
cmp qword [rbx + 0x98], 0
jne 0x1400b61e2
mov rcx, qword [0x1402c6140]
mov edx, 4
mov r8d, 0xc
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
movsd xmm0, qword [0x140244b10]
movsd qword [rax], xmm0
mov ecx, dword [0x140244b18]
mov dword [rax + 8], ecx
mov qword [rbx + 0x98], rax
cmp qword [rbx + 0x398], 0
jne 0x1400b61ff
lea rcx, [0x140244b10]
call fcn.1400b50c0
mov qword [rbx + 0x398], rax
or dword [rbx + 0xf0], 0x8000000
mov rdx, qword [rbx + 0x50]
test rdx, rdx
je 0x1400b6221
mov rcx, qword [rbx + 0x20]
call sym.SystemInformer.exe_Ordinal_1060
mov dword [rbx + 0x3e8], eax
mov rcx, qword [rbx + 0x48]
test rcx, rcx
je 0x1400b627c
cmp dword [0x1402bbf68], 0x3f
jb 0x1400b625d
mov r9d, 1
mov qword [rsp + 0x20], r15
lea r8, [rbp - 0x60]
mov edx, 0x3d
call qword [sym.imp.ntdll.dll_NtQueryInformationProcess]
test eax, eax
js 0x1400b6283
movzx eax, byte [rbp - 0x60]
mov byte [rbx + 0x3ec], al
jmp 0x1400b6283
test dword [rbx + 0xf0], 0x2000
je 0x1400b6283
movzx eax, byte [rbx + 0x3ec]
and al, 0xfa
or al, 2
mov byte [rbx + 0x3ec], al
jmp 0x1400b6283
mov byte [rbx + 0x3ec], 0xff
cmp dword [0x1402bbf68], 0x3f
jb 0x1400b6364
mov rcx, qword [rbx + 0x48]
test rcx, rcx
je 0x1400b6364
test dword [0x1402c5948], 0x80000
je 0x1400b6364
mov r9d, 8
mov qword [rbp - 0x48], 7
lea r8, [rbp - 0x48]
mov qword [rsp + 0x20], r15
mov edx, 0x34
call qword [sym.imp.ntdll.dll_NtQueryInformationProcess]
test eax, eax
js 0x1400b62f1
movzx eax, byte [rbp - 0x44]
and al, 1
movzx ecx, al
mov eax, dword [rbx + 0xf0]
btr eax, 0x16
shl ecx, 0x16
or ecx, eax
mov dword [rbx + 0xf0], ecx
cmp dword [0x1402bbf68], 0x72
jb 0x1400b6364
mov rcx, qword ds:[rbx + 0x48]
lea r8, [rbp - 0x40]
mov r9d, 8
mov qword [rbp - 0x40], 7
mov edx, 0x34
mov qword [rsp + 0x20], r15
call qword [sym.imp.ntdll.dll_NtQueryInformationProcess]
test eax, eax
js 0x1400b6364
mov ecx, dword [rbx + 0xf0]
mov r8d, dword [rbp - 0x3c]
mov eax, r8d
shr eax, 3
movzx edx, al
shl edx, 0x18
xor edx, ecx
shr r8d, 4
and edx, 0x1000000
movzx eax, r8b
shl eax, 0x19
xor edx, ecx
xor eax, edx
and eax, 0x2000000
xor eax, edx
mov dword [rbx + 0xf0], eax
cmp dword [0x1402bbf68], 0x6d
jb 0x1400b6408
test dword [0x1402c5948], 0x100000
nop dword [rax + rax]
je 0x1400b6408
cmp qword [rbx + 0x20], 4
jne 0x1400b63b8
xor r9d, r9d
lea rdx, [rbp - 0x5c]
mov r8d, 4
mov ecx, 0xdd
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
test eax, eax
js 0x1400b6408
mov ecx, dword [rbp - 0x5c]
and ecx, 0x100
shl ecx, 0xf
jmp 0x1400b63f6
mov rcx, qword ds:[rbx + 0x48]
test rcx, rcx
je 0x1400b6408
mov r9d, 8
mov dword [rbp - 0x50], 0xf
lea r8, [rbp - 0x50]
mov qword [rsp + 0x20], r15
mov edx, 0x34
call qword [sym.imp.ntdll.dll_NtQueryInformationProcess]
test eax, eax
js 0x1400b6408
movzx eax, byte [rbp - 0x4c]
and al, 1
movzx ecx, al
shl ecx, 0x17
mov eax, dword [rbx + 0xf0]
btr eax, 0x17
or ecx, eax
mov dword [rbx + 0xf0], ecx
cmp dword [0x1402bbf68], 0x71
jb 0x1400b6452
mov rcx, qword [rbx + 0x48]
test rcx, rcx
je 0x1400b6452
test dword [rbx + 0xf0], 0x8000
je 0x1400b6452
cmp dword [0x1402c8fac], 3
jl 0x1400b6452
mov r9d, 4
lea r8, [rbp - 0x58]
mov edx, 0xd
call fcn.140179ae0
test eax, eax
js 0x1400b6452
mov eax, dword [rbp - 0x58]
mov dword [rbx + 0x410], eax
cmp dword [0x1402bbf68], 0x64
jb 0x1400b666b
mov qword [rsp + 0x128], r12
mov r12, qword [rbx + 0x48]
test r12, r12
je 0x1400b6663
mov rcx, qword [0x1402c6140]
mov edx, 4
mov r8d, 0x4b4
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
xor edx, edx
mov r8d, 0x4b4
mov rcx, rax
mov rsi, rax
call fcn.14020c410
lea rax, [rbp - 0x54]
mov r9d, 0x4b4
mov r8, rsi
mov qword [rsp + 0x20], rax
mov edx, 0x40
mov rcx, r12
call qword [sym.imp.ntdll.dll_NtQueryInformationProcess]
mov r14d, r15d
cmp eax, 0xc0000004
jne 0x1400b6530
nop dword [rax]
cmp r14d, 8
jae 0x1400b6663
mov rcx, qword [0x1402c6140]
mov r8, rsi
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov edi, dword ds:[rbp - 0x54]
mov edx, 4
mov rcx, qword [0x1402c6140]
mov r8d, edi
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov r9d, edi
mov edx, 0x40
mov rsi, rax
mov rcx, r12
lea rax, [rbp - 0x54]
mov r8, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntdll.dll_NtQueryInformationProcess]
inc r14d
cmp eax, 0xc0000004
je 0x1400b64d0
test eax, eax
js 0x1400b6663
lfence
mov r12d, dword [rsi + 0x4c]
mov edi, dword [rsi + 0x50]
mov eax, r12d
mov r14d, dword [rsi + 0x48]
mov ecx, edi
mov edx, dword [rsi + 0x54]
sub eax, r14d
mov qword [rbp - 0x40], rax
sub ecx, r12d
mov rax, qword [rsi + 8]
sub edx, edi
mov qword [rbx + 0xb8], rax
add rdi, rsi
mov rax, qword [rsi + 0x18]
add r14, rsi
mov qword [rbx + 0xc0], rax
add r12, rsi
cmp qword [rbx + 0x98], 0
mov rax, qword [rsi + 0x28]
mov qword [rbx + 0x3e0], rax
mov rax, qword [rsi + 0x30]
mov qword [rbx + 0xc8], rax
mov eax, dword [rsi + 0x40]
mov dword [rbx + 0xd0], eax
mov eax, dword [rsi + 0x44]
mov dword [rbx + 0xd4], eax
mov qword [rbp - 0x50], rcx
mov qword [rsp + 0x30], rdx
mov qword [rbp - 0x48], rdi
jne 0x1400b6607
mov rcx, r14
call qword [sym.imp.ntdll.dll_RtlValidSid]
test al, al
je 0x1400b6603
lfence
mov r8, qword [rbp - 0x40]
mov edx, 4
mov rcx, qword [0x1402c6140]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov r8, qword [rbp - 0x40]
mov rdx, r14
mov rcx, rax
mov rdi, rax
call fcn.14020c7e0
mov qword [rbx + 0x98], rdi
mov rdi, qword [rbp - 0x48]
mov rcx, qword [rbp - 0x50]
mov rax, qword [rbx + 0x58]
test rax, rax
je 0x1400b6616
cmp qword [rax], 0
jne 0x1400b662f
cmp rcx, 2
jbe 0x1400b662f
lfence
lea rdx, [rcx - 2]
mov rcx, r12
call sym.SystemInformer.exe_Ordinal_1330
mov qword [rbx + 0x58], rax
mov rax, qword [rbx + 0x390]
test rax, rax
je 0x1400b6642
cmp qword ds:[rax], 0
jne 0x1400b6663
mov rax, qword [rsp + 0x30]
cmp rax, 2
jbe 0x1400b6663
lfence
lea rdx, [rax - 2]
mov rcx, rdi
call sym.SystemInformer.exe_Ordinal_1330
mov qword [rbx + 0x390], rax
mov r12, qword [rsp + 0x128]
mov rax, qword [r13 + 0x30]
mov r14, qword [rsp + 0x120]
mov rdi, qword [rsp + 0x130]
mov rsi, qword [rsp + 0x170]
add rax, qword [r13 + 0x28]
jne 0x1400b66b0
cmp dword [r13 + 4], eax
jne 0x1400b66b0
mov rcx, qword [rbx + 0x48]
test rcx, rcx
je 0x1400b66b0
or dword [rbx + 0xf0], 0x80000
call qword [sym.imp.ntdll.dll_NtClose]
mov qword [rbx + 0x48], r15
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.1401e5e40
add rsp, 0x138
pop r15
pop r13
pop rbx
pop rbp
ret