joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180053830
Capabilities:
Check os version
Get system information on windows

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x190
mov rax, qword [0x1801060b8]
xor rax, rsp
mov qword [rsp + 0x180], rax
mov dword [rsp + 0x20], 0
lea rax, [rsp + 0x60]
mov rdi, rax
xor eax, eax
mov ecx, 0x11c
rep stosb byte [rdi], al
lea rax, [rsp + 0x28]
mov rdi, rax
xor eax, eax
mov ecx, 0x30
rep stosb byte [rdi], al
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov dword [rsp + 0x60], 0x11c
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [rsp + 0x64], 6
jne 0x1800538da
cmp dword [rsp + 0x68], 0
je 0x1800538ac
cmp dword [rsp + 0x68], 1
jne 0x1800538da
movzx eax, byte [rsp + 0x17a]
cmp eax, 1
je 0x1800538da
movzx eax, word [rsp + 0x28]
cmp eax, 9
jne 0x1800538cd
mov dword [rsp + 0x20], 0xa
jmp 0x1800538d5
mov dword [rsp + 0x20], 9
jmp 0x180053a7d
cmp dword [rsp + 0x64], 6
jne 0x180053916
cmp dword [rsp + 0x68], 1
jne 0x180053916
movzx eax, byte [rsp + 0x17a]
cmp eax, 1
jne 0x180053916
movzx eax, word [rsp + 0x28]
cmp eax, 9
jne 0x180053909
mov dword [rsp + 0x20], 2
jmp 0x180053911
mov dword [rsp + 0x20], 1
jmp 0x180053a7d
cmp dword [rsp + 0x64], 6
jne 0x180053952
cmp dword [rsp + 0x68], 2
jne 0x180053952
movzx eax, byte [rsp + 0x17a]
cmp eax, 1
je 0x180053952
movzx eax, word [rsp + 0x28]
cmp eax, 9
jne 0x180053945
mov dword [rsp + 0x20], 0xc
jmp 0x18005394d
mov dword [rsp + 0x20], 0xb
jmp 0x180053a7d
cmp dword [rsp + 0x64], 6
jne 0x18005398e
cmp dword [rsp + 0x68], 2
jne 0x18005398e
movzx eax, byte [rsp + 0x17a]
cmp eax, 1
jne 0x18005398e
movzx eax, word [rsp + 0x28]
cmp eax, 9
jne 0x180053981
mov dword [rsp + 0x20], 4
jmp 0x180053989
mov dword [rsp + 0x20], 3
jmp 0x180053a7d
cmp dword [rsp + 0x64], 6
jne 0x1800539ca
cmp dword [rsp + 0x68], 3
jne 0x1800539ca
movzx eax, byte [rsp + 0x17a]
cmp eax, 1
jne 0x1800539ca
movzx eax, word [rsp + 0x28]
cmp eax, 9
jne 0x1800539bd
mov dword [rsp + 0x20], 6
jmp 0x1800539c5
mov dword [rsp + 0x20], 5
jmp 0x180053a7d
cmp dword [rsp + 0x64], 6
jne 0x180053a03
cmp dword [rsp + 0x68], 3
jne 0x180053a03
movzx eax, byte [rsp + 0x17a]
cmp eax, 1
je 0x180053a03
movzx eax, word [rsp + 0x28]
cmp eax, 9
jne 0x1800539f9
mov dword [rsp + 0x20], 0xc
jmp 0x180053a01
mov dword [rsp + 0x20], 0xb
jmp 0x180053a7d
cmp dword [rsp + 0x64], 0xa
jne 0x180053a3c
cmp dword [rsp + 0x68], 0
jne 0x180053a3c
movzx eax, byte [rsp + 0x17a]
cmp eax, 1
je 0x180053a3c
movzx eax, word [rsp + 0x28]
cmp eax, 9
jne 0x180053a32
mov dword [rsp + 0x20], 0xe
jmp 0x180053a3a
mov dword [rsp + 0x20], 0xd
jmp 0x180053a7d
cmp dword [rsp + 0x64], 0xa
jne 0x180053a75
cmp dword [rsp + 0x68], 0
jne 0x180053a75
movzx eax, byte [rsp + 0x17a]
cmp eax, 1
jne 0x180053a75
movzx eax, word [rsp + 0x28]
cmp eax, 9
jne 0x180053a6b
mov dword [rsp + 0x20], 8
jmp 0x180053a73
mov dword [rsp + 0x20], 7
jmp 0x180053a7d
mov dword [rsp + 0x20], 0
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.180099a00
add rsp, 0x190
pop rdi
ret
Function at 0x180062740
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
xor eax, eax
test eax, eax
jne 0x18006274e
mov rax, qword [rsp + 0x50]
cmp qword [rax + 0x10], 0
je 0x18006278a
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x28], rax
mov r8, qword [rsp + 0x58]
mov rax, qword [rsp + 0x50]
mov rdx, qword [rax]
mov rcx, qword [rsp + 0x28]
call fcn.180062f80
jmp 0x180062818
movzx eax, byte [0x18010bfc0]
test eax, eax
jne 0x1800627cf
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1800627c8
lea rdx, str.RegDeleteKeyExW
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x18010bfb8], rax
mov byte [0x18010bfc0], 1
cmp qword [0x18010bfb8], 0
je 0x180062804
mov rax, qword [0x18010bfb8]
mov qword [rsp + 0x30], rax
xor r9d, r9d
mov rax, qword [rsp + 0x50]
mov r8d, dword [rax + 8]
mov rdx, qword [rsp + 0x58]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax]
call qword [rsp + 0x30]
jmp 0x180062818
mov rdx, qword [rsp + 0x58]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
nop
add rsp, 0x48
ret

Function at 0x180062b20
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [0x1801060b8]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor eax, eax
test eax, eax
jne 0x180062b47
mov rax, qword [rsp + 0x78]
mov eax, dword [rax]
shl rax, 1
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x78]
mov dword [rax], 0
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x38]
xor r8d, r8d
mov rdx, qword [rsp + 0x68]
mov rax, qword [rsp + 0x60]
mov rcx, qword [rax]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x180062ba9
mov eax, dword [rsp + 0x30]
jmp 0x180062c33
cmp dword [rsp + 0x38], 1
je 0x180062bbe
cmp dword [rsp + 0x38], 2
je 0x180062bbe
mov eax, 0xd
jmp 0x180062c33
cmp qword [rsp + 0x70], 0
je 0x180062c1c
cmp dword [rsp + 0x34], 0
je 0x180062c08
mov eax, dword [rsp + 0x34]
xor edx, edx
mov ecx, 2
div rcx
mov rax, rdx
test rax, rax
jne 0x180062bff
mov eax, dword [rsp + 0x34]
xor edx, edx
mov ecx, 2
div rcx
mov rcx, qword [rsp + 0x70]
movzx eax, word [rcx + rax*2 - 2]
test eax, eax
je 0x180062c06
mov eax, 0xd
jmp 0x180062c33
jmp 0x180062c1c
mov eax, 2
imul rax, rax, 0
xor ecx, ecx
mov rdx, qword [rsp + 0x70]
mov word [rdx + rax], cx
mov eax, dword [rsp + 0x34]
xor edx, edx
mov ecx, 2
div rcx
mov rcx, qword [rsp + 0x78]
mov dword [rcx], eax
xor eax, eax
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.180099a00
add rsp, 0x58
ret
Function at 0x180062c50
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x290
mov rax, qword [0x1801060b8]
xor rax, rsp
mov qword [rsp + 0x280], rax
lea rax, [rsp + 0x58]
mov rdi, rax
xor eax, eax
mov ecx, 0x18
rep stosb byte [rdi], al
mov qword [rsp + 0x58], 0
mov dword [rsp + 0x60], 0
mov qword [rsp + 0x68], 0
mov rax, qword [rsp + 0x2a0]
mov eax, dword [rax + 8]
or eax, 0x2001f
mov r9d, eax
mov r8, qword [rsp + 0x2a8]
mov rax, qword [rsp + 0x2a0]
mov rdx, qword [rax]
lea rcx, [rsp + 0x58]
call fcn.1800629e0
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
je 0x180062cf5
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x44], eax
lea rcx, [rsp + 0x58]
call fcn.180062250
mov eax, dword [rsp + 0x44]
jmp 0x180062dd9
mov dword [rsp + 0x70], 0x100
lea rax, [rsp + 0x78]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x70]
lea r8, [rsp + 0x80]
xor edx, edx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x180062d82
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x58]
call fcn.180062c50
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
je 0x180062d75
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x48], eax
lea rcx, [rsp + 0x58]
call fcn.180062250
mov eax, dword [rsp + 0x48]
jmp 0x180062dd9
mov dword [rsp + 0x70], 0x100
jmp 0x180062cfd
mov dword [rsp + 0x4c], 0
cmp qword [rsp + 0x58], 0
je 0x180062daa
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [rsp + 0x4c], eax
mov qword [rsp + 0x58], 0
mov dword [rsp + 0x60], 0
mov rdx, qword [rsp + 0x2a8]
mov rcx, qword [rsp + 0x2a0]
call fcn.180062740
mov dword [rsp + 0x50], eax
lea rcx, [rsp + 0x58]
call fcn.180062250
mov eax, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.180099a00
add rsp, 0x290
pop rdi
ret

Function at 0x180062f80
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [rsp + 0x60]
cmp qword [rax], 0
je 0x180063016
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x180062fbf
mov eax, 1
jmp 0x180063038
lea rdx, str.RegDeleteKeyTransactedW
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x180063014
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x28], 0
mov rax, qword [rsp + 0x60]
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x68]
call qword [rsp + 0x40]
jmp 0x180063038
jmp 0x180063033
mov rax, qword [rsp + 0x60]
cmp dword [rax + 8], 0
je 0x180063033
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jmp 0x180063038
mov eax, 1
add rsp, 0x58
ret
Function at 0x180063150
Capabilities:
Set registry value

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
xor eax, eax
test eax, eax
jne 0x180063168
cmp qword [rsp + 0x70], 0
je 0x180063180
mov dword [rsp + 0x30], 1
jmp 0x180063188
mov dword [rsp + 0x30], 0
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jne 0x18006319e
mov eax, 0xd
jmp 0x180063202
xor eax, eax
test eax, eax
jne 0x18006316e
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0xffffffffffffffff
inc qword [rsp + 0x38]
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x38]
cmp word [rax + rcx*2], 0
jne 0x1800631b7
mov rax, qword [rsp + 0x38]
inc eax
mov eax, eax
shl rax, 1
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x78]
xor r8d, r8d
mov rdx, qword [rsp + 0x68]
mov rax, qword [rsp + 0x60]
mov rcx, qword [rax]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add rsp, 0x58
ret

Function at 0x180063210
Capabilities:
Start service

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x60]
add rax, 0x10
mov rcx, rax
call fcn.1800027f0
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 8]
mov qword [rsp + 0x38], rax
mov r8d, 0xf01ff
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov qword [rsp + 0x28], rax
mov byte [rsp + 0x21], 0
cmp qword [rsp + 0x28], 0
je 0x1800632a3
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
je 0x18006328a
mov byte [rsp + 0x20], 1
jmp 0x18006328f
mov byte [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
mov byte [rsp + 0x21], al
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
movzx eax, byte [rsp + 0x21]
add rsp, 0x58
ret
Function at 0x1800632b0
Capabilities:
Stop service

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x70
mov rax, qword [0x1801060b8]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x80]
add rax, 0x10
mov rcx, rax
call fcn.1800027f0
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 8]
mov qword [rsp + 0x38], rax
mov r8d, 0xf01ff
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov qword [rsp + 0x28], rax
mov byte [rsp + 0x20], 0
cmp qword [rsp + 0x28], 0
je 0x180063382
lea rax, [rsp + 0x48]
mov rdi, rax
xor eax, eax
mov ecx, 0x1c
rep stosb byte [rdi], al
lea r8, [rsp + 0x48]
mov edx, 1
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x180063366
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x426
je 0x180063366
mov dword [rsp + 0x24], 0
jmp 0x18006336e
mov dword [rsp + 0x24], 1
movzx eax, byte [rsp + 0x24]
mov byte [rsp + 0x20], al
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
movzx eax, byte [rsp + 0x20]
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.180099a00
add rsp, 0x70
pop rdi
ret
Function at 0x1800633a0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xc8
mov rax, qword [0x1801060b8]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xd0]
cmp qword [rax + 0x68], 0
je 0x1800633dd
mov rax, qword [rsp + 0xd0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x1800633e4
mov al, 1
jmp 0x180063579
mov rax, qword [rsp + 0xd0]
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x68], rax
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x38], 0xffffffff
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0xd0]
call qword [rsp + 0x68]
mov dword [rsp + 0x44], eax
mov dword [rsp + 0x48], 0xffffffff
mov eax, dword [rsp + 0x44]
cmp dword [rsp + 0x48], eax
jne 0x180063438
mov dword [rsp + 0x3c], 1
jmp 0x180063440
mov dword [rsp + 0x3c], 0
movzx eax, byte [rsp + 0x3c]
mov byte [rsp + 0x30], al
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x180063459
xor al, al
jmp 0x180063579
mov qword [rsp + 0x78], 0x20
mov rax, qword [rsp + 0xd0]
mov rax, qword [rax + 0x68]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov rax, qword [rax]
mov rax, qword [rax + 0x40]
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0xa8]
mov rcx, qword [rsp + 0xd0]
add rcx, 0x74
lea rdx, [rsp + 0x80]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rsp + 0x88]
mov rdx, rcx
mov rcx, qword [rsp + 0x58]
call qword [rsp + 0x70]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
je 0x1800634de
cmp dword [rsp + 0x34], 1
je 0x1800634ea
cmp dword [rsp + 0x34], 3
je 0x180063567
jmp 0x180063577
mov rax, qword [rsp + 0xd0]
mov byte [rax + 0x71], 0
lea rax, [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
jbe 0x18006353e
mov rax, qword [rsp + 0xd0]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x50]
mov edx, 1
lea rcx, [rsp + 0x88]
call fcn.1800a76c8
cmp qword [rsp + 0x50], rax
je 0x18006353e
xor al, al
jmp 0x180063579
mov rax, qword [rsp + 0xd0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x180063558
mov dword [rsp + 0x40], 1
jmp 0x180063560
mov dword [rsp + 0x40], 0
movzx eax, byte [rsp + 0x40]
jmp 0x180063579
mov rax, qword [rsp + 0xd0]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x180063579
xor al, al
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.180099a00
add rsp, 0xc8
ret

Function at 0x1800647b0
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x30]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp], rax
mov rax, qword [rsp]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 0x10], rax
mov rax, qword [rsp]
movzx eax, word [rax + 6]
cmp qword [rsp + 0x38], rax
jae 0x180064813
imul rax, qword [rsp + 0x38], 0x28
mov rcx, qword [rsp + 0x10]
add rcx, rax
mov rax, rcx
mov qword [rsp + 8], rax
jmp 0x18006481c
mov qword [rsp + 8], 0
mov rax, qword [rsp + 8]
add rsp, 0x28
ret
Function at 0x180066b10
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x48
mov rax, qword [rsp + 0x60]
cmp qword [rax + 0x68], 0
je 0x180066b4a
mov r8, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
call fcn.18002fa50
jmp 0x180066c90
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 0x40]
cmp qword [rax], 0
je 0x180066b74
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 0x58]
mov eax, dword [rax]
mov dword [rsp + 0x20], eax
jmp 0x180066b7c
mov dword [rsp + 0x20], 0
movsxd rax, dword [rsp + 0x20]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x70], 0
jle 0x180066c39
cmp qword [rsp + 0x28], 0
jle 0x180066c39
mov rax, qword [rsp + 0x28]
cmp qword [rsp + 0x70], rax
jge 0x180066bb4
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 0x40]
mov rax, qword [rax]
mov qword [rsp + 0x30], rax
mov rdi, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x28]
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x68]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x70]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 0x58]
mov ecx, dword [rsp + 0x28]
mov eax, dword [rax]
sub eax, ecx
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx + 0x58]
mov dword [rcx], eax
movsxd rax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx + 0x40]
add rax, qword [rcx]
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx + 0x40]
mov qword [rcx], rax
cmp qword [rsp + 0x70], 0
jle 0x180066c80
mov rax, qword [rsp + 0x60]
cmp qword [rax + 0x80], 0
je 0x180066c80
mov rax, qword [rsp + 0x60]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x70]
mov edx, 1
mov rcx, qword [rsp + 0x68]
call fcn.1800a76c8
mov rcx, qword [rsp + 0x70]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x38]
sub rcx, rax
mov rax, rcx
add rsp, 0x48
pop rdi
pop rsi
ret

Function at 0x180066ff0
Capabilities:
Persist via windows service
Set registry value

Disassembly:
sub rsp, 0x58
mov rax, qword [0x1801060b8]
xor rax, rsp
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 2
xor r8d, r8d
lea rdx, str.SYSTEMCurrentControlSetServicesTcpipParameters
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x180067037
jmp 0x180067073
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.DisableTaskOffload
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [rsp + 0x30], eax
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.180099a00
add rsp, 0x58
ret
Function at 0x180067090
Capabilities:
Persist via windows service
Query or enumerate registry value
Set registry value

Disassembly:
sub rsp, 0x68
mov rax, qword [0x1801060b8]
xor rax, rsp
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 3
xor r8d, r8d
lea rdx, str.SYSTEMCurrentControlSetServicesTcpip6Parameters
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x1800670da
jmp 0x180067171
mov dword [rsp + 0x44], 4
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x48]
xor r8d, r8d
lea rdx, [0x1800d98d8]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jne 0x180067122
cmp dword [rsp + 0x44], 0
jne 0x18006712a
mov dword [rsp + 0x40], 0
mov eax, dword [rsp + 0x40]
or eax, 8
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.DisabledComponents
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [rsp + 0x30], eax
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.180099a00
add rsp, 0x68
ret
Function at 0x180067a90
Capabilities:
Delete service

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x60]
add rax, 0x10
mov rcx, rax
call fcn.1800027f0
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 8]
mov qword [rsp + 0x38], rax
mov r8d, 0xf01ff
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov qword [rsp + 0x28], rax
mov byte [rsp + 0x21], 0
cmp qword [rsp + 0x28], 0
je 0x180067b28
mov rcx, qword [rsp + 0x60]
call fcn.1800632b0
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
je 0x180067b0f
mov byte [rsp + 0x20], 1
jmp 0x180067b14
mov byte [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
mov byte [rsp + 0x21], al
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
movzx eax, byte [rsp + 0x21]
add rsp, 0x58
ret

Function at 0x1800699a0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xa0
mov rax, qword [0x1801060b8]
xor rax, rsp
mov qword [rsp + 0x98], rax
lea rax, [rsp + 0x90]
mov rdi, rax
xor eax, eax
mov ecx, 8
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x40], rax
mov r9, qword [rsp + 0x30]
mov r8, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x90]
call fcn.180069cc0
nop
lea rax, [0x180069830]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0xb0]
add rax, 8
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
xor edx, edx
xor ecx, ecx
call fcn.1800a8604
mov rcx, qword [rsp + 0xb0]
mov qword [rcx], rax
mov rax, qword [rsp + 0xb0]
cmp qword [rax], 0
je 0x180069ae4
mov qword [rsp + 0x60], 0
lea rax, [rsp + 0x90]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov rax, qword [rax]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x60]
mov qword [rax], rcx
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x88], rax
jmp 0x180069afe
mov rax, qword [rsp + 0xb0]
mov dword [rax + 8], 0
mov ecx, 6
call fcn.1800758bc
nop
lea rcx, [rsp + 0x90]
call fcn.180069e30
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.180099a00
add rsp, 0xa0
pop rdi
ret

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

Disassembly:
lea r9, [rdx + rdx]
movabs r8, 0xcbf29ce484222325
xor edx, edx
test r9, r9
je 0x18007b906
movzx eax, byte [rdx + rcx]
movabs r10, 0x100000001b3
xor r8, rax
inc rdx
imul r8, r10
cmp rdx, r9
jb 0x18007b8e9
mov rax, r8
ret
sub r8, rdx
mov rcx, rdx
sar r8, 1
mov rdx, r8
jmp 0x18007b8d4