joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14003b2e0
Capabilities:
Set registry value

Disassembly:
push rbx
push rbp
push rsi
sub rsp, 0x60
mov rax, qword [0x140073010]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rbp, rdx
mov qword [rsp + 0x30], 0
mov edx, r9d
mov rbx, rcx
lea r9, [rsp + 0x30]
mov rcx, r8
call fcn.140036e00
mov rsi, rax
test eax, eax
je 0x14003b3a1
lea rax, [rsp + 0x38]
mov qword [rsp + 0x58], rdi
mov r9d, 0xf003f
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rdx, rbx
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov rbx, qword [rsp + 0x30]
mov edi, eax
test eax, eax
jne 0x14003b37f
mov rcx, qword [rsp + 0x38]
lea r9d, [rax + 3]
mov dword [rsp + 0x28], esi
xor r8d, r8d
mov rdx, rbp
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x38]
mov edi, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r8d, esi
xor edx, edx
mov rcx, rbx
call fcn.1400452a0
mov rcx, rbx
call fcn.1400462d0
test edi, edi
mov rdi, qword [rsp + 0x58]
jne 0x14003b3a1
xor eax, eax
jmp 0x14003b3a6
mov eax, 1
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140043fc0
add rsp, 0x60
pop rsi
pop rbp
pop rbx
ret
Function at 0x14003b3c0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rsi
push rdi
push r14
sub rsp, 0x58
mov rax, qword [0x140073010]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rsi, rdx
mov dword [rsp + 0x40], 3
mov rdx, rcx
mov dword [rsp + 0x38], 0
mov rbx, rcx
mov r14, r9
lea rcx, str.6VVYqCAosWjD4erSfQbAxxIXcxyHU1Xlr9LBeTz09TNPJ8UHuJZMnf946smXMDRuyFCrMXlN9wHXbMdkGsUHCQ
mov rdi, r8
call fcn.140036bf0
mov rdx, qword [rbx]
test rdx, rdx
je 0x14003b4fc
lea rax, [rsp + 0x30]
mov r9d, 0xf003f
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x14003b459
cmp eax, 2
jne 0x14003b4fc
mov rcx, qword [rbx]
call fcn.1400462d0
mov rcx, rbx
mov qword [rbx], 0
call fcn.14003b560
jmp 0x14003b501
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x40]
xor r8d, r8d
mov qword [rsp + 0x20], 0
mov rdx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14003b4f1
test rdi, rdi
jne 0x14003b49a
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x14003b501
mov eax, dword [rsp + 0x38]
mov ecx, eax
mov dword [rsp + 0x3c], eax
call fcn.1400462e4
mov rcx, qword [rsp + 0x30]
mov rbx, rax
test rax, rax
je 0x14003b4f6
lea rax, [rsp + 0x3c]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x40]
mov rdx, rsi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, rbx
test eax, eax
je 0x14003b518
mov r8d, dword [rsp + 0x3c]
xor edx, edx
call fcn.1400452a0
mov rcx, rbx
call fcn.1400462d0
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0xffffffff
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140043fc0
add rsp, 0x58
pop r14
pop rdi
pop rsi
pop rbx
ret
mov edx, dword [rsp + 0x3c]
mov r9, rdi
xor r8d, r8d
call fcn.140037070
mov r8d, dword [rsp + 0x3c]
xor edx, edx
mov rcx, rbx
mov dword [r14], eax
call fcn.1400452a0
mov rcx, rbx
call fcn.1400462d0
cmp dword [r14], 0
mov rcx, qword [rsp + 0x30]
jne 0x14003b490
jmp 0x14003b4f6
Function at 0x14003c2d0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
sub rsp, 0x50
mov rax, qword [0x140073010]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rbx, rcx
mov rsi, rdx
lea rcx, [rsp + 0x40]
call fcn.1400467d4
test rbx, rbx
je 0x14003c39a
lea r9, [rsp + 0x30]
mov qword [rsp + 0x70], rdi
mov edx, 8
mov qword [rsp + 0x30], 0
lea rcx, [rsp + 0x40]
call fcn.140036e00
mov rdi, rax
test eax, eax
je 0x14003c395
lea rax, [rsp + 0x38]
mov r9d, 0xf003f
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, rbx
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov rbx, qword [rsp + 0x30]
test eax, eax
jne 0x14003c380
mov rcx, qword [rsp + 0x38]
lea r9d, [rax + 3]
mov dword [rsp + 0x28], edi
xor r8d, r8d
mov rdx, rsi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r8d, edi
xor edx, edx
mov rcx, rbx
call fcn.1400452a0
mov rcx, rbx
call fcn.1400462d0
mov rdi, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140043fc0
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rsi
ret
Function at 0x14003c3c0
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x140073010]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, rcx
mov rsi, 0xffffffffffffffff
test rcx, rcx
je 0x14003c5bc
lea edx, [rsi + 0x5d]
call fcn.140044d2c
mov rbx, rax
test rax, rax
je 0x14003c40d
lea rcx, [rax + 1]
call fcn.1400463c8
mov rbx, rax
mov rcx, rdi
call fcn.1400463c8
mov rdi, rax
test rax, rax
je 0x14003c58f
test rbx, rbx
je 0x14003c573
mov rax, rsi
nop dword [rax]
inc rax
cmp byte [rbx + rax], 0
jne 0x14003c430
mov rcx, rdi
sub rcx, rax
mov rax, rsi
cmp byte [rdi + rax + 1], 0
lea rax, [rax + 1]
jne 0x14003c442
mov byte [rcx + rax - 1], 0
mov r9d, 0xf003f
lea rax, [rsp + 0x30]
mov qword [rsp + 0x30], 0
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, rdi
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov rcx, qword [rsp + 0x30]
test eax, eax
je 0x14003c4cc
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r8, rsi
inc r8
cmp byte [rbx + r8], 0
jne 0x14003c490
xor edx, edx
mov rcx, rbx
call fcn.1400452a0
mov rcx, rbx
call fcn.1400462d0
mov r8, rsi
nop
inc r8
cmp byte [rdi + r8], 0
jne 0x14003c4b0
xor edx, edx
mov rcx, rdi
call fcn.1400452a0
mov rcx, rdi
jmp 0x14003c5b7
test rcx, rcx
je 0x14003c52c
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteTreeA]
mov rcx, qword [rsp + 0x30]
test eax, eax
je 0x14003c52c
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r8, rsi
nop dword [rax]
inc r8
cmp byte [rbx + r8], 0
jne 0x14003c4f0
xor edx, edx
mov rcx, rbx
call fcn.1400452a0
mov rcx, rbx
call fcn.1400462d0
mov r8, rsi
nop
inc r8
cmp byte [rdi + r8], 0
jne 0x14003c510
xor edx, edx
mov rcx, rdi
call fcn.1400452a0
mov rcx, rdi
jmp 0x14003c5b7
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r8, rsi
inc r8
cmp byte [rbx + r8], 0
jne 0x14003c535
xor edx, edx
mov rcx, rbx
call fcn.1400452a0
mov rcx, rbx
call fcn.1400462d0
inc rsi
cmp byte [rdi + rsi], 0
jne 0x14003c551
mov r8, rsi
xor edx, edx
mov rcx, rdi
call fcn.1400452a0
mov rcx, rdi
call fcn.1400462d0
xor eax, eax
jmp 0x14003c5be
mov r8, rsi
inc r8
cmp byte [rax + r8], 0
jne 0x14003c576
xor edx, edx
mov rcx, rdi
call fcn.1400452a0
mov rcx, rdi
jmp 0x14003c5b7
test rbx, rbx
je 0x14003c5bc
mov r8, rsi
nop word [rax + rax]
inc r8
cmp byte [rbx + r8], 0
jne 0x14003c5a0
xor edx, edx
mov rcx, rbx
call fcn.1400452a0
mov rcx, rbx
call fcn.1400462d0
mov eax, esi
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140043fc0
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x14003d3c0
Capabilities:
Get file version info

Disassembly:
push rbx
push rbp
push rsi
sub rsp, 0x40
mov rax, qword [0x140073010]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, rdx
mov rsi, rcx
test rdx, rdx
jne 0x14003d3ed
lea ecx, [rdx + 0x10]
call fcn.1400462e4
mov rbx, rax
lea rdx, [rsp + 0x28]
mov rcx, rsi
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeA]
mov ebp, eax
test eax, eax
je 0x14003d47b
test rsi, rsi
je 0x14003d47b
mov ecx, ebp
mov qword [rsp + 0x70], rdi
mov edx, 1
call fcn.1400462ec
mov rdi, rax
test rax, rax
je 0x14003d46a
mov r9, rax
mov r8d, ebp
xor edx, edx
mov rcx, rsi
call qword [sym.imp.VERSION.dll_GetFileVersionInfoA]
lea r9, [rsp + 0x2c]
mov rcx, rdi
lea r8, [rsp + 0x20]
lea rdx, [0x14006d030]
call qword [sym.imp.VERSION.dll_VerQueryValueA]
mov rcx, qword [rsp + 0x20]
movzx eax, word [rcx + 0x12]
mov dword [rbx], eax
movzx eax, word [rcx + 0x10]
mov dword [rbx + 4], eax
movzx eax, word [rcx + 0x16]
mov dword [rbx + 8], eax
movzx eax, word [rcx + 0x14]
mov dword [rbx + 0xc], eax
mov rcx, rdi
call fcn.1400462d0
mov rdi, qword [rsp + 0x70]
xor eax, eax
jmp 0x14003d484
xor eax, eax
mov qword [rbx], rax
mov qword [rbx + 8], rax
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140043fc0
add rsp, 0x40
pop rsi
pop rbp
pop rbx
ret
Function at 0x14003d5b0
Capabilities:
Get file version info

Disassembly:
test rdx, rdx
je 0x14003d7d9
mov r11, rsp
push rbx
push r12
sub rsp, 0x78
mov rax, qword [0x140073010]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov qword [r11 + 0x18], rbp
mov r12, rdx
mov qword [r11 + 0x20], rsi
lea rdx, [r11 - 0x38]
mov qword [r11 - 0x20], r14
mov rbx, rcx
mov qword [r11 - 0x28], r15
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeA]
mov esi, eax
test eax, eax
je 0x14003d690
test rbx, rbx
je 0x14003d690
mov ecx, esi
mov qword [rsp + 0x70], rdi
mov edx, 1
call fcn.1400462ec
mov rdi, rax
test rax, rax
je 0x14003d66f
mov r9, rax
mov r8d, esi
xor edx, edx
mov rcx, rbx
call qword [sym.imp.VERSION.dll_GetFileVersionInfoA]
lea r9, [rsp + 0x54]
mov rcx, rdi
lea r8, [rsp + 0x40]
lea rdx, [0x14006d030]
call qword [sym.imp.VERSION.dll_VerQueryValueA]
mov rcx, qword [rsp + 0x40]
movzx esi, word [rcx + 0x12]
movzx ebp, word [rcx + 0x10]
movzx r14d, word [rcx + 0x16]
movzx r15d, word [rcx + 0x14]
mov rcx, rdi
call fcn.1400462d0
mov rdi, qword [rsp + 0x70]
jmp 0x14003d6ab
mov r15d, dword [rsp + 0x4c]
mov rcx, rdi
mov r14d, dword [rsp + 0x48]
mov ebp, dword [rsp + 0x44]
mov esi, dword [rsp + 0x40]
call fcn.1400462d0
mov rdi, qword [rsp + 0x70]
jmp 0x14003d6ab
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
mov r15d, dword [rsp + 0x4c]
mov r14d, dword [rsp + 0x48]
mov ebp, dword [rsp + 0x44]
mov esi, dword [rsp + 0x40]
xor ecx, ecx
cmp esi, 9
jg 0x14003d6b9
mov ecx, 1
jmp 0x14003d6df
mov r8d, esi
test esi, esi
jle 0x14003d6df
mov eax, 0x66666667
inc ecx
imul r8d
mov r8d, edx
sar r8d, 2
mov eax, r8d
shr eax, 0x1f
add r8d, eax
test r8d, r8d
jg 0x14003d6c0
cmp ebp, 9
jg 0x14003d6e8
inc ecx
jmp 0x14003d70f
mov r8d, ebp
test ebp, ebp
jle 0x14003d70f
nop
mov eax, 0x66666667
inc ecx
imul r8d
mov r8d, edx
sar r8d, 2
mov eax, r8d
shr eax, 0x1f
add r8d, eax
test r8d, r8d
jg 0x14003d6f0
cmp r14d, 9
jg 0x14003d719
inc ecx
jmp 0x14003d740
mov r8d, r14d
test r14d, r14d
jle 0x14003d740
mov eax, 0x66666667
inc ecx
imul r8d
mov r8d, edx
sar r8d, 2
mov eax, r8d
shr eax, 0x1f
add r8d, eax
test r8d, r8d
jg 0x14003d721
cmp r15d, 9
jg 0x14003d74a
inc ecx
jmp 0x14003d771
mov r8d, r15d
test r15d, r15d
jle 0x14003d771
mov eax, 0x66666667
inc ecx
imul r8d
mov r8d, edx
sar r8d, 2
mov eax, r8d
shr eax, 0x1f
add r8d, eax
test r8d, r8d
jg 0x14003d752
lea eax, [rcx + 4]
mov edx, 1
movsxd rbx, eax
mov rcx, rbx
call fcn.1400462ec
mov dword [rsp + 0x30], r15d
lea r8, str._d._d._d._d
mov dword [rsp + 0x28], r14d
mov r9d, esi
mov rdx, rbx
mov dword [rsp + 0x20], ebp
mov rcx, rax
mov qword [r12], rax
call fcn.14003c9d0
mov r15, qword [rsp + 0x60]
mov r14, qword [rsp + 0x68]
mov rsi, qword [rsp + 0xa8]
mov rbp, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140043fc0
add rsp, 0x78
pop r12
pop rbx
ret
Function at 0x14003d5b9
Capabilities:
Get file version info

Disassembly:
test rdx, rdx
je 0x14003d7d9
mov r11, rsp
push rbx
push r12
sub rsp, 0x78
mov rax, qword [0x140073010]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov qword [r11 + 0x18], rbp
mov r12, rdx
mov qword [r11 + 0x20], rsi
lea rdx, [r11 - 0x38]
mov qword [r11 - 0x20], r14
mov rbx, rcx
mov qword [r11 - 0x28], r15
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeA]
mov esi, eax
test eax, eax
je 0x14003d690
test rbx, rbx
je 0x14003d690
mov ecx, esi
mov qword [rsp + 0x70], rdi
mov edx, 1
call fcn.1400462ec
mov rdi, rax
test rax, rax
je 0x14003d66f
mov r9, rax
mov r8d, esi
xor edx, edx
mov rcx, rbx
call qword [sym.imp.VERSION.dll_GetFileVersionInfoA]
lea r9, [rsp + 0x54]
mov rcx, rdi
lea r8, [rsp + 0x40]
lea rdx, [0x14006d030]
call qword [sym.imp.VERSION.dll_VerQueryValueA]
mov rcx, qword [rsp + 0x40]
movzx esi, word [rcx + 0x12]
movzx ebp, word [rcx + 0x10]
movzx r14d, word [rcx + 0x16]
movzx r15d, word [rcx + 0x14]
mov rcx, rdi
call fcn.1400462d0
mov rdi, qword [rsp + 0x70]
jmp 0x14003d6ab
mov r15d, dword [rsp + 0x4c]
mov rcx, rdi
mov r14d, dword [rsp + 0x48]
mov ebp, dword [rsp + 0x44]
mov esi, dword [rsp + 0x40]
call fcn.1400462d0
mov rdi, qword [rsp + 0x70]
jmp 0x14003d6ab
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
mov r15d, dword [rsp + 0x4c]
mov r14d, dword [rsp + 0x48]
mov ebp, dword [rsp + 0x44]
mov esi, dword [rsp + 0x40]
xor ecx, ecx
cmp esi, 9
jg 0x14003d6b9
mov ecx, 1
jmp 0x14003d6df
mov r8d, esi
test esi, esi
jle 0x14003d6df
mov eax, 0x66666667
inc ecx
imul r8d
mov r8d, edx
sar r8d, 2
mov eax, r8d
shr eax, 0x1f
add r8d, eax
test r8d, r8d
jg 0x14003d6c0
cmp ebp, 9
jg 0x14003d6e8
inc ecx
jmp 0x14003d70f
mov r8d, ebp
test ebp, ebp
jle 0x14003d70f
nop
mov eax, 0x66666667
inc ecx
imul r8d
mov r8d, edx
sar r8d, 2
mov eax, r8d
shr eax, 0x1f
add r8d, eax
test r8d, r8d
jg 0x14003d6f0
cmp r14d, 9
jg 0x14003d719
inc ecx
jmp 0x14003d740
mov r8d, r14d
test r14d, r14d
jle 0x14003d740
mov eax, 0x66666667
inc ecx
imul r8d
mov r8d, edx
sar r8d, 2
mov eax, r8d
shr eax, 0x1f
add r8d, eax
test r8d, r8d
jg 0x14003d721
cmp r15d, 9
jg 0x14003d74a
inc ecx
jmp 0x14003d771
mov r8d, r15d
test r15d, r15d
jle 0x14003d771
mov eax, 0x66666667
inc ecx
imul r8d
mov r8d, edx
sar r8d, 2
mov eax, r8d
shr eax, 0x1f
add r8d, eax
test r8d, r8d
jg 0x14003d752
lea eax, [rcx + 4]
mov edx, 1
movsxd rbx, eax
mov rcx, rbx
call fcn.1400462ec
mov dword [rsp + 0x30], r15d
lea r8, str._d._d._d._d
mov dword [rsp + 0x28], r14d
mov r9d, esi
mov rdx, rbx
mov dword [rsp + 0x20], ebp
mov rcx, rax
mov qword [r12], rax
call fcn.14003c9d0
mov r15, qword [rsp + 0x60]
mov r14, qword [rsp + 0x68]
mov rsi, qword [rsp + 0xa8]
mov rbp, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140043fc0
add rsp, 0x78
pop r12
pop rbx
ret
Function at 0x14003e920
Capabilities:
Set registry value

Disassembly:
push rbp
push rbx
push rdi
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x140073010]
xor rax, rsp
mov qword [rbp - 8], rax
xor ebx, ebx
lea rdx, [rbp - 0x28]
lea rcx, str.6VVYqCAosWjD4erSfQbAx7l9DvaESpJWWpxCeHDwM
mov qword [rbp - 0x20], rbx
mov qword [rbp - 0x28], rbx
mov qword [rbp - 0x30], rbx
mov dword [rbp - 0x18], ebx
call fcn.14003aa30
mov rdx, qword [rbp - 0x28]
lea r9, [rbp - 0x18]
lea r8, [rbp - 0x30]
lea rcx, [rbp - 0x20]
call fcn.14003b3c0
mov rdi, qword [rbp - 0x30]
test rdi, rdi
je 0x14003e986
cmp dword [rbp - 0x18], 8
jne 0x14003e986
mov rbx, qword [rdi]
jmp 0x14003ea7d
mov qword [rsp + 0x80], rsi
call fcn.140035b20
lea rcx, [rbp - 0x10]
test eax, eax
je 0x14003e9aa
call fcn.1400467d4
mov rax, qword [rbp - 0x10]
add rax, 0x3c
jmp 0x14003e9b9
call fcn.1400467d4
mov rax, qword [rbp - 0x10]
add rax, 0x15180
lea r9, [rbp - 0x30]
mov qword [rbp - 0x10], rax
mov edx, 8
mov qword [rbp - 0x30], rbx
lea rcx, [rbp - 0x10]
call fcn.140036e00
mov rsi, rax
test eax, eax
je 0x14003ea75
mov rdx, qword [rbp - 0x20]
lea rax, [rbp - 0x18]
mov qword [rsp + 0x88], r12
mov r9d, 0xf003f
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x90], r14
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov r14, qword [rbp - 0x30]
mov r12d, eax
test eax, eax
jne 0x14003ea47
mov rdx, qword [rbp - 0x28]
lea r9d, [rax + 3]
mov rcx, qword [rbp - 0x18]
xor r8d, r8d
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], r14
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rbp - 0x18]
mov r12d, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r8d, esi
xor edx, edx
mov rcx, r14
call fcn.1400452a0
mov rcx, r14
call fcn.1400462d0
mov r14, qword [rsp + 0x90]
test r12d, r12d
mov r12, qword [rsp + 0x88]
jne 0x14003ea75
mov rbx, qword [rbp - 0x10]
mov rsi, qword [rsp + 0x80]
mov rcx, qword [rbp - 0x28]
call fcn.1400462d0
mov rcx, qword [rbp - 0x20]
call fcn.1400462d0
mov rcx, rdi
call fcn.1400462d0
mov rax, rbx
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140043fc0
add rsp, 0x60
pop rdi
pop rbx
pop rbp
ret
Function at 0x14003f0e0
Capabilities:
Query service status

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x140073010]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor eax, eax
mov dword [rsp + 0x20], 0x30
mov rbx, rcx
mov qword [rsp + 0x34], rax
xor ecx, ecx
mov dword [rsp + 0x30], eax
xor edx, edx
mov dword [rsp + 0x24], 2
mov r8d, 0xf003f
mov qword [rsp + 0x28], 7
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov rdi, rax
test rax, rax
jne 0x14003f13d
lea eax, [rdi - 1]
jmp 0x14003f196
mov r8d, 0xf003f
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov rcx, rax
lea rdx, [rsp + 0x20]
mov rbx, rax
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x14003f182
test rbx, rbx
je 0x14003f182
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, 1
jmp 0x14003f196
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor eax, eax
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140043fc0
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret

Function at 0x14003f1b0
Capabilities:
Query service status

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x140073010]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor eax, eax
mov dword [rsp + 0x20], 0x30
mov esi, edx
mov qword [rsp + 0x34], rax
mov rbx, rcx
mov dword [rsp + 0x30], eax
xor edx, edx
mov dword [rsp + 0x24], 2
xor ecx, ecx
mov qword [rsp + 0x28], 7
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov rdi, rax
test rax, rax
je 0x14003f270
mov r8d, 0xf003f
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov rbx, rax
test rax, rax
je 0x14003f270
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x14003f25a
cmp dword [rsp + 0x24], esi
jne 0x14003f25a
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, 1
jmp 0x14003f275
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor eax, eax
jmp 0x14003f275
mov eax, 0xffffffff
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140043fc0
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
Function at 0x14003f2a0
Capabilities:
Query service configuration

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0x30
mov rax, qword [0x140073010]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov r14d, edx
mov rbx, rcx
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov rdi, rax
test rax, rax
jne 0x14003f2de
lea eax, [rdi - 1]
jmp 0x14003f3bb
mov r8d, 1
mov qword [rsp + 0x60], rsi
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov rsi, rax
test rax, rax
jne 0x14003f30e
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
lea eax, [rsi - 1]
jmp 0x14003f3b6
lea r9, [rsp + 0x20]
mov qword [rsp + 0x58], rbp
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_QueryServiceConfigA]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
test ebx, ebx
jne 0x14003f337
cmp eax, 0x7a
jne 0x14003f360
mov ebx, dword [rsp + 0x20]
xor ecx, ecx
mov edx, ebx
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
lea r9, [rsp + 0x20]
mov r8d, ebx
mov rdx, rax
mov rcx, rsi
mov rbp, rax
call qword [sym.imp.ADVAPI32.dll_QueryServiceConfigA]
test eax, eax
jne 0x14003f379
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, 0xffffffff
jmp 0x14003f3b1
test rbp, rbp
je 0x14003f39d
cmp dword [rbp + 4], r14d
jne 0x14003f39d
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, 1
jmp 0x14003f3b1
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor eax, eax
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140043fc0
add rsp, 0x30
pop r14
pop rdi
pop rbx
ret
Function at 0x14003f3e0
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0xf0
mov rax, qword [0x140073010]
xor rax, rsp
mov qword [rsp + 0xe0], rax
mov rax, 0xffffffffffffffff
mov rbx, rcx
mov rcx, rax
mov rdi, rdx
inc rcx
cmp byte [rdx + rcx], 0
jne 0x14003f411
nop word [rax + rax]
cmp byte [rbx + rax + 1], 0
lea rax, [rax + 1]
jne 0x14003f420
lea rbp, [rax + 7]
mov edx, 1
add rbp, rcx
mov rcx, rbp
call fcn.1400462ec
mov rsi, rax
test rax, rax
je 0x14003f499
lea r8, [0x14006db60]
mov rdx, rbp
mov rcx, rax
call fcn.1400466e0
mov r8, rdi
mov rdx, rbp
mov rcx, rsi
call fcn.140046b08
lea r8, [0x14006da50]
mov rdx, rbp
mov rcx, rsi
call fcn.140046b08
mov r8, rbx
mov rdx, rbp
mov rcx, rsi
call fcn.140046b08
lea r8, [0x14006da3c]
mov rdx, rbp
mov rcx, rsi
call fcn.140046b08
xorps xmm0, xmm0
xor ecx, ecx
xor eax, eax
xor r9d, r9d
mov qword [rsp + 0xd0], rax
xor r8d, r8d
mov qword [rsp + 0x60], rax
mov rdx, rsi
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], ecx
movups xmmword [rsp + 0x70], xmm0
mov dword [rsp + 0x20], ecx
movups xmmword [rsp + 0xa0], xmm0
mov dword [rsp + 0x70], 0x68
movups xmmword [rsp + 0xb0], xmm0
mov dword [rsp + 0xac], 1
movups xmmword [rsp + 0x80], xmm0
mov word [rsp + 0xb0], cx
movups xmmword [rsp + 0x90], xmm0
movups xmmword [rsp + 0xc0], xmm0
movups xmmword [rsp + 0x50], xmm0
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x14003f559
mov rcx, qword [rsp + 0x50]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.140043fc0
mov rbx, qword [rsp + 0x120]
add rsp, 0xf0
pop rdi
pop rsi
pop rbp
ret
Function at 0x14003fad0
Capabilities:
Query service configuration

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push r14
push r15
sub rsp, 0x30
mov rax, qword [0x140073010]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov r15d, edx
mov rsi, rcx
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov r8d, 1
mov rdx, rsi
mov rcx, rax
mov r14, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
lea r9, [rsp + 0x20]
xor r8d, r8d
mov rcx, rax
xor edx, edx
mov rbp, rax
call qword [sym.imp.ADVAPI32.dll_QueryServiceConfigA]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
test ebx, ebx
jne 0x14003fb44
cmp eax, 0x7a
jne 0x14003fbb8
mov ebx, dword [rsp + 0x20]
xor ecx, ecx
mov edx, ebx
mov qword [rsp + 0x58], rdi
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
lea r9, [rsp + 0x20]
mov r8d, ebx
mov rdx, rax
mov rcx, rbp
mov rdi, rax
call qword [sym.imp.ADVAPI32.dll_QueryServiceConfigA]
test eax, eax
je 0x14003fbb3
cmp r15d, 1
jne 0x14003fb91
lea rdx, str.stop
mov rcx, rsi
call fcn.14003f3e0
lea ecx, [r15 + 9]
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rdx, str.delete
mov rcx, rsi
call fcn.14003f3e0
test rdi, rdi
je 0x14003fbb3
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x14003fbb3
call fcn.140046a28
mov rdi, qword [rsp + 0x58]
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140043fc0
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop rsi
ret