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

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], r8
mov dword [rax + 0x10], edx
mov qword [rax + 8], rcx
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xa0
mov qword [rax - 0x68], 0xfffffffffffffffe
mov r13, r9
mov rdi, r8
mov rbx, rcx
test r8, r8
jne 0x1400066c8
mov eax, 0x80070057
jmp 0x1400067b0
call fcn.1400062ec
nop
test r13, r13
je 0x140006784
mov rsi, qword [rsp + 0x100]
test rsi, rsi
je 0x140006784
mov r14, qword [rsp + 0x108]
test r14, r14
je 0x140006784
mov r15, qword [rsp + 0x110]
test r15, r15
je 0x140006784
mov r12, qword [rsp + 0x118]
test r12, r12
je 0x140006784
movsxd rdx, dword [rsp + 0xe8]
mov rcx, rbx
call fcn.140005e14
xor ecx, ecx
test al, al
je 0x140006742
mov dword [rsp + 0x60], SafeArrayDestroy
lea rdx, [0x14001f8a8]
lea rcx, [rsp + 0x60]
call sub.MSVCR110.dll__CxxThrowException
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], r13
xor r9d, r9d
xor r8d, r8d
xor edx, edx
movsxd rcx, dword [rsp + 0xe8]
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
mov dword [rdi], eax
jmp 0x1400067a6
mov dword [rsp + 0x64], 0x57
lea rdx, [0x14001f8a8]
lea rcx, [rsp + 0x64]
call sub.MSVCR110.dll__CxxThrowException
nop
mov rbx, qword [rsp + 0xe0]
mov rcx, rbx
call fcn.140007b18
xor eax, eax
add rsp, 0xa0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
Function at 0x14000792c
Capabilities:
Enumerate process modules
Terminate process

Disassembly:
push rdi
mov eax, 0x3170
call fcn.140011c50
sub rsp, rax
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rsp + 0x3180], rbx
mov rax, qword [0x1400227c0]
xor rax, rsp
mov qword [rsp + 0x3160], rax
mov rdi, rdx
and dword [rsp + 0x24], 0
xor ebx, ebx
and dword [rsp + 0x30], ebx
lea r8, [rsp + 0x30]
mov edx, 0x1000
lea rcx, [rsp + 0x2050]
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
je 0x140007ae2
mov rdx, rdi
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc110.dll_Ordinal_310]
nop
lea rdx, str..exe
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc110.dll_Ordinal_1665]
xor edi, edi
mov dword [rsp + 0x20], edi
mov eax, dword [rsp + 0x30]
shr eax, 2
cmp edi, eax
jae 0x140007aa3
mov rax, qword [str._unknown_]
mov qword [rsp + 0x3050], rax
movzx eax, word [0x140017bd0]
mov word [rsp + 0x3058], ax
xor edx, edx
mov r8d, 0xfa
lea rcx, [rsp + 0x305a]
call sub.MSVCR110.dll_memset
mov r8d, dword [rsp + rdi*4 + 0x2050]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
mov qword [rsp + 0x28], rax
test rax, rax
jne 0x140007a26
jmp 0x140007a9c
lea r9, [rsp + 0x40]
mov r8d, 0x2000
lea rdx, [rsp + 0x50]
mov rcx, rax
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
jne 0x140007a54
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebx, ebx
mov qword [rsp + 0x28], rbx
jmp 0x140007a16
mov r9d, 0x104
lea r8, [rsp + 0x3050]
mov rdx, qword [rsp + 0x50]
mov rcx, rbx
call sub.PSAPI.DLL_GetModuleBaseNameA
test eax, eax
jne 0x140007a85
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebx, ebx
mov qword [rsp + 0x28], rbx
jmp 0x140007a16
lea rdx, [rsp + 0x3050]
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc110.dll_Ordinal_2850]
test eax, eax
je 0x140007aa3
inc edi
jmp 0x1400079ae
mov edx, 1
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x140007ad6
mov edx, 0x7d0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x140007ad1
mov dword [rsp + 0x24], 0x5b4
jmp 0x140007ad6
and dword [rsp + 0x24], 0
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc110.dll_Ordinal_1026]
nop
test rbx, rbx
je 0x140007af1
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x3160]
xor rcx, rsp
call fcn.140011780
mov rbx, qword [rsp + 0x3180]
add rsp, 0x3170
pop rdi
ret
Function at 0x140007b24
Capabilities:
Get common file path
Write file on windows

Disassembly:
mov rax, rsp
push rsi
push rdi
push r14
sub rsp, 0x190
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x1400227c0]
xor rax, rsp
mov qword [rsp + 0x180], rax
mov r14, rdx
mov rdi, rcx
mov qword [rsp + 0x60], rcx
or qword [rsp + 0x58], 0xffffffffffffffff
xor ebx, ebx
mov dword [rsp + 0x4c], ebx
mov esi, 0x105
mov r8d, esi
xor edx, edx
lea rcx, [rsp + 0x70]
call sub.MSVCR110.dll_memset
mov rcx, rdi
call fcn.1400062ec
nop
mov edx, esi
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
jne 0x140007baf
mov dword [rsp + 0x44], 0x80004005
lea rdx, [0x14001f8a8]
lea rcx, [rsp + 0x44]
call sub.MSVCR110.dll__CxxThrowException
lea r8, [0x140017530]
mov rdx, rsi
lea rcx, [rsp + 0x70]
call qword [sym.imp.MSVCR110.dll_strcat_s]
lea r8, str.cfg.txt
mov rdx, rsi
lea rcx, [rsp + 0x70]
call qword [sym.imp.MSVCR110.dll_strcat_s]
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
xor r9d, r9d
mov edx, 0xc0000000
lea r8d, [r9 + 3]
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rsi, rax
mov qword [rsp + 0x58], rax
cmp rax, 0xffffffffffffffff
jne 0x140007c2c
mov dword [rsp + 0x50], 0x80004005
lea rdx, [0x14001f8a8]
lea rcx, [rsp + 0x50]
call sub.MSVCR110.dll__CxxThrowException
mov edx, 0x1000
mov rcx, r14
call qword [sym.imp.MSVCR110.dll_strnlen]
mov r8, rax
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x4c]
mov rdx, r14
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x140007c70
mov dword [rsp + 0x48], 0x80004005
lea rdx, [0x14001f8a8]
lea rcx, [rsp + 0x48]
call sub.MSVCR110.dll__CxxThrowException
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
jmp 0x140007c85
mov rcx, rdi
call fcn.140007b18
mov eax, ebx
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.140011780
mov rbx, qword [rsp + 0x1c0]
add rsp, 0x190
pop r14
pop rdi
pop rsi
ret
Function at 0x14000b674
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 0x14000b69a
mov r8, rdx
mov rdx, qword [rbx]
call fcn.14000d6fc
jmp 0x14000b701
cmp byte [0x140022a98], 0
jne 0x14000b6de
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x14000b6ce
lea rdx, str.RegDeleteKeyExA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140022a90], rax
jmp 0x14000b6d5
mov rax, qword [0x140022a90]
mov byte [0x140022a98], 1
jmp 0x14000b6e5
mov rax, qword [0x140022a90]
mov rcx, qword [rbx]
mov rdx, rdi
test rax, rax
je 0x14000b6fb
mov r8d, dword [rbx + 8]
xor r9d, r9d
call rax
jmp 0x14000b701
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14000c6ec
Capabilities:
Create service
Modify service
Persist via windows service

Disassembly:
mov rax, rsp
push r14
sub rsp, 0x1b0
mov qword [rax - 0x138], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rdi
mov rax, qword [0x1400227c0]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
mov rbp, rcx
call fcn.14000caac
xor ebx, ebx
test eax, eax
je 0x14000c737
lea eax, [rbx + 1]
jmp 0x14000c845
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov rdi, rax
test rax, rax
je 0x14000c845
mov r8d, 0x104
lea rdx, [rsp + 0x90]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea rcx, [rsp + 0x70]
call qword [sym.imp.mfc110.dll_Ordinal_316]
nop
lea r8, [rsp + 0x90]
lea rdx, str.__s_
lea rcx, [rsp + 0x70]
call qword [sym.imp.mfc110.dll_Ordinal_4587]
lea r8, [rbp + 0x250]
lea rdx, [rbp + 0x50]
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x58], rbx
lea rax, str.RPCSS
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x40], rbx
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], 2
mov dword [rsp + 0x20], SafeArrayUnaccessData
mov r9d, 0xf01ff
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CreateServiceA]
mov r14, rax
test rax, rax
je 0x14000c816
lea rax, [rbp + 0x150]
mov qword [rsp + 0x78], rax
lea r8, [rsp + 0x78]
mov edx, 1
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2A]
test eax, eax
jne 0x14000c821
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x14000c838
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ebx, 1
lea rcx, [rsp + 0x70]
call qword [sym.imp.mfc110.dll_Ordinal_1026]
mov eax, ebx
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.140011780
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
Function at 0x14000d428
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
push rdi
sub rsp, 0x30
mov rdi, r9
mov rax, r8
mov rbx, rdx
test r9, r9
je 0x14000d4bd
mov rcx, qword [rcx]
and dword [rsp + 0x58], 0
mov qword [r11 - 0x10], r9
mov qword [r11 - 0x18], rdx
lea r9, [r11 + 0x20]
xor r8d, r8d
mov rdx, rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, eax
test rbx, rbx
je 0x14000d4b0
cmp dword [rdi], 0
jbe 0x14000d4ad
mov ecx, dword [rsp + 0x58]
test ecx, ecx
je 0x14000d4a3
cmp ecx, 2
jbe 0x14000d49a
cmp ecx, 7
jne 0x14000d4a3
cmp dword [rdi], 1
jb 0x14000d4a3
mov eax, dword [rdi]
cmp byte [rax + rbx - 1], 0
jne 0x14000d4a3
cmp dword [rdi], 1
jbe 0x14000d4b0
cmp byte [rax + rbx - 2], 0
jmp 0x14000d4a1
mov eax, dword [rdi]
cmp byte [rax + rbx - 1], 0
je 0x14000d4b0
mov byte [rbx], 0
mov eax, SafeArrayDestroy
jmp 0x14000d4b2
mov byte [rbx], 0
mov eax, edx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
mov ecx, 0x80004005
call fcn.140001008
int3

Function at 0x14000d6fc
Capabilities:
Delete registry key

Disassembly:
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 0x14000d75f
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x14000d773
lea rdx, str.RegDeleteKeyTransactedA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14000d773
mov rcx, qword [rbx]
and qword [rsp + 0x28], 0
xor r9d, r9d
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov rdx, rdi
mov rcx, rsi
call rax
jmp 0x14000d778
cmp dword [rcx + 8], 0
je 0x14000d773
mov rdx, r8
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
jmp 0x14000d778
mov eax, 1
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x14000df10
Capabilities:
Delete registry value
Set registry value

Disassembly:
mov rax, rsp
push r15
sub rsp, 0x70
mov qword [rax - 0x48], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], r14
mov r14d, r8d
mov r15d, edx
mov rsi, rcx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
js 0x14000e09c
mov rcx, rsi
call fcn.14000f83c
mov rax, qword [rsi]
xor r9d, r9d
lea edx, [r9 + 0x64]
lea r8d, [r9 + 1]
mov rcx, rsi
call qword [rax + 0x40]
and qword [rsp + 0x50], 0
and dword [rsp + 0x58], 0
and qword [rsp + 0x60], 0
mov r9d, 0x20006
lea r8, str.AppID
mov rdx, 0xffffffff80000000
lea rcx, [rsp + 0x50]
call fcn.14000cf48
mov ebx, eax
test eax, eax
jne 0x14000e087
and qword [rsp + 0x38], 0
and dword [rsp + 0x40], eax
and qword [rsp + 0x48], 0
mov r9d, 0x20006
lea r8, str.6EF8E539_12E9_4595_A7C6_3DDA8A4069B2
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x38]
call fcn.14000cf48
mov ebx, eax
test eax, eax
jne 0x14000e073
lea rdx, str.LocalService
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test r14d, r14d
je 0x14000e05c
lea rbx, [0x140018610]
mov rcx, rbx
call sub.MSVCR110.dll_strlen
lea ecx, [rax + 1]
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rbx
mov r9d, 1
xor r8d, r8d
lea rdx, str.LocalService
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea rbx, str._Service
mov rcx, rbx
call sub.MSVCR110.dll_strlen
lea ecx, [rax + 1]
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rbx
mov r9d, 1
xor r8d, r8d
lea rdx, str.ServiceParameters
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, rsi
call fcn.14000c6ec
xor r8d, r8d
mov edx, r15d
mov rcx, rsi
call fcn.14000de4c
mov ebx, eax
call qword [sym.imp.ole32.dll_CoUninitialize]
nop
cmp qword [rsp + 0x38], 0
je 0x14000e087
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
cmp qword [rsp + 0x50], 0
je 0x14000e09a
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov r14, qword [r11 + 0x20]
mov rsp, r11
pop r15
ret
Function at 0x14000f3e4
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
xor ebx, ebx
mov rdi, r8
mov rbp, rdx
mov r14, rcx
test r8, r8
jne 0x14000f412
lea eax, [rbx + 0xd]
jmp 0x14000f447
mov rsi, r8
mov rcx, rsi
call sub.MSVCR110.dll_strlen
inc eax
mov ecx, eax
add ebx, eax
add rsi, rcx
cmp eax, 1
jne 0x14000f415
mov rcx, qword [r14]
lea r9d, [rax + 6]
xor r8d, r8d
mov rdx, rbp
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret

Function at 0x14000f83c
Capabilities:
Delete service
Stop service

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x1400227c0]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rbx, rcx
call fcn.14000caac
xor edi, edi
test eax, eax
jne 0x14000f872
lea eax, [rdi + 1]
jmp 0x14000f8ec
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov rsi, rax
test rax, rax
jne 0x14000f88e
xor eax, eax
jmp 0x14000f8ec
lea rdx, [rbx + 0x50]
mov r8d, 0x10020
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov rbp, rax
test rax, rax
jne 0x14000f8b4
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x14000f88a
lea r8, [rsp + 0x20]
mov edx, 1
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_ControlService]
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_DeleteService]
mov rcx, rbp
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test ebx, ebx
setne dil
mov eax, edi
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140011780
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
Function at 0x14001085c
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x90]
sub rsp, 0x190
mov rax, qword [0x1400227c0]
xor rax, rsp
mov qword [rbp + 0x80], rax
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
lea r14, [0x140022b00]
mov rdi, rax
lea rax, [0x140017d28]
lea rdx, [0x140022210]
mov r9d, 0x64
mov r8, rbx
mov rcx, r14
mov qword [rsp + 0x20], rax
call fcn.14000c498
movzx ecx, word [0x1400185a8]
mov al, byte [0x1400185aa]
mov r15d, 1
mov word [rsp + 0x30], cx
mov rcx, rdi
mov dword [0x140022e78], r15d
mov byte [rsp + 0x32], al
jmp 0x140010935
lea rdx, str.UnregServer
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x140010a90
lea rdx, str.RegServer
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x140010a80
lea rdx, str.Service
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x140010a7b
mov rcx, rbx
lea rdx, [rsp + 0x30]
call fcn.14000b8a8
mov rbx, rax
test rax, rax
jne 0x1400108ea
and qword [rsp + 0x38], 0
and dword [rsp + 0x40], 0
and qword [rsp + 0x48], 0
lea r8, str.AppID
lea rcx, [rsp + 0x38]
mov r9d, 0x20019
mov rdx, 0xffffffff80000000
call fcn.14000cf48
mov rdi, qword [rsp + 0x38]
mov ebx, eax
test eax, eax
jne 0x140010a43
and qword [rsp + 0x38], 0
and dword [rsp + 0x40], eax
and qword [rsp + 0x48], 0
lea r8, str.6EF8E539_12E9_4595_A7C6_3DDA8A4069B2
lea rcx, [rsp + 0x38]
mov r9d, 0x20019
mov rdx, rdi
call fcn.14000cf48
mov ebx, eax
test eax, eax
jne 0x140010a33
lea r9, [rsp + 0x34]
lea r8, str.LocalService
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x38]
mov dword [rsp + 0x34], 0x104
call fcn.14000d428
xor ecx, ecx
test eax, eax
lea rax, [0x140022b50]
cmove ecx, r15d
and qword [rsp + 0x60], 0
and qword [rsp + 0x68], 0
mov qword [rsp + 0x50], rax
lea rax, [0x140010658]
mov dword [0x140022e78], ecx
mov qword [rsp + 0x58], rax
test ecx, ecx
je 0x140010a25
lea rcx, [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_StartServiceCtrlDispatcherA]
neg eax
sbb ecx, ecx
and dword [0x140022e78], ecx
jne 0x140010a2d
mov rcx, r14
call fcn.14000f148
mov ebx, dword [0x140022e64]
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140010a43
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test rdi, rdi
je 0x140010a51
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.140011780
lea r11, [rsp + 0x190]
mov rbx, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
mov r8d, r15d
jmp 0x140010a83
xor r8d, r8d
mov edx, r15d
mov rcx, r14
call fcn.14000df10
jmp 0x140010a53
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
js 0x140010a53
mov rax, qword [0x140022b00]
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x64]
mov rcx, r14
call qword [rax + 0x40]
mov rcx, r14
call fcn.14000f83c
xor r8d, r8d
mov edx, r15d
mov rcx, r14
call fcn.14000f9cc
call qword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
jmp 0x140010a53
Function at 0x14003d4e8
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov r15, rdx
mov rbx, rcx
lea r13, str.base_stor_vssmodules_registry_registry.cxx
mov qword [rsp + 0x60], r13
lea rdi, str.CVssRegistryValueIterator::GetCurrentValueContent
mov qword [rsp + 0x68], rdi
lea rsi, str.REGREGSC
mov qword [rsp + 0x70], rsi
mov dword [rsp + 0x78], 0x384
mov r14d, VariantTimeToDosDateTime
mov dword [rsp + 0x7c], r14d
mov dword [rbp - 0x80], 0xff
xor r12d, r12d
mov dword [rbp], 0x1000000
xor edx, edx
lea r8d, [r14 + 0x6d]
lea rcx, [rbp - 0x78]
call sub.msvcrt.dll_memset
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x10]
call fcn.14004058c
nop
mov rcx, rbx
call fcn.14003ddbc
cmp dword [rbx + 0x10], 1
jne 0x14003d746
mov esi, dword [rbx + 0x2c]
shr esi, 1
lea rax, vtable.CVssAutoString_class_CVssAutoLocalPtr_unsigned_short_int____ptr64__.0
mov qword [rsp + 0x50], rax
lea eax, [rsi + 1]
lea rdx, [rax*2 + 2]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
nop dword [rax + rax]
Function at 0x1400111f4
Capabilities:
Terminate process

Disassembly:
jmp 0x140015130
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x140011271
Capabilities:
Parse pe header

Disassembly:
jmp 0x140012e40
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140012e60
xor al, al
jmp 0x140012ee1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140012e73
xor al, al
jmp 0x140012ee1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x140012e9d
xor al, al
jmp 0x140012ee1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140012eb1
xor al, al
jmp 0x140012ee1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140012ec3
xor al, al
jmp 0x140012ee1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140012edf
xor al, al
jmp 0x140012ee1
mov al, 1
add rsp, 0x38
ret
Function at 0x1410960b0
Capabilities:
Decompress data using aplib

Disassembly:
call 0x141096237
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, pe_nt_image_headers64
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x1410960e1
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1410960c7
add dl, dl
jne 0x1410960ee
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14109614e
xor eax, eax
add dl, dl
jne 0x1410960fd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141096205
add dl, dl
jne 0x14109610e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14109611b
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141096128
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141096135
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x141096142
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1410960d6
mov eax, 1
add dl, dl
jne 0x14109615e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14109616b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141096153
sub eax, ebx
mov ebx, 1
jne 0x1410961a4
mov ecx, 1
add dl, dl
jne 0x141096186
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141096193
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14109617b
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1410960d6
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1410961c0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1410961cd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1410961b5
cmp eax, 0x7d00
jae 0x1410961f3
cmp eax, 0x500
jb 0x1410961ee
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1410960d6
cmp eax, 0x7f
ja 0x1410961f6
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1410960d6
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x14109622a
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x1410960d6
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20