joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140018620
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
call fcn.140017260
mov ecx, dword [0x1400b6158]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
mov rbx, rax
je 0x1400185d8
test byte [rbx + 0x40], 0xc
jne 0x14001858f
mov eax, dword [0x1400e5d48]
test eax, eax
jne 0x1400185a0
add rsp, 0x28
pop rbx
pop rsi
ret
lea rsi, [rbx + 0x38]
mov rcx, rsi
call fcn.140016470
movzx eax, byte [rbx + 0x40]
test al, 3
je 0x1400185c3
mov edx, dword [rbx + 0x44]
test dl, 1
je 0x1400185c3
mov ecx, dword [rbx + 0x20]
test ecx, ecx
jle 0x1400185ec
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp fcn.140016760
call fcn.140017310
test rax, rax
mov rbx, rax
jne 0x14001857f
add rsp, 0x28
pop rbx
pop rsi
ret
mov rcx, qword [rbx + 0x30]
and eax, 0xfffffff3
and edx, 0xfffffffe
or eax, 4
mov dword [rbx + 0x44], edx
mov byte [rbx + 0x40], al
test rcx, rcx
je 0x14001860a
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov rcx, rsi
call fcn.140016760
call fcn.140018480
nop
nop dword [rax + rax]
push rdi
push rsi
push rbx
sub rsp, 0x20
test rcx, rcx
je 0x140018690
call fcn.140016230
mov rsi, rax
mov eax, 0xfffffffe
cmp rax, rsi
jb 0x1400186c8
call fcn.140017260
mov ecx, dword [0x1400b6158]
mov edi, esi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
mov rbx, rax
je 0x140018720
test esi, esi
je 0x1400186a6
call fcn.140018560
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x140018700
mov edx, edi
call fcn.1400162e0
call fcn.140018560
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.140017260
mov ecx, dword [0x1400b6158]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140018710
call fcn.140018560
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.140018560
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.140017260
mov ecx, dword [0x1400b6158]
mov edi, 0xffffffff
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
mov rbx, rax
jne 0x140018665
call fcn.140017310
mov rbx, rax
jmp 0x140018665
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14001867e
call fcn.140017310
jmp 0x1400186a6
call fcn.140017310
mov rbx, rax
jmp 0x140018661

Function at 0x140018730
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov esi, ecx
call fcn.140017260
mov ecx, dword [0x1400b6158]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
mov rbx, rax
je 0x1400187a0
test esi, esi
je 0x140018780
call fcn.140018560
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x1400187b0
mov edx, esi
call fcn.1400162e0
call fcn.140018560
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
ret
call fcn.140018560
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.140018560
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
ret
call fcn.140017310
mov rbx, rax
jmp 0x140018751
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14001876a
Function at 0x14007be40
Capabilities:
Read file on windows

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov r12, qword [sym.imp.msvcrt.dll__errno]
mov rdi, rcx
mov rsi, rdx
mov ebx, r8d
mov rcx, qword [rdi]
call sub.msvcrt.dll__fileno_1
mov ecx, eax
mov r8d, ebx
mov rdx, rsi
call sub.msvcrt.dll__read
cmp eax, 0xffffffff
movsxd rbp, eax
je 0x14007be88
mov rax, rbp
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
call r12
cmp dword [rax], 4
je 0x14007be5a
mov rax, rbp
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret

Function at 0x1400b4a20
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
sub rsp, 0x28
lea rcx, [0x1400e5030]
call fcn.1400aa710
lea rcx, [0x140001450]
add rsp, 0x28
jmp fcn.140001410
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x218
call fcn.14000a7b0
mov edx, 2
mov ecx, 4
mov rdi, qword [0x1400bf560]
lea rbx, [rsp + 0x30]
mov rax, qword [rdi]
mov qword [rsp + 0x208], rax
xor eax, eax
call fcn.1400b21f0
lea rdx, str.1.bin
mov rcx, rbx
mov r8d, eax
call fcn.14008ee60
mov rcx, rbx
call fcn.14008ed20
test al, al
jne 0x1400b4aa2
mov esi, 1
mov rcx, rbx
call fcn.14008f830
mov rax, qword [rsp + 0x208]
sub rax, qword [rdi]
jne 0x1400b4b4e
mov eax, esi
add rsp, 0x218
pop rbx
pop rsi
pop rdi
pop rbp
ret
lea rcx, [rsp + 0x20]
mov rdx, rbx
call fcn.140071c50
mov rcx, qword [rsp + 0x20]
mov r9d, 0x40
mov r8d, 0x3000
call fcn.140001460
xor ecx, ecx
mov rbp, rax
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
mov rsi, rax
je 0x1400b4b41
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.140071b40
mov r8, rbp
mov rdx, rsi
mov rcx, rbx
call fcn.1400717b0
mov rdx, qword [rax]
add rax, qword [rdx - 0x18]
mov rcx, rax
call fcn.140065f70
test al, al
jne 0x1400b4b2b
mov rcx, rbx
call fcn.14008ece0
call rsi
mov r8d, 0x8000
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor esi, esi
jmp 0x1400b4a7b
mov r8d, 0x8000
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x1400b4a76
mov rcx, rbx
call fcn.14008ece0
jmp 0x1400b4a76
call fcn.14000a6b0
mov rsi, rax
mov rcx, rbx
call fcn.14008f830
mov rcx, rsi
call fcn.14000bb60
nop
nop word [rax + rax]
jmp 0x1400b4a00
Function at 0x140006780
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
push r15
sub rsp, 0x20
mov rdi, qword [0x14003e2c8]
xor esi, esi
mov r15, rcx
mov dword [rdi + 0x2d9c], esi
test rcx, rcx
je 0x1400068aa
mov qword [rsp + 0x40], rbx
lea rbx, [rdi + 0x2da0]
mov dword [rdi + 0x2d9c], esi
mov r8d, dword [rbx + 4]
mov qword [rsp + 0x48], rbp
test r8d, r8d
jns 0x1400067de
mov eax, r8d
mov rcx, rbx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, r8d
test eax, eax
cmovg edx, eax
call fcn.1400035f0
mov eax, esi
mov dword [rbx], esi
cmp dword [rbx + 4], eax
jne 0x1400067f6
mov edx, 8
mov rcx, rbx
call fcn.1400035f0
mov eax, dword [rbx]
movsxd rcx, eax
mov ebp, esi
mov rax, qword [rbx + 8]
mov byte [rcx + rax], sil
inc dword [rbx]
cmp dword [rdi + 0x2db0], esi
jle 0x14000684a
mov qword [rsp + 0x50], r14
mov r14, rsi
nop word [rax + rax]
mov r9, qword [rdi + 0x2db8]
mov r8, rbx
add r9, r14
mov rcx, rdi
mov rdx, r9
call qword [r9 + 0x20]
inc ebp
add r14, 0x30
cmp ebp, dword [rdi + 0x2db0]
jl 0x140006820
mov r14, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x48]
cmp qword [rbx + 8], rsi
je 0x140006859
mov esi, dword [rbx]
dec esi
mov rax, qword [rdi + 0x2da8]
lea rdx, [0x1400329d4]
test rax, rax
movsxd rsi, esi
lea rdi, [0x14003e2ad]
mov rcx, r15
cmovne rdi, rax
call fcn.140017c90
mov rbx, rax
test rax, rax
je 0x1400068a5
mov r9, rax
mov r8, rsi
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r15
pop rdi
pop rsi
ret
Function at 0x140017b70
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov rdi, r8
test r8, r8
je 0x140017b89
mov qword [r8], 0
lea rdx, [0x1400329d0]
call fcn.140017c90
mov rbx, rax
test rax, rax
jne 0x140017ba8
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
xor edx, edx
mov qword [rsp + 0x30], rbp
mov rcx, rbx
mov qword [rsp + 0x38], rsi
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140017c68
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x140017c68
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140017c68
mov rax, qword [0x14003e2c8]
mov rbp, rsi
test rax, rax
je 0x140017c05
inc dword [rax + 0x3c8]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x140017c68
mov r9, rbx
mov r8, rbp
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rbp
je 0x140017c55
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x14003e2c8]
test rax, rax
je 0x140017c4a
dec dword [rax + 0x3c8]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140017c71
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rdi, rdi
je 0x140017c63
mov qword [rdi], rbp
mov rax, rsi
jmp 0x140017c73
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140017d80
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rdi
cmp dword [0x14003e3e4], 0
lea rdi, [0x14003e3e0]
mov r11d, r8d
mov r9d, edx
mov r10, rcx
jne 0x140017e58
mov qword [rsp + 0x10], rbx
xor edx, edx
mov rbx, rdi
nop dword [rax]
mov r8d, edx
lea rbx, [rbx + 4]
and r8d, 1
mov eax, edx
shr eax, 1
neg r8d
and r8d, 0xedb88320
inc edx
xor r8d, eax
mov eax, r8d
shr r8d, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, r8d
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov dword [rbx - 4], eax
cmp edx, 0x100
jb 0x140017db0
mov rbx, qword [rsp + 0x10]
not r11d
mov eax, r11d
test r9d, r9d
jle 0x140017e8e
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [r10]
lea r10, [r10 + 1]
movzx edx, al
xor rdx, rcx
shr eax, 8
xor eax, dword [rdi + rdx*4]
sub r9d, 1
jne 0x140017e70
not eax
pop rdi
ret
movzx r9d, byte [r10]
lea r8, [r10 + 1]
test r9b, r9b
je 0x140017ecf
nop dword [rax + rax]
cmp r9b, 0x23
jne 0x140017eb3
cmp byte [r8], r9b
jne 0x140017eb3
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rdi + rdx*4]
test r9b, r9b
jne 0x140017ea0
not eax
pop rdi
ret
Function at 0x140018bf0
Capabilities:
Compute adler32 checksum

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
mov r10, rdx
mov eax, 0x5e6ea9af
mul r8d
mov ebx, r8d
xor r9d, r9d
shr edx, 0xb
mov esi, r8d
imul eax, edx, 0x15b0
mov ecx, 1
sub ebx, eax
test r8d, r8d
je 0x140018d2c
mov qword [rsp + 0x10], rdi
xor edx, edx
cmp ebx, 7
jbe 0x140018c92
lea r8d, [rdx + 7]
movzx eax, byte [r10]
add edx, 8
add ecx, eax
add r8d, 8
movzx eax, byte [r10 + 1]
add r9d, ecx
add ecx, eax
movzx eax, byte [r10 + 2]
add r9d, ecx
add ecx, eax
movzx eax, byte [r10 + 3]
add r9d, ecx
add ecx, eax
movzx eax, byte [r10 + 4]
add r9d, ecx
add ecx, eax
movzx eax, byte [r10 + 5]
add r9d, ecx
add ecx, eax
movzx eax, byte [r10 + 6]
add r9d, ecx
add ecx, eax
movzx eax, byte [r10 + 7]
add r9d, ecx
add ecx, eax
add r10, 8
add r9d, ecx
cmp r8d, ebx
jb 0x140018c33
xor r8d, r8d
xor r11d, r11d
cmp edx, ebx
jae 0x140018cf4
mov eax, ebx
sub eax, edx
cmp eax, 2
jb 0x140018ce1
mov eax, ebx
sub eax, edx
sub eax, 2
shr eax, 1
inc eax
mov edi, eax
lea edx, [rdx + rax*2]
nop word [rax + rax]
movzx eax, byte [r10]
add ecx, eax
movzx eax, byte [r10 + 1]
add r8d, ecx
add r10, 2
add ecx, eax
add r11d, ecx
sub rdi, 1
jne 0x140018cc0
cmp edx, ebx
jae 0x140018ced
movzx eax, byte [r10]
add ecx, eax
add r9d, ecx
inc r10
lea eax, [r11 + r8]
add r9d, eax
mov eax, 0x80078071
mul ecx
shr edx, 0xf
imul eax, edx, 0xffff000f
add ecx, eax
mov eax, 0x80078071
mul r9d
shr edx, 0xf
imul edx, edx, 0xffff000f
add r9d, edx
sub esi, ebx
mov ebx, 0x15b0
jne 0x140018c28
mov rdi, qword [rsp + 0x10]
mov rbx, qword [rsp + 0x18]
shl r9d, 0x10
lea eax, [rcx + r9]
pop rsi
ret
Function at 0x140028ce0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
test r9d, 0xff000000
je 0x140028e97
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
movss xmm3, dword [rsp + 0x70]
xorps xmm0, xmm0
comiss xmm3, xmm0
mov esi, r9d
mov rdi, r8
mov rbp, rdx
mov rbx, rcx
jbe 0x140028d76
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x20], eax
call fcn.14001d4c0
mov r8d, dword [rbx + 0x80]
mov r9d, esi
mov rdx, qword [rbx + 0x88]
mov rcx, rbx
call fcn.140027500
mov ecx, dword [rbx + 0x84]
test ecx, ecx
jns 0x140028d67
mov eax, ecx
cdq
sub eax, edx
xor edx, edx
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x80]
test eax, eax
cmovg edx, eax
call fcn.140003360
mov dword [rbx + 0x80], 0
jmp 0x140028e83
mov edx, 6
movaps xmmword [rsp + 0x30], xmm6
lea r8d, [rdx - 2]
call fcn.14001dc90
movzx edx, word [rbx + 0x48]
mov rax, qword [rbx + 0x38]
movss xmm1, dword [rdi]
movss xmm2, dword [rbp + 4]
movss xmm3, dword [rbp]
lea ecx, [rdx + 1]
movss xmm6, dword [rax + 4]
movss xmm5, dword [rax]
movss xmm4, dword [rdi + 4]
mov rax, qword [rbx + 0x58]
mov word [rax], dx
mov rax, qword [rbx + 0x58]
mov word [rax + 2], cx
lea ecx, [rdx + 2]
mov rax, qword [rbx + 0x58]
mov word [rax + 4], cx
mov rax, qword [rbx + 0x58]
mov word [rax + 6], dx
add dx, 3
mov rax, qword [rbx + 0x58]
mov word [rax + 8], cx
mov rax, qword [rbx + 0x58]
mov word [rax + 0xa], dx
movsd xmm0, qword [rbp]
mov rax, qword [rbx + 0x50]
movsd qword [rax], xmm0
mov rax, qword [rbx + 0x50]
movss dword [rax + 8], xmm5
movss dword [rax + 0xc], xmm6
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x10], esi
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x14], xmm1
movss dword [rax + 0x18], xmm2
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x1c], xmm5
movss dword [rax + 0x20], xmm6
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x24], esi
movsd xmm0, qword [rdi]
mov rax, qword [rbx + 0x50]
movsd qword [rax + 0x28], xmm0
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x30], xmm5
movss dword [rax + 0x34], xmm6
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x38], esi
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x3c], xmm3
movss dword [rax + 0x40], xmm4
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x44], xmm5
movss dword [rax + 0x48], xmm6
mov rax, qword [rbx + 0x50]
movaps xmm6, xmmword [rsp + 0x30]
mov dword [rax + 0x4c], esi
add qword [rbx + 0x50], 0x50
add dword [rbx + 0x48], 4
add qword [rbx + 0x58], 0xc
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x14002ef00
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x28
lea rcx, str._s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x14002ef13
add rsp, 0x28
ret

Function at 0x14002ef40
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
xor ebx, ebx
mov ecx, 0xbeef
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14002ef5a
test ebx, ebx
je 0x14002ef6f
call fcn.14002f4e0
mov ecx, 0x4000
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
add rsp, 0x20
pop rbx
ret
Function at 0x140001d7c
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, r8
mov r9, rcx
xor ecx, ecx
movabs r8, 0xcbf29ce484222325
mov rsi, rdx
movzx eax, byte [rdi + rcx + 0x10]
movabs rdx, 0x100000001b3
xor r8, rax
inc rcx
imul r8, rdx
cmp rcx, 4
jb 0x14000f66c
mov rdx, qword [r9 + 0x30]
mov rcx, qword [r9 + 0x18]
and rdx, r8
add rdx, rdx
cmp qword [rcx + rdx*8 + 8], rdi
jne 0x14000f6c3
cmp qword [rcx + rdx*8], rdi
jne 0x14000f6b8
mov rax, qword [r9 + 8]
mov qword [rcx + rdx*8], rax
mov rcx, qword [r9 + 0x18]
mov rax, qword [r9 + 8]
jmp 0x14000f6bc
mov rax, qword [rdi + 8]
mov qword [rcx + rdx*8 + 8], rax
jmp 0x14000f6d0
cmp qword [rcx + rdx*8], rdi
jne 0x14000f6d0
mov rax, qword [rdi]
mov qword [rcx + rdx*8], rax
mov rax, qword [rdi + 8]
mov rbx, qword [rdi]
mov qword [rax], rbx
mov rcx, qword [rdi]
mov rax, qword [rdi + 8]
mov qword [rcx + 8], rax
lea rcx, [rdi + 0x18]
dec qword [r9 + 0x10]
call fcn.14000be20
mov edx, 0x38
mov rcx, rdi
call fcn.1400301e8
mov qword [rsi], rbx
mov rax, rsi
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14000f84c
Capabilities:
Delete service
Query service status
Stop service

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x140056920]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor eax, eax
xorps xmm0, xmm0
xor edx, edx
mov qword [rsp + 0x30], rax
xor ecx, ecx
mov dword [rsp + 0x38], eax
movups xmmword [rsp + 0x20], xmm0
lea r8d, [rax + 1]
mov esi, 0xe10
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_OpenSCManagerW]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
je 0x14000f95d
mov r8d, 0x10024
lea rdx, str.Update_Health_Service
mov rcx, rax
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_OpenServiceW]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
je 0x14000f93a
lea r8, [rsp + 0x20]
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_service_winsvc_l1_1_0.dll_ControlService]
nop dword [rax + rax]
test eax, eax
je 0x14000f92b
mov ecx, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
nop dword [rax + rax]
jmp 0x14000f913
cmp dword [rsp + 0x24], 3
jne 0x14000f92b
mov ecx, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
nop dword [rax + rax]
sub esi, 1
je 0x14000f92b
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.api_ms_win_service_winsvc_l1_1_0.dll_QueryServiceStatus]
nop dword [rax + rax]
test eax, eax
jne 0x14000f8f6
mov rcx, rbx
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_DeleteService]
nop dword [rax + rax]
mov rcx, rdi
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_CloseServiceHandle]
nop dword [rax + rax]
test rbx, rbx
je 0x14000f95d
mov rcx, rbx
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_CloseServiceHandle]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400301c0
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x14001b890
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
mov rdi, r8
mov r14, rdx
mov r8, rcx
lea rsi, [rdi + 0x10]
cmp qword [rsi + 0x18], 8
mov r9, rsi
mov r10, qword [rsi + 0x10]
jb 0x14001b8c3
mov r9, qword [rsi]
xor edx, edx
movabs rcx, 0xcbf29ce484222325
add r10, r10
je 0x14001b8f2
movzx eax, byte [rdx + r9]
movabs r11, 0x100000001b3
xor rcx, rax
inc rdx
imul rcx, r11
cmp rdx, r10
jb 0x14001b8d4
mov rdx, qword [r8 + 0x30]
and rdx, rcx
mov rcx, qword [r8 + 0x18]
add rdx, rdx
cmp qword [rcx + rdx*8 + 8], rdi
jne 0x14001b92a
cmp qword [rcx + rdx*8], rdi
jne 0x14001b91f
mov rax, qword [r8 + 8]
mov qword [rcx + rdx*8], rax
mov rcx, qword [r8 + 0x18]
mov rax, qword [r8 + 8]
jmp 0x14001b923
mov rax, qword [rdi + 8]
mov qword [rcx + rdx*8 + 8], rax
jmp 0x14001b937
cmp qword [rcx + rdx*8], rdi
jne 0x14001b937
mov rax, qword [rdi]
mov qword [rcx + rdx*8], rax
mov rax, qword [rdi + 8]
lea rcx, [rsi + 0x28]
mov rbx, qword [rdi]
mov qword [rax], rbx
mov rdx, qword [rdi]
mov rax, qword [rdi + 8]
mov qword [rdx + 8], rax
dec qword [r8 + 0x10]
call fcn.14000be20
mov rcx, rsi
call fcn.14000be20
mov edx, 0x58
mov rcx, rdi
call fcn.1400301e8
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 0x14002aee8
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x208]
sub rsp, 0x300
mov qword [rbp - 0x80], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140056920]
xor rax, rsp
mov qword [rbp + 0x1f0], rax
mov rdi, rdx
xor esi, esi
mov dword [rsp + 0x6c], esi
movdqa xmm0, xmmword [0x140047d20]
movdqu xmmword [rbp - 0x48], xmm0
mov word [rbp - 0x58], si
movdqu xmmword [rbp - 0x68], xmm0
mov word [rbp - 0x78], si
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
mov dword [rsp + 0x20], esi
mov edx, 0x104
lea rcx, [rbp - 0x20]
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetSystemDirectoryW]
nop dword [rax + rax]
test eax, eax
jne 0x14002afbd
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov eax, 0x80004005
test ebx, ebx
cmove ebx, eax
mov r8d, ebx
lea rdx, str.Error_retrieving_Windows_system_directoryhr__0x_08x.
mov ecx, ebx
call fcn.14000b5ac
test ebx, ebx
jns 0x14002afbd
mov rcx, qword [rbp + 0x208]
mov r9d, ebx
lea r8, str.onecoreenduserupgradeenablersdssdsslibraryunenrollmentexecutor.cpp
lea edx, [rsi + 0x73]
call fcn.1400051e8
jmp 0x14002b0c6
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x58]
call fcn.14000bd88
lea rdx, [0x140036e20]
lea rcx, [rbp - 0x58]
call fcn.14000bd88
lea rdx, str.msiexec.exe
lea rcx, [rbp - 0x58]
call fcn.14000bd88
lea rdx, str.__x
lea rcx, [rbp - 0x78]
call fcn.14000bd88
cmp qword [rdi + 0x18], 8
jb 0x14002b004
mov rdi, qword [rdi]
mov rdx, rdi
lea rcx, [rbp - 0x78]
call fcn.14000bd88
lea rdx, str.__qn
lea rcx, [rbp - 0x78]
call fcn.14000bd88
lea rax, [rbp - 0x58]
cmp qword [rbp - 0x40], 8
cmovae rax, qword [rbp - 0x58]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x78]
cmp qword [rbp - 0x60], 8
cmovae rax, qword [rbp - 0x78]
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x68], esi
lea rax, str.Uninstall_dss_client
mov qword [rsp + 0x58], rax
lea rax, str.MicrosoftWindows
mov qword [rsp + 0x50], rax
lea rax, [0x140045cd0]
mov qword [rsp + 0x60], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x28], xmm0
mov byte [rsp + 0x38], sil
lea rdx, [rbp - 0x38]
call fcn.14001a1d0
movups xmm0, xmmword [rbp - 0x38]
movdqu xmmword [rsp + 0x70], xmm0
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x28]
call fcn.14002f99c
mov ebx, eax
test eax, eax
je 0x14002b0bb
mov r8d, eax
lea rdx, str.Error_creating_removal_task__0x_08x.
mov ecx, eax
call fcn.14000b5ac
nop
lea rcx, [rsp + 0x28]
call fcn.14002e4a8
nop
lea rcx, [rbp - 0x78]
call fcn.14000be20
nop
lea rcx, [rbp - 0x58]
call fcn.14000be20
mov eax, ebx
mov rcx, qword [rbp + 0x1f0]
xor rcx, rsp
call fcn.1400301c0
lea r11, [rsp + 0x300]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x140030190
Capabilities:
Access peb ldr_data

Disassembly:
push r12
push r14
push r15
sub r12, r12
add r12, 0x60
mov r14, qword gs:[r12]
push r11
mov r11, qword [r14 + 0x10]