joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14006b4b4
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
lea rbp, [rsp - 0x170]
sub rsp, 0x270
mov rax, qword [0x14009b940]
xor rax, rsp
mov qword [rbp + 0x160], rax
and qword [rsp + 0x48], 0
mov rsi, rdx
mov rdi, rcx
mov rcx, qword [0x14009b028]
lea r12, [0x14009b028]
cmp rcx, r12
je 0x14006b522
test byte [rcx + 0x1c], 2
je 0x14006b522
cmp byte [rcx + 0x19], 5
jb 0x14006b522
mov rcx, qword [rcx + 0x10]
lea r8, [0x14008b508]
mov edx, 0xa
call fcn.140001024
lea rax, [rsp + 0x48]
mov r9d, 0x3001f
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
je 0x14006b5a5
mov rcx, qword [0x14009b028]
cmp rcx, r12
je 0x14006b682
test byte [rcx + 0x1c], 2
je 0x14006b682
cmp byte [rcx + 0x19], 2
jb 0x14006b682
mov edx, VariantTimeToDosDateTime
mov rcx, qword [rcx + 0x10]
lea r8, [0x14008b508]
mov r9d, ebx
call fcn.140001050
jmp 0x14006b682
mov rcx, qword [rsp + 0x48]
lea rdx, [rsp + 0x50]
call fcn.14006b4b4
test eax, eax
je 0x14006b690
and qword [rsp + 0x38], 0
lea r9, [rsp + 0x40]
and qword [rsp + 0x30], 0
lea r8, [rsp + 0x50]
and qword [rsp + 0x28], 0
xor edx, edx
mov rcx, qword [rsp + 0x48]
and qword [rsp + 0x20], 0
mov dword [rsp + 0x40], 0x104
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
je 0x14006b58e
cmp eax, 0x103
jne 0x14006b641
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
je 0x14006b63a
mov rcx, qword [0x14009b028]
cmp rcx, r12
je 0x14006b682
test byte [rcx + 0x1c], 2
je 0x14006b682
cmp byte [rcx + 0x19], 2
jb 0x14006b682
mov edx, 0xd
jmp 0x14006b576
mov eax, 1
jmp 0x14006b692
mov rcx, qword [0x14009b028]
cmp rcx, r12
je 0x14006b671
test byte [rcx + 0x1c], 2
je 0x14006b671
cmp byte [rcx + 0x19], 2
jb 0x14006b671
mov rcx, qword [rcx + 0x10]
lea r8, [0x14008b508]
mov edx, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
mov r9d, ebx
call fcn.140001050
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop dword [rax + rax]
xor eax, eax
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.14007e560
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r12
pop rdi
pop rbp
ret
Function at 0x14006b6c0
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
push rsi
push rdi
push r15
sub rsp, 0x40
and dword [rax - 0x28], 0
mov rbp, r8
mov rdi, rdx
mov dword [rax + 0x20], 4
mov rsi, rcx
mov rcx, qword [0x14009b028]
lea r15, [0x14009b028]
cmp rcx, r15
je 0x14006b71b
test byte [rcx + 0x1c], 2
je 0x14006b71b
cmp byte [rcx + 0x19], 5
jb 0x14006b71b
mov rcx, qword [rcx + 0x10]
lea r8, [0x14008b508]
mov edx, 0xe
call fcn.140001024
lea rax, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x78]
and qword [rsp + 0x20], 0
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
je 0x14006b779
mov rcx, qword [0x14009b028]
cmp rcx, r15
je 0x14006b813
test byte [rcx + 0x1c], 2
je 0x14006b813
cmp byte [rcx + 0x19], 2
jb 0x14006b813
mov edx, 0xf
jmp 0x14006b800
cmp dword [rsp + 0x78], 4
je 0x14006b7b4
mov rcx, qword [0x14009b028]
cmp rcx, r15
je 0x14006b7ad
test byte [rcx + 0x1c], 2
je 0x14006b7ad
cmp byte [rcx + 0x19], 2
jb 0x14006b7ad
mov rcx, qword [rcx + 0x10]
lea r8, [0x14008b508]
mov edx, 0x10
call fcn.140001024
mov ebx, 0x3f1
jmp 0x14006b813
lea rax, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x78]
mov rdx, rdi
mov qword [rsp + 0x20], rbp
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
je 0x14006b813
mov rcx, qword [0x14009b028]
cmp rcx, r15
je 0x14006b813
test byte [rcx + 0x1c], 2
je 0x14006b813
cmp byte [rcx + 0x19], 2
jb 0x14006b813
mov edx, 0x11
mov rcx, qword [rcx + 0x10]
lea r8, [0x14008b508]
mov r9d, eax
call fcn.140001050
mov rbp, qword [rsp + 0x68]
mov eax, ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop r15
pop rdi
pop rsi
ret
Function at 0x14006bf24
Capabilities:
Check os version

Disassembly:
push rdi
sub rsp, 0x150
mov rax, qword [0x14009b940]
xor rax, rsp
mov qword [rsp + 0x140], rax
xor edx, edx
lea rcx, [rsp + 0x24]
mov r8d, 0x118
call sub.msvcrt.dll_memset
mov rcx, qword [0x14009b028]
lea rdi, [0x14009b028]
cmp rcx, rdi
je 0x14006bf85
test byte [rcx + 0x1c], 2
je 0x14006bf85
cmp byte [rcx + 0x19], 5
jb 0x14006bf85
mov rcx, qword [rcx + 0x10]
lea r8, [0x14008b648]
mov edx, 0xa
call fcn.140001024
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x11c
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
nop dword [rax + rax]
xor edx, edx
test eax, eax
jne 0x14006bff5
mov rax, qword [0x14009b028]
cmp rax, rdi
je 0x14006c04f
test byte [rax + 0x1c], 2
je 0x14006c04f
cmp byte [rax + 0x19], 2
jb 0x14006c04f
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [0x14009b028]
lea r8, [0x14008b648]
mov r9d, eax
mov edx, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
mov rcx, qword [rcx + 0x10]
call fcn.140001050
jmp 0x14006c04f
cmp dword [rsp + 0x30], 2
je 0x14006c01b
mov rcx, qword [0x14009b028]
cmp rcx, rdi
je 0x14006c04f
test byte [rcx + 0x1c], 2
je 0x14006c04f
cmp byte [rcx + 0x19], 3
jb 0x14006c04f
mov edx, 0xd
jmp 0x14006c03f
cmp dword [rsp + 0x24], 5
jae 0x14006c056
mov rcx, qword [0x14009b028]
cmp rcx, rdi
je 0x14006c04f
test byte [rcx + 0x1c], 2
je 0x14006c04f
cmp byte [rcx + 0x19], 3
jb 0x14006c04f
mov edx, 0xe
mov rcx, qword [rcx + 0x10]
lea r8, [0x14008b648]
call fcn.140001024
xor eax, eax
jmp 0x14006c0d8
mov cl, byte [rsp + 0x138]
mov eax, 0x40
test al, cl
je 0x14006c076
cmp byte [rsp + 0x13a], 1
lea ecx, [rax - 0x20]
cmove eax, ecx
jmp 0x14006c0d8
mov eax, 0x200
test word [rsp + 0x138], ax
je 0x14006c08c
mov eax, 1
jmp 0x14006c0d8
test cl, 2
je 0x14006c098
mov eax, 8
jmp 0x14006c0d8
mov eax, 0x80
test al, cl
je 0x14006c0a8
mov eax, 0x10
jmp 0x14006c0d8
mov ecx, 0x400
test word [rsp + 0x138], cx
jne 0x14006c0d8
mov cl, byte [rsp + 0x13a]
cmp cl, 1
jne 0x14006c0ca
mov eax, 2
jmp 0x14006c0d8
sub cl, 2
mov eax, 4
cmp cl, 1
cmova eax, edx
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.14007e560
add rsp, 0x150
pop rdi
ret
Function at 0x14006d2b8
Capabilities:
Get common file path
Query environment variable

Disassembly:
push rbx
sub rsp, 0x470
mov rax, qword [0x14009b940]
xor rax, rsp
mov qword [rsp + 0x460], rax
mov ebx, 0x208
lea rcx, [rsp + 0x40]
mov r8d, ebx
xor edx, edx
call sub.msvcrt.dll_memset
mov r8d, ebx
lea rcx, [rsp + 0x250]
xor edx, edx
call sub.msvcrt.dll_memset
cmp qword [0x14009bd40], 0xffffffffffffffff
je 0x14006d314
lock inc dword [0x14009f524]
mov eax, 1
jmp 0x14006d39f
mov ebx, 0x104
lea rdx, [rsp + 0x40]
mov r8d, ebx
lea rcx, str.FXSSVCDebugLogFile.txt
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
nop dword [rax + rax]
dec eax
cmp eax, 0x103
ja 0x14006d39d
mov edx, 0x5c
lea rcx, [rsp + 0x40]
call qword [sym.imp.msvcrt.dll_wcschr]
nop dword [rax + rax]
test rax, rax
jne 0x14006d3b9
lea rdx, [rsp + 0x250]
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
nop dword [rax + rax]
test eax, eax
je 0x14006d39d
lea rax, [rsp + 0x40]
mov edx, ebx
lea r9, [rsp + 0x250]
mov qword [rsp + 0x20], rax
lea r8, str._s_s
lea rcx, [0x14009f530]
call fcn.140002ac0
test eax, eax
jns 0x14006d3cf
xor eax, eax
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.14007e560
add rsp, 0x470
pop rbx
ret
lea r8, [rsp + 0x40]
mov rdx, rbx
lea rcx, [0x14009f530]
call fcn.140002b44
jmp 0x14006d399
mov dword [rsp + 0x28], 0x80
lea rcx, [0x14009f530]
mov edx, 0x40000000
mov dword [rsp + 0x20], 4
mov r8d, 3
call fcn.140069bbc
mov qword [0x14009bd40], rax
cmp rax, 0xffffffffffffffff
je 0x14006d39d
mov r9d, 2
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
nop dword [rax + rax]
cmp eax, 0xffffffff
jne 0x14006d442
mov rcx, qword [0x14009bd40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
or qword [0x14009bd40], 0xffffffffffffffff
jmp 0x14006d39d
mov eax, 1
xchg dword [0x14009f524], eax
jmp 0x14006d30a
Function at 0x14006d458
Capabilities:
Print debug messages
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rdx
mov qword [rax + 0x18], r8
mov qword [rax + 0x20], r9
push rbp
push rbx
push rdi
lea rbp, [rax - 0x778]
sub rsp, 0x860
mov rax, qword [0x14009b940]
xor rax, rsp
mov qword [rbp + 0x750], rax
mov rbx, rcx
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x800
call sub.msvcrt.dll_memset
xor edi, edi
cmp dword [0x14009f528], edi
jne 0x14006d55e
lea rax, [rsp + 0x40]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SoftwareMicrosoftFaxClient
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
nop dword [rax + rax]
test eax, eax
je 0x14006d4e5
mov eax, edi
jmp 0x14006d545
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x38]
lea rax, [rsp + 0x30]
mov dword [rsp + 0x34], 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.DebugLevel
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
nop dword [rax + rax]
test eax, eax
jne 0x14006d52c
cmp dword [rsp + 0x38], 4
je 0x14006d530
mov dword [rsp + 0x30], edi
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
mov eax, dword [rsp + 0x30]
mov rbx, qword [rbp + 0x780]
mov dword [0x14009bd48], eax
mov dword [0x14009f528], 1
jmp 0x14006d564
mov eax, dword [0x14009bd48]
test eax, eax
jle 0x14006d607
mov r8, rbx
lea r9, [rbp + 0x788]
mov ebx, 0x3ff
lea rcx, [rsp + 0x50]
mov edx, ebx
call qword [sym.imp.msvcrt.dll__vsnwprintf]
nop dword [rax + rax]
test eax, eax
js 0x14006d607
cdqe
cmp rax, rbx
ja 0x14006d607
jne 0x14006d5a2
mov word [rbp + 0x74e], di
lea rcx, [rsp + 0x50]
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], di
jne 0x14006d5ab
mov edx, 0x3fd
mov r8d, 0xa
cmp rax, rdx
cmovb edx, eax
lea eax, [rdx - 1]
cmp word [rsp + rax*2 + 0x50], r8w
je 0x14006d5f6
lea ecx, [r8 + 3]
mov word [rsp + rdx*2 + 0x50], cx
lea eax, [rdx + 1]
lea ecx, [rdx + 2]
mov word [rsp + rax*2 + 0x50], r8w
add rcx, rcx
cmp rcx, 0x800
jae 0x14006d622
mov word [rsp + rcx + 0x50], di
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
nop dword [rax + rax]
mov rcx, qword [rbp + 0x750]
xor rcx, rsp
call fcn.14007e560
add rsp, 0x860
pop rdi
pop rbx
pop rbp
ret
call fcn.14007e7f8
int3
Function at 0x14006da1c
Capabilities:
Query service status

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x14009b940]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov r13d, dword [rsp + 0xb8]
xor edi, edi
mov r14, qword [rsp + 0xc0]
xor ebx, ebx
mov rbp, r9
mov r15, r8
mov r12, rdx
mov rcx, qword [0x14009b028]
lea rax, [0x14009b028]
cmp rcx, rax
je 0x14006da8e
test byte [rcx + 0x1c], 2
je 0x14006da8e
cmp byte [rcx + 0x19], 5
jb 0x14006da8e
mov rcx, qword [rcx + 0x10]
lea edx, [rdi + 0xa]
lea r8, [0x14008b740]
call fcn.140001024
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
nop dword [rax + rax]
mov rsi, rax
test rax, rax
jne 0x14006dafe
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [0x14009b028]
lea rax, [0x14009b028]
cmp rcx, rax
je 0x14006dbaf
test byte [rcx + 0x1c], 2
je 0x14006dbaf
cmp byte [rcx + 0x19], 2
jb 0x14006dbaf
lea edx, [rsi + 0xb]
mov rcx, qword [rcx + 0x10]
lea r8, [0x14008b740]
mov r9d, ebx
call fcn.140001050
jmp 0x14006dbaf
mov r8d, r13d
mov rdx, r12
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
jne 0x14006db4d
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [0x14009b028]
lea rax, [0x14009b028]
cmp rcx, rax
je 0x14006dbaf
test byte [rcx + 0x1c], 2
je 0x14006dbaf
cmp byte [rcx + 0x19], 2
jb 0x14006dbaf
lea edx, [rdi + 0xc]
jmp 0x14006dae6
test r14, r14
je 0x14006dba8
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
nop dword [rax + rax]
test eax, eax
jne 0x14006dba1
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [0x14009b028]
lea rax, [0x14009b028]
cmp rcx, rax
je 0x14006dbaf
test byte [rcx + 0x1c], 2
je 0x14006dbaf
cmp byte [rcx + 0x19], 2
jb 0x14006dbaf
mov edx, 0xd
jmp 0x14006dae6
mov eax, dword [rsp + 0x24]
mov dword [r14], eax
mov qword [r15], rsi
mov qword [rbp], rdi
test ebx, ebx
je 0x14006dbbe
mov rdx, rdi
mov rcx, rsi
call fcn.14006dbec
mov eax, ebx
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14007e560
mov rbx, qword [rsp + 0x90]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14006dd08
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov rcx, qword [0x14009b028]
lea r14, [0x14009b028]
cmp rcx, r14
je 0x14006dd51
test byte [rcx + 0x1c], 2
je 0x14006dd51
cmp byte [rcx + 0x19], 5
jb 0x14006dd51
mov rcx, qword [rcx + 0x10]
lea r8, [0x14008b740]
mov edx, 0x11
call fcn.140001024
mov ebx, 0x100000
lea r8, str.GlobalFaxSvcRPCStarted_1ed23866_f90b_4ec5_b77e_36e8709422b6
mov ecx, ebx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_OpenEventW]
nop dword [rax + rax]
test rax, rax
jne 0x14006de92
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 2
je 0x14006ddb2
mov rax, qword [0x14009b028]
cmp rax, r14
je 0x14006de0a
test byte [rax + 0x1c], 2
je 0x14006de0a
cmp byte [rax + 0x19], 2
jb 0x14006de0a
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edx, 0x12
jmp 0x14006ddf0
mov r8d, 0x1f0003
mov edx, ebx
mov ecx, ebx
call fcn.14006ec44
mov rsi, rax
test rax, rax
jne 0x14006de11
mov rax, qword [0x14009b028]
cmp rax, r14
je 0x14006de0a
test byte [rax + 0x1c], 2
je 0x14006de0a
cmp byte [rax + 0x19], 2
jb 0x14006de0a
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
lea edx, [rsi + 0x13]
mov rcx, qword [0x14009b028]
lea r8, [0x14008b740]
mov r9d, eax
mov rcx, qword [rcx + 0x10]
call fcn.140001050
xor eax, eax
jmp 0x14006de92
xor r8d, r8d
lea r9, str.GlobalFaxSvcRPCStarted_1ed23866_f90b_4ec5_b77e_36e8709422b6
mov rcx, rsi
lea edx, [r8 + 1]
call qword [sym.imp.KERNEL32.dll_CreateEventW]
nop dword [rax + rax]
xor edi, edi
mov rbx, rax
test rax, rax
jne 0x14006de74
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
mov rcx, qword [0x14009b028]
cmp rcx, r14
je 0x14006de74
test byte [rcx + 0x1c], 2
je 0x14006de74
cmp byte [rcx + 0x19], 2
jb 0x14006de74
mov rcx, qword [rcx + 0x10]
lea edx, [rbx + 0x14]
mov r9d, eax
lea r8, [0x14008b740]
call fcn.140001050
mov rcx, rsi
call fcn.14006f1a4
test rbx, rbx
jne 0x14006de8f
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop dword [rax + rax]
mov rax, rbx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x14006f2ec
Capabilities:
Check for time delay via gettickcount
Query service status

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x14009b940]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov esi, r8d
mov rbx, rcx
mov rcx, qword [0x14009b028]
lea r14, [0x14009b028]
lea r15, [0x14008b740]
cmp rcx, r14
je 0x14006f34b
test byte [rcx + 0x1c], 2
je 0x14006f34b
cmp byte [rcx + 0x19], 5
jb 0x14006f34b
mov rcx, qword [rcx + 0x10]
mov edx, 0x4c
mov r8, r15
call fcn.140001024
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
nop dword [rax + rax]
test eax, eax
jne 0x14006f3a4
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [0x14009b028]
cmp rcx, r14
je 0x14006f39d
test byte [rcx + 0x1c], 2
je 0x14006f39d
cmp byte [rcx + 0x19], 2
jb 0x14006f39d
mov edx, 0x4d
mov rcx, qword [rcx + 0x10]
mov r9d, ebx
mov r8, r15
call fcn.140001050
mov eax, ebx
jmp 0x14006f4bc
cmp dword [rsp + 0x24], 1
je 0x14006f4ba
call qword [sym.imp.KERNEL32.dll_GetTickCount]
nop dword [rax + rax]
mov edi, eax
jmp 0x14006f406
mov r9d, dword [rsp + 0x24]
cmp r9d, 1
je 0x14006f4ba
cmp r9d, 3
jne 0x14006f48a
call qword [sym.imp.KERNEL32.dll_GetTickCount]
nop dword [rax + rax]
sub eax, edi
cmp eax, esi
ja 0x14006f45a
mov eax, dword [rsp + 0x38]
mov ecx, 0x1388
shr eax, 1
cmp eax, ecx
cmovb ecx, eax
call qword [sym.imp.KERNEL32.dll_Sleep]
nop dword [rax + rax]
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
nop dword [rax + rax]
test eax, eax
jne 0x14006f3bf
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [0x14009b028]
cmp rcx, r14
je 0x14006f39d
test byte [rcx + 0x1c], 2
je 0x14006f39d
cmp byte [rcx + 0x19], 2
jb 0x14006f39d
mov edx, 0x4e
jmp 0x14006f38e
mov rcx, qword [0x14009b028]
cmp rcx, r14
je 0x14006f483
test byte [rcx + 0x1c], 2
je 0x14006f483
cmp byte [rcx + 0x19], 2
jb 0x14006f483
mov rcx, qword [rcx + 0x10]
mov edx, 0x50
mov r8, r15
call fcn.140001024
mov eax, 0x5b4
jmp 0x14006f4bc
mov rcx, qword [0x14009b028]
cmp rcx, r14
je 0x14006f4b3
test byte [rcx + 0x1c], 2
je 0x14006f4b3
cmp byte [rcx + 0x19], 2
jb 0x14006f4b3
mov rcx, qword [rcx + 0x10]
mov edx, 0x4f
mov r8, r15
call fcn.140001050
mov eax, 0x426
jmp 0x14006f4bc
xor eax, eax
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14007e560
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x14006f4e8
Capabilities:
Get common file path

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
sub rsp, 0x250
mov rax, qword [0x14009b940]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov ebp, r8d
mov rsi, rdx
mov edi, ecx
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x30]
xor ebx, ebx
call sub.msvcrt.dll_memset
mov rcx, qword [0x14009b028]
lea r12, [0x14009b028]
cmp rcx, r12
je 0x14006f556
test byte [rcx + 0x1c], 2
je 0x14006f556
cmp byte [rcx + 0x19], 5
jb 0x14006f556
mov rcx, qword [rcx + 0x10]
lea edx, [rbx + 0xa]
lea r8, [0x14008b8f8]
call fcn.140001024
lea rax, [rsp + 0x30]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov edx, edi
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
nop dword [rax + rax]
mov edi, eax
test eax, eax
jns 0x14006f5bd
mov rcx, qword [0x14009b028]
cmp rcx, r12
je 0x14006f5ac
test byte [rcx + 0x1c], 2
je 0x14006f5ac
cmp byte [rcx + 0x19], 2
jb 0x14006f5ac
mov rcx, qword [rcx + 0x10]
lea r8, [0x14008b8f8]
mov edx, VariantTimeToDosDateTime
mov r9d, eax
call fcn.140001050
movzx ecx, di
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop dword [rax + rax]
jmp 0x14006f60b
mov rdx, rbp
lea r8, [rsp + 0x30]
mov rcx, rsi
call fcn.140002b44
mov edi, eax
test eax, eax
jns 0x14006f606
mov rcx, qword [0x14009b028]
cmp rcx, r12
je 0x14006f5ac
test byte [rcx + 0x1c], 2
je 0x14006f5ac
cmp byte [rcx + 0x19], 2
jb 0x14006f5ac
mov rcx, qword [rcx + 0x10]
lea r8, [0x14008b8f8]
movzx r9d, di
mov edx, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
call fcn.140001050
jmp 0x14006f5ac
mov ebx, 1
mov eax, ebx
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14007e560
add rsp, 0x250
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14007af04
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rdi
sub rsp, 0x250
mov rax, qword [0x14009b940]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov edi, edx
mov ebx, ecx
mov rcx, qword [0x14009b028]
lea rbp, [0x14009b028]
cmp rcx, rbp
je 0x14007af60
test byte [rcx + 0x1c], 2
je 0x14007af60
cmp byte [rcx + 0x19], 5
jb 0x14007af60
mov rcx, qword [rcx + 0x10]
lea r8, [0x14008c658]
mov edx, 0x65
call fcn.140001024
mov r9d, ebx
mov dword [rsp + 0x20], edi
lea r8, str._ld:_ld
mov edx, 0x104
lea rcx, [rsp + 0x30]
call fcn.140002ac0
mov ebx, eax
test eax, eax
jns 0x14007afcc
mov rcx, qword [0x14009b028]
cmp rcx, rbp
je 0x14007afb3
test byte [rcx + 0x1c], 2
je 0x14007afb3
cmp byte [rcx + 0x19], 2
jb 0x14007afb3
mov rcx, qword [rcx + 0x10]
lea r8, [0x14008c658]
mov edx, 0x66
mov r9d, eax
call fcn.140001050
mov ecx, ebx
movzx eax, bx
and ecx, 0x1fff0000
cmp ecx, 0x70000
cmove ebx, eax
jmp 0x14007b091
mov r9d, 0x10000
lea rdx, str.SoftwareMicrosoftFaxOutbound_RoutingRules
xor r8d, r8d
mov rcx, 0xffffffff80000002
call fcn.14006abdc
mov rdi, rax
test rax, rax
jne 0x14007b032
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [0x14009b028]
cmp rcx, rbp
je 0x14007b091
test byte [rcx + 0x1c], 2
je 0x14007b091
cmp byte [rcx + 0x19], 2
jb 0x14007b091
mov rcx, qword [rcx + 0x10]
lea edx, [rdi + 0x67]
mov r9d, eax
lea r8, [0x14008c658]
call fcn.140001050
jmp 0x14007b091
xor r9d, r9d
lea rdx, [rsp + 0x30]
xor r8d, r8d
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyExW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
je 0x14007b082
mov rcx, qword [0x14009b028]
cmp rcx, rbp
je 0x14007b082
test byte [rcx + 0x1c], 2
je 0x14007b082
cmp byte [rcx + 0x19], 2
jb 0x14007b082
mov rcx, qword [rcx + 0x10]
lea r8, [0x14008c658]
mov edx, 0x68
mov r9d, eax
call fcn.140001050
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
mov eax, ebx
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14007e560
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x14007b548
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rdi
sub rsp, 0x30
and qword [rsp + 0x48], 0
mov rdi, rcx
mov rcx, qword [0x14009b028]
lea rbp, [0x14009b028]
cmp rcx, rbp
je 0x14007b594
test byte [rcx + 0x1c], 2
je 0x14007b594
cmp byte [rcx + 0x19], 5
jb 0x14007b594
mov rcx, qword [rcx + 0x10]
lea r8, [0x14008c658]
mov edx, 0x75
call fcn.140001024
lea rax, [rsp + 0x48]
mov r9d, 0x10000
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SoftwareMicrosoftFaxDevice_Providers
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
je 0x14007b5f8
mov rcx, qword [0x14009b028]
cmp rcx, rbp
je 0x14007b691
test byte [rcx + 0x1c], 2
je 0x14007b691
cmp byte [rcx + 0x19], 2
jb 0x14007b691
mov edx, 0x76
mov r9d, eax
jmp 0x14007b681
mov rcx, qword [rsp + 0x48]
xor r9d, r9d
xor r8d, r8d
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyExW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
je 0x14007b64c
mov rcx, qword [0x14009b028]
cmp rcx, rbp
je 0x14007b64c
test byte [rcx + 0x1c], 2
je 0x14007b64c
cmp byte [rcx + 0x19], 2
jb 0x14007b64c
mov rcx, qword [rcx + 0x10]
lea r8, [0x14008c658]
mov edx, 0x77
mov dword [rsp + 0x20], eax
mov r9, rdi
call fcn.140001328
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
test eax, eax
je 0x14007b691
mov rcx, qword [0x14009b028]
cmp rcx, rbp
je 0x14007b691
test byte [rcx + 0x1c], 2
je 0x14007b691
cmp byte [rcx + 0x19], 2
jb 0x14007b691
mov edx, 0x78
mov r9d, eax
mov rcx, qword [rcx + 0x10]
lea r8, [0x14008c658]
call fcn.140001050
mov rbp, qword [rsp + 0x50]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret