joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14002be60
Capabilities:
Query service status

Disassembly:
push rbx
sub rsp, 0x160
mov rax, qword [0x1401c7808]
xor rax, rsp
mov qword [rsp + 0x158], rax
lea rax, [rsp + 0x150]
mov qword [rsp + 0x20], rax
mov r9d, 0x24
mov r8, rdx
xor edx, edx
mov rcx, qword [rcx + 8]
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
jne 0x14002bf48
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov edx, 1
lea rcx, [rsp + 0x30]
call fcn.140018940
xor eax, eax
mov qword [rsp + 0x138], rax
mov qword [rsp + 0x140], 7
mov word [rsp + 0x128], ax
lea rdx, str.Cannot_query_service_state_0x
lea rcx, [rsp + 0x40]
call fcn.140019950
mov rcx, qword [rsp + 0x40]
movsxd rax, dword [rcx + 4]
lea rcx, [rsp + 0x58]
add rcx, rax
mov eax, dword [rcx]
and eax, 0xfffff9ff
bts eax, 0xb
mov dword [rcx], eax
mov edx, ebx
lea rcx, [rsp + 0x40]
call fcn.14002a6c0
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
mov eax, dword [rsp + rcx + 0x58]
and eax, 0xfffff3ff
bts eax, 9
mov dword [rsp + rcx + 0x58], eax
lea rcx, [rsp + 0x40]
call fcn.140018b30
nop
lea rcx, [rsp + 0x30]
call fcn.140017b70
mov eax, ebx
jmp 0x14002bf4a
xor eax, eax
mov rcx, qword [rsp + 0x158]
xor rcx, rsp
call fcn.14013b830
add rsp, 0x160
pop rbx
ret

Function at 0x14002bf70
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x1401c7808]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rdi, rcx
mov rax, qword gs:[0x58]
mov rdx, qword [rax]
mov ecx, 0x264
mov eax, dword [rcx + rdx]
mov r8d, 0x260
test al, 1
jne 0x14002bfba
or eax, 1
mov dword [rcx + rdx], eax
lea rcx, [rdx + r8]
call fcn.14000f490
nop
cmp byte [rdx + r8 + 1], 0
je 0x14002c000
lea rdx, str.Waiting_for_the_pending_service_stop...
lea rbx, [0x1401d8ef0]
mov rcx, rbx
call fcn.1400157b0
mov rax, qword [0x1401d8ef0]
movsxd rcx, dword [rax + 4]
add rcx, rbx
mov dl, 0xa
call fcn.140017280
movzx edx, al
mov rcx, rbx
call fcn.140017120
mov rcx, rbx
call fcn.140014f70
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, eax
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.14002be60
cmp dword [rsp + 0x24], 1
je 0x14002c083
nop dword [rax]
mov eax, 0xcccccccd
mul dword [rsp + 0x38]
shr edx, 3
mov ecx, edx
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.14002be60
test eax, eax
jne 0x14002c085
cmp dword [rsp + 0x24], 1
je 0x14002c077
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, ebx
cmp eax, 0x7530
ja 0x14002c064
cmp dword [rsp + 0x24], 1
jne 0x14002c020
jmp 0x14002c083
lea rcx, str.Service_stop_timed_out._n
call fcn.140017a60
mov eax, 0x41d
jmp 0x14002c085
lea rcx, str.Service_stopped_successfully._n
call fcn.140017a60
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14013b830
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x14002ce50
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x40
mov rax, qword [0x1401c7808]
xor rax, rsp
mov qword [rsp + 0x38], rax
xor ebp, ebp
mov qword [rsp + 0x50], rbx
mov edi, ebp
lea r14, [0x1401d96a0]
lea rsi, [0x1401c7a08]
nop dword [rax + rax]
mov rcx, qword [rdi + r14]
cmp byte [rcx + 0x41], 2
jne 0x14002cf5e
cmp qword [rcx + 0x20], 8
lea rdx, [rcx + 8]
mov qword [rsp + 0x30], rbp
jb 0x14002ceb1
mov rdx, qword [rdx]
mov rcx, qword [rcx]
lea rax, [rsp + 0x30]
mov r9d, 0x1000b
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov rcx, qword [rsp + 0x30]
mov ebx, eax
test eax, eax
jne 0x14002ceeb
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_RegDeleteTreeW]
mov rcx, qword [rsp + 0x30]
mov ebx, eax
test eax, eax
je 0x14002cf53
test rcx, rcx
je 0x14002cef6
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp ebx, 2
jne 0x14002cf2a
mov rcx, qword [0x1401c7a08]
cmp rcx, rsi
je 0x14002cf5e
test dword [rcx + 0x44], 0x8000
je 0x14002cf5e
cmp byte [rcx + 0x41], bl
jb 0x14002cf5e
mov rcx, qword [rcx + 0x38]
lea edx, [rbx + 8]
lea r8, [0x14018e878]
call fcn.140008930
jmp 0x14002cf5e
mov rcx, qword [0x1401c7a08]
cmp rcx, rsi
je 0x14002cf5e
test dword [rcx + 0x44], 0x8000
je 0x14002cf5e
cmp byte [rcx + 0x41], 2
jb 0x14002cf5e
mov rcx, qword [rcx + 0x38]
mov r9d, ebx
call fcn.14002cde0
jmp 0x14002cf5e
test rcx, rcx
je 0x14002cf5e
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
add rdi, 8
cmp rdi, 0x60
jb 0x14002ce90
mov rbx, qword [rsp + 0x50]
xor eax, eax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14013b830
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x14002cfa0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
mov rax, qword [0x1401c7808]
xor rax, rsp
mov qword [rsp + 0x68], rax
xor ebp, ebp
mov edi, ebp
mov qword [rsp + 0x50], rbp
lea rax, [0x1401d96a0]
mov r12, qword [rdi + rax]
movzx eax, byte [r12 + 0x40]
dec al
test al, 0xfd
jne 0x14002d12b
mov qword [rsp + 0x58], rbp
lea rdx, [r12 + 8]
cmp qword [rdx + 0x18], 8
jb 0x14002d003
mov rdx, qword [rdx]
mov qword [rsp + 0x40], rbp
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], ebp
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [r12]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov esi, eax
test eax, eax
jne 0x14002d16b
mov rbx, qword [r12 + 0x28]
mov r13, qword [r12 + 0x30]
cmp rbx, r13
je 0x14002d11b
cmp byte [r12 + 0x40], 3
jne 0x14002d099
mov dword [rsp + 0x64], ebp
mov dword [rsp + 0x60], ebp
mov rcx, qword [rbx]
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
call qword [0x14015a890]
mov rdx, rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbp
lea r9, [rsp + 0x64]
xor r8d, r8d
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x14002d109
mov rax, qword [rbx]
mov rdx, qword [rax]
mov rdi, rdx
mov r15, rax
mov rcx, rax
mov rax, qword [rdx + 8]
call qword [0x14015a890]
mov r14, rax
mov rcx, r15
mov rax, qword [rdi]
call qword [0x14015a890]
mov rbp, rax
mov rcx, r15
mov rax, qword [rdi + 0x10]
call qword [0x14015a890]
mov edi, eax
mov rdx, qword [r15]
mov rcx, r15
mov rax, qword [rdx + 0x18]
call qword [0x14015a890]
mov rdx, rax
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], rbp
mov r9d, edi
xor r8d, r8d
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
test eax, eax
jne 0x14002d16b
xor ebp, ebp
add rbx, 8
cmp rbx, r13
jne 0x14002d050
mov rdi, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14002d12b
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
add rdi, 8
mov qword [rsp + 0x50], rdi
cmp rdi, 0x60
jb 0x14002cfd4
xor eax, eax
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14013b830
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
call fcn.14002ce50
nop
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14002d181
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x14002d140
Function at 0x14002d620
Capabilities:
Check if file exists
Delete file

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
xor edi, edi
mov rbx, rcx
cmp qword [rcx + 0x18], 8
jb 0x14002d639
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14002d6e3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp eax, 2
jne 0x14002d6a7
xor edi, edi
mov rcx, qword [0x1401c7a08]
lea rax, [0x1401c7a08]
cmp rcx, rax
je 0x14002d6e3
test dword [rcx + 0x44], 0x100
je 0x14002d6e3
cmp byte [rcx + 0x41], 4
jb 0x14002d6e3
cmp qword [rbx + 0x18], 8
jb 0x14002d682
mov rbx, qword [rbx]
mov rcx, qword [rcx + 0x38]
lea r8, [0x14018e970]
mov edx, 0xa
mov r9, rbx
call fcn.14001a220
mov eax, edi
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
mov rcx, qword [0x1401c7a08]
lea rax, [0x1401c7a08]
cmp rcx, rax
je 0x14002d6e3
test dword [rcx + 0x44], 0x100
je 0x14002d6e3
cmp byte [rcx + 0x41], 2
jb 0x14002d6e3
cmp qword [rbx + 0x18], 8
jb 0x14002d6d3
mov rbx, qword [rbx]
mov rcx, qword [rcx + 0x38]
mov r9, rbx
mov dword [rsp + 0x20], edi
call fcn.14002d330
mov rbx, qword [rsp + 0x40]
mov eax, edi
add rsp, 0x30
pop rdi
ret
Function at 0x14002fa90
Capabilities:
Compare security identifiers

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
lea rsi, [rcx + 8]
mov rdi, rdx
test rsi, rsi
je 0x14002fafb
lea rbx, [rdx + 8]
test rbx, rbx
je 0x14002fafb
cmp byte [rcx + 0x4c], 0
je 0x14002fafb
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_IsValidSid]
test eax, eax
je 0x14002fafb
cmp byte [rdi + 0x4c], 0
je 0x14002fafb
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_IsValidSid]
test eax, eax
je 0x14002fafb
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
setne al
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x30]
xor al, al
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140034060
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x60
mov rbx, rcx
mov qword [rsp + 0x38], rcx
cmp dword [rcx + 0x50], 0
je 0x1400340ba
lea rax, [0x1401c7a08]
mov rcx, qword [0x1401c7a08]
cmp rcx, rax
je 0x1400340af
test dword [rcx + 0x1c], 0x400
je 0x1400340af
cmp byte [rcx + 0x19], 3
jb 0x1400340af
mov edx, 0xa
lea r8, [0x14015d698]
mov rcx, qword [rcx + 0x10]
call fcn.140008930
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov rdx, rax
lea rcx, [rbx + 0x60]
call fcn.14003f910
lea rcx, [rbx + 0x60]
call fcn.14003f8f0
cmp rax, 0xffffffffffffffff
je 0x140034175
lea rcx, [rbx + 0x60]
call fcn.14003f8f0
test rax, rax
je 0x140034175
mov rcx, qword [rbx + 8]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x14015a890]
mov ecx, 0x10
call fcn.14013bb30
test rax, rax
je 0x140034127
mov qword [rax], rbx
lea rcx, [0x140033c30]
mov qword [rax + 8], rcx
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x140033410]
xor edx, edx
xor ecx, ecx
call fcn.140107f48
mov qword [rsp + 0x40], rax
test rax, rax
je 0x1400341d3
cmp dword [rbx + 0x50], 0
jne 0x1400341cd
movaps xmm0, xmmword [rsp + 0x40]
movups xmmword [rbx + 0x48], xmm0
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rax, [0x1401c7a08]
mov rcx, qword [0x1401c7a08]
cmp rcx, rax
je 0x1400341b7
test dword [rcx + 0x1c], 0x400
je 0x1400341b7
cmp byte [rcx + 0x19], 2
jb 0x1400341b7
mov edx, 0xb
mov r9d, ebx
lea r8, [0x14015d698]
mov rcx, qword [rcx + 0x10]
call fcn.140008960
mov dword [rsp + 0x30], ebx
lea rdx, [0x1401bf168]
lea rcx, [rsp + 0x30]
call fcn.14012eb70
nop
call fcn.140107de0
nop
mov dword [rsp + 0x48], 0
mov ecx, 6
call fcn.14013d538
int3
Function at 0x1400402d0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x50
mov rsi, rdx
mov rdi, rcx
mov r8, qword [rdx]
test r8, r8
jne 0x14004033e
lea rax, [0x1401c7a08]
mov rcx, qword [0x1401c7a08]
cmp rcx, rax
je 0x1400403ca
test dword [rcx + 0x1c], 0x200
je 0x1400403ca
cmp byte [rcx + 0x19], 3
jb 0x1400403ca
lea edx, [r8 + 0xa]
lea r8, [0x14015f7e0]
mov rcx, qword [rcx + 0x10]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
jmp fcn.140008930
cmp byte [rcx + 0x120], 0
je 0x140040391
lea rax, [0x1401c7a08]
mov rcx, qword [0x1401c7a08]
cmp rcx, rax
je 0x1400403ca
test dword [rcx + 0x1c], 0x200
je 0x1400403ca
cmp byte [rcx + 0x19], 3
jb 0x1400403ca
mov edx, 0xb
mov r9d, dword [r8 + 8]
lea r8, [0x14015f7e0]
mov rcx, qword [rcx + 0x10]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
jmp fcn.140040790
lea rbx, [rcx + 0x30]
mov qword [rsp + 0x40], rbx
mov rcx, rbx
call fcn.14013e760
test eax, eax
jne 0x1400404c0
mov rax, qword [rsi]
cmp qword [rdi + 0x28], 0
je 0x1400403da
lea rcx, [rdi + 8]
lea rdx, [rax + 8]
call fcn.1400406c0
nop
mov rcx, rbx
call fcn.14013e784
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
mov edx, dword [rax + 8]
mov rcx, rdi
call fcn.14003fc00
test al, al
jne 0x1400403c2
cmp dword [rdi + 0x130], 0
je 0x14004042d
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [rdi + 0x130], eax
je 0x1400404c8
movups xmm0, xmmword [rdi + 0x128]
movaps xmmword [rsp + 0x30], xmm0
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.14013d160
test eax, eax
jne 0x1400404d3
xorps xmm0, xmm0
movups xmmword [rdi + 0x128], xmm0
mov rdx, qword [rsi]
add rdx, 8
lea rcx, [rdi + 8]
call fcn.1400406c0
mov ecx, 0x10
call fcn.14013bb30
xor esi, esi
test rax, rax
je 0x14004045e
mov qword [rax], rdi
lea rcx, [0x140040120]
mov qword [rax + 8], rcx
jmp 0x140040461
mov rax, rsi
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], esi
mov r9, rax
lea r8, [0x140033410]
xor edx, edx
xor ecx, ecx
call fcn.140107f48
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1400404b1
cmp dword [rdi + 0x130], 0
jne 0x1400404ab
movaps xmm0, xmmword [rsp + 0x30]
movups xmmword [rdi + 0x128], xmm0
jmp 0x1400403c2
call fcn.140107de0
nop
mov dword [rsp + 0x38], esi
mov ecx, 6
call fcn.14013d538
nop
mov ecx, eax
call fcn.14013d4fc
nop
mov ecx, 5
call fcn.14013d538
int3
mov ecx, 2
call fcn.14013d538
int3
Function at 0x140042960
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov rdi, r8
mov r14, rdx
mov rbp, rcx
cmp qword [r8 + 0x18], 8
jb 0x140042987
mov r8, qword [r8]
movabs rbx, 0xcbf29ce484222325
mov rdx, qword [rdi + 0x10]
add rdx, rdx
mov r13d, 0
mov ecx, r13d
je 0x1400429c4
movabs r9, 0x100000001b3
nop dword [rax]
movzx eax, byte [rcx + r8]
xor rbx, rax
imul rbx, r9
inc rcx
cmp rcx, rdx
jb 0x1400429b0
mov r9, rbx
mov r8, rdi
lea rdx, [rsp + 0x20]
mov rcx, rbp
call fcn.140042880
mov rax, qword [rsp + 0x28]
test rax, rax
je 0x1400429ed
mov qword [r14], rax
mov byte [r14 + 8], r13b
jmp 0x140042b94
movabs rax, 0x38e38e38e38e38e
cmp qword [rbp + 0x10], rax
je 0x140042baf
lea r12, [rbp + 8]
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x38], r13
lfence
mov ecx, 0x48
call fcn.14013bb30
mov rsi, rax
mov qword [rsp + 0x38], rax
mov rdx, rdi
lea rcx, [rax + 0x10]
call fcn.140018d60
mov qword [rsi + 0x30], r13
mov qword [rsi + 0x38], r13
mov qword [rsi + 0x40], r13
mov r9, qword [rbp + 0x10]
lea rcx, [r9 + 1]
movss xmm3, dword [rbp]
xorps xmm0, xmm0
test rcx, rcx
js 0x140042a58
cvtsi2ss xmm0, rcx
jmp 0x140042a6d
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rdi, qword [rbp + 0x38]
xorps xmm2, xmm2
test rdi, rdi
js 0x140042a80
cvtsi2ss xmm2, rdi
jmp 0x140042a98
mov rcx, rdi
shr rcx, 1
mov rax, rdi
and eax, 1
or rcx, rax
cvtsi2ss xmm2, rcx
addss xmm2, xmm2
movaps xmm1, xmm0
divss xmm1, xmm2
comiss xmm1, xmm3
seta al
test al, al
je 0x140042b38
divss xmm0, xmm3
call fcn.14010ebc0
xor ecx, ecx
movss xmm1, dword [0x14015d514]
comiss xmm0, xmm1
jb 0x140042adb
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x140042adb
movabs rax, 0x8000000000000000
mov rcx, rax
cvttss2si rax, xmm0
add rax, rcx
mov ecx, 8
cmp rax, rcx
cmova rcx, rax
cmp rdi, rcx
jae 0x140042b0d
cmp rdi, 0x200
jae 0x140042b0a
lea rdi, [rdi*8]
cmp rdi, rcx
jae 0x140042b0d
mov rdi, rcx
mov rdx, rdi
mov rcx, rbp
call fcn.1400434f0
mov r9, rbx
lea r8, [rsi + 0x10]
lea rdx, [rsp + 0x40]
mov rcx, rbp
call fcn.140042880
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x20], xmm0
mov r9, qword [rbp + 0x10]
mov rdx, qword [rsp + 0x20]
mov r8, qword [rdx + 8]
lea rax, [r9 + 1]
mov qword [rbp + 0x10], rax
mov qword [rsi], rdx
mov qword [rsi + 8], r8
mov qword [r8], rsi
mov qword [rdx + 8], rsi
mov rcx, qword [rbp + 0x18]
mov rax, qword [rbp + 0x30]
and rax, rbx
add rax, rax
mov r9, qword [rcx + rax*8]
cmp r9, qword [r12]
jne 0x140042b75
mov qword [rcx + rax*8], rsi
jmp 0x140042b87
cmp r9, rdx
jne 0x140042b80
mov qword [rcx + rax*8], rsi
jmp 0x140042b8c
cmp qword [rcx + rax*8 + 8], r8
jne 0x140042b8c
mov qword [rcx + rax*8 + 8], rsi
mov qword [r14], rsi
mov byte [r14 + 8], 1
mov rax, r14
mov rbx, qword [rsp + 0xa8]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rcx, str.unordered_map_set_too_long
call fcn.14013d0c0
int3
Function at 0x140054840
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov eax, dword [rcx]
mov r10d, 0x270
mov r9, rcx
cmp eax, r10d
jne 0x14005489e
lea r8, [rcx + 8]
nop dword [rax]
nop dword [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r10, 1
jne 0x140054860
jmp 0x140054982
cmp eax, 0x4e0
jb 0x140054982
lea r10, [rcx + 0x9c4]
mov r11d, 0xe3
nop word [rax + rax]
mov edx, dword [r10]
xor edx, dword [r10 + 4]
lea r10, [r10 + 4]
btr edx, 0x1f
xor edx, dword [r10 - 4]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 + 0x630]
xor ecx, edx
mov dword [r10 - 0x9c4], ecx
sub r11, 1
jne 0x1400548c0
lea r10, [r9 + 0xd50]
mov r11d, 0x18c
nop word [rax + rax]
mov edx, dword [r10]
xor edx, dword [r10 + 4]
lea r10, [r10 + 4]
btr edx, 0x1f
xor edx, dword [r10 - 4]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 - 0xd50]
xor ecx, edx
mov dword [r10 - 0x9c4], ecx
sub r11, 1
jne 0x140054910
mov edx, dword [r9 + 0x1380]
xor edx, dword [r9 + 4]
btr edx, 0x1f
xor edx, dword [r9 + 0x1380]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
mov dword [r9], r11d
mov eax, dword [r9]
mov edx, dword [r9 + rax*4 + 4]
inc eax
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 0x1384]
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 eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
ret

Function at 0x140080700
Capabilities:
Delete registry value

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x1401c7808]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, r8
lea rax, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
call fcn.140080960
test eax, eax
jne 0x140080751
mov rcx, qword [rsp + 0x30]
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov rcx, qword [rsp + 0x30]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14013b830
add rsp, 0x40
pop rbx
ret
Function at 0x140080770
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rbp
push rsi
push r14
push r15
sub rsp, 0x60
mov rax, qword [0x1401c7808]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rbp, qword [rsp + 0xb0]
lea rax, [rsp + 0x38]
mov rsi, qword [rsp + 0xb8]
mov r15, r9
mov r14, r8
mov qword [rsp + 0x20], rax
xor ebx, ebx
mov r9d, 0x20019
xor r8d, r8d
mov dword [rsp + 0x30], ebx
call fcn.140080960
test eax, eax
jne 0x1400808f7
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov r9, r15
xor r8d, r8d
mov qword [rsp + 0x20], rbx
mov rdx, r14
mov qword [rsp + 0x58], rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edi, dword [rsp + 0x30]
mov ebx, eax
test rbp, rbp
je 0x140080808
cmp dword [rsi], edi
jae 0x140080808
mov ebx, 0xea
jmp 0x1400808e5
test eax, eax
jne 0x1400808e5
test rbp, rbp
je 0x1400808e3
mov r8d, dword [rsi]
xor edx, edx
mov rcx, rbp
call fcn.14012f310
inc edi
mov ecx, edi
mov dword [rsp + 0x30], edi
call fcn.140107ca8
mov rdi, rax
test rax, rax
je 0x1400808dc
mov r8d, dword [rsp + 0x30]
xor edx, edx
mov rcx, rax
call fcn.14012f310
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov r9, r15
xor r8d, r8d
mov qword [rsp + 0x20], rdi
mov rdx, r14
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ebx, eax
test eax, eax
jne 0x1400808d2
mov r8d, dword [rsi]
xor edx, edx
mov rcx, rbp
call fcn.14012f310
mov r14d, dword [rsp + 0x30]
mov eax, dword [rsi]
mov r8d, r14d
test r14d, r14d
je 0x1400808cf
mov rcx, rbp
cmp rax, r14
jb 0x1400808b0
mov rdx, rdi
call fcn.14012ec40
mov rcx, rdi
mov dword [rsi], r14d
call fcn.140107c94
jmp 0x1400808e5
mov r8, rax
xor edx, edx
call fcn.14012f310
call fcn.140107c6c
mov dword [rax], 0x22
call fcn.140107af8
mov r14d, dword [rsp + 0x30]
mov dword [rsi], r14d
mov rcx, rdi
call fcn.140107c94
jmp 0x1400808e5
mov ebx, 0x7a
jmp 0x1400808e5
mov dword [rsi], edi
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdi, qword [rsp + 0x58]
mov eax, ebx
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14013b830
add rsp, 0x60
pop r15
pop r14
pop rsi
pop rbp
pop rbx
ret
Function at 0x140080a80
Capabilities:
Set registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x60
mov rax, qword [0x1401c7808]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov esi, dword [rsp + 0xd0]
lea rax, [rsp + 0x50]
mov rdi, qword [rsp + 0xc0]
mov r12d, r9d
mov r15, r8
mov qword [rsp + 0x20], rax
mov r9d, esi
xor r8d, r8d
mov r14, rdx
mov rbp, rcx
call fcn.140080960
mov ebx, eax
test eax, eax
je 0x140080b0d
xor ecx, ecx
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rcx
or esi, 2
mov qword [rsp + 0x38], rax
xor r9d, r9d
mov qword [rsp + 0x30], rcx
xor r8d, r8d
mov dword [rsp + 0x28], esi
mov rdx, r14
mov dword [rsp + 0x20], ecx
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov ebx, eax
test eax, eax
jne 0x140080b45
test rdi, rdi
je 0x140080b38
mov eax, dword [rsp + 0xc8]
mov r9d, r12d
mov rcx, qword [rsp + 0x50]
xor r8d, r8d
mov dword [rsp + 0x28], eax
mov rdx, r15
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ebx, eax
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14013b830
add rsp, 0x60
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret