joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400ae500
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x60
mov rax, qword [0x1402be5c8]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov r14, rcx
mov qword [rsp + 0x30], rcx
mov ecx, 0x120
call fcn.1401a9704
mov rdi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1400ae631
xor edx, edx
mov r8d, 0x120
mov rcx, rax
call fcn.1401cff00
mov rcx, rdi
call fcn.1400ae680
nop
lea rax, vtable.EventLogger.0
mov qword [rdi], rax
lea rcx, [rdi + 0x48]
mov edx, 2
call fcn.1401acc68
nop
lea rcx, [rdi + 0x98]
call fcn.1401ae034
nop
xorps xmm0, xmm0
movups xmmword [rdi + 0xe0], xmm0
lea rbx, [rdi + 0xf0]
mov qword [rsp + 0x50], rbx
xor esi, esi
mov qword [rbx], rsi
mov qword [rbx + 8], rsi
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], rsi
mov qword [rbx + 0x20], rsi
lea ecx, [rsi + 0x10]
call fcn.1401a9704
mov qword [rax + 8], rsi
mov qword [rbx], rax
mov qword [rax], rbx
mov byte [rdi + 0x118], sil
lea ecx, [rsi + 0x10]
call fcn.1401a9704
test rax, rax
je 0x1400ae5e7
mov qword [rax], rdi
lea rcx, [0x1400b1710]
mov qword [rax + 8], rcx
jmp 0x1400ae5ea
mov rax, rsi
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], esi
mov r9, rax
lea r8, [0x1400adcc0]
xor edx, edx
xor ecx, ecx
call fcn.1401e90b4
mov qword [rsp + 0x40], rax
test rax, rax
je 0x1400ae65f
cmp dword [rdi + 0xe8], 0
jne 0x1400ae66e
movaps xmm0, xmmword [rsp + 0x40]
movups xmmword [rdi + 0xe0], xmm0
jmp 0x1400ae635
xor esi, esi
mov edi, esi
mov qword [r14], rdi
mov rax, r14
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1401a9440
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
mov dword [rsp + 0x48], esi
mov ecx, 6
call fcn.1401ac738
nop
call fcn.1401e8d70
int3
Function at 0x1400b15f0
Capabilities:
Access the windows event log

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbx
push rsi
push rdi
sub rsp, 0x870
mov rax, qword [0x1402be5c8]
xor rax, rsp
mov qword [rsp + 0x860], rax
xor edx, edx
lea rcx, [rsp + 0x60]
mov r8d, 0x800
call fcn.1401cff00
lea r8, [0x14023ce18]
mov edx, 0x800
lea rcx, [rsp + 0x60]
call fcn.1400b2780
lea rbx, [rsp + 0x8a0]
call fcn.140014650
mov r9, qword [rsp + 0x898]
lea rdx, [rsp + 0x60]
xor edi, edi
mov qword [rsp + 0x28], rbx
mov r8d, 0x800
mov qword [rsp + 0x20], rdi
mov rcx, qword [rax]
call fcn.1401debb0
lea r8, [0x14023ce28]
mov edx, 0x400
lea rcx, [rsp + 0x60]
call fcn.1401eab68
lea rsi, str.AtiDCM
xor ecx, ecx
mov rdx, rsi
call qword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov rbx, rax
test rax, rax
je 0x1400b16f1
mov qword [rsp + 0x40], rdi
lea rax, [rsp + 0x60]
mov qword [rsp + 0x58], rax
lea ecx, [rdi + 2]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x38], rax
lea edx, [rdi + 4]
mov dword [rsp + 0x30], edi
xor r8d, r8d
mov word [rsp + 0x28], cx
xor r9d, r9d
mov rcx, rbx
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_ReportEventW]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
mov rcx, qword [rsp + 0x860]
xor rcx, rsp
call fcn.1401a9440
add rsp, 0x870
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400b2070
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 0x1400b222e
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.1400b1f40
mov qword [rsi + 0x38], rdi
lea rax, [rdi - 1]
mov qword [rsi + 0x30], rax
mov rcx, qword [rsi + 8]
mov rcx, qword [rcx]
mov rdx, rcx
cmp rcx, rbx
je 0x1400b21f7
mov qword [rsp + 0x58], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rcx + 0x11]
movzx r9d, byte [rcx + 0x10]
mov r11, qword [rsi + 0x30]
xor r9, rbp
mov rdx, qword [rdx]
imul r9, rdi
xor r9, rax
movzx eax, byte [rcx + 0x12]
imul r9, rdi
xor r9, rax
movzx eax, byte [rcx + 0x13]
imul r9, rdi
xor r9, rax
imul r9, rdi
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r10, qword [r11]
cmp r10, rbx
jne 0x1400b2163
mov qword [r11], rcx
mov qword [r11 + 8], rcx
jmp 0x1400b21e6
mov rax, qword [r11 + 8]
mov r9d, dword [rcx + 0x10]
cmp r9d, dword [rax + 0x10]
jne 0x1400b21a0
mov r10, qword [rax]
cmp r10, rcx
je 0x1400b219a
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], r10
mov rax, qword [r10 + 8]
mov qword [rax], rcx
mov qword [r10 + 8], r8
mov qword [rdx + 8], r9
mov qword [rcx + 8], rax
mov qword [r11 + 8], rcx
jmp 0x1400b21e6
mov r8, rax
cmp r10, rax
je 0x1400b21c2
nop dword [rax + rax]
mov rax, qword [rax + 8]
mov r8, rax
cmp r9d, dword [rax + 0x10]
je 0x1400b2208
cmp r10, rax
jne 0x1400b21b0
mov r10, qword [rcx + 8]
mov qword [r10], rdx
mov r9, qword [rdx + 8]
mov qword [r9], r8
mov rax, qword [r8 + 8]
mov qword [rax], rcx
mov qword [r8 + 8], r9
mov qword [rdx + 8], r10
mov qword [rcx + 8], rax
mov qword [r11], rcx
mov rcx, rdx
cmp rdx, rbx
jne 0x1400b2110
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 [rax]
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], r10
mov rax, qword [r10 + 8]
mov qword [rax], rcx
mov qword [r10 + 8], r8
mov qword [rdx + 8], r9
mov qword [rcx + 8], rax
jmp 0x1400b21e6
lea rcx, str.invalid_hash_bucket_count
call fcn.1401abf2c
int3
Function at 0x1400c76d0
Capabilities:
Hash data using fnv

Disassembly:
xor edx, edx
lea r8d, [rdx + 8]
jmp 0x1400c76d0
mov qword [rsp + 0x18], rbx
mov dword [rsp + 0x10], edx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x170
mov rax, qword [0x1402be5c8]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov edi, r8d
mov ebx, edx
mov rsi, rcx
xor bpl, bpl
call fcn.1400be680
test al, al
je 0x1400c78e3
cmp qword [rsi + 0x2d8], 0
je 0x1400c78e3
movzx edx, bl
movabs r15, 0xcbf29ce484222325
xor rdx, r15
movabs r14, 0x100000001b3
imul rdx, r14
mov eax, ebx
shr eax, 8
movzx ecx, al
xor rdx, rcx
imul rdx, r14
mov eax, ebx
shr eax, 0x10
movzx ecx, al
xor rdx, rcx
imul rdx, r14
mov eax, ebx
shr rax, 0x18
xor rdx, rax
imul rdx, r14
mov rcx, qword [rsi + 0x2f8]
and rcx, rdx
shl rcx, 4
add rcx, qword [rsi + 0x2e0]
mov rax, qword [rcx + 8]
mov rdx, qword [rsi + 0x2d0]
cmp rax, rdx
je 0x1400c78e3
mov rcx, qword [rcx]
cmp ebx, dword [rax + 0x10]
je 0x1400c77b2
nop dword [rax]
cmp rax, rcx
je 0x1400c78e3
mov rax, qword [rax + 8]
cmp ebx, dword [rax + 0x10]
jne 0x1400c77a0
test rax, rax
cmove rax, rdx
cmp rax, rdx
je 0x1400c78e3
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x20], xmm1
mov ecx, 0x138
call fcn.1401a9704
mov r8, rax
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rsp + 0x20], rax
movzx edx, bl
xor rdx, r15
imul rdx, r14
movzx ecx, byte [rsp + 0x1a9]
xor rdx, rcx
imul rdx, r14
movzx eax, byte [rsp + 0x1aa]
xor rdx, rax
imul rdx, r14
movzx eax, byte [rsp + 0x1ab]
xor rdx, rax
imul rdx, r14
mov rcx, qword [rsi + 0x2f8]
and rcx, rdx
shl rcx, 4
add rcx, qword [rsi + 0x2e0]
mov rax, qword [rcx + 8]
mov rdx, qword [rsi + 0x2d0]
cmp rax, rdx
je 0x1400c7885
mov rcx, qword [rcx]
cmp ebx, dword [rax + 0x10]
je 0x1400c7856
cmp rax, rcx
je 0x1400c7885
mov rax, qword [rax + 8]
cmp ebx, dword [rax + 0x10]
jne 0x1400c7848
test rax, rax
cmove rax, rdx
cmp rax, rdx
je 0x1400c7885
add rax, 0x18
lea rcx, [rsp + 0x20]
cmp rcx, rax
je 0x1400c7885
mov r8, qword [rax]
mov rdx, qword [r8]
lea rcx, [rsp + 0x20]
call fcn.1400b4740
mov r8, qword [rsp + 0x20]
mov rbx, qword [r8]
cmp rbx, r8
je 0x1400c78d3
lea rdx, [rbx + 0x10]
lea rcx, [rsp + 0x30]
call fcn.1400b9710
cmp dword [rsp + 0x14c], edi
jne 0x1400c78ae
cmp dword [rsp + 0x150], 1
je 0x1400c78c5
lea rcx, [rsp + 0x30]
call fcn.1400bac20
mov rax, qword [rbx]
mov rbx, rax
cmp rax, qword [rsp + 0x20]
jmp 0x1400c788b
mov bpl, 1
lea rcx, [rsp + 0x30]
call fcn.1400bac20
nop
lea rcx, [rsp + 0x20]
call fcn.1400ba970
movzx eax, bpl
jmp 0x1400c78e5
xor al, al
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.1401a9440
mov rbx, qword [rsp + 0x1b0]
add rsp, 0x170
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret

Function at 0x1400c9b70
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
cmp qword [rdx + 0x18], 8
mov rdi, rdx
mov qword [rsp + 0x20], rdx
mov rcx, rdx
jb 0x1400c9b8f
mov rcx, qword [rdx]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
mov rcx, rdi
setne bl
call fcn.1400272a0
movzx eax, bl
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x1400c9bb0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x1402be5c8]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rbx, rdx
mov qword [rsp + 0x40], rdx
cmp qword [rdx + 0x18], 8
jb 0x1400c9bdb
mov rdx, qword [rdx]
xor eax, eax
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 7
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x1400c9c00
lea rcx, [rsp + 0x20]
call fcn.140018360
lea rcx, [rsp + 0x20]
cmp qword [rsp + 0x38], 8
cmovae rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
cmp eax, 0xffffffff
jne 0x1400c9c38
xor dil, dil
jmp 0x1400c9c40
shr dil, 4
and dil, 1
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x1400c9c7f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c9c79
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400c9caa
call fcn.1401a9460
nop
mov rcx, rbx
call fcn.1400272a0
test dil, dil
je 0x1400c9c90
mov al, 1
jmp 0x1400c9c92
xor al, al
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1401a9440
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
call fcn.1401e37cc
nop
Function at 0x1400dde50
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x90
mov rax, qword [0x1402be5c8]
xor rax, rsp
mov qword [rsp + 0x80], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 0x2001f
xor r8d, r8d
lea rdx, str.SOFTWAREAUEP
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
test eax, eax
jne 0x1400ddf33
mov dword [rsp + 0x70], 4
lea rax, [rsp + 0x70]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x74]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
mov r9d, 0x10
lea r8, str.InstallAnalyticsStatus
lea rdx, [0x14022de70]
mov rbx, qword [rsp + 0x68]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov edx, dword [rsp + 0x74]
mov ecx, 0xffffffff
test eax, eax
cmovne edx, ecx
cmp edx, 1
sete dil
test rbx, rbx
je 0x1400ddf0a
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx eax, dil
jmp 0x1400ddf12
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1401a9440
mov rbx, qword [rsp + 0xa0]
add rsp, 0x90
pop rdi
ret
call fcn.140015e70
mov r8, rax
lea r9, str.Unable_to_open_registry_key
mov edx, ebx
lea rcx, [rsp + 0x40]
call fcn.140045e00
lea rdx, [0x1402b97a8]
lea rcx, [rsp + 0x40]
call fcn.1401cf69c
int3
Function at 0x1400ddf70
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x1402be5c8]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rsi, rcx
mov rax, qword [rcx]
mov r8, qword [rax]
mov qword [r8 + 0x40], rdx
lea rcx, [rsp + 0x40]
call fcn.1400f2510
mov rbx, rax
mov rdx, qword [rsi]
mov rdi, qword [rdx]
add rdi, 0x70
xor ebp, ebp
cmp rdi, rax
je 0x1400ddfe3
mov rcx, rdi
call fcn.1400272a0
movups xmm0, xmmword [rbx]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rdi + 0x10], xmm1
mov qword [rbx + 0x10], rbp
mov qword [rbx + 0x18], 7
mov word [rbx], bp
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x1400de025
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400de020
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400de0da
call fcn.1401a9460
mov rbx, qword [rsi]
mov rcx, qword [rbx]
cmp byte [rcx + 0x10], 0
je 0x1400de039
mov rax, qword [rcx]
call qword [rax]
mov rbx, qword [rsi]
mov ecx, 8
call fcn.1401a9704
test rax, rax
je 0x1400de04d
mov qword [rax], rbx
jmp 0x1400de050
mov rax, rbp
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ebp
mov r9, rax
lea r8, [0x1400d4870]
xor edx, edx
xor ecx, ecx
call fcn.1401e90b4
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1400de0cb
cmp dword [rsp + 0x38], 0
je 0x1400de0e0
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call fcn.1401adedc
test eax, eax
jne 0x1400de0c3
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1401a9440
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
mov ecx, eax
call fcn.1401ac6fc
nop
mov dword [rsp + 0x38], ebp
mov ecx, 6
call fcn.1401ac738
nop
call fcn.1401e37cc
nop
mov ecx, 1
call fcn.1401ac738
int3
mov rdx, qword [rdx]
add rcx, 8
jmp 0x1400ddf70
Function at 0x1400de660
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0xc0
mov rax, qword [0x1402be5c8]
xor rax, rsp
mov qword [rsp + 0xb0], rax
xor sil, sil
mov byte [rsp + 0x40], sil
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x20], rax
mov r9d, 0x2001f
xor r8d, r8d
lea rdx, str.SOFTWAREAMD
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
test eax, eax
jne 0x1400de778
mov rdi, qword [rsp + 0xa0]
mov qword [rsp + 0x48], rdi
mov dword [rsp + 0xa8], 4
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0xac]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
mov r9d, 0x10
lea r8, str.UseLocalErrorStrings
lea rdx, [0x14022de70]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov ebx, eax
test eax, eax
jne 0x1400de7a6
movzx ebx, sil
mov eax, 1
cmp dword [rsp + 0xac], 0
cmovne ebx, eax
mov byte [rsp + 0x40], bl
test rdi, rdi
je 0x1400de749
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
jmp 0x1400de750
movzx eax, bl
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.1401a9440
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
call fcn.140015e70
nop
mov r8, rax
lea r9, str.Unable_to_open_registry_key
mov edx, ebx
lea rcx, [rsp + 0x50]
call fcn.140045e00
lea rdx, [0x1402b97a8]
lea rcx, [rsp + 0x50]
call fcn.1401cf69c
nop
call fcn.140015e70
mov r8, rax
lea r9, str.Unable_to_get_registry_value
mov edx, ebx
lea rcx, [rsp + 0x78]
call fcn.140045e00
lea rdx, [0x1402b97a8]
lea rcx, [rsp + 0x78]
call fcn.1401cf69c
int3
Function at 0x1400dfb30
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rax, qword [0x1402be5c8]
xor rax, rsp
mov qword [rsp + 0x28], rax
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0
mov rcx, rax
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov edi, 1
cmp dword [rsp + 0x20], edi
jle 0x1400dfbb2
lea rbx, [rax + 8]
nop dword [rax]
nop dword [rax + rax]
mov rcx, qword [rbx]
lea rdx, [0x140242e70]
call fcn.1401df1d0
test eax, eax
je 0x1400dfbd3
mov rcx, qword [rbx]
lea rdx, str._UPDATECHKFRMCN
call fcn.1401df1d0
test eax, eax
je 0x1400dfbcc
inc edi
add rbx, 8
cmp edi, dword [rsp + 0x20]
jl 0x1400dfb80
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1401a9440
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
mov eax, 1
jmp 0x1400dfbb4
mov eax, 2
jmp 0x1400dfbb4
Function at 0x1400dfbe0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
mov r15, rdx
lea r14, [rdx - 1]
mov rdi, rcx
xor r12d, r12d
nop word [rax + rax]
mov rsi, r12
mov rbp, r12
test r14, r14
je 0x1400dfdf6
mov rdx, qword [rdi + 8]
nop dword [rax]
nop word [rax + rax]
lea ecx, [rdx + 0xff]
shl rsi, cl
add rsi, rsi
nop dword [rax]
mov r10, qword [rdi]
mov ecx, dword [r10]
cmp ecx, 0x270
jne 0x1400dfca4
lea rax, [r10 + 8]
mov r9d, ecx
nop word [rax + rax]
mov r8d, dword [rax - 4]
xor r8d, dword [rax]
lea rax, [rax + 4]
btr r8d, 0x1f
xor r8d, dword [rax - 8]
mov ecx, r8d
and cl, 1
neg cl
sbb edx, edx
shr r8d, 1
and edx, 0x9908b0df
xor edx, dword [rax + 0x62c]
xor edx, r8d
mov dword [rax + 0x9b8], edx
sub r9, 1
jne 0x1400dfc60
mov ecx, dword [r10]
jmp 0x1400dfd87
cmp ecx, 0x4e0
jb 0x1400dfd87
lea r11, [r10 + 0x9c4]
mov ebx, 0xe3
mov eax, dword [r11]
nop
mov edx, eax
lea r8, [r11 + 4]
xor edx, dword [r8]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, edx
xor ecx, dword [r11 + 0x634]
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x1400dfcc0
lea r11, [r10 + 0xd50]
mov ebx, 0x18c
mov eax, dword [r11]
nop word [rax + rax]
mov edx, eax
lea r8, [r11 + 4]
xor edx, dword [r8]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 - 0xd4c]
xor ecx, edx
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x1400dfd10
mov edx, dword [r10 + 0x1380]
xor edx, dword [r10 + 4]
btr edx, 0x1f
xor edx, dword [r10 + 0x1380]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 + 0x634]
xor ecx, edx
mov dword [r10 + 0x9c0], ecx
mov ecx, r12d
mov dword [r10], r12d
mov eax, ecx
mov edx, dword [r10 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r10], eax
mov ecx, edx
mov eax, dword [r10 + 0x1384]
mov r8, qword [rdi + 0x10]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and edx, 0xffffdf8c
shl edx, 0xf
mov ecx, edx
xor rcx, rax
mov rax, rcx
shr rax, 0x12
xor rax, rcx
cmp rax, r8
ja 0x1400dfc40
mov rdx, qword [rdi + 8]
or rsi, rax
lea ecx, [rdx + 0xff]
shl rbp, cl
add rbp, rbp
or rbp, r8
cmp rbp, r14
jb 0x1400dfc30
xor edx, edx
mov rax, rbp
div r15
mov rcx, rax
mov r8, rdx
xor edx, edx
mov rax, rsi
div r15
cmp rax, rcx
jb 0x1400dfe1a
cmp r8, r14
jne 0x1400dfc10
mov rbx, qword [rsp + 0x20]
mov rax, rsi
mov rbp, qword [rsp + 0x28]
xor edx, edx
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
div r15
mov rax, rdx
pop r15
pop r14
pop r12
ret
Function at 0x1400edb80
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
push r14
sub rsp, 0xc0
mov rax, qword [0x1402be5c8]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov rbx, rcx
mov qword [rsp + 0x40], rcx
lea rax, [r11 - 0x28]
mov qword [rsp + 0x20], rax
mov r9d, 0x2001f
xor r8d, r8d
lea rdx, str.SYSTEMCurrentControlSetControlSecureBootState
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
test eax, eax
jne 0x1400edcef
mov rdi, qword [rsp + 0xa0]
mov qword [rsp + 0x48], rdi
mov dword [rsp + 0xa8], 4
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0xac]
mov qword [rsp + 0x28], rax
xor r14d, r14d
mov qword [rsp + 0x20], r14
lea r9d, [r14 + 0x10]
lea r8, str.UEFISecureBootEnabled
lea rdx, [0x14022de70]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov esi, eax
test eax, eax
jne 0x1400edd1c
mov qword [rbx], r14
cmp dword [rsp + 0xac], 1
jne 0x1400edc87
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], 7
mov word [rbx], r14w
mov r8d, 2
lea rdx, [0x1402413f4]
mov rcx, rbx
call fcn.140018360
nop
test rdi, rdi
je 0x1400edc82
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, rbx
jmp 0x1400edcc5
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], 7
mov word [rbx], r14w
mov r8d, 3
lea rdx, [0x140241400]
mov rcx, rbx
call fcn.140018360
nop
test rdi, rdi
je 0x1400edcbb
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, rbx
jmp 0x1400edcc5
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.1401a9440
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
call fcn.140015e70
mov r8, rax
lea r9, str.Unable_to_open_registry_key
mov edx, edi
lea rcx, [rsp + 0x50]
call fcn.140045e00
lea rdx, [0x1402b97a8]
lea rcx, [rsp + 0x50]
call fcn.1401cf69c
nop
call fcn.140015e70
mov r8, rax
lea r9, str.Unable_to_get_registry_value
mov edx, esi
lea rcx, [rsp + 0x78]
call fcn.140045e00
lea rdx, [0x1402b97a8]
lea rcx, [rsp + 0x78]
call fcn.1401cf69c
int3
Function at 0x140105010
Capabilities:
Modify service

Disassembly:
push rbx
push rsi
push r15
sub rsp, 0x80
mov rax, qword [0x1402be5c8]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov r15d, edx
mov qword [rsp + 0x60], rcx
mov rbx, rcx
lea rdx, str.ServicesActive
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rsi, rax
test rax, rax
jne 0x140105065
mov rcx, rbx
call fcn.1400272a0
mov eax, 0xffffffff
jmp 0x140105149
cmp qword [rbx + 0x18], 8
mov rdx, rbx
mov qword [rsp + 0xb8], rdi
jb 0x14010507a
mov rdx, qword [rbx]
mov r8d, 0xf003f
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rdi, rax
test rax, rax
jne 0x1401050ac
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rbx
call fcn.1400272a0
mov eax, 0xffffffff
jmp 0x140105141
mov qword [rsp + 0xb0], rbp
lea r9, [rsp + 0x60]
mov qword [rsp + 0x78], r12
xor r8d, r8d
xor r12d, r12d
mov qword [rsp + 0x70], r14
xor edx, edx
mov dword [rsp + 0x60], r12d
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_QueryServiceConfigW]
mov edx, dword [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rbp, rax
test rax, rax
je 0x140105110
mov r8d, dword [rsp + 0x60]
lea r9, [rsp + 0x60]
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_QueryServiceConfigW]
mov rcx, rbp
test eax, eax
jne 0x140105162
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rbx
call fcn.1400272a0
mov eax, 0xffffffff
mov r12, qword [rsp + 0x78]
mov rbp, qword [rsp + 0xb0]
mov r14, qword [rsp + 0x70]
mov rdi, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1401a9440
add rsp, 0x80
pop r15
pop rsi
pop rbx
ret
mov r14d, dword [rbp + 4]
call qword [sym.imp.KERNEL32.dll_LocalFree]
cmp r14d, r15d
je 0x1401051b1
mov qword [rsp + 0x50], r12
mov r9d, 0xffffffff
mov qword [rsp + 0x48], r12
mov r8d, r15d
mov qword [rsp + 0x40], r12
mov edx, r9d
mov qword [rsp + 0x38], r12
mov rcx, rdi
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
call qword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
test eax, eax
je 0x140105110
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rbx
call fcn.1400272a0
mov eax, r14d
jmp 0x14010512f