joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000a280
Capabilities:
Encode data using xor
Hash data with md5

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x238]
sub rsp, 0x310
mov rax, qword [0x1400580e8]
xor rax, rsp
mov qword [rbp + 0x200], rax
mov rbx, qword [rbp + 0x268]
lea rcx, str.D7F77FF8_15D8_4321_8DBF_BDBDE16EE4F0
mov r15, qword [rbp + 0x260]
mov r12, rdx
mov qword [rsp + 0x20], rbx
mov r14d, r8d
call fcn.14001f700
mov r8, rax
lea rdx, str.D7F77FF8_15D8_4321_8DBF_BDBDE16EE4F0
mov r9d, 1
lea rcx, [rbp - 0x60]
call fcn.140009668
test r12, r12
je 0x14000a426
test r15, r15
je 0x14000a426
cmp r14d, 1
jb 0x14000a426
test r14d, r14d
je 0x14000a386
mov rsi, r15
sub r12, r15
mov r13d, r14d
mov al, byte [r12 + rsi]
lea rcx, [rbp - 0x60]
xor byte [rbp + 0x1d9], al
call fcn.1400097d8
mov bl, al
lea rcx, [rbp - 0x60]
xor bl, byte [rbp + 0x1d9]
call fcn.1400097d8
lea edi, [rbx + rax]
mov ebx, 1
cmp dword [rbp + 0x1c0], ebx
jle 0x14000a375
lea rcx, [rbp - 0x60]
call fcn.1400097d8
lea rcx, [rbp - 0x60]
xor dil, al
call fcn.1400097d8
add dil, al
inc ebx
cmp ebx, dword [rbp + 0x1c0]
jl 0x14000a353
mov byte [rsi], dil
inc rsi
sub r13, 1
jne 0x14000a31f
mov rbx, qword [rsp + 0x20]
mov edi, 0x10
mov dword [rbx], 0x4752434d
mov r8d, edi
mov dword [rbx + 4], 1
xor edx, edx
mov dword [rbx + 8], r14d
lea rcx, [rbx + 0x14]
mov dword [rbx + 0xc], 4
mov dword [rbx + 0x10], 1
call fcn.14001d380
and dword [rsp + 0x34], 0
lea rcx, [rsp + 0x30]
and dword [rsp + 0x30], 0
mov r8d, r14d
mov rdx, r15
mov dword [rsp + 0x38], 0x67452301
mov dword [rsp + 0x3c], 0xefcdab89
mov dword [rsp + 0x40], 0x98badcfe
mov dword [rsp + 0x44], 0x10325476
call fcn.140009864
lea rcx, [rsp + 0x30]
call fcn.14000a174
mov r8d, edi
lea rdx, [rbp - 0x78]
lea rcx, [rbp + 0x1f0]
call fcn.14001cf30
mov r8d, edi
lea rdx, [rbp + 0x1f0]
lea rcx, [rbx + 0x14]
call fcn.14001cf30
xor ebx, ebx
jmp 0x14000a42b
mov ebx, 0x1770
mov rcx, qword [rbp + 0x1c8]
test rcx, rcx
je 0x14000a448
lea rax, [rbp + 0x1da]
cmp rcx, rax
je 0x14000a448
call fcn.14001ac04
mov rcx, qword [rbp + 0x1d0]
test rcx, rcx
je 0x14000a465
lea rax, [rbp + 0x1df]
cmp rcx, rax
je 0x14000a465
call fcn.14001ac04
mov eax, ebx
mov rcx, qword [rbp + 0x200]
xor rcx, rsp
call fcn.14001a5c0
lea r11, [rsp + 0x310]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x14000a898
Capabilities:
Get file attributes

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x30
mov rbx, rcx
or edi, 0xffffffff
mov rcx, qword [rcx + 0x478]
xor esi, esi
test rcx, rcx
je 0x14000a8c3
cmp si, word [rcx]
je 0x14000a8c3
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, edi
jne 0x14000a8ea
mov rcx, qword [rbx + 0x480]
test rcx, rcx
je 0x14000a9f4
cmp si, word [rcx]
je 0x14000a9f4
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, edi
je 0x14000a9f4
mov edi, 0x57
cmp qword [rbx + 0x478], rsi
je 0x14000a912
lea r9, [rsp + 0x50]
mov rcx, rbx
lea r8d, [rdi - 0x56]
lea rdx, str.Enable
call fcn.14000a754
jmp 0x14000a914
mov eax, edi
test eax, eax
jne 0x14000a922
mov eax, dword [rsp + 0x50]
mov dword [rbx + 0x488], eax
cmp qword [rbx + 0x478], rsi
je 0x14000a947
lea r9, [rsp + 0x58]
mov r8d, 0x25800
lea rdx, str.MaxSize
mov rcx, rbx
call fcn.14000a754
jmp 0x14000a949
mov eax, edi
test eax, eax
jne 0x14000a957
mov eax, dword [rsp + 0x58]
mov dword [rbx + 0x468], eax
cmp qword [rbx + 0x478], rsi
je 0x14000a97c
lea r9, [rsp + 0x60]
mov r8d, 3
lea rdx, str.MaxEntries
mov rcx, rbx
call fcn.14000a754
jmp 0x14000a97e
mov eax, edi
test eax, eax
jne 0x14000a98c
mov eax, dword [rsp + 0x60]
mov dword [rbx + 0x46c], eax
cmp qword [rbx + 0x478], rsi
je 0x14000a9b1
lea r9, [rsp + 0x68]
mov r8d, 3
lea rdx, str.Severity
mov rcx, rbx
call fcn.14000a754
jmp 0x14000a9b3
mov eax, edi
test eax, eax
jne 0x14000a9c1
mov eax, dword [rsp + 0x68]
mov dword [rbx + 0x470], eax
cmp qword [rbx + 0x478], rsi
je 0x14000a9e6
lea r9, [rsp + 0x20]
mov r8d, 0x10
lea rdx, str.Options
mov rcx, rbx
call fcn.14000a754
mov edi, eax
test edi, edi
jne 0x14000a9f4
mov eax, dword [rsp + 0x20]
mov dword [rbx + 0x474], eax
xor eax, eax
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret
Function at 0x14000b388
Capabilities:
Get number of processors

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
xor ebp, ebp
mov dword [rsp + 0x50], ebp
mov ecx, VarDecFix
call fcn.14001abc0
mov rdi, rax
mov qword [rsp + 0x58], rax
mov ecx, 0x88
call fcn.14001abc0
mov rbx, rax
mov qword [rsp + 0x50], rax
mov eax, 4
mov rcx, qword gs:[0x58]
mov rdx, qword [rcx]
lea rsi, [0x14005b850]
mov ecx, dword [rax + rdx]
cmp dword [0x14005b848], ecx
jle 0x14000b450
lea rcx, [0x14005b848]
call fcn.14001a7bc
cmp dword [0x14005b848], 0xffffffff
jne 0x14000b450
mov qword [0x14005b868], 7
mov qword [0x14005b860], rbp
mov word [0x14005b850], bp
lea rcx, str.PartnerCustom
call fcn.14001f234
mov r8, rax
lea rdx, str.PartnerCustom
mov rcx, rsi
call fcn.14000b170
lea rcx, [0x140038a94]
call fcn.14001aba8
nop
lea rcx, [0x14005b848]
call fcn.14001a75c
mov rcx, rbx
call fcn.140005950
nop
mov qword [rbx + 0x68], rbp
mov dword [rbx + 0x70], ebp
lea rax, vtable.logstreambuf.0
mov qword [rbx], rax
mov qword [rbx + 0x78], rbp
mov qword [rbx + 0x80], rbp
mov rcx, qword [0x14005b810]
test rcx, rcx
je 0x14000b489
mov rax, qword [rcx]
call qword [rax + 0x50]
jmp 0x14000b4be
mov r8d, 0x30
lea rcx, [0x14005b818]
mov rdx, rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
cmp qword [0x14005b868], 8
cmovae rsi, qword [0x14005b850]
mov rdx, qword [0x14005b820]
mov rcx, rsi
call fcn.14000ac84
mov rax, qword [0x14005b810]
mov qword [rbx + 0x78], rax
lea rax, [0x140048438]
mov qword [rdi], rax
lea rax, vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rdi + 0x58], rax
mov esi, 1
mov dword [rsp + 0x50], esi
mov rax, qword [rdi]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rcx + rdi], rax
mov rax, qword [rdi]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x10]
mov dword [rcx + rdi - 4], edx
mov rax, qword [rdi]
movsxd rcx, dword [rax + 4]
add rcx, rdi
xor r8d, r8d
mov rdx, rbx
call fcn.1400056c0
mov rax, qword [rdi]
movsxd rcx, dword [rax + 4]
lea rax, vtable.logstream.0
mov qword [rcx + rdi], rax
mov rax, qword [rdi]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x58]
mov dword [rcx + rdi - 4], edx
mov dword [rdi + 8], esi
mov dword [rdi + 0x10], ebp
mov qword [rdi + 0x18], rbp
mov qword [rdi + 0x20], rbp
lea rcx, [rdi + 0x28]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov qword [rbx + 0x80], rdi
mov rax, rdi
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000ba58
Capabilities:
Read .ini file

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x3c8]
sub rsp, 0x4c8
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov rax, qword [0x1400580e8]
xor rax, rsp
mov qword [rbp + 0x3b0], rax
mov r10, r9
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
xor r14d, r14d
mov dword [rsp + 0x30], r14d
lea rax, [rcx + 0x28]
cmp qword [r9 + 0x10], r14
cmove r10, rax
lea r15d, [r14 + 7]
mov qword [rbp - 0x80], r15
mov qword [rsp + 0x78], r14
mov word [rsp + 0x68], r14w
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, r10
lea rcx, [rsp + 0x68]
call fcn.14000ae78
nop
xor edx, edx
mov r8d, 0x400
lea rcx, [rbp - 0x50]
call fcn.14001d380
add rbx, 8
cmp qword [rbx + 0x18], 8
jb 0x14000baf1
mov rbx, qword [rbx]
cmp qword [rsi + 0x18], 8
jb 0x14000bafb
mov rsi, qword [rsi]
lea rcx, [rsp + 0x68]
cmp qword [rbp - 0x80], 8
cmovae rcx, qword [rsp + 0x68]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0x200
lea r9, [rbp - 0x50]
lea r8, [0x140048b18]
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov qword [rbp - 0x60], r15
mov qword [rbp - 0x68], r14
mov word [rbp - 0x78], r14w
cmp word [rbp - 0x50], r14w
jne 0x14000bb45
mov rax, r14
jmp 0x14000bb4e
lea rcx, [rbp - 0x50]
call fcn.14001f234
mov r8, rax
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x78]
call fcn.14000b170
nop
cmp qword [rbp - 0x68], r14
jne 0x14000bb8a
lea rax, [rdi + 8]
mov qword [rax + 0x18], r15
mov qword [rax + 0x10], r14
cmp r15, 8
jb 0x14000bb7a
mov rax, qword [rax]
mov word [rax], r14w
mov byte [rdi], r14b
mov dword [rdi + 0x28], 0x57
jmp 0x14000bbbd
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x48], r14
mov word [rsp + 0x38], r14w
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp - 0x78]
lea rcx, [rsp + 0x38]
call fcn.14000ae78
lea rdx, [rsp + 0x38]
mov rcx, rdi
call fcn.14000bc10
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x78]
call fcn.14000b2fc
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x68]
call fcn.14000b2fc
mov rax, rdi
mov rcx, qword [rbp + 0x3b0]
xor rcx, rsp
call fcn.14001a5c0
add rsp, 0x4c8
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x14000ea0c
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rdi, qword [rcx + 0x10]
mov rsi, rdx
mov rbx, rcx
test rdi, rdi
je 0x14000ea9e
cmp qword [rdi], 0
mov rbx, qword [rcx]
je 0x14000ea78
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000ea97
lea rdx, str.RegDeleteKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14000ea97
mov rdx, qword [rdi]
xor r9d, r9d
and qword [rsp + 0x28], 0
xor r8d, r8d
mov qword [rsp + 0x20], rdx
mov rcx, rbx
mov rdx, rsi
call rax
jmp 0x14000ea87
cmp dword [rdi + 8], 0
je 0x14000ea97
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov eax, 1
jmp 0x14000ea87
cmp byte [0x14005b8f8], 0
jne 0x14000eae9
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000ead5
lea rdx, str.RegDeleteKeyExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r10, rax
mov qword [0x14005b8f0], rax
jmp 0x14000eadc
mov r10, qword [0x14005b8f0]
mov eax, 1
mov byte [0x14005b8f8], al
jmp 0x14000eaf0
mov r10, qword [0x14005b8f0]
mov rcx, qword [rbx]
mov rdx, rsi
test r10, r10
je 0x14000ea81
mov r8d, dword [rbx + 8]
xor r9d, r9d
call r10
jmp 0x14000ea87
Function at 0x14000f56c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x490
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov rax, qword [0x1400580e8]
xor rax, rsp
mov qword [rsp + 0x480], rax
mov r15, r9
mov r14, r8
mov rbx, rdx
xor edi, edi
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x70], rdi
xor edx, edx
lea r8d, [rdi + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rsi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x14000f5f9
xor edx, edx
lea r8d, [rdi + 2]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rsi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x14000f5f9
call fcn.14000da0c
mov ebx, eax
jmp 0x14000f70a
mov r8, r15
mov rdx, r14
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
jne 0x14000f61a
call fcn.14000da0c
jmp 0x14000f6f9
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov r14, rax
mov qword [rsp + 0x40], rax
test rax, rax
je 0x14000f610
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
mov dword [rsp + 0x30], eax
inc eax
cmp eax, ebx
jae 0x14000f655
mov ebx, 0x8007000e
jmp 0x14000f6fb
mov ecx, eax
test eax, eax
je 0x14000f68d
xor edx, edx
or rax, 0xffffffffffffffff
div rcx
cmp rax, 2
jb 0x14000f683
lea rdx, [rcx + rcx]
cmp rdx, 0x400
jbe 0x14000f68d
lea rcx, [rsp + 0x70]
call fcn.14000d9e0
jmp 0x14000f697
mov ecx, 0x80070216
call fcn.140001820
lea rax, [rsp + 0x78]
mov qword [rsp + 0x70], rax
jmp 0x14000f6a9
cmp qword [rsp + 0x70], rdi
je 0x14000f64b
mov dword [rsp + 0x28], ebx
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, ebx
mov r8, r14
xor edx, edx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x14000f610
mov ecx, eax
mov rax, qword [rsp + 0x70]
mov word [rax + rcx*2], di
mov r8d, dword [rsp + 0x4e0]
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.14000f3b0
mov ebx, eax
test rsi, rsi
je 0x14000f70a
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
lea rax, [rsp + 0x78]
cmp qword [rsp + 0x70], rax
je 0x14000f721
lea rcx, [rsp + 0x70]
call fcn.14000d9c0
nop
mov eax, ebx
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.14001a5c0
add rsp, 0x490
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
Function at 0x140014788
Capabilities:
Get user security identifier

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov dword [r11 + 0x18], r8d
mov qword [r11 + 0x10], rdx
push rbp
push rsi
push rdi
sub rsp, 0x40
lea rax, [r11 + 0x20]
xor edi, edi
and dword [rsp + 0x70], edi
lea r9, [r11 + 0x10]
and dword [rsp + 0x68], edi
lea rdx, str.Everyone
mov qword [r11 - 0x28], rax
mov rbp, rcx
lea rax, [r11 + 0x18]
xor r8d, r8d
mov qword [r11 - 0x30], rax
xor ecx, ecx
and qword [r11 - 0x38], rdi
call qword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x14001487f
mov ecx, dword [rsp + 0x70]
lea eax, [rdi + 2]
mul rcx
lea rcx, [rdi - 1]
lea rdx, [0x140059dd4]
cmovo rax, rcx
mov rcx, rax
call fcn.14001aef4
mov rsi, rax
test rax, rax
je 0x140014878
mov ecx, dword [rsp + 0x68]
call fcn.14001f8cc
mov rdi, rax
test rax, rax
je 0x140014869
lea rax, [rsp + 0x78]
mov r8, rdi
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x68]
lea rax, [rsp + 0x70]
xor ecx, ecx
mov qword [rsp + 0x28], rax
lea rdx, str.Everyone
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
test eax, eax
je 0x140014856
xor ebx, ebx
jmp 0x14001486e
call fcn.14000da0c
mov rcx, rdi
mov ebx, eax
call fcn.14001f6dc
xor edi, edi
jmp 0x14001486e
mov ebx, 0x8007000e
mov rcx, rsi
call fcn.14001ac04
jmp 0x140014888
mov ebx, 0x8007000e
jmp 0x140014888
mov ecx, eax
call fcn.14000eb08
mov ebx, eax
test ebx, ebx
js 0x1400148a1
mov rdx, rdi
mov rcx, rbp
call fcn.1400145ac
mov rcx, rdi
mov ebx, eax
call fcn.14001f6dc
mov eax, ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
Function at 0x140015d28
Capabilities:
Accept command line arguments
Query or enumerate registry value

Disassembly:
sub rsp, 0x38
cmp byte [0x14005b880], 0
je 0x140015d3a
or eax, 0xffffffff
jmp 0x140015d63
and dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rdx, rax
lea r8, [rsp + 0x20]
call fcn.140015d68
cmp al, 1
jne 0x140015d5f
add rsp, 0x38
jmp 0x140015fd4
mov eax, dword [rsp + 0x20]
add rsp, 0x38
ret
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], r14
push rbp
lea rbp, [rsp - 0x1b0]
sub rsp, 0x2b0
mov rax, qword [0x1400580e8]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
xor r14d, r14d
lea r8, [0x140049240]
mov r9d, 0x20019
mov qword [rsp + 0x50], r14
mov rdx, 0xffffffff80000000
mov dword [rsp + 0x58], r14d
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x60], r14
call fcn.14000e7f8
mov ebx, eax
test eax, eax
je 0x140016040
mov dword [0x14005bc0c], eax
jmp 0x1400160e6
mov rdx, qword [rsp + 0x50]
lea r8, str.727B5BD4_FAE7_4EA7_98BD_20AC6BC25D89
mov r9d, 0x20019
mov qword [rsp + 0x38], r14
lea rcx, [rsp + 0x38]
mov dword [rsp + 0x40], r14d
mov qword [rsp + 0x48], r14
call fcn.14000e7f8
mov ebx, eax
test eax, eax
jne 0x1400160ce
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
lea rax, [rbp - 0x70]
mov dword [rsp + 0x30], 0x208
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.LocalService
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14001613f
mov eax, dword [rsp + 0x34]
dec eax
cmp eax, 1
jbe 0x14001611e
mov dword [0x14005bc1c], r14d
lea rcx, [0x14005b990]
call fcn.14001632c
mov ebx, eax
mov dword [0x14005bc0c], eax
cmp qword [rsp + 0x38], r14
je 0x1400160e6
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp qword [rsp + 0x50], r14
je 0x1400160f8
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.14001a5c0
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x10]
mov r14, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x140016137
test al, 1
jne 0x1400160b9
shr rax, 1
cmp word [rbp + rax*2 - 0x72], r14w
je 0x14001613c
jmp 0x1400160b9
mov word [rbp - 0x70], r14w
mov eax, r14d
mov dword [0x14005bc1c], r14d
test eax, eax
jne 0x1400160c0
lea rax, [0x14005b9f8]
mov dword [0x14005bc1c], 1
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x68]
lea rax, [0x140016230]
mov qword [rsp + 0x78], r14
mov qword [rsp + 0x70], rax
mov qword [rbp - 0x80], r14
call qword [sym.imp.ADVAPI32.dll_StartServiceCtrlDispatcherW]
test eax, eax
jne 0x140016193
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1400160cc
mov ebx, dword [0x14005bc0c]
jmp 0x1400160d4
Function at 0x140015fd4
Capabilities:
Query or enumerate registry value

Disassembly:
sub rsp, 0x38
cmp byte [0x14005b880], 0
je 0x140015d3a
or eax, 0xffffffff
jmp 0x140015d63
and dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rdx, rax
lea r8, [rsp + 0x20]
call fcn.140015d68
cmp al, 1
jne 0x140015d5f
add rsp, 0x38
jmp 0x140015fd4
mov eax, dword [rsp + 0x20]
add rsp, 0x38
ret
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], r14
push rbp
lea rbp, [rsp - 0x1b0]
sub rsp, 0x2b0
mov rax, qword [0x1400580e8]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
xor r14d, r14d
lea r8, [0x140049240]
mov r9d, 0x20019
mov qword [rsp + 0x50], r14
mov rdx, 0xffffffff80000000
mov dword [rsp + 0x58], r14d
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x60], r14
call fcn.14000e7f8
mov ebx, eax
test eax, eax
je 0x140016040
mov dword [0x14005bc0c], eax
jmp 0x1400160e6
mov rdx, qword [rsp + 0x50]
lea r8, str.727B5BD4_FAE7_4EA7_98BD_20AC6BC25D89
mov r9d, 0x20019
mov qword [rsp + 0x38], r14
lea rcx, [rsp + 0x38]
mov dword [rsp + 0x40], r14d
mov qword [rsp + 0x48], r14
call fcn.14000e7f8
mov ebx, eax
test eax, eax
jne 0x1400160ce
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
lea rax, [rbp - 0x70]
mov dword [rsp + 0x30], 0x208
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.LocalService
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14001613f
mov eax, dword [rsp + 0x34]
dec eax
cmp eax, 1
jbe 0x14001611e
mov dword [0x14005bc1c], r14d
lea rcx, [0x14005b990]
call fcn.14001632c
mov ebx, eax
mov dword [0x14005bc0c], eax
cmp qword [rsp + 0x38], r14
je 0x1400160e6
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp qword [rsp + 0x50], r14
je 0x1400160f8
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.14001a5c0
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x10]
mov r14, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x140016137
test al, 1
jne 0x1400160b9
shr rax, 1
cmp word [rbp + rax*2 - 0x72], r14w
je 0x14001613c
jmp 0x1400160b9
mov word [rbp - 0x70], r14w
mov eax, r14d
mov dword [0x14005bc1c], r14d
test eax, eax
jne 0x1400160c0
lea rax, [0x14005b9f8]
mov dword [0x14005bc1c], 1
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x68]
lea rax, [0x140016230]
mov qword [rsp + 0x78], r14
mov qword [rsp + 0x70], rax
mov qword [rbp - 0x80], r14
call qword [sym.imp.ADVAPI32.dll_StartServiceCtrlDispatcherW]
test eax, eax
jne 0x140016193
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1400160cc
mov ebx, dword [0x14005bc0c]
jmp 0x1400160d4
Function at 0x14001640c
Capabilities:
Delete registry value
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
mov rbp, rsp
sub rsp, 0x80
mov bl, dl
call fcn.140016664
test eax, eax
jne 0x140016436
mov eax, 0x80004005
jmp 0x14001655b
mov edx, 0x65
lea rax, str.APPID
xorps xmm0, xmm0
mov qword [rbp - 0x28], rax
lea rdi, str.727B5BD4_FAE7_4EA7_98BD_20AC6BC25D89
lea r9, [rbp - 0x28]
mov qword [rbp - 0x20], rdi
lea r8d, [rdx - 0x64]
movdqu xmmword [rbp - 0x18], xmm0
call fcn.14000f744
test eax, eax
js 0x14001655b
and qword [rbp - 0x40], 0
lea r8, [0x140049240]
and dword [rbp - 0x38], 0
lea rcx, [rbp - 0x40]
and qword [rbp - 0x30], 0
mov r9d, 0x20006
mov rdx, 0xffffffff80000000
call fcn.14000e7f8
test eax, eax
je 0x1400164ab
mov ecx, eax
call fcn.14000eb08
mov ebx, eax
jmp 0x140016548
mov rdx, qword [rbp - 0x40]
lea rcx, [rbp - 0x28]
and qword [rbp - 0x28], 0
mov r8, rdi
and dword [rbp - 0x20], 0
and qword [rbp - 0x18], 0
call fcn.14000e0d0
mov rdi, qword [rbp - 0x28]
test eax, eax
je 0x1400164dc
mov ecx, eax
call fcn.14000eb08
mov ebx, eax
jmp 0x14001653a
lea rdx, str.LocalService
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test bl, bl
je 0x140016538
lea rbx, [0x14005b9f8]
mov rcx, rbx
call fcn.14001f234
mov r9d, 1
lea rdx, str.LocalService
xor r8d, r8d
lea ecx, [rax*2 + 2]
mov dword [rsp + 0x28], ecx
mov rcx, rdi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
call fcn.1400169c4
test eax, eax
jne 0x140016538
mov ebx, 0x80004005
jmp 0x14001653a
xor ebx, ebx
test rdi, rdi
je 0x140016548
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp qword [rbp - 0x40], 0
je 0x140016559
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret

Function at 0x140016570
Capabilities:
Access the windows event log

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rdx
mov qword [r11 + 0x18], r8
mov qword [r11 + 0x20], r9
push rbx
push rsi
push rdi
sub rsp, 0x270
mov rax, qword [0x1400580e8]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rbx, rdx
lea rsi, [r11 + 0x18]
mov rdi, rcx
call fcn.1400088d4
mov qword [rsp + 0x30], rsi
lea rdx, [rsp + 0x60]
mov r9d, 0xff
xor esi, esi
mov qword [rsp + 0x28], rsi
mov rcx, qword [rax]
mov qword [rsp + 0x20], rbx
lea r8d, [r9 + 1]
call fcn.1400234c0
lea rax, [rsp + 0x60]
mov word [rsp + 0x25e], si
mov qword [rsp + 0x50], rax
cmp dword [rdi + 0x28c], esi
jne 0x1400165f6
lea rcx, [rsp + 0x60]
call fcn.140024094
lea rdx, [rdi + 0x68]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov rbx, rax
test rax, rax
je 0x140016647
mov qword [rsp + 0x40], rsi
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
mov ecx, 1
mov dword [rsp + 0x30], esi
xor r8d, r8d
mov word [rsp + 0x28], cx
xor r9d, r9d
mov qword [rsp + 0x20], rsi
lea edx, [rcx + 3]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_ReportEventW]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.14001a5c0
add rsp, 0x270
pop rdi
pop rsi
pop rbx
ret