joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1404b7058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1404b71df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x1404b7089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1404b706f
add dl, dl
jne 0x1404b7096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1404b70f6
xor eax, eax
add dl, dl
jne 0x1404b70a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1404b71ad
add dl, dl
jne 0x1404b70b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1404b70c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1404b70d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1404b70dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1404b70ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1404b707e
mov eax, 1
add dl, dl
jne 0x1404b7106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1404b7113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1404b70fb
sub eax, ebx
mov ebx, 1
jne 0x1404b714c
mov ecx, 1
add dl, dl
jne 0x1404b712e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1404b713b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1404b7123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1404b707e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1404b7168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1404b7175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1404b715d
cmp eax, 0x7d00
jae 0x1404b719b
cmp eax, 0x500
jb 0x1404b7196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1404b707e
cmp eax, 0x7f
ja 0x1404b719e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1404b707e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1404b71d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x1404b707e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140001230
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rdi, rcx
mov qword [rsp + 0x30], rcx
xor ebp, ebp
mov dword [rsp + 0x20], ebp
lea r14d, [rbp + 4]
mov rax, qword gs:[0x58]
mov rsi, qword [rax]
mov r15d, 0x20
mov eax, dword [r15 + rsi]
mov r12d, 0x30
test al, 1
jne 0x1400012c9
or eax, 1
mov dword [r15 + rsi], eax
mov ebx, r12d
add rbx, rsi
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov edx, eax
mov dword [rbx + 0x1384], 0xffffffff
mov dword [rbx + 4], eax
lea ecx, [rbp + 1]
lea r8, [rbx + 8]
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, ecx
mov dword [r8], edx
inc rcx
lea r8, [r8 + 4]
cmp rcx, 0x270
jb 0x1400012a1
mov dword [rbx], 0x270
mov eax, dword [r15 + rsi]
mov ecx, 0x10
test al, 2
jne 0x1400012ea
or eax, 2
mov dword [r15 + rsi], eax
mov qword [rsi + rcx], rbp
mov qword [rsi + rcx + 8], 0xf
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rbp
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
mov dword [rsp + 0x20], 1
lea r15, [rsi + rcx]
mov ebx, r12d
add rbx, rsi
lea r12, str.0123456789ABCDEF
nop dword [rax + rax]
dec r14
mov qword [rsp + 0x28], rbx
mov rbp, qword [r15]
mov rdx, qword [r15 + 8]
sub rdx, rbp
cmp rdx, 0xffffffffffffffff
jne 0x140001355
mov rcx, rbx
call fcn.14000f870
mov esi, eax
shl rsi, 0x20
mov rcx, rbx
call fcn.14000f870
mov eax, eax
or rsi, rax
jmp 0x140001365
inc rdx
lea rcx, [rsp + 0x28]
call fcn.14000f6c0
mov rsi, rax
lea rax, [rsi + rbp]
movzx r9d, byte [rax + r12]
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
cmp rcx, rdx
jae 0x14000139a
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0xf
jbe 0x14000138f
mov rax, qword [rdi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x1400013a2
mov rcx, rdi
call fcn.14000f060
test r14, r14
jne 0x140001320
mov rax, rdi
mov rbx, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x14000f870
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r9, rcx
mov r10d, 0x270
mov ecx, dword [rcx]
cmp ecx, r10d
jne 0x14000f8d1
lea r8, [r9 + 8]
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 0x14000f890
mov ecx, dword [r9]
jmp 0x14000f9b8
cmp ecx, 0x4e0
jb 0x14000f9b8
lea r10, [r9 + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r11d, dword [r10 + 4]
mov edx, r11d
lea r10, [r10 + 4]
xor edx, eax
btr edx, 0x1f
xor edx, eax
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 rbx, 1
jne 0x14000f8f0
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop dword [rax + rax]
mov eax, r11d
mov r11d, dword [r10 + 4]
mov edx, r11d
lea r10, [r10 + 4]
xor edx, eax
btr edx, 0x1f
xor edx, eax
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 rbx, 1
jne 0x14000f940
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, eax
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
xor ecx, ecx
mov dword [r9], ecx
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
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
add rsp, 8
ret

Function at 0x140010534
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14001057e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14001057e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14001057e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14001057e
cmp dword [rcx + 0x84], 0xe
jbe 0x14001057e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140010580
xor al, al
add rsp, 0x28
ret
Function at 0x140014000
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rsi
nop
mov qword [rsp - 8], rdi
jmp 0x140014075
sub edx, 0x27454d39
add edx, 0x41d68e19
xor edx, 0x13976f6d
sub edx, 0x2f6737eb
xor edx, 0x28573ded
xor r9d, ecx
jmp 0x1400140e5
mov edx, 0x5bf3f31
add edx, 0x3e421046
add edx, 0x2d34c2b6
sub edx, 0x479e3853
jmp 0x140014010
mov rdi, qword [rsp]
add rsp, 8
jmp fcn.140014000
mov rdi, qword [rsp + 0x30]
xchg rdi, rbx
mov rsi, qword [rsp + 0x38]
mov dword [rsp - 0x30], esi
jmp 0x140014107
sub rsp, 8
neg rsp
sub rsp, 0xffffffffffffffe0
neg rsp
xchg rdx, r13
mov rsi, r13
xchg r13, rdx
jmp 0x1400140b0
mov dword [rsp - 0x28], 0x5ca28d28
xor ecx, eax
call fcn.140014840
shr edi, 5
shr edi, 2
shr edi, 1
mov r8d, ebx
jmp 0x140014117
mov edi, ecx
cmp r8d, 1
jae 0x14001412f
xchg r12, r12
mov eax, r8d
xchg rbx, r8
mov qword [rsp + 0x30], r8
jmp 0x1400140f3
shr eax, 1
mov dword [rsp - 0x2c], esi
and ecx, 1
neg ecx
and ecx, 0xedb88320
jmp 0x140014091
mov r15, r15
movzx eax, r9b
mov ecx, eax
jmp 0x1400140cf
xchg rbx, r8
lea ebx, [r8 + 1]
xchg rbp, rbp
movsx r9d, byte [rax + rdx]
jmp 0x140014036
neg rsp
add rsp, 0xffffffffffffffe0
neg rsp
nop
jmp 0x140014052
xor eax, edi
xchg rcx, rsi
mov rdx, rcx
xchg rsi, rcx
mov ecx, eax
mov r10, r10
xchg rdi, rbx
jmp 0x14001405f
mov rsi, qword [rsp + 0x38]
xchg r10, r10
mov eax, edi
neg rsp
jmp 0x140014141
add rsp, 0xffffffffffffffe0
neg rsp
nop
add rsp, 8
jmp 0x140014152
mov rdi, qword [rsp - 8]
ret
Function at 0x14008a8d0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
xchg r8, r8
nop
mov qword [rsp - 8], rsi
sub rsp, 8
neg rsp
jmp 0x14008a904
call fcn.1400df5c0
test eax, eax
mov dword [rsp - 0x30], 0x78f72f6e
jne 0x14008ab1b
jmp 0x14008aa7a
sub rsp, 0xfffffffffffffea0
neg rsp
mov rax, qword [0x140248220]
jmp 0x14008a96c
sub cl, 0x53
jmp 0x14008ab1d
xchg r15, rax
mov rsi, r15
xchg r15, rax
test rax, rax
mov dword [rsp - 0x38], ebx
jmp 0x14008a986
xor rax, 0x50dd0ea
sub rax, 0x19bf7184
xor rax, 0x49ba13fa
add rax, 0x7fffffff
add rax, 0x2d776cf5
nop dword [rax]
jmp 0x14008aa07
xchg rcx, r14
mov r14, rsi
xchg r14, rcx
xor edi, edi
jmp 0x14008aa93
xor rax, rsp
xchg r15, r15
xchg r9, rax
mov qword [rsp + 0x150], r9
xchg r9, rax
xchg rbx, r8
jmp 0x14008aa40
je 0x14008ab82
xor edx, edx
xchg r9, rdi
jmp 0x14008aab9
jb 0x14008aae0
xchg r8, rcx
mov r8, qword [rbx]
jmp 0x14008aadd
add dword [rsp + 0x20], 0x5017949f
add dword [rsp + 0x20], 0x2b70c3b4
xor dword [rsp + 0x20], 0x7fec846e
jmp 0x14008a95c
sub r8d, 0x5c193821
add r8d, 0x3946208d
sub r8d, 0x3aa31a64
add r8d, 0x2290fe1c
jmp 0x14008aaf6
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x6dec7e1
xor dword [rsp + 0x20], 0x6d519d64
sub dword [rsp + 0x20], 0x672b2d7a
jmp 0x14008a9a7
inc rax
mov dword [rsp - 0x1c], 0x48b316b6
cmp byte [rcx + rax], 0
jne 0x14008aa07
cmp qword [rbx + 0x18], 0x10
mov dword [rsp - 0x18], ecx
jmp 0x14008aa2a
xchg rcx, r15
mov r15, rbx
xchg rcx, r15
mov r8, qword [rbx + 0x10]
mov dword [rsp - 0x24], esp
jmp 0x14008a996
mov r8, rdx
xchg rbx, r8
xor edx, edx
lea ecx, [rdx + 2]
xchg r12, r12
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
jmp 0x14008a922
nop
movabs rax, 0xffffffff3b488a31
sub rax, 0xf217a3c
add rax, 0x4c5b690a
sub rax, 0x46865660
jmp 0x14008a935
mov cl, 0x2a
add cl, 0x4e
sub cl, 2
xor cl, 0x14
sub cl, 0x1e
sub cl, 0xb
xor cl, 0x6d
jmp 0x14008a91a
call sub.KERNEL32.dll_Process32First
mov dword [rsp - 0x28], ebp
test eax, eax
je 0x14008ab9d
nop dword [rax]
lea rcx, [rsp + 0x4c]
mov dword [rsp - 0x10], 0x238d3df5
jmp 0x14008aa58
mov qword [rsp + 0x170], r9
xchg rdi, r9
mov r8d, 0x23c60879
add r8d, 0x5bdf468d
sub r8d, 0x66b7df1
jmp 0x14008a9c4
xchg rcx, r8
cmp r8, rax
jne 0x14008ab1b
xchg rbp, rbp
lea rdx, [rsp + 0x4c]
jmp 0x14008a8ea
add r8d, 0x33158cce
sub r8d, 0x716a28db
lea rcx, [rsp + 0x24]
call fcn.1400df070
mov dword [rsp - 0x34], 0x2a9e8994
jmp 0x14008a9e5
xor cl, cl
test cl, cl
xchg rcx, rcx
jmp 0x14008abab
nop
mov rsi, qword [rsp]
add rsp, 8
ret
xor rcx, rsp
call fcn.1400dc920
mov dword [rsp - 0x3c], ebx
mov rbx, qword [rsp + 0x178]
add rsp, 0x160
jmp 0x14008ab27
xchg rsi, r8
cmove eax, edi
mov r10, r10
mov edi, eax
call sub.KERNEL32.dll_Process32Next
test eax, eax
jmp 0x14008ab8f
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
mov dword [rsp - 0x34], ecx
xchg rdi, r10
mov r10, qword [rsp + 0x170]
xchg rdi, r10
mov rcx, qword [rsp + 0x150]
jmp 0x14008ab31
jne 0x14008aaa7
mov dword [rsp - 0x34], 0x739dee88
xchg rdx, rsi
mov rcx, rdx
xchg rdx, rsi
jmp 0x14008ab68
lea eax, [rdi + 1]
lea rdx, [rsp + 0x20]
xchg rsi, r8
mov rcx, r8
jmp 0x14008ab51
Function at 0x140099ec0
Capabilities:
Create thread

Disassembly:
push rbx
nop
add rsp, 0x28b0e343
sub rsp, 0x28b0e393
mov rax, qword [0x140248220]
xor rax, rsp
jmp 0x140099f05
nop
mov rbx, qword [rsp]
add rsp, 8
ret
lea rcx, [0x140099180]
xchg rcx, r10
mov qword [rax + 8], r10
xchg rcx, r10
mov qword [rsp + 0x40], rax
jmp 0x14009a073
mov dword [rsp - 0x24], edi
mov qword [rsp + 0x48], rax
xchg rsi, rcx
mov rbx, rsi
jmp 0x14009a05a
xchg rcx, rsi
xor rcx, rsp
call fcn.1400dc920
sub rsp, 0xffffffffffffffb0
mov rsi, rsi
jmp 0x140099ee0
xchg rbp, rbx
movups xmmword [rbp + 0x1b0], xmm0
xchg rbx, rbp
cmp dword [rbx + 0x1b8], 0
jmp 0x140099f49
mov dword [rsp - 0x14], 0x55276db4
je 0x14009a140
movaps xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x30]
call fcn.1400dbacc
mov dword [rsp - 0x24], 0x4a85dde3
test eax, eax
jmp 0x140099f97
sub ecx, 0x1c7664d9
add ecx, 0x5acf0e7d
sub ecx, 0x5e451807
call fcn.1400dc7cc
test rax, rax
mov r11, r11
jmp 0x14009a009
jne 0x14009a121
xorps xmm0, xmm0
xchg rsp, rbx
movups xmmword [rsp + 0x1b0], xmm0
xchg rbx, rsp
xchg rsi, rcx
mov rsi, qword [rsp + 0x48]
jmp 0x140099f19
xor edx, edx
mov dword [rsp - 0x28], 0x3eafcee4
xor ecx, ecx
call fcn.1400ea1d8
mov qword [rsp + 0x30], rax
mov rdi, rdi
test rax, rax
jmp 0x14009a03a
sub dword [rsp + 0x20], 0x2a650210
add dword [rsp + 0x20], 0x435c4408
sub dword [rsp + 0x20], 0x5a909fe
sub dword [rsp + 0x20], 0x4f3f5f38
xor dword [rsp + 0x20], 0x76766647
jmp 0x14009a01d
je 0x140099efb
xchg rbx, rdi
mov qword [rax], rdi
xchg rbx, rdi
jmp 0x140099eea
sub dword [rsp + 0x20], 0x51c3d9e6
xchg r9, rsp
mov rsp, rax
xchg rsp, r9
lea r8, [0x140098d10]
jmp 0x140099fbb
je 0x14009a09e
cmp dword [rbx + 0x1b8], 0
xchg rbp, rbp
jne 0x14009a095
movaps xmm0, xmmword [rsp + 0x30]
jmp 0x140099f30
xchg rcx, rsi
mov ecx, 0xc28e91c
sub ecx, 0x8c51f81
add ecx, 0x1c88a4d8
jmp 0x140099f75
mov rbx, rbx
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0x133b6399
add dword [rsp + 0x20], 0x506b8346
jmp 0x140099fdc
call fcn.1400e9c38
xchg rdx, rdx
nop
mov dword [rsp + 0x38], 0x62f9286e
sub dword [rsp + 0x38], 0x1075f9f5
sub dword [rsp + 0x38], 0x519600f1
add dword [rsp + 0x38], 0x1a97adc5
jmp 0x14009a0f6
sub ecx, 0x2e6b0bff
sub ecx, 0x1aba5e55
add ecx, 0x1e3838c1
xor ecx, 0x37b68db5
sub ecx, 0xb35416c
sub ecx, 0x6cc89bac
jmp 0x14009a11b
mov dword [rsp - 0x40], ebx
call fcn.1400dbe2c
int3
add dword [rsp + 0x38], 0x16ad9d20
add dword [rsp + 0x38], 0x1f05cb90
sub dword [rsp + 0x38], 0x47577aa4
xor dword [rsp + 0x38], 0x1adb952a
jmp 0x14009a14a
call fcn.1400dbe68
int3
mov ecx, eax
jmp 0x14009a0ec
add ecx, 0x290b7e1f
add ecx, 0x7e23189
sub ecx, 0x31637634
call fcn.1400dbe68
nop
mov ecx, 0x6b38823f
jmp 0x14009a0c3
xor dword [rsp + 0x38], 0x133b5c73
mov ecx, 0x4529ce50
add ecx, 0x26e803c4
xor ecx, 0x6ffcb8cf
xor ecx, 0x5824b1db
xor ecx, 0x5bbc1d92
jmp 0x14009a128
Function at 0x1400a1a10
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
mov r9b, reloc.WS2_32.dll_select
test r8d, r8d
je 0x1400a1a34
nop word [rax + rax]
xor byte [rdx], r9b
lea ecx, [rax + 0xb]
add r9b, cl
lea rdx, [rdx + 1]
inc eax
cmp eax, r8d
jb 0x1400a1a20
ret

Function at 0x1400a2160
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub rsp, 0x28
cmp qword [rdx + 0x18], 8
jb 0x1400a216e
mov rdx, qword [rdx]
mov rcx, rdx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne al
add rsp, 0x28
ret

Function at 0x1400a28c0
Capabilities:
Modify service
Stop service

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x80
mov rsi, rcx
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
xor dil, dil
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov rbx, rax
test rax, rax
je 0x1400a297f
mov r8d, 0xf003f
mov rdx, rsi
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov rsi, rax
test rax, rax
je 0x1400a297f
mov qword [rsp + 0x90], rbp
lea r8, [rsp + 0x60]
mov ebp, 1
mov rcx, rax
mov edx, ebp
call qword [sym.imp.ADVAPI32.dll_ControlService]
xor eax, eax
lea r8d, [rbp + 3]
mov qword [rsp + 0x50], rax
mov edx, 0xffffffff
mov qword [rsp + 0x48], rax
mov r9d, edx
mov qword [rsp + 0x40], rax
mov rcx, rsi
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_ChangeServiceConfigA]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
cmp eax, ebp
movzx edi, dil
cmove edi, ebp
mov rbp, qword [rsp + 0x90]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
lea r11, [rsp + 0x80]
movzx eax, dil
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x1400a3080
Capabilities:
Get disk information
Get storage device properties

Disassembly:
mov rax, rsp
push rbx
sub rsp, 0x90
movsx ebx, cl
lea rcx, [rax + 8]
mov byte [rax + 8], bl
mov word [rax + 9], 0x5c3a
mov byte [rax + 0xb], 0
call qword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 6
ja case.0x1400a30c1.0
lea rcx, [0x140000000]
mov eax, eax
mov edx, dword [rcx + rax*4 + 0xa31d0]
add rdx, rcx
jmp rdx
mov eax, 3
add rsp, 0x90
pop rbx
ret
mov eax, dword [0x140110d50]
lea rcx, [rsp + 0x50]
movsd xmm0, qword [str..X:]
xor r9d, r9d
mov dword [rsp + 0x58], eax
xor edx, edx
movzx eax, word [0x140110d54]
mov qword [rsp + 0xb0], rdi
xor edi, edi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
movsd qword [rsp + 0x50], xmm0
lea r8d, [rdi + 3]
mov word [rsp + 0x5c], ax
mov word [rsp + 0x58], bx
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x38], rdi
lea r9d, [rdi + 0xc]
mov rbx, rax
mov qword [rsp + 0x44], rdi
lea rax, [rsp + 0xa8]
mov dword [rsp + 0x40], edi
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x40]
lea rax, [rsp + 0x60]
mov dword [rsp + 0x28], 0x28
mov edx, 0x2d1400
mov qword [rsp + 0x20], rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
mov rcx, rbx
cmovne edi, dword [rsp + 0x7c]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, 7
mov rdi, qword [rsp + 0xb0]
je case.0x1400a30c1.2
mov eax, 2
add rsp, 0x90
pop rbx
ret
mov eax, 1
add rsp, 0x90
pop rbx
ret
mov eax, 4
add rsp, 0x90
pop rbx
ret
mov eax, 5
add rsp, 0x90
pop rbx
ret
xor eax, eax
add rsp, 0x90
pop rbx
ret
Function at 0x1400af910
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov dword [rsp + 0x20], r9d
push rdi
sub rsp, 0x20
mov r11, rcx
movzx r10d, r8b
movabs rsi, 0x100000001b3
mov ebx, r9d
mov eax, r8d
movabs rbp, 0xcbf29ce484222325
xor r10, rbp
shr eax, 8
imul r10, rsi
movzx r9d, al
mov rdi, rdx
mov rdx, qword [r11 + 0x100e8]
xor r10, r9
imul r10, rsi
mov eax, r8d
shr eax, 0x10
movzx ecx, al
xor r10, rcx
mov eax, r8d
mov rcx, qword [r11 + 0x10110]
imul r10, rsi
shr rax, 0x18
xor r10, rax
imul r10, rsi
and rcx, r10
shl rcx, 4
add rcx, qword [r11 + 0x100f8]
mov rax, qword [rcx + 8]
cmp rax, rdx
je 0x1400afa80
mov rcx, qword [rcx]
cmp r8d, dword [rax + 0x10]
je 0x1400af9c5
cmp rax, rcx
je 0x1400afa80
mov rax, qword [rax + 8]
cmp r8d, dword [rax + 0x10]
jne 0x1400af9b2
test rax, rax
cmove rax, rdx
cmp rax, rdx
je 0x1400afa80
movzx ecx, byte [rsp + 0x49]
mov r11, qword [rax + 0x30]
mov r9, qword [rax + 0x20]
movzx r8d, bl
xor r8, rbp
imul r8, rsi
xor r8, rcx
movzx ecx, byte [rsp + 0x4a]
imul r8, rsi
xor r8, rcx
movzx ecx, byte [rsp + 0x4b]
imul r8, rsi
xor r8, rcx
imul r8, rsi
and r8, qword [rax + 0x48]
mov r10, r8
add r10, r10
mov rdx, qword [r11 + r10*8 + 8]
mov rcx, rdx
cmp rdx, r9
je 0x1400afa80
mov rax, qword [r11 + r10*8]
cmp ebx, dword [rdx + 0x10]
je 0x1400afa3e
nop dword [rax]
cmp rcx, rax
je 0x1400afa80
mov rcx, qword [rcx + 8]
cmp ebx, dword [rcx + 0x10]
jne 0x1400afa30
test rcx, rcx
cmove rcx, r9
cmp rcx, r9
je 0x1400afa80
add r8, r8
mov rax, qword [r11 + r8*8]
cmp ebx, dword [rdx + 0x10]
je 0x1400afa73
cmp rdx, rax
je 0x1400afa71
mov rdx, qword [rdx + 8]
cmp ebx, dword [rdx + 0x10]
jne 0x1400afa56
test rdx, rdx
cmove rdx, r9
add rdx, 0x18
jmp 0x1400afa85
xor edx, edx
test rdx, rdx
cmove rdx, r9
add rdx, 0x18
jmp 0x1400afa85
mov rdx, qword [rsp + 0x50]
mov rcx, rdi
call fcn.14001f170
mov rbx, qword [rsp + 0x30]
mov rax, rdi
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400b0f00
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rdi
sub rsp, 0x50
mov rsi, rcx
movzx r10d, dl
movabs r11, 0x100000001b3
mov eax, edx
shr eax, 8
movabs rdi, 0xcbf29ce484222325
xor r10, rdi
mov rbx, r9
imul r10, r11
mov r9d, r8d
movzx r8d, al
mov eax, edx
xor r10, r8
shr eax, 0x10
mov r8, qword [rsi + 0x100e8]
imul r10, r11
movzx ecx, al
xor r10, rcx
mov eax, edx
mov rcx, qword [rsi + 0x10110]
imul r10, r11
shr rax, 0x18
xor r10, rax
imul r10, r11
and rcx, r10
shl rcx, 4
add rcx, qword [rsi + 0x100f8]
mov rax, qword [rcx + 8]
cmp rax, r8
je 0x1400b1077
mov rcx, qword [rcx]
cmp edx, dword [rax + 0x10]
je 0x1400b0fb2
nop dword [rax]
cmp rax, rcx
je 0x1400b1077
mov rax, qword [rax + 8]
cmp edx, dword [rax + 0x10]
jne 0x1400b0fa0
test rax, rax
cmove rax, r8
cmp rax, r8
je 0x1400b1077
movzx ecx, byte [rsp + 0x71]
movzx r8d, r9b
xor r8, rdi
mov rdi, qword [rax + 0x30]
imul r8, r11
xor r8, rcx
movzx ecx, byte [rsp + 0x72]
imul r8, r11
xor r8, rcx
movzx ecx, byte [rsp + 0x73]
imul r8, r11
xor r8, rcx
imul r8, r11
mov r11, qword [rax + 0x20]
and r8, qword [rax + 0x48]
mov r10, r8
add r10, r10
mov rcx, qword [rdi + r10*8 + 8]
mov rdx, rcx
cmp rcx, r11
jne 0x1400b101e
add rax, 0x18
lea rdx, [rsp + 0x20]
mov rcx, rax
jmp 0x1400b1099
mov r10, qword [rdi + r10*8]
cmp r9d, dword [rcx + 0x10]
je 0x1400b1037
cmp rdx, r10
je 0x1400b1010
mov rdx, qword [rdx + 8]
cmp r9d, dword [rdx + 0x10]
jne 0x1400b1028
add rax, 0x18
test rdx, rdx
cmove rdx, r11
cmp rdx, r11
je 0x1400b1014
add r8, r8
mov rax, qword [rdi + r8*8]
cmp r9d, dword [rcx + 0x10]
je 0x1400b106e
cmp rcx, rax
je 0x1400b106c
mov rcx, qword [rcx + 8]
cmp r9d, dword [rcx + 0x10]
jne 0x1400b1054
test rcx, rcx
cmove rcx, r11
jmp 0x1400b10a6
xor ecx, ecx
test rcx, rcx
cmove rcx, r11
jmp 0x1400b10a6
lea rcx, [rsi + 0x100e0]
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x20]
call fcn.1400ab1b0
lea rdx, [rsp + 0x30]
mov rcx, qword [rax]
add rcx, 0x18
lea r8, [rsp + 0x70]
call fcn.1400aaf60
mov rcx, qword [rax]
add rcx, 0x18
cmp rcx, rbx
je 0x1400b10c5
cmp qword [rbx + 0x18], 0x10
mov rdx, rbx
mov r8, qword [rbx + 0x10]
jb 0x1400b10c0
mov rdx, qword [rbx]
call fcn.140018350
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.14001f170
mov r8d, dword [rsp + 0x70]
mov r9, rax
mov edx, dword [rsp + 0x68]
mov rcx, rsi
call fcn.1400afab0
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret