joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140008800
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov rax, qword [0x1400db968]
xor ebp, ebp
mov rdi, r8
mov r14, rdx
test rax, rax
jne 0x140008842
xor edx, edx
lea rcx, str.Setupapi.dll
call fcn.140004930
mov qword [0x1400db968], rax
test rax, rax
je 0x14000891f
cmp qword [0x1400db6f0], rbp
jne 0x140008872
lea rdx, [0x1400aebb0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400db6f0], rax
test rax, rax
je 0x14000891f
mov rax, qword [0x1400db968]
cmp qword [0x1400db730], rbp
jne 0x1400088a2
lea rdx, str.SetupDiEnumDeviceInfo
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400db730], rax
test rax, rax
je 0x14000891f
mov rax, qword [0x1400db968]
cmp qword [0x1400db6a8], rbp
jne 0x1400088ce
lea rdx, str.SetupDiGetDeviceRegistryPropertyW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400db6a8], rax
test rax, rax
je 0x14000891f
mov rax, qword [0x1400db968]
cmp qword [0x1400dbba0], rbp
jne 0x1400088fa
lea rdx, [0x1400aebe0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400dbba0], rax
test rax, rax
je 0x14000891f
mov rax, qword [0x1400db968]
cmp qword [0x1400db6e8], rbp
jne 0x140008932
lea rdx, [0x1400aeaa8]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400db6e8], rax
test rax, rax
jne 0x140008932
xor eax, eax
mov rbp, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rbx
mov rbx, qword [0x1400db6f0]
mov rcx, rbx
mov qword [rsp + 0x38], rsi
call qword [fcn.140009620]
mov r9d, 6
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call rbx
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x1400089fc
xor eax, eax
mov qword [rdi], rax
mov qword [rdi + 8], rax
mov qword [rdi + 0x10], rax
mov qword [rdi + 0x18], rax
mov dword [rdi], 0x20
mov rbx, qword [0x1400db730]
mov rcx, rbx
call qword [fcn.140009620]
mov r8, rdi
xor edx, edx
mov rcx, rsi
call rbx
test eax, eax
je 0x1400089e7
nop dword [rax]
mov r8, rdi
mov rdx, rsi
call fcn.140008690
cmp eax, 1
je 0x140008a19
xor eax, eax
inc ebp
mov qword [rdi], rax
mov qword [rdi + 8], rax
mov qword [rdi + 0x10], rax
mov qword [rdi + 0x18], rax
mov dword [rdi], 0x20
mov rbx, qword [0x1400db730]
mov rcx, rbx
call qword [fcn.140009620]
mov r8, rdi
mov edx, ebp
mov rcx, rsi
call rbx
test eax, eax
jne 0x1400089a0
mov rbx, qword [0x1400db6e8]
mov rcx, rbx
call qword [fcn.140009620]
mov rcx, rsi
call rbx
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov qword [r14], rsi
mov eax, 1
jmp 0x1400089fe
Function at 0x14000fe10
Capabilities:
Manipulate console buffer

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x1400d1010]
xor rax, rsp
mov qword [rbp - 8], rax
mov esi, dword [0x1400dde28]
lea r13, [0x1400def80]
movsx ecx, word [0x1400de1f8]
xor edx, edx
mov eax, esi
mov r15d, esi
div ecx
cmp byte [0x1400dd8e8], 0
mov r14d, eax
je 0x14000fe9c
mov rcx, qword [0x1400ddc38]
lea rdx, [rbp - 0x20]
xor eax, eax
mov byte [0x1400dd8e8], 0
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rax
mov dword [rbp - 0x10], eax
mov word [rbp - 0xc], ax
call qword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
movzx ebx, word [rbp - 0x1a]
mov word [0x1400de458], bx
jmp 0x14000fec4
mov ebx, dword [0x1400ddfe8]
cmp esi, ebx
jae 0x14000febd
mov r8d, ebx
lea rcx, [rsi + r13]
sub r8d, esi
mov edx, 0x20
call fcn.140051c10
mov r15d, ebx
movzx ebx, word [0x1400de458]
movsx ecx, word [0x1400ddaa8]
xor r12d, r12d
movsx eax, r14w
mov edi, ecx
sub edi, eax
movsx eax, bx
cmp eax, edi
jle 0x14000ff44
dec cx
mov word [rbp - 0x40], r12w
mov word [rbp - 0x3e], cx
mov edx, dword [rbp - 0x40]
mov rcx, qword [0x1400ddc38]
call qword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
lea rcx, [0x1400af7f0]
call fcn.14000f930
movzx ebx, word [0x1400de458]
dec bx
movsx eax, bx
mov word [0x1400de458], bx
cmp eax, edi
jle 0x14000ff44
nop dword [rax]
lea rcx, [0x1400af7f0]
call fcn.14000f930
movzx ebx, word [0x1400de458]
dec bx
movsx eax, bx
mov word [0x1400de458], bx
cmp eax, edi
jg 0x14000ff20
mov rcx, qword [0x1400ddc38]
lea rax, [rbp - 0x3c]
mov word [rbp - 0x40], r12w
mov r8d, r15d
mov word [rbp - 0x3e], bx
mov rdx, r13
mov r9d, dword [rbp - 0x40]
mov qword [rsp + 0x20], rax
mov dword [rbp - 0x3c], r12d
call qword [sym.imp.KERNEL32.dll_WriteConsoleOutputCharacterA]
mov rcx, qword [0x1400ddc38]
add bx, r14w
mov word [rbp - 0x3e], bx
mov edx, dword [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
mov rcx, qword [0x1400ddc38]
lea rdx, [rbp - 0x38]
xor eax, eax
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], rax
mov dword [rbp - 0x28], eax
mov word [rbp - 0x24], ax
call qword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
movzx eax, word [rbp - 0x2a]
sub ax, word [rbp - 0x2e]
inc ax
mov dword [0x1400dde28], r12d
mov word [0x1400de1f8], ax
movzx eax, word [rbp - 0x36]
mov word [0x1400ddaa8], ax
mov dword [0x1400ddfe8], esi
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14004b110
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x14001a200
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1400d1010]
xor rax, rsp
mov qword [rsp + 0x30], rax
xor edi, edi
mov dword [rcx + 0x13e84], 0x64
mov qword [rcx], rdi
mov rbx, rcx
mov qword [rcx + 8], rdi
xor edx, edx
mov qword [rcx + 0x10], rdi
mov r8d, 0x11880
mov qword [rcx + 0x18], rdi
mov dword [rcx + 0x13e80], edi
mov dword [rcx + 0x13e70], edi
mov qword [rcx + 0x13e78], rdi
mov qword [rcx + 0x13ea8], rdi
mov dword [rcx + 0x13e88], 0x2710
mov qword [rcx + 0x13e8c], 0x64
mov dword [rcx + 0x13e94], 0x3483
mov qword [rcx + 0x13e98], 0x70000
mov qword [rcx + 0x13ea0], 0x60
add rcx, 0x20
call fcn.140051c10
lea rcx, [rbx + 0x118a0]
mov dword [rbx + 0x13eb0], edi
xor edx, edx
mov dword [rbx + 0x13eb4], 1
mov r8d, 0x25d0
mov dword [rbx + 0x13eb8], 1
call fcn.140051c10
lea rdx, [rbx + 0x13ec4]
mov dword [rbx + 0x140cc], edi
mov ecx, 0x208
mov qword [rbx + 0x13ebc], rdi
mov dword [rbx + 0x140d0], 0x91
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
movsxd rax, dword [rbx + 0x140cc]
imul rcx, rax, 0x104
add rcx, 0x13ec4
add rcx, rbx
je 0x14001a315
mov edx, 0x104
call fcn.14005b0ac
mov rdi, rax
mov ecx, dword [0x1400b1b90]
lea r8, [rsp + 0x20]
movsd xmm0, qword [str.FrameView.csv]
mov r9d, 0xf
mov dword [rsp + 0x28], ecx
mov edx, 0x104
movzx ecx, word [0x1400b1b94]
mov word [rsp + 0x2c], cx
movzx ecx, byte [0x1400b1b96]
mov byte [rsp + 0x2e], cl
movsxd rcx, dword [rbx + 0x140cc]
add rbx, 0x13ec4
imul rcx, rcx, 0x104
movsd qword [rsp + 0x20], xmm0
add rcx, rbx
add rcx, rdi
call fcn.14005a764
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14004b110
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret

Function at 0x14001a600
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x70
movzx ebx, cl
mov esi, 0x91
mov ecx, esi
call qword [sym.imp.USER32.dll_GetKeyState]
movzx edi, ax
and dil, 1
cmp dil, bl
je 0x14001a6ca
cmp byte [0x1400dd036], 0
je 0x14001a652
cmp dword [0x1400dd020], esi
jne 0x14001a652
cmp dword [0x1400dd01c], 0x4000
jne 0x14001a652
inc dword [0x1400dbb7c]
call qword [sym.imp.USER32.dll_GetMessageExtraInfo]
xor edx, edx
lea rcx, [rsp + 0x20]
mov rbx, rax
lea r8d, [rdx + 0x50]
call fcn.140051c10
mov r8d, 0x28
mov dword [rsp + 0x20], 1
lea rdx, [rsp + 0x20]
mov word [rsp + 0x28], si
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x48], 1
lea ecx, [r8 - 0x26]
mov word [rsp + 0x50], si
mov dword [rsp + 0x54], 2
mov qword [rsp + 0x60], rbx
call qword [sym.imp.USER32.dll_SendInput]
cmp eax, 2
je 0x14001a6ca
mov ecx, 2
call fcn.1400539a0
mov rcx, rax
lea rdx, str.warning:_could_not_toggle_scroll_lock._n
call fcn.1400094c0
lea r11, [rsp + 0x70]
movzx eax, dil
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x14001cab0
Capabilities:
Hash data using fnv

Disassembly:
mov dword [rsp + 8], ecx
push rbx
sub rsp, 0x20
movzx edx, cl
movabs rax, 0xcbf29ce484222325
xor rdx, rax
mov r8d, ecx
movzx eax, byte [rsp + 0x31]
movabs rcx, 0x100000001b3
imul rdx, rcx
xor rdx, rax
movzx eax, byte [rsp + 0x32]
imul rdx, rcx
xor rdx, rax
movzx eax, byte [rsp + 0x33]
imul rdx, rcx
xor rdx, rax
imul rdx, rcx
mov rcx, qword [0x1400ddc58]
and rdx, qword [0x1400ddc70]
mov rbx, rdx
add rbx, rbx
lea rax, [rdx + rdx]
mov rdx, qword [rcx + rax*8]
lea r9, [rcx + rax*8]
mov rbx, qword [rcx + rbx*8]
mov rcx, qword [0x1400ddc48]
nop dword [rax]
cmp rdx, rcx
jne 0x14001cb3a
mov rax, rcx
jmp 0x14001cb41
mov rax, qword [r9 + 8]
mov rax, qword [rax]
cmp rbx, rax
je 0x14001cbb1
cmp r8d, dword [rbx + 0x10]
je 0x14001cb51
mov rbx, qword [rbx]
jmp 0x14001cb30
cmovne rbx, rcx
cmp rbx, rcx
je 0x14001cbb1
lea rcx, [rbx + 0x18]
cmp byte [rcx + 0xd8], 0
je 0x14001cb9d
call fcn.140014d70
mov eax, dword [0x1400dbcfc]
dec eax
cmp byte [0x1400dd033], 0
mov dword [0x1400dbcfc], eax
je 0x14001cb9d
test eax, eax
jne 0x14001cb9d
mov rcx, qword [0x1400dbd20]
lea edx, [rax + 0x12]
xor r9d, r9d
xor r8d, r8d
call qword [sym.imp.USER32.dll_PostMessageW]
mov r8, rbx
lea rdx, [rsp + 0x38]
lea rcx, [0x1400ddc40]
call fcn.14001e2c0
add rsp, 0x20
pop rbx
ret

Function at 0x14001e2c0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x18], r8
push r14
sub rsp, 0x20
mov rsi, r8
mov r9, rcx
movzx r8d, byte [r8 + 0x10]
movabs rcx, 0x100000001b3
movabs rax, 0xcbf29ce484222325
mov r14, rdx
xor r8, rax
movzx eax, byte [rsi + 0x11]
mov rdx, qword [r9 + 0x30]
imul r8, rcx
xor r8, rax
movzx eax, byte [rsi + 0x12]
imul r8, rcx
xor r8, rax
movzx eax, byte [rsi + 0x13]
imul r8, rcx
xor r8, rax
imul r8, rcx
mov rcx, qword [r9 + 0x18]
and rdx, r8
shl rdx, 4
add rcx, rdx
cmp qword [rcx + 8], rsi
jne 0x14001e361
cmp qword [rcx], rsi
jne 0x14001e357
mov rax, qword [r9 + 8]
mov qword [rcx], rax
mov rcx, qword [r9 + 0x18]
mov rax, qword [r9 + 8]
mov qword [rdx + rcx + 8], rax
jmp 0x14001e36c
mov rax, qword [rsi + 8]
mov qword [rcx + 8], rax
jmp 0x14001e36c
cmp qword [rcx], rsi
jne 0x14001e371
mov rax, qword [rsi]
mov qword [rcx], rax
mov rsi, qword [rsp + 0x40]
mov rax, qword [rsi + 8]
mov rbx, qword [rsi]
mov qword [rax], rbx
mov rcx, qword [rsi]
mov rax, qword [rsi + 8]
mov qword [rcx + 8], rax
lea rcx, [rsi + 0xd0]
dec qword [r9 + 0x10]
call fcn.14000c150
lea rcx, [rsi + 0xb0]
call fcn.14000c150
lea rcx, [rsi + 0x90]
call fcn.14000c150
lea rcx, [rsi + 0x38]
call fcn.14001e4b0
lea rcx, [rsi + 0x18]
call fcn.14000c150
mov rcx, rsi
call fcn.14004bab8
mov rsi, qword [rsp + 0x38]
mov rax, r14
mov rdi, qword [rsp + 0x48]
mov qword [r14], rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop r14
ret
Function at 0x14001f440
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rcx
push r14
sub rsp, 0x40
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], rdi
mov rdi, r9
mov r11, r8
mov r14, rdx
mov r10, rcx
movzx r9d, byte [r8]
movabs rax, 0xcbf29ce484222325
xor r9, rax
movabs rcx, 0x100000001b3
imul r9, rcx
movzx eax, byte [r8 + 1]
xor r9, rax
imul r9, rcx
movzx eax, byte [r8 + 2]
xor r9, rax
imul r9, rcx
movzx eax, byte [r8 + 3]
xor r9, rax
imul r9, rcx
mov r8, qword [r10 + 0x30]
and r8, r9
shl r8, 4
mov rbx, qword [r10 + 0x18]
mov rax, qword [rbx + r8]
cmp rax, qword [r10 + 8]
jne 0x14001f4d1
mov rbx, qword [r10 + 8]
jmp 0x14001f4d9
mov rbx, qword [rbx + r8 + 8]
mov rbx, qword [rbx]
cmp rbx, rax
je 0x14001f558
mov ecx, dword [r11]
mov rbx, qword [rbx + 8]
cmp ecx, dword [rbx + 0x10]
je 0x14001f4f1
cmp rbx, rax
jne 0x14001f4e1
jmp 0x14001f558
mov rcx, qword [rdi + 8]
mov rax, qword [rdi]
mov qword [rcx], rax
mov rcx, qword [rdi]
mov rax, qword [rdi + 8]
mov qword [rcx + 8], rax
dec qword [r10 + 0x10]
lea rcx, [rdi + 0xd0]
call fcn.14000c150
lea rcx, [rdi + 0xb0]
call fcn.14000c150
lea rcx, [rdi + 0x90]
call fcn.14000c150
lea rcx, [rdi + 0x38]
call fcn.14001e4b0
lea rcx, [rdi + 0x18]
call fcn.14000c150
mov rcx, rdi
call fcn.14004bab8
mov qword [r14], rbx
mov byte [r14 + 8], 0
mov rax, r14
jmp 0x14001f5f0
mov qword [rsp + 0x20], rdi
mov rax, qword [rdi]
cmp rbx, rax
je 0x14001f592
mov rcx, qword [rdi + 8]
mov qword [rcx], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rbx
mov rcx, qword [rbx + 8]
mov qword [rcx], rdi
mov rdx, qword [rbx + 8]
mov rcx, qword [rax + 8]
mov qword [rbx + 8], rcx
mov rcx, qword [rdi + 8]
mov qword [rax + 8], rcx
mov qword [rdi + 8], rdx
mov rdx, qword [r10 + 0x18]
add rdx, r8
mov rax, qword [rdx]
cmp rax, qword [r10 + 8]
jne 0x14001f5b0
mov qword [rdx], rdi
mov rax, qword [r10 + 0x18]
mov qword [rax + r8 + 8], rdi
jmp 0x14001f5dc
cmp rax, rbx
jne 0x14001f5ba
mov qword [rdx], rdi
jmp 0x14001f5dc
mov rax, qword [rdx + 8]
mov rcx, qword [rax]
mov qword [rdx + 8], rcx
cmp rcx, rdi
je 0x14001f5dc
mov rdx, qword [r10 + 0x18]
mov rax, qword [rdx + r8 + 8]
mov rcx, qword [rax + 8]
mov qword [rdx + r8 + 8], rcx
mov rcx, r10
call fcn.14001fa20
nop
mov qword [r14], rdi
mov byte [r14 + 8], 1
mov rax, r14
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x14001f610
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], rsi
mov rdi, r9
mov r11, r8
mov rsi, rdx
mov r10, rcx
movzx r9d, byte [r8]
movabs rax, 0xcbf29ce484222325
xor r9, rax
movabs rcx, 0x100000001b3
imul r9, rcx
movzx eax, byte [r8 + 1]
xor r9, rax
imul r9, rcx
movzx eax, byte [r8 + 2]
xor r9, rax
imul r9, rcx
movzx eax, byte [r8 + 3]
xor r9, rax
imul r9, rcx
movzx eax, byte [r8 + 4]
xor r9, rax
imul r9, rcx
movzx eax, byte [r8 + 5]
xor r9, rax
imul r9, rcx
movzx eax, byte [r8 + 6]
xor r9, rax
imul r9, rcx
movzx eax, byte [r8 + 7]
xor r9, rax
imul r9, rcx
mov r8, qword [r10 + 0x30]
and r8, r9
shl r8, 4
mov rbx, qword [r10 + 0x18]
mov rax, qword [rbx + r8]
cmp rax, qword [r10 + 8]
jne 0x14001f6cb
mov rbx, qword [r10 + 8]
jmp 0x14001f6d3
mov rbx, qword [rbx + r8 + 8]
mov rbx, qword [rbx]
cmp rbx, rax
je 0x14001f72a
mov rcx, qword [r11]
nop dword [rax + rax]
mov rbx, qword [rbx + 8]
cmp rcx, qword [rbx + 0x10]
je 0x14001f6f1
cmp rbx, rax
jne 0x14001f6e0
jmp 0x14001f72a
mov rcx, qword [rdi + 8]
mov rax, qword [rdi]
mov qword [rcx], rax
mov rcx, qword [rdi]
mov rax, qword [rdi + 8]
mov qword [rcx + 8], rax
dec qword [r10 + 0x10]
lea rcx, [rdi + 0x18]
call fcn.14001d270
mov rcx, rdi
call fcn.14004bab8
mov qword [rsi], rbx
mov byte [rsi + 8], 0
mov rax, rsi
jmp 0x14001f7c1
mov qword [rsp + 0x20], rdi
mov rax, qword [rdi]
cmp rbx, rax
je 0x14001f764
mov rcx, qword [rdi + 8]
mov qword [rcx], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rbx
mov rcx, qword [rbx + 8]
mov qword [rcx], rdi
mov rdx, qword [rbx + 8]
mov rcx, qword [rax + 8]
mov qword [rbx + 8], rcx
mov rcx, qword [rdi + 8]
mov qword [rax + 8], rcx
mov qword [rdi + 8], rdx
mov rdx, qword [r10 + 0x18]
add rdx, r8
mov rax, qword [rdx]
cmp rax, qword [r10 + 8]
jne 0x14001f782
mov qword [rdx], rdi
mov rax, qword [r10 + 0x18]
mov qword [rax + r8 + 8], rdi
jmp 0x14001f7ae
cmp rax, rbx
jne 0x14001f78c
mov qword [rdx], rdi
jmp 0x14001f7ae
mov rax, qword [rdx + 8]
mov rcx, qword [rax]
mov qword [rdx + 8], rcx
cmp rcx, rdi
je 0x14001f7ae
mov rdx, qword [r10 + 0x18]
mov rax, qword [rdx + r8 + 8]
mov rcx, qword [rax + 8]
mov qword [rdx + r8 + 8], rcx
mov rcx, r10
call fcn.14001fae0
nop
mov qword [rsi], rdi
mov byte [rsi + 8], 1
mov rax, rsi
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x14001fba0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], r8
push rdi
sub rsp, 0x20
mov rdi, r8
mov r9, rcx
movzx r8d, byte [r8 + 0x10]
movabs rcx, 0x100000001b3
movabs rax, 0xcbf29ce484222325
mov rsi, rdx
xor r8, rax
movzx eax, byte [rdi + 0x11]
mov rdx, qword [r9 + 0x30]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdi + 0x12]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdi + 0x13]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdi + 0x14]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdi + 0x15]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdi + 0x16]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdi + 0x17]
imul r8, rcx
xor r8, rax
imul r8, rcx
mov rcx, qword [r9 + 0x18]
and rdx, r8
shl rdx, 4
add rcx, rdx
cmp qword [rcx + 8], rdi
jne 0x14001fc67
cmp qword [rcx], rdi
jne 0x14001fc5d
mov rax, qword [r9 + 8]
mov qword [rcx], rax
mov rcx, qword [r9 + 0x18]
mov rax, qword [r9 + 8]
mov qword [rdx + rcx + 8], rax
jmp 0x14001fc72
mov rax, qword [rdi + 8]
mov qword [rcx + 8], rax
jmp 0x14001fc72
cmp qword [rcx], rdi
jne 0x14001fc77
mov rax, qword [rdi]
mov qword [rcx], rax
mov rdi, qword [rsp + 0x40]
mov rax, qword [rdi + 8]
lea rcx, [rdi + 0x18]
mov rbx, qword [rdi]
mov qword [rax], rbx
mov rdx, qword [rdi]
mov rax, qword [rdi + 8]
mov qword [rdx + 8], rax
dec qword [r9 + 0x10]
call fcn.14001d270
mov rcx, rdi
call fcn.14004bab8
mov qword [rsi], rbx
mov rax, rsi
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140020550
Capabilities:
Acquire debug privileges

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x1400d1010]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rsi, rcx
mov qword [rsp + 0x30], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rdi, qword [rsi + 8]
mov rbx, rax
mov rcx, rdi
call qword [fcn.140009620]
lea r8, [rsp + 0x30]
mov edx, 0x20
mov rcx, rbx
call rdi
test eax, eax
je 0x14002063c
mov rbx, qword [rsi + 0x18]
xor eax, eax
mov qword [rsp + 0x38], rax
mov rcx, rbx
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], 1
mov dword [rsp + 0x44], 2
call qword [fcn.140009620]
lea r8, [rsp + 0x3c]
xor ecx, ecx
lea rdx, str.SeDebugPrivilege
call rbx
test eax, eax
je 0x14002062c
mov rbx, qword [rsi + 0x20]
mov rcx, rbx
call qword [fcn.140009620]
mov rcx, qword [rsp + 0x30]
lea r8, [rsp + 0x38]
mov r9d, 0x10
mov qword [rsp + 0x28], 0
xor edx, edx
mov qword [rsp + 0x20], 0
call rbx
test eax, eax
je 0x14002062c
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x514
je 0x14002062c
mov bl, 1
jmp 0x14002062e
xor bl, bl
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, bl
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14004b110
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
Function at 0x140020660
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x5c0
mov rax, qword [0x1400d1010]
xor rax, rsp
mov qword [rsp + 0x5b0], rax
mov rbx, rdx
mov ebp, ecx
xor edx, edx
lea rcx, [rsp + 0xa0]
mov r8d, 0x104
call fcn.140051c10
mov r8d, 0x104
lea rdx, [rsp + 0xa0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
xor edx, edx
lea rcx, [rsp + 0x1b0]
mov r8d, 0x400
call fcn.140051c10
xor edi, edi
mov esi, 1
cmp ebp, esi
jle 0x140020737
add rbx, 8
nop dword [rax]
cmp edi, 0x400
jae 0x140020737
mov rcx, qword [rbx]
cmp byte [rcx], 0x22
je 0x140020706
mov edx, 0x20
call fcn.140051a10
lea r8, str.___s_
test rax, rax
jne 0x14002070d
lea r8, [0x1400af7ec]
mov r9, qword [rbx]
lea rcx, [rsp + 0x1b0]
movsxd rax, edi
mov edx, 0x400
sub rdx, rax
add rcx, rax
call fcn.140020400
add edi, eax
inc esi
add rbx, 8
cmp esi, ebp
jl 0x1400206e0
xor edx, edx
lea rcx, [rsp + 0x30]
lea r8d, [rdx + 0x70]
call fcn.140051c10
lea rax, str.runas
mov dword [rsp + 0x30], 0x70
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x30]
lea rax, [rsp + 0xa0]
mov dword [rsp + 0x34], 0x40
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x1b0]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x60], 5
call qword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
je 0x1400207e2
mov rcx, qword [rsp + 0x98]
test rcx, rcx
je 0x1400207e2
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x98]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x20]
jmp 0x1400208e1
mov ecx, 2
call fcn.1400539a0
mov rcx, rax
lea rdx, str.error:_failed_to_elevate_privilege
call fcn.1400094c0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp eax, 8
jg 0x14002086b
cmp eax, 8
je 0x140020858
sub eax, 2
je 0x140020845
sub eax, 1
je 0x14002082f
cmp eax, 2
jne 0x14002087f
mov ecx, eax
call fcn.1400539a0
lea rdx, str._access_denied_._n
jmp 0x1400208d4
mov ecx, 2
call fcn.1400539a0
lea rdx, str._path_not_found_._n
jmp 0x1400208d4
mov ecx, 2
call fcn.1400539a0
lea rdx, str._file_not_found_._n
jmp 0x1400208d4
mov ecx, 2
call fcn.1400539a0
lea rdx, str._out_of_memory_._n
jmp 0x1400208d4
mov ecx, ebx
sub ecx, 0x20
je 0x1400208c3
sub ecx, 0x465
je 0x1400208b0
cmp ecx, 0x42
je 0x14002089d
mov ecx, 2
call fcn.1400539a0
mov rcx, rax
lea rdx, str.__u_._n
mov r8d, ebx
call fcn.1400094c0
jmp 0x1400208dc
mov ecx, 2
call fcn.1400539a0
lea rdx, str._cancelled_._n
jmp 0x1400208d4
mov ecx, 2
call fcn.1400539a0
lea rdx, str._dll_not_found_._n
jmp 0x1400208d4
mov ecx, 2
call fcn.1400539a0
lea rdx, str._sharing_violation_._n
mov rcx, rax
call fcn.1400094c0
mov eax, 2
mov rcx, qword [rsp + 0x5b0]
xor rcx, rsp
call fcn.14004b110
lea r11, [rsp + 0x5c0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140045ce0
Capabilities:
Get cpu information
Query or enumerate registry value

Disassembly:
sub rsp, 0x78
mov rax, qword [0x1400d1010]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov r8d, 4
mov dword [0x1400dc67c], 0xffffffff
lea rdx, str.FREQ
mov qword [rsp + 0x48], 0xf
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x40], 0
mov byte [rsp + 0x30], 0
call fcn.14000d860
lea r9, [rsp + 0x30]
mov r8d, 0x400
lea rdx, str.Processor_Performance_PPM_Processor_0_Processor_Frequency
call fcn.140048fc0
test al, al
je 0x140045d72
call fcn.140049270
mov rax, qword [0x1400dedf0]
mov ecx, dword [rax + 8]
mov dword [0x1400dc67c], ecx
call fcn.140049180
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14004b110
add rsp, 0x78
ret
lea rax, [rsp + 0x50]
mov dword [rsp + 0x58], 0x104
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.HARDWAREDESCRIPTIONSystemCentralProcessor0
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [rsp + 0x5c], 4
test eax, eax
jne 0x140045df7
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x5c]
mov qword [rsp + 0x28], rax
lea rdx, str.MHz
lea rax, [rsp + 0x58]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [0x1400dc67c]
test eax, eax
cmove ecx, dword [rsp + 0x58]
mov dword [0x1400dc67c], ecx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14004b110
add rsp, 0x78
ret