joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800d7fc0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push r14
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], rdi
mov rbx, r8
mov r14, rdx
mov r11, rcx
mov r9, qword [r8 + 0x20]
lea r10, [r8 + 0x10]
cmp qword [r8 + 0x28], 8
jb 0x1800d7ffa
mov r10, qword [r8 + 0x10]
xor edx, edx
movabs r8, 0xcbf29ce484222325
add r9, r9
je 0x1800d8034
movabs rcx, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [rdx + r10]
xor r8, rax
imul r8, rcx
inc rdx
cmp rdx, r9
jb 0x1800d8020
mov rdx, qword [r11 + 0x30]
and rdx, r8
shl rdx, 4
mov rcx, qword [r11 + 0x18]
add rcx, rdx
cmp qword [rcx + 8], rbx
jne 0x1800d8071
cmp qword [rcx], rbx
jne 0x1800d8067
mov rax, qword [r11 + 8]
mov qword [rcx], rax
mov rax, qword [r11 + 8]
mov rcx, qword [r11 + 0x18]
mov qword [rdx + rcx + 8], rax
jmp 0x1800d807c
mov rax, qword [rbx + 8]
mov qword [rcx + 8], rax
jmp 0x1800d807c
cmp qword [rcx], rbx
jne 0x1800d807c
mov rax, qword [rbx]
mov qword [rcx], rax
mov rdi, qword [rbx]
mov rax, qword [rbx + 8]
mov qword [rax], rdi
mov rcx, qword [rbx]
mov rax, qword [rbx + 8]
mov qword [rcx + 8], rax
dec qword [r11 + 0x10]
lea rax, vtable.CSmartPtrBase_class_CFontUnicodeRanges_.0
mov qword [rbx + 0x30], rax
mov rcx, qword [rbx + 0x38]
call sym.cloudinputx64.dll_protected:_void___cdecl_boost::serialization::singleton_class_boost::serialization::extended_type_info_typeid_struct_weasel::CandidateInfo__::constructor_void____ptr64
test rax, rax
je 0x1800d80b8
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x10]
nop
lea rcx, [rbx + 0x10]
call fcn.18004f5d0
mov edx, 0x40
mov rcx, rbx
call fcn.180102804
mov qword [r14], rdi
mov rax, r14
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r14
ret
Function at 0x1800d8af0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
cmp qword [r8 + 0x28], 8
lea r10, [r8 + 0x10]
mov r9, qword [r8 + 0x20]
mov rdi, r8
mov r14, rdx
mov r11, rcx
jb 0x1800d8b21
mov r10, qword [r8 + 0x10]
xor edx, edx
movabs r8, 0xcbf29ce484222325
add r9, r9
je 0x1800d8b54
movabs rcx, 0x100000001b3
nop dword [rax]
movzx eax, byte [rdx + r10]
inc rdx
xor r8, rax
imul r8, rcx
cmp rdx, r9
jb 0x1800d8b40
mov rdx, qword [r11 + 0x30]
mov rcx, qword [r11 + 0x18]
and rdx, r8
shl rdx, 4
add rcx, rdx
mov rax, qword [rcx]
cmp qword [rcx + 8], rdi
jne 0x1800d8b94
cmp rax, rdi
jne 0x1800d8b8a
mov rax, qword [r11 + 8]
mov qword [rcx], rax
mov rcx, qword [r11 + 0x18]
mov rax, qword [r11 + 8]
mov qword [rdx + rcx + 8], rax
jmp 0x1800d8b9f
mov rax, qword [rdi + 8]
mov qword [rcx + 8], rax
jmp 0x1800d8b9f
cmp rax, rdi
jne 0x1800d8b9f
mov rax, qword [rdi]
mov qword [rcx], rax
mov rax, qword [rdi + 8]
lea rcx, [rdi + 0x30]
mov rbx, qword [rdi]
mov qword [rax], rbx
mov rdx, qword [rdi]
mov rax, qword [rdi + 8]
mov qword [rdx + 8], rax
dec qword [r11 + 0x10]
call fcn.18007faa0
lea rcx, [rdi + 0x10]
call fcn.18004f5d0
mov edx, 0x48
mov rcx, rdi
call fcn.180102804
mov rsi, qword [rsp + 0x38]
mov rax, r14
mov rdi, qword [rsp + 0x40]
mov qword [r14], rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop r14
ret
Function at 0x1800dc370
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov edi, dword [rcx + 0x44]
mov rbx, rcx
mov r9d, dword [rcx + 0x9c]
xor r14d, r14d
mov qword [rsp + 0x30], rbp
nop word [rax + rax]
mov edx, dword [rbx + 0x94]
mov esi, dword [rbx + 0x58]
mov ecx, dword [rbx + 0x44]
sub esi, edx
add ecx, 0xfffffefa
sub esi, r9d
add ecx, edi
cmp edx, ecx
jb 0x1800dc440
mov rcx, qword [rbx + 0x50]
mov r8, rdi
lea rdx, [rcx + rdi]
call fcn.180109540
mov r8d, dword [rbx + 0x74]
mov rax, qword [rbx + 0x68]
sub dword [rbx + 0x98], edi
sub dword [rbx + 0x94], edi
sub dword [rbx + 0x84], edi
lea rdx, [rax + r8*2]
nop
movzx ecx, word [rdx - 2]
lea rdx, [rdx - 2]
movzx eax, cx
sub ax, di
cmp ecx, edi
cmovb ax, r14w
mov word [rdx], ax
add r8d, 0xffffffff
jne 0x1800dc3f0
mov rax, qword [rbx + 0x60]
mov r8d, edi
lea rdx, [rax + rdi*2]
nop dword [rax]
movzx ecx, word [rdx - 2]
lea rdx, [rdx - 2]
movzx eax, cx
sub ax, di
cmp ecx, edi
cmovb ax, r14w
mov word [rdx], ax
add r8d, 0xffffffff
jne 0x1800dc420
add esi, edi
mov rcx, qword [rbx]
cmp dword [rcx + 8], r14d
je 0x1800dc52c
mov edx, dword [rbx + 0x9c]
mov r8d, esi
mov eax, dword [rbx + 0x94]
add rdx, rax
add rdx, qword [rbx + 0x50]
call fcn.1800dc100
add dword [rbx + 0x9c], eax
mov r9d, dword [rbx + 0x9c]
cmp r9d, 3
jb 0x1800dc4a8
mov eax, dword [rbx + 0x94]
mov rdx, qword [rbx + 0x50]
mov ecx, dword [rbx + 0x80]
movzx r8d, byte [rax + rdx]
mov dword [rbx + 0x70], r8d
shl r8d, cl
inc eax
movzx eax, byte [rax + rdx]
xor r8d, eax
and r8d, dword [rbx + 0x7c]
mov dword [rbx + 0x70], r8d
cmp r9d, 0x106
jae 0x1800dc4be
mov rax, qword [rbx]
cmp dword [rax + 8], r14d
jne 0x1800dc3a0
mov ecx, dword [rbx + 0x1718]
mov edi, dword [rbx + 0x58]
cmp ecx, edi
jae 0x1800dc52c
mov esi, dword [rbx + 0x94]
add esi, r9d
cmp ecx, esi
jae 0x1800dc4ff
sub edi, esi
mov ecx, esi
mov eax, 0x102
cmp edi, eax
cmova edi, eax
add rcx, qword [rbx + 0x50]
mov r8d, edi
xor edx, edx
call fcn.1801099b0
lea eax, [rdi + rsi]
mov dword [rbx + 0x1718], eax
jmp 0x1800dc52c
lea eax, [rsi + 0x102]
cmp ecx, eax
jae 0x1800dc52c
sub edi, ecx
sub esi, ecx
lea eax, [rsi + 0x102]
cmp eax, edi
cmovbe edi, eax
add rcx, qword [rbx + 0x50]
mov r8d, edi
xor edx, edx
call fcn.1801099b0
add dword [rbx + 0x1718], edi
mov rbp, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x180108530
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
jmp 0x1801085c0
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rsi
mov ecx, dword [0x1801c10a0]
cmp ecx, 0xffffffff
jne 0x1801085e8
xor esi, esi
jmp 0x1801085f1
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, rax
mov qword [rsp + 0x40], rsi
test rsi, rsi
je 0x180108715
mov rcx, qword [rsi + 0x30]
mov rax, qword [rsi + 0x18]
mov rbx, rax
nop word [rax + rax]
mov r8, rbx
mov rdx, rcx
test rcx, rcx
jne 0x180108624
test rax, rax
je 0x1801086ee
mov rbx, rax
test rdx, rdx
cmovne rbx, r8
test rbx, rbx
je 0x18010869b
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rbx + 8]
mov qword [rsi + 0x18], rax
mov rcx, qword [rbx]
test rcx, rcx
je 0x180108677
mov rax, qword [rcx]
call qword [rax + 8]
mov rdi, qword [rbx]
mov rax, qword [rdi]
xor edx, edx
mov rcx, rdi
call qword [rax]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rax, qword [rsi + 0x18]
mov rbx, rax
test rax, rax
jne 0x180108640
mov rcx, qword [rsi + 0x30]
test rcx, rcx
je 0x180108610
nop dword [rax]
nop dword [rax + rax]
mov rbx, qword [rsi + 0x28]
mov rbx, qword [rbx]
mov rcx, qword [rbx + 0x28]
test rcx, rcx
je 0x1801086cf
mov rdx, qword [rbx + 0x38]
test rdx, rdx
je 0x1801086cf
mov rax, qword [rcx]
call qword [rax + 8]
mov r8, rbx
lea rdx, [rsp + 0x48]
lea rcx, [rsi + 0x28]
call fcn.180108280
mov rcx, qword [rsi + 0x30]
test rcx, rcx
jne 0x1801086b0
jmp 0x180108603
lea rdx, [0x180108260]
lea rcx, [0x1801ca090]
call fcn.180108020
mov ecx, dword [0x1801c10a0]
cmp ecx, 0xffffffff
je 0x180108715
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
test rsi, rsi
je 0x180108748
mov eax, 0xffffffff
lock xadd dword [rsi + 8], eax
cmp eax, 1
jne 0x180108748
mov rax, qword [rsi]
xor edx, edx
mov rcx, rsi
call qword [rax]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rsi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
nop
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x1801085c0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
jmp 0x1801085c0
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rsi
mov ecx, dword [0x1801c10a0]
cmp ecx, 0xffffffff
jne 0x1801085e8
xor esi, esi
jmp 0x1801085f1
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, rax
mov qword [rsp + 0x40], rsi
test rsi, rsi
je 0x180108715
mov rcx, qword [rsi + 0x30]
mov rax, qword [rsi + 0x18]
mov rbx, rax
nop word [rax + rax]
mov r8, rbx
mov rdx, rcx
test rcx, rcx
jne 0x180108624
test rax, rax
je 0x1801086ee
mov rbx, rax
test rdx, rdx
cmovne rbx, r8
test rbx, rbx
je 0x18010869b
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rbx + 8]
mov qword [rsi + 0x18], rax
mov rcx, qword [rbx]
test rcx, rcx
je 0x180108677
mov rax, qword [rcx]
call qword [rax + 8]
mov rdi, qword [rbx]
mov rax, qword [rdi]
xor edx, edx
mov rcx, rdi
call qword [rax]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rax, qword [rsi + 0x18]
mov rbx, rax
test rax, rax
jne 0x180108640
mov rcx, qword [rsi + 0x30]
test rcx, rcx
je 0x180108610
nop dword [rax]
nop dword [rax + rax]
mov rbx, qword [rsi + 0x28]
mov rbx, qword [rbx]
mov rcx, qword [rbx + 0x28]
test rcx, rcx
je 0x1801086cf
mov rdx, qword [rbx + 0x38]
test rdx, rdx
je 0x1801086cf
mov rax, qword [rcx]
call qword [rax + 8]
mov r8, rbx
lea rdx, [rsp + 0x48]
lea rcx, [rsi + 0x28]
call fcn.180108280
mov rcx, qword [rsi + 0x30]
test rcx, rcx
jne 0x1801086b0
jmp 0x180108603
lea rdx, [0x180108260]
lea rcx, [0x1801ca090]
call fcn.180108020
mov ecx, dword [0x1801c10a0]
cmp ecx, 0xffffffff
je 0x180108715
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
test rsi, rsi
je 0x180108748
mov eax, 0xffffffff
lock xadd dword [rsi + 8], eax
cmp eax, 1
jne 0x180108748
mov rax, qword [rsi]
xor edx, edx
mov rcx, rsi
call qword [rax]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rsi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
nop
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x18012830c
Capabilities:
Parse pe header

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x20
mov esi, r8d
mov ebx, edx
mov r14d, ecx
test r8d, r8d
jne 0x18012812c
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x18012812c
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x18012812c
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x18012812c
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x18012812c
cmp dword [rcx + 0x84], 0xe
jbe 0x18012812c
cmp dword [rcx + 0xf8], esi
je 0x18012812c
mov ecx, r14d
call fcn.180128274
mov ecx, 2
call fcn.180121dc0
nop
cmp byte [0x1801ca458], 0
jne 0x1801281f6
mov r15d, 1
mov eax, r15d
xchg dword [0x1801ca448], eax
test ebx, ebx
jne 0x18012819f
mov rdi, qword [0x1801c1080]
mov edx, edi
and edx, 0x3f
lea ecx, [rbx + 0x40]
sub ecx, edx
xor eax, eax
ror rax, cl
xor rax, rdi
mov rcx, qword [0x1801ca450]
cmp rcx, rax
je 0x180128196
xor rdi, rcx
mov ecx, edx
ror rdi, cl
mov rcx, rdi
call qword [fcn.180053f90]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call rdi
lea rcx, [0x1801ca588]
jmp 0x1801281ab
cmp ebx, r15d
jne 0x1801281b1
lea rcx, [0x1801ca5a0]
call fcn.180128dc0
nop
test ebx, ebx
jne 0x1801281c8
lea rdx, [0x180146cd0]
lea rcx, [0x180146cb0]
call fcn.180129014
lea rdx, [0x180146ce8]
lea rcx, [0x180146cd8]
call fcn.180129014
movzx eax, byte [0x1801ca458]
test esi, esi
cmove eax, r15d
mov byte [0x1801ca458], al
jmp 0x1801281f6
mov ecx, 2
call fcn.180121e14
test esi, esi
jne 0x18012820d
mov ecx, r14d
call fcn.180128228
int3
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret
xor r8d, r8d
xor edx, edx
jmp 0x1801280bc
Function at 0x1801359a4
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 8], rcx
push rbp
mov rbp, rsp
sub rsp, 0x20
test rcx, rcx
jne 0x180135844
call fcn.180120f00
mov dword [rax], 0x16
call fcn.180112654
or eax, 0xffffffff
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop rbp
ret
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x18013582c
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 0xc
test cl, 1
jne 0x18013582c
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
mov rax, qword [rbp + 0x10]
shr ecx, 1
test cl, 1
je 0x180135876
lock or dword [rax + 0x14], 0x10
jmp 0x18013582c
lock or dword [rax + 0x14], 1
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
test ecx, 0x4c0
jne 0x180135893
mov rcx, qword [rbp + 0x10]
call fcn.1801359ac
mov rax, qword [rbp + 0x10]
mov rcx, qword [rax + 8]
mov qword [rax], rcx
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.18012c360
mov rdx, qword [rbp + 0x10]
mov ecx, eax
mov r8d, dword [rdx + 0x20]
mov rdx, qword [rdx + 8]
call fcn.1801383a0
mov dword [rbx + 0x10], eax
mov rax, qword [rbp + 0x10]
mov edx, dword [rax + 0x10]
lea ecx, [rdx + 1]
cmp ecx, 1
ja 0x1801358ea
neg edx
sbb ecx, ecx
and ecx, 8
add ecx, 8
lock or dword [rax + 0x14], ecx
mov rax, qword [rbp + 0x10]
and dword [rax + 0x10], 0
jmp 0x18013582c
mov ecx, dword [rax + 0x14]
test cl, 6
jne 0x180135956
mov rcx, qword [rbp + 0x10]
call fcn.18012c360
cmp eax, 0xffffffff
je 0x18013593d
mov rcx, qword [rbp + 0x10]
call fcn.18012c360
cmp eax, 0xfffffffe
je 0x18013593d
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.18012c360
movsxd rdi, eax
lea rsi, [0x1801ca600]
mov rcx, rbx
sar rdi, 6
call fcn.18012c360
and eax, 0x3f
shl rax, 6
add rax, qword [rsi + rdi*8]
jmp 0x180135944
lea rax, [0x1801c1440]
mov al, byte [rax + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x180135956
mov rax, qword [rbp + 0x10]
lock or dword [rax + 0x14], 0x20
mov rax, qword [rbp + 0x10]
cmp dword [rax + 0x20], 0x200
jne 0x18013598c
mov ecx, dword [rax + 0x14]
shr ecx, 6
test cl, 1
je 0x180135988
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 8
test cl, 1
jne 0x180135988
mov rax, qword [rbp + 0x10]
mov dword [rax + 0x20], 0x1000
mov rax, qword [rbp + 0x10]
dec dword [rax + 0x10]
mov rcx, qword [rax]
movzx edx, byte [rcx]
inc rcx
mov qword [rax], rcx
mov eax, edx
jmp 0x18013582f
jmp 0x1801357fc
Function at 0x140001400
Capabilities:
Hash data using djb2

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov rsi, rdx
mov rdi, rcx
test rcx, rcx
je 0x140001586
cmp dword [rcx], 0
jne 0x140001586
movsx rax, byte [rdx]
mov r8, rdx
mov qword [rsp + 0x38], rbp
mov r9d, 0x1505
mov qword [rsp + 0x40], r14
test rax, rax
je 0x140001454
nop
imul r9, r9, 0x21
lea r8, [r8 + 1]
add r9, rax
movsx rax, byte [r8]
test rax, rax
jne 0x140001440
mov rcx, qword [rcx + 0x20]
lea r8, [0x14009afb0]
xor edx, edx
mov qword [rsp + 0x30], rbx
mov rax, r9
lea r14, [rdi + 0x28]
div qword [r8 + rcx*8]
mov r11, rdx
shl r11, 4
add r11, qword [rdi + 0x18]
mov rbp, qword [r11]
cmp rbp, r14
jne 0x14000148e
cmp rbp, qword [r11 + 8]
je 0x140001567
mov r10, rbp
cmp qword [r10 - 8], r9
lea rbx, [r10 - 8]
jne 0x1400014c7
lea rax, [rbx + 0x28]
mov r8, rsi
sub r8, rax
nop word [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x1400014c3
inc rax
test ecx, ecx
jne 0x1400014b0
test edx, edx
je 0x1400014d7
cmp r10, qword [r11 + 8]
je 0x140001567
mov r10, qword [r10 + 8]
jmp 0x140001491
mov rax, qword [r11 + 8]
lea rdx, [rbx + 8]
cmp rdx, rbp
jne 0x1400014fb
cmp rdx, rax
jne 0x1400014f2
mov qword [r11 + 8], r14
mov qword [r11], r14
jmp 0x140001507
mov rax, qword [rbx + 0x10]
mov qword [r11], rax
jmp 0x140001507
cmp rdx, rax
jne 0x140001507
mov rax, qword [rdx]
mov qword [r11 + 8], rax
mov rcx, qword [rdx]
mov rax, qword [rdx + 8]
mov qword [rcx + 8], rax
mov rcx, qword [rdx + 8]
mov rax, qword [rdx]
mov qword [rcx], rax
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x14000153e
mov rax, qword [rcx + 8]
cmp rax, 0xffffffffffffffff
je 0x14000153e
sub rax, 1
mov qword [rcx + 8], rax
jne 0x14000153e
call fcn.140002ee0
mov rcx, rbx
call qword [fcn.1400640b0]
dec qword [rdi + 0x10]
mov r14, qword [rsp + 0x40]
xor eax, eax
mov rbp, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
mov r14, qword [rsp + 0x40]
mov eax, 0xffffffff
mov rbp, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
mov rsi, qword [rsp + 0x48]
mov eax, 0xffffffff
add rsp, 0x20
pop rdi
ret
Function at 0x140010f50
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x90
mov rax, qword [0x1400a9538]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov ebx, edx
mov rdi, rcx
xor esi, esi
lea rdx, [rsp + 0x58]
mov ecx, 0x20019
mov qword [rsp + 0x58], rsi
call fcn.14001fe70
test eax, eax
jne 0x140011084
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x40], rsi
lea rdx, [rdi + 0x778]
mov qword [rsp + 0x38], rax
or ebx, 0x2001f
mov qword [rsp + 0x30], rsi
xor r9d, r9d
mov dword [rsp + 0x28], ebx
xor r8d, r8d
mov dword [rsp + 0x20], esi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov rcx, qword [rsp + 0x58]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x140011084
movzx eax, word [0x14008d4f0]
lea r9d, [rsi + 0x10]
movups xmm0, xmmword [str.Recovery]
mov rcx, qword [rsp + 0x60]
lea r8, [rsp + 0x68]
mov word [rsp + 0x78], ax
xor edx, edx
lea rax, [rsp + 0x58]
mov dword [rsp + 0x50], esi
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
movups xmmword [rsp + 0x68], xmm0
mov dword [rsp + 0x58], 4
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov rcx, qword [rsp + 0x60]
lea rdx, [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [rsp + 0x50], esi
je 0x140011084
mov rcx, qword [rdi + 8]
lea rax, str.Safe_mode_is_ON._Optional_plugins_will_not_be_loaded
lea r9d, [rsi + 2]
mov qword [rsp + 0x20], rax
mov r8d, 0x145
lea rdx, str.C:dvsp4_build_swgcompdev_srcNvContainercontainerwindowsNvcServiceHost.cpp
call fcn.14001c6b0
mov al, 1
jmp 0x140011086
xor al, al
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140023340
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140011190
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
mov rdi, rcx
lea rax, str.Service_host:
mov rcx, qword [rcx + 8]
lea rdx, str.C:dvsp4_build_swgcompdev_srcNvContainercontainerwindowsNvcServiceHost.cpp
mov r9d, 4
mov qword [rsp + 0x20], rax
mov r8d, 0x21e
call fcn.14001c6b0
cmp word [rdi + 0x778], 0
jne 0x140011211
mov rcx, qword [rdi + 8]
lea rbx, str.Service_host:_service_registration_failed
mov r9d, 1
mov qword [rsp + 0x20], rbx
mov r8d, 0x224
lea rdx, str.C:dvsp4_build_swgcompdev_srcNvContainercontainerwindowsNvcServiceHost.cpp
call fcn.14001c6b0
mov rdx, rbx
mov ecx, 0x14
call fcn.14000bf70
xor al, al
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
xor ebx, ebx
mov qword [rsp + 0x40], rsi
mov rcx, rdi
mov dword [rdi + 0x754], 4
mov dword [rdi + 0x768], ebx
mov dword [rdi + 0x758], 5
lea edx, [rbx + 3]
call fcn.1400110b0
call fcn.14001cd40
shr eax, 1
test al, 1
je 0x1400112e7
mov qword [rsp + 0x28], rbx
lea r8, [0x140011580]
mov r9, rdi
mov dword [rsp + 0x20], ebx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rdi + 0x800], rax
test rax, rax
jne 0x1400112bf
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rdi + 8]
lea rbx, str.Service_host:_failed_to_create_ServiceConfigThread._Error__u
mov dword [rsp + 0x28], eax
lea rdx, str.C:dvsp4_build_swgcompdev_srcNvContainercontainerwindowsNvcServiceHost.cpp
mov r9d, 1
mov qword [rsp + 0x20], rbx
mov r8d, 0x239
call fcn.14001c6b0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdx, rbx
mov ecx, 0x11
mov r8d, eax
call fcn.14000bf70
jmp 0x1400112e7
mov rcx, qword [rdi + 8]
lea rax, str.Service_host:_Created_ServiceConfigThread
mov r9d, 3
mov qword [rsp + 0x20], rax
mov r8d, 0x23d
lea rdx, str.C:dvsp4_build_swgcompdev_srcNvContainercontainerwindowsNvcServiceHost.cpp
call fcn.14001c6b0
cmp qword [rdi + 0x130], 0
je 0x140011301
call fcn.14001b7a0
mov rcx, qword [rdi + 0x130]
mov qword [rcx + 0x18], rax
mov rcx, rdi
call fcn.14000c1e0
movzx esi, al
test al, al
je 0x1400113e4
cmp qword [rdi + 0x130], 0
je 0x140011337
mov rbx, qword [rdi + 0x130]
call fcn.14001b7a0
sub eax, dword [rbx + 0x18]
cmp dword [rbx + 8], eax
cmovae eax, dword [rbx + 8]
mov dword [rbx + 8], eax
mov rcx, rdi
call fcn.14000bb60
mov rcx, rdi
call fcn.14000aa80
mov edx, 3
mov dword [rdi + 0x754], 3
mov rcx, rdi
mov dword [rdi + 0x768], 0x7530
movzx esi, al
mov dword [rdi + 0x758], 5
call fcn.1400110b0
test sil, sil
je 0x1400113b2
mov rax, qword [rdi + 0x130]
test rax, rax
je 0x1400113b2
call fcn.14001b7a0
mov rcx, qword [rdi + 0x130]
mov qword [rcx + 0x18], rax
mov rax, qword [rdi + 0x130]
test rax, rax
je 0x1400113b2
call fcn.14001b7a0
mov rcx, qword [rdi + 0x130]
mov qword [rcx + 0x20], rax
xor edx, edx
mov rcx, rdi
call fcn.14000c450
test sil, sil
je 0x1400113e4
cmp qword [rdi + 0x130], 0
je 0x1400113e4
mov rbx, qword [rdi + 0x130]
call fcn.14001b7a0
sub eax, dword [rbx + 0x18]
cmp dword [rbx + 0xc], eax
cmovae eax, dword [rbx + 0xc]
mov dword [rbx + 0xc], eax
mov rbx, qword [rsp + 0x48]
movzx eax, sil
mov rsi, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x140011400
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x90
mov rax, qword [0x1400a9538]
xor rax, rsp
mov qword [rsp + 0x88], rax
movups xmm0, xmmword [str.ServiceAutoStart]
movzx eax, word [0x14008d550]
mov edi, edx
movups xmm1, xmmword [0x14008d540]
mov rbp, rcx
lea rsi, [rcx + 0x778]
movups xmmword [rsp + 0x60], xmm0
xor r14d, r14d
lea rdx, [r11 - 0x58]
movups xmmword [rsp + 0x70], xmm1
mov ecx, 0x20019
mov word [r11 - 0x28], ax
mov ebx, 5
mov qword [r11 - 0x58], r14
call fcn.14001fe70
test eax, eax
jne 0x1400114ba
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x40], r14
or edi, 0x20006
mov qword [rsp + 0x38], rax
xor r9d, r9d
mov qword [rsp + 0x30], r14
xor r8d, r8d
mov dword [rsp + 0x28], edi
mov rdx, rsi
mov dword [rsp + 0x20], r14d
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov rcx, qword [rsp + 0x50]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x140011500
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x50]
mov dword [rsp + 0x28], 4
lea r9d, [rbx + 4]
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x60]
mov dword [rsp + 0x50], 1
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x58]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
je 0x140011554
mov rcx, qword [rbp + 8]
lea rax, [rsp + 0x60]
mov dword [rsp + 0x38], ebx
lea rdi, str.Failed_to_save_auto_start_flag__ls_to_registry_for_service__ls._Error__ld
mov qword [rsp + 0x30], rsi
lea rdx, str.C:dvsp4_build_swgcompdev_srcNvContainercontainerwindowsNvcServiceHost.cpp
mov qword [rsp + 0x28], rax
mov r9d, 1
mov r8d, 0x169
mov qword [rsp + 0x20], rdi
call fcn.14001c6b0
mov r9, rsi
mov dword [rsp + 0x20], ebx
lea r8, [rsp + 0x60]
mov rdx, rdi
mov ecx, 0x13
call fcn.14000bf70
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140023340
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret