joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140061a90
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0xb0
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
mov rax, qword [0x1401900d0]
xor rax, rsp
mov qword [rsp + 0x88], rax
movzx esi, r8b
mov rbx, rdx
mov rdi, rcx
mov ebp, dword [reloc.WS2_32.dll_closesocket]
test ebp, ebp
jg 0x140061ae7
call fcn.140061fe0
cmp al, 1
jne 0x140061ae7
mov dword [reloc.WS2_32.dll_closesocket], 6
lea r14, [0x14019e9e0]
mov qword [rsp + 0x20], r14
mov rcx, r14
call fcn.1400e409c
test eax, eax
jne 0x140061c86
mov eax, dword [0x14019ea2c]
cmp eax, 0x7fffffff
je 0x140061c73
lea rdx, [rsp + 0x28]
mov rcx, rdi
call fcn.140062e30
nop
mov rdx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x140061b2f
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
mov rcx, rax
call fcn.14000d3e0
movups xmm7, xmmword [rax]
movups xmmword [rsp + 0x48], xmm7
movups xmm6, xmmword [rax + 0x10]
movups xmmword [rsp + 0x58], xmm6
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rcx, [rsp + 0x28]
call fcn.14000d2f0
test sil, sil
je 0x140061bfb
lea rbx, [rsp + 0x48]
movq rdi, xmm7
psrldq xmm6, 8
movq rsi, xmm6
cmp rsi, 0x10
cmovae rbx, rdi
call fcn.140061ec0
mov eax, dword [reloc.WS2_32.dll_closesocket]
test eax, eax
jle 0x140061c05
cmp eax, 3
jl 0x140061c05
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x78], xmm1
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rbx + r8], 0
jne 0x140061bc0
mov rdx, rbx
lea rcx, [rsp + 0x68]
call fcn.14000d470
lea rcx, [rsp + 0x68]
cmp qword [rsp + 0x80], 0x10
cmovae rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea rcx, [rsp + 0x68]
call fcn.14000d2f0
mov rdi, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x60]
lea rbx, [rsp + 0x48]
cmp rsi, 0x10
cmovae rbx, rdi
call fcn.140061ec0
mov rcx, rax
mov r8d, 3
mov rdx, rbx
call fcn.1400631f0
mov dword [reloc.WS2_32.dll_closesocket], ebp
lea rcx, [rsp + 0x48]
call fcn.14000d2f0
nop
mov rcx, r14
call fcn.1400e40c0
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140105820
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
dec eax
mov dword [0x14019ea2c], eax
mov ecx, 6
call fcn.1400e2fa8
int3
mov ecx, 5
call fcn.1400e2fa8
int3
Function at 0x140061ca0
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xb0
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rax, qword [0x1401900d0]
xor rax, rsp
mov qword [rbp + 0xf], rax
movzx ebx, r8b
mov rsi, rdx
mov rdi, rcx
xor r12d, r12d
mov r14d, dword [reloc.WS2_32.dll_closesocket]
test r14d, r14d
jg 0x140061d00
call fcn.140061fe0
cmp al, 1
jne 0x140061d00
mov dword [reloc.WS2_32.dll_closesocket], 6
lea r15, [0x14019e9e0]
mov qword [rbp - 0x59], r15
mov rcx, r15
call fcn.1400e409c
test eax, eax
jne 0x140061eac
mov eax, dword [0x14019ea2c]
cmp eax, 0x7fffffff
je 0x140061e99
lea rdx, [rbp - 0x31]
mov rcx, rdi
call fcn.140062e30
nop
lea rdx, [rbp - 0x31]
cmp qword [rbp - 0x19], 0x10
cmovae rdx, qword [rbp - 0x31]
mov r8, qword [rbp - 0x21]
add r8, rdx
lea rdx, [rbp - 0x31]
cmp qword [rbp - 0x19], 0x10
cmovae rdx, qword [rbp - 0x31]
lea rcx, [rbp - 0x51]
call fcn.140064e10
nop
lea rcx, [rbp - 0x31]
call fcn.14000d2f0
nop
mov rdx, rsi
lea rcx, [rbp - 0x51]
call fcn.14001d480
movups xmm7, xmmword [rax]
movups xmmword [rbp - 0x11], xmm7
movups xmm6, xmmword [rax + 0x10]
movups xmmword [rbp - 1], xmm6
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 7
mov word [rax], r12w
lea rcx, [rbp - 0x51]
call fcn.14000d260
test bl, bl
je 0x140061e24
lea rbx, [rbp - 0x11]
movq rdi, xmm7
psrldq xmm6, 8
movq rsi, xmm6
cmp rsi, 8
cmovae rbx, rdi
call fcn.140061ec0
mov eax, dword [reloc.WS2_32.dll_closesocket]
test eax, eax
jle 0x140061e2c
cmp eax, 3
jl 0x140061e2c
xorps xmm0, xmm0
movups xmmword [rbp - 0x31], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x21], xmm1
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rbx + r8*2], 0
jne 0x140061df0
mov rdx, rbx
lea rcx, [rbp - 0x31]
call fcn.14001c4f0
lea rcx, [rbp - 0x31]
cmp qword [rbp - 0x19], 8
cmovae rcx, qword [rbp - 0x31]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rcx, [rbp - 0x31]
call fcn.14000d260
mov rdi, qword [rbp - 0x11]
mov rsi, qword [rbp + 7]
lea rbx, [rbp - 0x11]
cmp rsi, 8
cmovae rbx, rdi
call fcn.140061ec0
mov rcx, rax
mov r8d, 3
mov rdx, rbx
call fcn.140063910
mov dword [reloc.WS2_32.dll_closesocket], r14d
lea rcx, [rbp - 0x11]
call fcn.14000d260
nop
mov rcx, r15
call fcn.1400e40c0
mov rcx, qword [rbp + 0xf]
xor rcx, rsp
call fcn.140105820
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
dec eax
mov dword [0x14019ea2c], eax
mov ecx, 6
call fcn.1400e2fa8
int3
mov ecx, 5
call fcn.1400e2fa8
int3
Function at 0x140061fe0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x850
mov rax, qword [0x1401900d0]
xor rax, rsp
mov qword [rsp + 0x840], rax
xor ebx, ebx
lea rcx, [rsp + 0x40]
xor edx, edx
mov qword [rsp + 0x30], rbx
mov r8d, 0x800
call fcn.140109a40
lea rax, [rsp + 0x30]
mov dword [rsp + 0x38], 0x200
mov r9d, 0xf003f
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.SOFTWAREWOW6432NodeASUSArmourySDKMainSDK
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140062090
lea rax, [rsp + 0x38]
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rdx, str.debug
lea rax, [rsp + 0x40]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x30]
test eax, eax
jne 0x14006208a
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, ebx
mov qword [rsp + 0x30], rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx ecx, word [rsp + 0x40]
sub ecx, 0x31
jne 0x1400620a4
movzx ecx, word [rsp + 0x42]
movzx eax, bx
sub ecx, eax
test ecx, ecx
sete al
mov rcx, qword [rsp + 0x840]
xor rcx, rsp
call fcn.140105820
add rsp, 0x850
pop rbx
ret
Function at 0x140062c20
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0xd0]
sub rsp, 0x1d0
mov rax, qword [0x1401900d0]
xor rax, rsp
mov qword [rbp + 0xc0], rax
mov rdi, rcx
mov qword [rsp + 0x38], rcx
xor ebx, ebx
mov dword [rsp + 0x30], ebx
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
lea r8d, [rbx + 7]
lea rdx, str.LogPath
lea rcx, [rsp + 0x70]
call fcn.14000d470
nop
lea rdx, [0x14019e8c0]
lea rcx, [rsp + 0x50]
call fcn.14000d120
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
lea rax, vtable.dali::RegReader.0
mov qword [rbp - 0x70], rax
mov byte [rbp - 0x60], bl
movdqu xmmword [rbp - 0x58], xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], rbx
xor r8d, r8d
lea rdx, [0x14015b092]
mov rcx, rdi
call fcn.14000d470
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x48], 0x100
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x20119
xor r8d, r8d
lea rdx, str.SOFTWAREASUSARMOURY_CRATE_Diagnosis
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140062dde
lea rdx, [rsp + 0x70]
cmp qword [rbp - 0x78], 0x10
cmovae rdx, qword [rsp + 0x70]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140062dde
lea rax, [rbp - 0x40]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], 0
jne 0x140062d57
mov rax, qword [rdi + 0x18]
cmp rbx, rax
ja 0x140062d8e
mov rsi, rdi
cmp rax, 0x10
jb 0x140062d75
mov rsi, qword [rdi]
mov qword [rdi + 0x10], rbx
mov r8, rbx
lea rdx, [rbp - 0x40]
mov rcx, rsi
call fcn.1401093a0
mov byte [rsi + rbx], 0
jmp 0x140062d9e
lea r9, [rbp - 0x40]
mov rdx, rbx
mov rcx, rdi
call fcn.14000d670
nop
lea rcx, [rsp + 0x50]
call fcn.14000d2f0
nop
lea rcx, [rsp + 0x70]
call fcn.14000d2f0
mov rax, rdi
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.140105820
lea r11, [rsp + 0x1d0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
lea rax, [rsp + 0x50]
cmp rdi, rax
je 0x140062d9e
lea r9, [rsp + 0x50]
cmp qword [rsp + 0x68], 0x10
cmovae r9, qword [rsp + 0x50]
mov rax, qword [rdi + 0x18]
mov rbx, qword [rsp + 0x60]
cmp rbx, rax
ja 0x140062d92
cmp rax, 0x10
mov rsi, rdi
jb 0x140062e13
mov rsi, qword [rdi]
mov qword [rdi + 0x10], rbx
mov r8, rbx
mov rdx, r9
mov rcx, rsi
call fcn.1401093a0
mov byte [rbx + rsi], 0
jmp 0x140062d9e
Function at 0x1400674a0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x2f]
sub rsp, 0xc0
mov rax, qword [0x1401900d0]
xor rax, rsp
mov qword [rbp + 0x1f], rax
xor r12d, r12d
mov r14, r9
mov rsi, r8
mov r15d, edx
mov rbx, rcx
cmp qword [rcx + 8], r12
je 0x14006750c
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rcx, qword [rbx + 8]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14006750c
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 8], r12
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
lea rax, fcn.140067910
mov qword [rbp + 0x17], r12
mov qword [rbp - 0x61], rax
lea rdx, [rbp - 0x21]
mov rax, qword [rsi]
lea rdi, [rbx + 0x10]
mov qword [rbp - 0x59], rax
movzx eax, byte [rsi + 8]
mov byte [rbp - 0x51], al
movzx eax, byte [rsi + 9]
mov byte [rbp - 0x50], al
mov rax, qword [rsi + 0x10]
mov qword [rbp - 0x49], rax
mov rax, qword [rbp + 0x7f]
mov rcx, qword [rax]
mov eax, dword [r14]
mov dword [rbp - 0x39], eax
lea rax, [rbp - 0x61]
mov qword [rbp - 0x41], rcx
lea rcx, [rbp - 0x61]
mov qword [rbp - 0x29], rax
call fcn.140067910
mov rcx, qword [rbp - 0x29]
mov r8, rax
mov qword [rbp + 0x17], rax
test rcx, rcx
je 0x140067596
mov rax, qword [rcx]
lea rdx, [rbp - 0x61]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov r8, qword [rbp + 0x17]
mov rcx, r12
mov qword [rbp - 0x29], rcx
mov r9, qword [rbx + 0x48]
test r9, r9
je 0x1400675e8
mov rcx, r9
cmp r9, rdi
jne 0x1400675e0
mov rax, qword [r9]
lea rdx, [rbp - 0x61]
call qword [rax + reloc.WS2_32.dll_htonl]
mov r8, qword [rbx + 0x48]
mov rcx, rax
mov qword [rbp - 0x29], rax
test r8, r8
je 0x1400675da
mov rax, qword [r8]
cmp r8, rdi
mov rcx, r8
setne dl
call qword [rax + 0x20]
mov rcx, qword [rbp - 0x29]
mov r8, qword [rbp + 0x17]
jmp 0x1400675e4
mov r8, qword [rbp + 0x17]
jmp 0x1400675e8
mov qword [rbp - 0x29], rcx
mov qword [rbx + 0x48], r12
test r8, r8
je 0x140067629
lea rax, [rbp - 0x21]
cmp r8, rax
jne 0x140067625
mov rax, qword [r8]
mov rdx, rdi
mov rcx, r8
call qword [rax + reloc.WS2_32.dll_htonl]
mov rcx, qword [rbp + 0x17]
mov qword [rbx + 0x48], rax
test rcx, rcx
je 0x14006761f
mov rax, qword [rcx]
lea rdx, [rbp - 0x21]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov rcx, qword [rbp - 0x29]
jmp 0x140067629
mov qword [rbx + 0x48], r8
test rcx, rcx
je 0x14006763e
mov rax, qword [rcx]
lea rdx, [rbp - 0x61]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov qword [rsp + 0x28], r12
lea r8, [0x140065690]
mov r9, rbx
mov dword [rsp + 0x20], r12d
xor edx, edx
mov dword [rbx + 0x50], r15d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbx + 8], rax
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.140105820
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x140068320
Capabilities:
Check if file exists
Compare security identifiers
Get file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x90
mov rax, qword [0x1401900d0]
xor rax, rsp
mov qword [rsp + 0x88], rax
xor esi, esi
mov rdi, rcx
mov ebx, esi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140068480
test al, 0x10
je 0x140068480
lea rax, [rsp + 0x78]
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x68]
mov edx, 1
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
mov r8d, edx
mov rcx, rdi
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x78], rsi
call qword [sym.imp.ADVAPI32.dll_GetNamedSecurityInfoW]
test eax, eax
jne 0x140068480
lea rax, [rsp + 0x60]
mov dword [rsp + 0x80], ebx
mov qword [rsp + 0x50], rax
lea r8d, [rsi + 0x20]
mov dword [rsp + 0x48], esi
lea rcx, [rsp + 0x80]
mov dword [rsp + 0x40], esi
mov r9d, 0x220
mov dword [rsp + 0x38], esi
mov dl, 2
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], esi
mov word [rsp + 0x84], 0x500
mov qword [rsp + 0x60], rsi
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x140068416
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_EqualSid]
mov rcx, qword [rsp + 0x60]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_FreeSid]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x80]
mov dword [rsp + 0x48], esi
xor r9d, r9d
mov dword [rsp + 0x40], esi
mov dl, 1
mov dword [rsp + 0x38], esi
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x28], esi
lea r8d, [r9 + 0x12]
mov dword [rsp + 0x20], esi
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x140068475
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_EqualSid]
mov rcx, qword [rsp + 0x70]
or ebx, eax
call qword [sym.imp.ADVAPI32.dll_FreeSid]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, ebx
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140105820
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x1400684b0
Capabilities:
Check if file exists
Compare security identifiers
Get file attributes

Disassembly:
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xb0
mov rax, qword [0x1401900d0]
xor rax, rsp
mov qword [rbp + 0x4f], rax
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14006865f
test al, 0x10
je 0x14006865f
lea rax, [rbp + 0xf]
mov qword [rsp + 0xd0], rsi
xor esi, esi
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x48], esi
lea rcx, [rbp + 0x27]
mov dword [rsp + 0x40], esi
xor r9d, r9d
mov dword [rsp + 0x38], esi
xor r8d, r8d
mov dword [rsp + 0x30], esi
mov dl, 1
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], esi
mov qword [rbp + 0xf], rsi
mov dword [rbp + 0x27], esi
mov word [rbp + 0x2b], 0x100
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x140068635
mov rdx, qword [rbp + 0xf]
lea rcx, [rbp + 0x2f]
xorps xmm0, xmm0
movups xmmword [rbp + 0x2f], xmm0
movups xmmword [rbp + 0x3f], xmm0
call qword [sym.imp.ADVAPI32.dll_BuildTrusteeWithSidW]
lea rax, [rbp + 0x1f]
mov qword [rbp + 7], rsi
mov qword [rsp + 0x38], rax
lea edx, [rsi + 1]
lea rax, [rbp + 7]
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rax
lea r8d, [rsi + 4]
xor r9d, r9d
mov qword [rsp + 0x20], rsi
mov rcx, rdi
mov qword [rbp + 0x1f], rsi
call qword [sym.imp.ADVAPI32.dll_GetNamedSecurityInfoW]
test eax, eax
jne 0x14006862b
mov rcx, qword [rbp + 7]
mov qword [rsp + 0xc8], rbx
mov ebx, esi
cmp si, word [rcx + 4]
jae 0x1400685f4
nop dword [rax + rax]
lea r8, [rbp + 0x17]
mov qword [rbp + 0x17], rsi
mov edx, ebx
call qword [sym.imp.ADVAPI32.dll_GetAce]
test eax, eax
je 0x1400685e6
mov rdx, qword [rbp + 0x17]
mov rcx, qword [rbp + 0xf]
add rdx, 8
call qword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
je 0x1400685e6
mov rcx, qword [rbp + 7]
mov edx, ebx
call qword [sym.imp.ADVAPI32.dll_DeleteAce]
mov rcx, qword [rbp + 7]
inc ebx
movzx eax, word [rcx + 4]
cmp ebx, eax
jl 0x1400685b0
xor r9d, r9d
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rcx
mov r8d, 0x80000004
mov rcx, rdi
mov qword [rsp + 0x20], rsi
lea edx, [r9 + 1]
call qword [sym.imp.ADVAPI32.dll_SetNamedSecurityInfoW]
mov rcx, qword [rbp + 0x1f]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rbx, qword [rsp + 0xc8]
mov rcx, qword [rbp + 0xf]
call qword [sym.imp.ADVAPI32.dll_FreeSid]
mov rsi, qword [rsp + 0xd0]
mov eax, 1
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.140105820
mov rdi, qword [rsp + 0xd8]
add rsp, 0xb0
pop rbp
ret
mov eax, 1
jmp 0x140068642
Function at 0x14006b510
Capabilities:
Hash data using fnv

Disassembly:
mov r9, rcx
mov dword [rsp + 0x10], edx
movabs rcx, 0x100000001b3
movzx r8d, dl
movabs rax, 0xcbf29ce484222325
xor r8, rax
movzx eax, byte [rsp + 0x11]
imul r8, rcx
xor r8, rax
movzx eax, byte [rsp + 0x12]
imul r8, rcx
xor r8, rax
movzx eax, byte [rsp + 0x13]
imul r8, rcx
xor r8, rax
imul r8, rcx
mov rcx, qword [r9 + 0xb0]
and rcx, r8
mov r8, qword [r9 + 0x88]
shl rcx, 4
add rcx, qword [r9 + 0x98]
mov rax, qword [rcx + 8]
cmp rax, r8
je 0x14006b597
mov rcx, qword [rcx]
cmp edx, dword [rax + 0x10]
je 0x14006b599
cmp rax, rcx
je 0x14006b597
mov rax, qword [rax + 8]
cmp edx, dword [rax + 0x10]
jne 0x14006b587
jmp 0x14006b599
xor eax, eax
test rax, rax
cmove rax, r8
cmp rax, r8
je 0x14006b5a9
mov eax, dword [rax + 0x14]
ret
mov eax, edx
ret

Function at 0x14006b5b0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x30
cmp qword [rdx + 0x18], 0x10
mov rdi, rdx
mov rsi, rcx
jb 0x14006b5cc
mov rdx, qword [rdx]
mov r8, qword [rdi + 0x10]
xor ecx, ecx
movabs r9, 0xcbf29ce484222325
test r8, r8
je 0x14006b603
movabs r10, 0x100000001b3
nop dword [rax + rax]
movzx eax, byte [rcx + rdx]
inc rcx
xor r9, rax
imul r9, r10
cmp rcx, r8
jb 0x14006b5f0
mov r8, rdi
lea rdx, [rsp + 0x20]
lea rcx, [rsi + 0xc0]
call fcn.14005ac90
mov rbx, qword [rax + 8]
test rbx, rbx
jne 0x14006b627
mov rbx, qword [rsi + 0xc8]
mov rcx, rdi
cmp rbx, qword [rsi + 0xc8]
je 0x14006b64a
mov ebx, dword [rbx + 0x30]
call fcn.14000d2f0
mov eax, ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
call fcn.14000d2f0
mov rbx, qword [rsp + 0x60]
xor eax, eax
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret

Function at 0x14006b660
Capabilities:
Hash data using fnv

Disassembly:
mov r9, rcx
mov dword [rsp + 0x10], edx
movabs rcx, 0x100000001b3
movzx r8d, dl
movabs rax, 0xcbf29ce484222325
xor r8, rax
movzx eax, byte [rsp + 0x11]
imul r8, rcx
xor r8, rax
movzx eax, byte [rsp + 0x12]
imul r8, rcx
xor r8, rax
movzx eax, byte [rsp + 0x13]
imul r8, rcx
xor r8, rax
imul r8, rcx
mov rcx, qword [r9 + 0x130]
and rcx, r8
mov r8, qword [r9 + 0x108]
shl rcx, 4
add rcx, qword [r9 + 0x118]
mov rax, qword [rcx + 8]
cmp rax, r8
je 0x14006b6e7
mov rcx, qword [rcx]
cmp edx, dword [rax + 0x10]
je 0x14006b6e9
cmp rax, rcx
je 0x14006b6e7
mov rax, qword [rax + 8]
cmp edx, dword [rax + 0x10]
jne 0x14006b6d7
jmp 0x14006b6e9
xor eax, eax
test rax, rax
cmove rax, r8
cmp rax, r8
je 0x14006b6f9
mov eax, dword [rax + 0x14]
ret
xor eax, eax
ret
Function at 0x14006b700
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x30
cmp qword [rdx + 0x18], 0x10
mov rdi, rdx
mov rsi, rcx
jb 0x14006b71c
mov rdx, qword [rdx]
mov r8, qword [rdi + 0x10]
xor ecx, ecx
movabs r9, 0xcbf29ce484222325
test r8, r8
je 0x14006b753
movabs r10, 0x100000001b3
nop dword [rax + rax]
movzx eax, byte [rcx + rdx]
inc rcx
xor r9, rax
imul r9, r10
cmp rcx, r8
jb 0x14006b740
mov r8, rdi
lea rdx, [rsp + 0x20]
lea rcx, [rsi + 0x40]
call fcn.14005ac90
mov rbx, qword [rax + 8]
test rbx, rbx
jne 0x14006b771
mov rbx, qword [rsi + 0x48]
mov rcx, rdi
cmp rbx, qword [rsi + 0x48]
je 0x14006b791
mov ebx, dword [rbx + 0x30]
call fcn.14000d2f0
mov eax, ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
call fcn.14000d2f0
mov rbx, qword [rsp + 0x60]
xor eax, eax
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
Function at 0x14006c3b0
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x28
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x14006c55d
lea rax, [rdx - 1]
mov qword [rsp + 0x50], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x20], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.140059a90
lea rax, [rdi - 1]
mov qword [rsi + 0x38], rdi
mov qword [rsi + 0x30], rax
mov rax, qword [rsi + 8]
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x14006c526
mov qword [rsp + 0x58], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax]
nop word [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r9d, byte [rax + 0x10]
mov r11, qword [rsi + 0x30]
xor r9, rbp
mov rcx, qword [rcx]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x12]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x13]
imul r9, rdi
xor r9, rdx
imul r9, rdi
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x14006c4a0
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x14006c515
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x14006c4dd
mov r10, qword [rdx]
cmp r10, rax
je 0x14006c4d7
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x14006c515
cmp r9, rdx
je 0x14006c4f1
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x14006c537
cmp r9, rdx
jne 0x14006c4e2
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
jne 0x14006c450
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov r14, qword [rsp + 0x20]
add rsp, 0x28
pop rdi
pop rsi
ret
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x14006c515
lea rcx, str.invalid_hash_bucket_count
call fcn.1400e29d0
int3

Function at 0x140071070
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbx
push rsi
push rdi
sub rsp, 0x20
mov rdi, rcx
mov ecx, dword [0x14019ee34]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
lea rbx, [rdi + 3]
xor esi, esi
shr rbx, 2
test rax, rax
je 0x1400710d3
mov rax, qword [rax + 8]
test rax, rax
je 0x1400710d3
mov rcx, qword [rax]
test rcx, rcx
je 0x1400710d3
mov qword [rax], rsi
movzx eax, byte [rcx]
cmp rax, rbx
jb 0x1400710ce
mov byte [rcx + rdi], al
mov rax, rcx
add rsp, 0x20
pop rdi
pop rsi
pop rbx
ret
call fcn.1401058b8
lea rcx, [rbx*4 + 1]
call fcn.140105848
cmp rbx, 0xff
movzx ecx, bl
cmova ecx, esi
mov byte [rax + rdi], cl
add rsp, 0x20
pop rdi
pop rsi
pop rbx
ret