joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400558b0
Capabilities:
Hash data using fnv

Disassembly:
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov edi, 1
bsr rcx, rax
mov eax, edi
shl rax, cl
cmp rdx, rax
jbe 0x1400558e1
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [0x140191cf8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x140191d08]
lea rdx, [rdi + rdi]
call fcn.140055350
mov rax, qword [0x140191cf8]
lea r9, [rdi - 1]
mov qword [0x140191d20], r9
mov qword [0x140191d28], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x140055a54
mov qword [rsp + 0x40], rsi
movabs rdi, 0x100000001b3
movabs rsi, 0xcbf29ce484222325
movzx edx, byte [rax + 0x11]
movzx r11d, byte [rax + 0x10]
mov rcx, qword [rcx]
xor r11, rsi
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x12]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x13]
imul r11, rdi
xor r11, rdx
imul r11, rdi
and r11, r9
shl r11, 4
add r11, qword [0x140191d08]
mov r9, qword [r11]
cmp r9, rbx
jne 0x1400559a0
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x140055a15
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x1400559dd
mov r10, qword [rdx]
cmp r10, rax
je 0x1400559d7
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x140055a15
cmp r9, rdx
je 0x1400559f1
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x140055a29
cmp r9, rdx
jne 0x1400559e2
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
je 0x140055a4f
mov r9, qword [0x140191d20]
jmp 0x140055951
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x140055a15
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140055dd0
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 0x140055e31
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 0x140055df0
mov ecx, dword [r9]
jmp 0x140055f1b
cmp ecx, 0x4e0
jb 0x140055f1b
lea r10, [r9 + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
add r10, 4
mov edx, r11d
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 [r8 + 0x634]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x140055e50
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
mov edx, eax
xor edx, r11d
add r10, 4
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 [r8 - 0xd4c]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x140055ea0
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 0x140055f60
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
movaps xmmword [rsp + 0x30], xmm6
movaps xmmword [rsp + 0x20], xmm7
movaps xmm7, xmm1
movaps xmm6, xmm0
mov ecx, 4
mov rax, qword gs:[0x58]
mov rax, qword [rax]
lea rdi, [0x140191d60]
mov eax, dword [rcx + rax]
cmp dword [0x140191d50], eax
jle 0x140056007
lea rcx, [0x140191d50]
call fcn.140059498
cmp dword [0x140191d50], 0xffffffff
jne 0x140056007
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov dword [0x1401930e4], 0xffffffff
mov dword [0x140191d64], eax
mov r8d, 1
nop
mov edx, eax
shr edx, 0x1e
xor edx, eax
imul eax, edx, 0x6c078965
add eax, r8d
mov dword [rdi + r8*4 + 4], eax
inc r8
cmp r8, 0x270
jb 0x140055fd0
mov dword [0x140191d60], 0x270
lea rcx, [0x140191d50]
call fcn.14005942c
cvtss2sd xmm6, xmm6
xorps xmm4, xmm4
cvtss2sd xmm4, xmm7
xorps xmm3, xmm3
xorps xmm1, xmm1
movsd xmm2, qword [0x140185960]
mov ebx, 2
movsd xmm5, qword [0x1401859c0]
nop dword [rax]
mov rcx, rdi
call fcn.140055dd0
mov eax, eax
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
subsd xmm0, xmm3
mulsd xmm0, xmm2
addsd xmm1, xmm0
mulsd xmm2, xmm5
sub rbx, 1
jne 0x140056030
divsd xmm1, xmm2
subsd xmm4, xmm6
mulsd xmm1, xmm4
addsd xmm1, xmm6
xorps xmm0, xmm0
cvtsd2ss xmm0, xmm1
mov rbx, qword [rsp + 0x50]
movaps xmm6, xmmword [rsp + 0x30]
movaps xmm7, xmmword [rsp + 0x20]
add rsp, 0x40
pop rdi
ret
Function at 0x14005a100
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14005a14a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14005a14a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14005a14a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14005a14a
cmp dword [rcx + 0x84], 0xe
jbe 0x14005a14a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14005a14c
xor al, al
add rsp, 0x28
ret
Function at 0x14000c8c0
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx + 0x10]
mov rdi, rdx
test rcx, rcx
je 0x14000c8ee
mov r8, rdx
mov rdx, qword [rbx]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp 0x14000fee0
cmp byte [0x14005cde0], 0
jne 0x14000c939
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000c929
lea rdx, str.RegDeleteKeyExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov byte [0x14005cde0], 1
mov qword [0x14005cdd8], rax
jmp 0x14000c940
mov rax, qword [0x14005cdd8]
mov byte [0x14005cde0], 1
jmp 0x14000c940
mov rax, qword [0x14005cdd8]
mov rcx, qword [rbx]
mov rdx, rdi
test rax, rax
je 0x14000c95f
mov r8d, dword [rbx + 8]
xor r9d, r9d
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp rax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
cmp qword [rcx], 0
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
je 0x14000ff54
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je case.default.0x14000ff6f
lea rdx, str.RegDeleteKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je case.default.0x14000ff6f
mov rcx, qword [rbx]
mov qword [rsp + 0x28], 0
xor r9d, r9d
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov rdx, rdi
mov rcx, rsi
call rax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp dword [rcx + 8], 0
je case.default.0x14000ff6f
mov rdx, r8
mov rcx, rsi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov eax, 1
add rsp, 0x30
pop rdi
ret
invalid
test dword [rcx - 0x4527c932], edx
ficomp dword [rbx]
cmc
pushfq
jns 0x140097b15
test byte [rsi - 0x184ff068], bh
je 0x140097b3f
out 0x74, eax
std
std
xlatb
test eax, 0xbb090912
invalid
Function at 0x14000dc20
Capabilities:
Create service

Disassembly:
push rdi
sub rsp, 0xa90
mov rax, qword [0x14005a220]
xor rax, rsp
mov qword [rsp + 0xa80], rax
mov rdi, rcx
call fcn.14000df00
test eax, eax
je 0x14000dc51
mov eax, 1
jmp 0x14000dd58
lea rdx, [rsp + 0x72]
mov r8d, 0x104
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x14000de4e
cmp eax, 0x104
je 0x14000de4e
lea ecx, [rax + 1]
mov r8d, 0x22
mov word [rsp + 0x70], r8w
mov word [rsp + rcx*2 + 0x70], r8w
lea ecx, [rax + 2]
add rcx, rcx
cmp rcx, 0x20c
jae 0x14000de97
mov qword [rsp + 0xaa8], rbx
mov qword [rsp + 0xab0], rsi
xor esi, esi
mov word [rsp + rcx + 0x70], si
xor edx, edx
mov r8d, 0xf003f
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rbx, rax
test rax, rax
jne 0x14000dd71
lea rdx, [rsp + 0x280]
mov r8d, 0x400
mov ecx, 0xd80a
call fcn.14000ba70
test eax, eax
jne 0x14000dd2f
lea r8, str.Could_not_open_Service_Manager
lea rcx, [rsp + 0x280]
mov edx, 0x400
call fcn.140029240
test eax, eax
je 0x14000dd2f
cmp eax, 0xc
je 0x14000de6b
cmp eax, 0x16
je 0x14000de60
cmp eax, 0x22
je 0x14000de60
cmp eax, 0x50
jne 0x14000de55
lea r8, [rdi + 0x68]
xor r9d, r9d
lea rdx, [rsp + 0x280]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
mov rbx, qword [rsp + 0xaa8]
mov rsi, qword [rsp + 0xab0]
mov rcx, qword [rsp + 0xa80]
xor rcx, rsp
call fcn.140028060
add rsp, 0xa90
pop rdi
ret
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x58], rsi
lea rax, str.RPCSS
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], rsi
lea rax, [rsp + 0x70]
add rdi, 0x68
mov r9d, 0xf01ff
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 1
mov r8, rdi
mov rdx, rdi
mov rcx, rbx
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], reloc.OLEAUT32.dll_SafeArrayGetDim
call qword [sym.imp.ADVAPI32.dll_CreateServiceW]
test rax, rax
jne 0x14000de32
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
lea rdx, [rsp + 0x280]
mov r8d, 0x400
mov ecx, 0xd80b
call fcn.14000ba70
test eax, eax
jne 0x14000de27
lea r8, str.Could_not_start_service
lea rcx, [rsp + 0x280]
mov edx, 0x400
call fcn.140029240
test eax, eax
je 0x14000de27
cmp eax, 0xc
je 0x14000de8c
cmp eax, 0x16
je 0x14000de81
cmp eax, 0x22
je 0x14000de81
cmp eax, 0x50
jne 0x14000de76
xor r9d, r9d
mov r8, rdi
jmp 0x14000dd36
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, 1
jmp 0x14000dd48
xor eax, eax
jmp 0x14000dd58
mov ecx, 0x80004005
call fcn.140003020
int3
mov ecx, 0x80070057
call fcn.140003020
int3
mov ecx, 0x8007000e
call fcn.140003020
int3
mov ecx, 0x80004005
call fcn.140003020
int3
mov ecx, 0x80070057
call fcn.140003020
int3
mov ecx, 0x8007000e
call fcn.140003020
int3
call fcn.140028fc0
int3
Function at 0x14000fc40
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x280
mov rax, qword [0x14005a220]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov r9d, dword [rcx + 8]
xor eax, eax
xor ebp, ebp
mov rsi, rdx
mov r8, rdx
mov rdx, qword [rcx]
mov rdi, rcx
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x40]
or r9d, 0x2001f
mov qword [rsp + 0x40], rbp
mov dword [rsp + 0x48], ebp
mov qword [rsp + 0x50], rbp
call fcn.14000e2f0
mov ebx, eax
test eax, eax
jne 0x14000fd67
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x60]
lea r9, [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbp
lea r8, [rsp + 0x70]
xor edx, edx
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x58], 0x100
mov qword [rsp + 0x20], rbp
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x14000fd41
nop dword [rax]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x40]
call fcn.14000fc40
mov ebx, eax
test eax, eax
jne 0x14000fd67
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x60]
lea r9, [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbp
lea r8, [rsp + 0x70]
xor edx, edx
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x58], 0x100
mov qword [rsp + 0x20], rbp
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x14000fcf0
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14000fd56
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x40], rbp
mov rdx, rsi
mov rcx, rdi
mov dword [rsp + 0x48], ebp
call fcn.14000c8c0
mov ebx, eax
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14000fd77
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140028060
mov rbx, qword [rsp + 0x2b0]
add rsp, 0x280
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000fee0
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx + 0x10]
mov rdi, rdx
test rcx, rcx
je 0x14000c8ee
mov r8, rdx
mov rdx, qword [rbx]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp 0x14000fee0
cmp byte [0x14005cde0], 0
jne 0x14000c939
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000c929
lea rdx, str.RegDeleteKeyExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov byte [0x14005cde0], 1
mov qword [0x14005cdd8], rax
jmp 0x14000c940
mov rax, qword [0x14005cdd8]
mov byte [0x14005cde0], 1
jmp 0x14000c940
mov rax, qword [0x14005cdd8]
mov rcx, qword [rbx]
mov rdx, rdi
test rax, rax
je 0x14000c95f
mov r8d, dword [rbx + 8]
xor r9d, r9d
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp rax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
cmp qword [rcx], 0
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
je 0x14000ff54
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je case.default.0x14000ff6f
lea rdx, str.RegDeleteKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je case.default.0x14000ff6f
mov rcx, qword [rbx]
mov qword [rsp + 0x28], 0
xor r9d, r9d
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov rdx, rdi
mov rcx, rsi
call rax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp dword [rcx + 8], 0
je case.default.0x14000ff6f
mov rdx, r8
mov rcx, rsi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov eax, 1
add rsp, 0x30
pop rdi
ret
invalid
test dword [rcx - 0x4527c932], edx
ficomp dword [rbx]
cmc
pushfq
jns 0x140097b15
test byte [rsi - 0x184ff068], bh
je 0x140097b3f
out 0x74, eax
std
std
xlatb
test eax, 0xbb090912
invalid
Function at 0x140010170
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x490
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov rax, qword [0x14005a220]
xor rax, rsp
mov qword [rsp + 0x480], rax
mov r15, r9
mov rsi, r8
mov rbx, rdx
xor r14d, r14d
mov qword [rsp + 0x50], r14
xor eax, eax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x58], r14
xor edx, edx
mov r8d, 0x408
lea rcx, [rsp + 0x70]
call fcn.140028090
mov qword [rsp + 0x70], r14
xor edx, edx
lea r8d, [r14 + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x14001021c
xor edx, edx
lea r8d, [r14 + 2]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x14001021c
call fcn.14000ba40
mov ebx, eax
jmp 0x140010344
mov r8, r15
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
jne 0x14001023d
call fcn.14000ba40
jmp 0x140010333
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
mov qword [rsp + 0x40], rax
test rax, rax
jne 0x140010260
call fcn.14000ba40
jmp 0x140010333
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
mov dword [rsp + 0x30], eax
inc eax
cmp eax, ebx
jae 0x140010282
mov ebx, 0x8007000e
jmp 0x140010335
mov ecx, eax
test eax, eax
je 0x1400102ba
xor edx, edx
or rax, 0xffffffffffffffff
div rcx
cmp rax, 2
jb 0x1400102b0
lea rdx, [rcx + rcx]
cmp rdx, 0x400
jbe 0x1400102ba
lea rcx, [rsp + 0x70]
call fcn.14000b8b0
jmp 0x1400102c4
mov ecx, 0x80070216
call fcn.140003020
lea rax, [rsp + 0x78]
mov qword [rsp + 0x70], rax
jmp 0x1400102d7
cmp qword [rsp + 0x70], 0
jne 0x1400102e6
mov ebx, 0x8007000e
jmp 0x140010335
mov dword [rsp + 0x28], ebx
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, ebx
mov r8, rsi
xor edx, edx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x140010310
call fcn.14000ba40
jmp 0x140010333
mov ecx, eax
mov rax, qword [rsp + 0x70]
mov word [rax + rcx*2], r14w
mov r8d, dword [rsp + 0x4e0]
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x58]
call fcn.14000ff90
mov ebx, eax
test rdi, rdi
je 0x140010344
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
lea rax, [rsp + 0x78]
cmp qword [rsp + 0x70], rax
je 0x14001035b
lea rcx, [rsp + 0x70]
call fcn.14000c9b0
nop
mov eax, ebx
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.140028060
add rsp, 0x490
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
Function at 0x140011220
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x48
mov rax, qword [0x14005a220]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rcx, qword [rcx]
lea rax, [rsp + 0x30]
mov dword [rsp + 0x30], r8d
mov r9d, 4
xor r8d, r8d
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140028060
add rsp, 0x48
ret

Function at 0x140011320
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rdi, rcx
mov rcx, rdx
mov rbx, rdx
call qword [sym.imp.ADVAPI32.dll_GetSecurityDescriptorLength]
lea rdx, str.LaunchPermission
xor r9d, r9d
xor r8d, r8d
mov rcx, rdi
mov qword [rsp + 0x28], 0
mov esi, eax
mov qword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, 2
jne 0x1400113a3
lea r9d, [rax + 1]
lea rdx, str.LaunchPermission
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x1400113a3
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov eax, 1
add rsp, 0x30
pop rdi
ret

Function at 0x140011920
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x38
mov r9, r8
mov r10, rdx
test r8, r8
jne 0x140011938
lea eax, [r8 + 0xd]
add rsp, 0x38
ret
xor r8d, r8d
mov rdx, r9
nop
or rax, 0xffffffffffffffff
inc rax
cmp word [rdx + rax*2], 0
jne 0x140011944
inc eax
lea rdx, [rdx + rax*2]
lea r8d, [r8 + rax*2]
cmp eax, 1
jne 0x140011940
mov rcx, qword [rcx]
mov dword [rsp + 0x28], r8d
mov qword [rsp + 0x20], r9
lea r9d, [rax + 6]
xor r8d, r8d
mov rdx, r10
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add rsp, 0x38
ret
Function at 0x140011af0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r15
lea rbp, [rsp - 0x1b0]
sub rsp, 0x2b0
mov rax, qword [0x14005a220]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
xor eax, eax
xor r12d, r12d
mov rdi, rcx
mov r15d, edx
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x48]
lea r8, str.AppID
mov r9d, 0x20019
mov rdx, 0xffffffff80000000
mov qword [rsp + 0x48], r12
mov dword [rsp + 0x50], r12d
mov qword [rsp + 0x58], r12
call fcn.14000e2f0
mov ebx, eax
test eax, eax
je 0x140011b77
mov dword [rdi + 0x27c], eax
jmp 0x140011cda
mov rdx, qword [rsp + 0x48]
xor eax, eax
lea r8, str.84081F6F_8B2D_4FFE_AF7F_E72D488FABEB
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x30]
mov r9d, 0x20019
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x38], r12d
mov qword [rsp + 0x40], r12
call fcn.14000e2f0
mov ebx, eax
test eax, eax
jne 0x140011cc2
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x60]
lea r9, [rsp + 0x64]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x70]
lea rdx, str.LocalService
xor r8d, r8d
mov dword [rsp + 0x60], 0x208
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, eax
test eax, eax
jne 0x140011c2e
mov eax, dword [rsp + 0x64]
dec eax
cmp eax, 1
jbe 0x140011c08
lea ecx, [rbx + 0xd]
jmp 0x140011c2e
mov eax, dword [rsp + 0x60]
test eax, eax
je 0x140011c26
test al, 1
jne 0x140011c1f
shr rax, 1
cmp word [rbp + rax*2 - 0x72], r12w
je 0x140011c2b
mov ecx, SafeArrayGetDim
jmp 0x140011c2e
mov word [rbp - 0x70], r12w
mov ecx, r12d
test ecx, ecx
mov eax, r12d
mov edx, 1
cmove eax, edx
mov dword [rdi + 0x28c], eax
test eax, eax
je 0x140011c86
lea rax, [rdi + 0x68]
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x78], r12
mov qword [rsp + 0x68], rax
lea rax, [0x140013930]
mov qword [rbp - 0x80], r12
mov qword [rsp + 0x70], rax
call qword [sym.imp.ADVAPI32.dll_StartServiceCtrlDispatcherW]
test eax, eax
jne 0x140011c7e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rdi + 0x27c], eax
mov ebx, dword [rdi + 0x27c]
jmp 0x140011cc8
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
mov ebx, eax
test eax, eax
jns 0x140011cb1
cmp eax, 0x80010106
jne 0x140011cc8
lea rcx, str.Mscoree.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
jne 0x140011cb5
jmp 0x140011cc8
mov byte [rdi + 0x62], 1
mov edx, r15d
mov rcx, rdi
call fcn.140010ae0
mov ebx, eax
mov dword [rdi + 0x27c], eax
cmp qword [rsp + 0x30], r12
je 0x140011cda
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp qword [rsp + 0x48], r12
je 0x140011cec
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.140028060
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r12
pop rbp
ret
Function at 0x140012b40
Capabilities:
Delete registry value

Disassembly:
sub rsp, 0x58
call fcn.1400126e0
test eax, eax
jne 0x140012b57
mov eax, 0x80004005
add rsp, 0x58
ret
xor eax, eax
mov qword [rsp + 0x50], rbx
xor ebx, ebx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
lea r8, str.AppID
lea rcx, [rsp + 0x38]
mov r9d, 0x20006
mov rdx, 0xffffffff80000000
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x40], ebx
mov qword [rsp + 0x48], rbx
call fcn.14000e2f0
test eax, eax
je 0x140012baa
mov ecx, eax
call fcn.14000ba60
mov ebx, eax
jmp 0x140012c20
mov rdx, qword [rsp + 0x38]
xor eax, eax
lea r8, str.84081F6F_8B2D_4FFE_AF7F_E72D488FABEB
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x20]
mov r9d, 0x20006
mov qword [rsp + 0x20], rbx
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x30], rbx
call fcn.14000e2f0
test eax, eax
je 0x140012bf2
mov ecx, eax
call fcn.14000ba60
jmp 0x140012c0b
mov rcx, qword [rsp + 0x20]
lea rdx, str.LocalService
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
xor ecx, ecx
call fcn.1400131b0
cmp qword [rsp + 0x20], 0
mov ebx, eax
je 0x140012c20
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp qword [rsp + 0x38], 0
je 0x140012c33
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x58
ret