joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400108b4
Capabilities:
Query service status
Start service

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x50
mov rax, qword [0x14007d370]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rbx, rcx
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
xor edi, edi
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rbp, rax
test rax, rax
je 0x140010a12
mov rdx, qword [rbx + 8]
mov r8d, 0xf01ff
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rsi, rax
test rax, rax
je 0x1400109d2
mov rdx, qword [rbx + 0x10]
lea rcx, str.Starting_up__s.
call fcn.140010ab8
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x140010990
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.14000fc64
cmp qword [rax + 0x18], 8
jb 0x14001094e
mov rax, qword [rax]
mov rdx, qword [rbx + 0x10]
lea rcx, str._n_s_failed_to_start:__s_n
mov r8, rax
call fcn.140010ab8
xor r8d, r8d
lea rcx, [rsp + 0x20]
mov dl, 1
call fcn.140003a60
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x140010a07
cmp dword [rbx + 0x28], 2
jne 0x1400109ac
lea rcx, [0x140059bec]
call fcn.140010ab8
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rdx, [rbx + 0x24]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
jne 0x14001097e
cmp dword [rbx + 0x28], 4
mov rdx, qword [rbx + 0x10]
jne 0x1400109c4
mov edi, 1
lea rcx, str._n_s_started._n
jmp 0x1400109cb
lea rcx, str._n_s_failed_to_start._n
call fcn.140010ab8
jmp 0x140010970
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.14000fc64
cmp qword [rax + 0x18], 8
jb 0x1400109e9
mov rax, qword [rax]
mov rdx, rax
lea rcx, str.OpenService_failed____s_n
call fcn.140010ab8
xor r8d, r8d
lea rcx, [rsp + 0x20]
mov dl, 1
call fcn.140003a60
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x140010a47
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.14000fc64
cmp qword [rax + 0x18], 8
jb 0x140010a29
mov rax, qword [rax]
mov rdx, rax
lea rcx, str.OpenSCManager_failed____s_n
call fcn.140010ab8
xor r8d, r8d
lea rcx, [rsp + 0x20]
mov dl, 1
call fcn.140003a60
mov eax, edi
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140021430
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x140010b70
Capabilities:
Query or enumerate registry key

Disassembly:
test r8, r8
je 0x140010daf
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xc0
mov qword [rbp - 0x11], 0xfffffffffffffffe
mov qword [rax + 0x20], rbx
mov rax, qword [0x14007d370]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov r14, r8
mov rdi, rdx
mov rbx, rcx
xor r12d, r12d
mov rcx, r8
call fcn.14000f3a4
mov qword [rbp - 0x29], r12
mov dword [rbp - 0x21], r12d
mov qword [rbp - 0x19], r12
mov r9d, 0x20019
mov r8, rdi
mov rdx, rbx
lea rcx, [rbp - 0x29]
call fcn.14000e614
mov rbx, qword [rbp - 0x29]
test eax, eax
jne 0x140010d7b
mov dword [rbp - 0x39], r12d
mov dword [rbp - 0x35], r12d
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
lea rax, [rbp - 0x35]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x39]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x140010d6a
cmp dword [rbp - 0x39], r12d
jbe 0x140010d6a
mov r15d, dword [rbp - 0x35]
inc r15d
mov ecx, r15d
lea eax, [r12 + 2]
mul rcx
lea rcx, [r12 - 1]
cmovo rax, rcx
lea rdx, [0x14007f844]
mov rcx, rax
call fcn.140021544
mov rdi, rax
test rax, rax
je 0x140010d6a
mov esi, r12d
cmp dword [rbp - 0x39], r12d
jbe 0x140010d62
mov dword [rbp - 0x31], r15d
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
lea r9, [rbp - 0x31]
mov r8, rdi
mov edx, esi
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x140010d49
cmp dword [rbp - 0x31], r12d
jbe 0x140010d49
mov qword [rbp + 0xf], 7
mov qword [rbp + 7], r12
mov word [rbp - 9], r12w
cmp word [rdi], r12w
jne 0x140010ce3
mov rax, r12
jmp 0x140010ceb
mov rcx, rdi
call fcn.14002ebc0
mov r8, rax
mov rdx, rdi
lea rcx, [rbp - 9]
call fcn.140003260
nop
mov r13, qword [r14]
lea r9, [rbp - 9]
mov r8, qword [r13 + 8]
mov rdx, r13
mov rcx, r14
call fcn.140010b0c
mov rdx, qword [r14 + 8]
movabs rcx, 0x555555555555554
sub rcx, rdx
cmp rcx, 1
jb 0x140010d55
lea rcx, [rdx + 1]
mov qword [r14 + 8], rcx
mov qword [r13 + 8], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rax
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 9]
call fcn.140003a60
inc esi
cmp esi, dword [rbp - 0x39]
jae 0x140010d62
jmp 0x140010c8b
lea rcx, str.list_T__too_long
call fcn.14001e538
nop
mov rcx, rdi
call fcn.1400210e8
test rbx, rbx
je 0x140010d7b
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, r12
test rbx, rbx
je 0x140010d89
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.140021430
mov rbx, qword [rsp + 0x118]
add rsp, 0xc0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140010b79
Capabilities:
Query or enumerate registry key

Disassembly:
test r8, r8
je 0x140010daf
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xc0
mov qword [rbp - 0x11], 0xfffffffffffffffe
mov qword [rax + 0x20], rbx
mov rax, qword [0x14007d370]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov r14, r8
mov rdi, rdx
mov rbx, rcx
xor r12d, r12d
mov rcx, r8
call fcn.14000f3a4
mov qword [rbp - 0x29], r12
mov dword [rbp - 0x21], r12d
mov qword [rbp - 0x19], r12
mov r9d, 0x20019
mov r8, rdi
mov rdx, rbx
lea rcx, [rbp - 0x29]
call fcn.14000e614
mov rbx, qword [rbp - 0x29]
test eax, eax
jne 0x140010d7b
mov dword [rbp - 0x39], r12d
mov dword [rbp - 0x35], r12d
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
lea rax, [rbp - 0x35]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x39]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x140010d6a
cmp dword [rbp - 0x39], r12d
jbe 0x140010d6a
mov r15d, dword [rbp - 0x35]
inc r15d
mov ecx, r15d
lea eax, [r12 + 2]
mul rcx
lea rcx, [r12 - 1]
cmovo rax, rcx
lea rdx, [0x14007f844]
mov rcx, rax
call fcn.140021544
mov rdi, rax
test rax, rax
je 0x140010d6a
mov esi, r12d
cmp dword [rbp - 0x39], r12d
jbe 0x140010d62
mov dword [rbp - 0x31], r15d
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
lea r9, [rbp - 0x31]
mov r8, rdi
mov edx, esi
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x140010d49
cmp dword [rbp - 0x31], r12d
jbe 0x140010d49
mov qword [rbp + 0xf], 7
mov qword [rbp + 7], r12
mov word [rbp - 9], r12w
cmp word [rdi], r12w
jne 0x140010ce3
mov rax, r12
jmp 0x140010ceb
mov rcx, rdi
call fcn.14002ebc0
mov r8, rax
mov rdx, rdi
lea rcx, [rbp - 9]
call fcn.140003260
nop
mov r13, qword [r14]
lea r9, [rbp - 9]
mov r8, qword [r13 + 8]
mov rdx, r13
mov rcx, r14
call fcn.140010b0c
mov rdx, qword [r14 + 8]
movabs rcx, 0x555555555555554
sub rcx, rdx
cmp rcx, 1
jb 0x140010d55
lea rcx, [rdx + 1]
mov qword [r14 + 8], rcx
mov qword [r13 + 8], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rax
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 9]
call fcn.140003a60
inc esi
cmp esi, dword [rbp - 0x39]
jae 0x140010d62
jmp 0x140010c8b
lea rcx, str.list_T__too_long
call fcn.14001e538
nop
mov rcx, rdi
call fcn.1400210e8
test rbx, rbx
je 0x140010d7b
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, r12
test rbx, rbx
je 0x140010d89
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.140021430
mov rbx, qword [rsp + 0x118]
add rsp, 0xc0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140011740
Capabilities:
Get common file path

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x60
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x88], rbx
mov rax, qword [0x14007d370]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rsi, rcx
mov eax, r8d
mov edi, r8d
xor edi, 8
and al, 8
cmove edi, r8d
test rcx, rcx
jne 0x140011786
xor eax, eax
jmp 0x14001182c
xor ebp, ebp
mov qword [rsp + 0x20], rbp
lea r9, [rsp + 0x20]
xor r8d, r8d
xor edx, edx
lea rcx, [0x14006dfe8]
call sub.SHELL32.dll_SHGetKnownFolderPath
mov rbx, qword [rsp + 0x20]
mov qword [rsp + 0x30], rbx
test eax, eax
jns 0x1400117b5
mov edi, ebp
jmp 0x14001181b
mov r9, rsi
mov r8, rbx
lea rdx, [0x14006e2a8]
lea rcx, [rsp + 0x38]
call fcn.1400030d0
lea rcx, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae rcx, qword [rsp + 0x38]
mov r8d, edi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
mov r8, qword [rsp + 0x50]
cmp r8, 8
jb 0x140011808
inc r8
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x38]
call fcn.1400039f0
mov qword [rsp + 0x50], 7
mov qword [rsp + 0x48], rbp
mov word [rsp + 0x38], bp
test rbx, rbx
je 0x140011829
mov rcx, rbx
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rax, rdi
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140021430
mov rbx, qword [rsp + 0x88]
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret
xor r8d, r8d
xor edx, edx
jmp 0x140011740

Function at 0x140011850
Capabilities:
Get common file path

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x60
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x88], rbx
mov rax, qword [0x14007d370]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rsi, rcx
mov eax, r8d
mov edi, r8d
xor edi, 8
and al, 8
cmove edi, r8d
test rcx, rcx
jne 0x140011786
xor eax, eax
jmp 0x14001182c
xor ebp, ebp
mov qword [rsp + 0x20], rbp
lea r9, [rsp + 0x20]
xor r8d, r8d
xor edx, edx
lea rcx, [0x14006dfe8]
call sub.SHELL32.dll_SHGetKnownFolderPath
mov rbx, qword [rsp + 0x20]
mov qword [rsp + 0x30], rbx
test eax, eax
jns 0x1400117b5
mov edi, ebp
jmp 0x14001181b
mov r9, rsi
mov r8, rbx
lea rdx, [0x14006e2a8]
lea rcx, [rsp + 0x38]
call fcn.1400030d0
lea rcx, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae rcx, qword [rsp + 0x38]
mov r8d, edi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
mov r8, qword [rsp + 0x50]
cmp r8, 8
jb 0x140011808
inc r8
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x38]
call fcn.1400039f0
mov qword [rsp + 0x50], 7
mov qword [rsp + 0x48], rbp
mov word [rsp + 0x38], bp
test rbx, rbx
je 0x140011829
mov rcx, rbx
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rax, rdi
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140021430
mov rbx, qword [rsp + 0x88]
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret
xor r8d, r8d
xor edx, edx
jmp 0x140011740
Function at 0x140012360
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
xor edi, edi
mov rbx, rcx
test rcx, rcx
je 0x1400123db
cmp di, word [rcx]
je 0x1400123db
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x140012388
lea eax, [rdi + 2]
jmp 0x1400123e0
xor ecx, ecx
call fcn.140011fc8
mov rdx, rbx
mov rcx, rax
call fcn.140016368
test eax, eax
je 0x1400123e0
mov edx, dword [reloc.OLEAUT32.dll_VariantClear]
lea rax, [0x14007f768]
mov qword [rsp + 0x28], rax
lea r9, [0x14007d250]
mov eax, dword [0x14005ca68]
lea r8, str.Intel_Corporation
mov rcx, rbx
mov dword [rsp + 0x20], eax
call fcn.1400138f4
neg eax
sbb eax, eax
not eax
and eax, 5
jmp 0x1400123e0
mov eax, 0x57
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x14001402c
Capabilities:
Create thread

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov r9, rcx
mov dword [rax + 0x10], edi
lea rax, [rax + 0x10]
mov qword [rsp + 0x28], rax
lea r8, [0x140014344]
xor edx, edx
mov dword [rsp + 0x20], edi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rsi, rax
test rax, rax
je 0x140014089
or edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
sete dil
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x14001467c
Capabilities:
Enumerate processes

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x3e8]
sub rsp, 0x4c0
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x14007d370]
xor rax, rsp
mov qword [rbp + 0x3b0], rax
mov rdi, rcx
and dword [rsp + 0x3c], 0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x20], xmm0
xor r12d, r12d
mov qword [rsp + 0x30], r12
xor edx, edx
lea ecx, [rdx + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov r15, rax
cmp rax, 0xffffffffffffffff
jne 0x1400146f3
and qword [rdi], r12
and qword [rdi + 8], r12
and qword [rdi + 0x10], r12
jmp 0x140014858
xor edx, edx
mov r8d, 0x234
lea rcx, [rsp + 0x64]
call fcn.140022cd0
mov dword [rsp + 0x60], 0x238
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov esi, eax
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x1a0]
call fcn.140022cd0
lea rdx, [rsp + 0x60]
mov rcx, r15
call sub.KERNEL32.dll_Process32FirstW
mov rbx, qword [rsp + 0x28]
test eax, eax
je 0x14001483f
cmp dword [rsp + 0x68], esi
jne 0x1400147a9
mov r8d, esi
xor edx, edx
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r14, rax
test rax, rax
je 0x140014810
lea r8, [0x14006e1f8]
mov edx, 0x104
lea rcx, [rbp + 0x1a0]
call fcn.14002eca8
mov dword [rsp + 0x38], 0x104
lea r9, [rsp + 0x38]
lea r8, [rbp + 0x1a0]
xor edx, edx
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_QueryFullProcessImageNameW]
test eax, eax
jne 0x1400147bc
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x60]
mov rcx, r15
call sub.KERNEL32.dll_Process32NextW
test eax, eax
je 0x140014813
jmp 0x140014743
cmp rbx, r12
jne 0x1400147da
mov edx, 1
lea rcx, [rsp + 0x20]
call fcn.140014170
mov r12, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x28]
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rbx
test rbx, rbx
je 0x1400147f9
lea rdx, [rbp + 0x1a0]
mov rcx, rbx
call fcn.1400123f4
nop
add rbx, 0x20
mov qword [rsp + 0x28], rbx
mov esi, dword [rbp - 0x80]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140014813
or esi, 0xffffffff
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x14001483f
cmp esi, 0xffffffff
je 0x14001483f
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp esi, eax
je 0x14001483f
lea rdx, [rsp + 0x60]
mov rcx, r15
call sub.KERNEL32.dll_Process32FirstW
jmp 0x14001473b
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x20]
mov qword [rdi], rax
mov qword [rdi + 8], rbx
mov qword [rdi + 0x10], r12
xorps xmm0, xmm0
and qword [rsp + 0x30], 0
movdqu xmmword [rsp + 0x20], xmm0
lea rcx, [rsp + 0x20]
call fcn.1400141ec
mov rax, rdi
mov rcx, qword [rbp + 0x3b0]
xor rcx, rsp
call fcn.140021430
lea r11, [rsp + 0x4c0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x140014a14
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
xor edi, edi
mov r13, rdx
mov r15, rcx
test rcx, rcx
je 0x140014b69
test rdx, rdx
je 0x140014b69
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov r14d, 0x8000
mov esi, eax
mov ecx, r14d
call fcn.1400210e0
mov rbx, rax
test rax, rax
jne 0x140014a73
lea edi, [rax + 8]
jmp 0x140014b5d
mov r8d, esi
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rsi, rax
test rax, rax
jne 0x140014a98
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x140014b5d
lea r9, [rbp + 0x30]
mov dword [rbp + 0x30], edi
mov r8d, r14d
mov rdx, rbx
mov rcx, rsi
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
jne 0x140014ac7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rsi
mov edi, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140014b5d
mov eax, dword [rbp + 0x30]
mov r14d, edi
shr eax, 3
mov r12b, dil
mov dword [rbp + 0x30], eax
test eax, eax
je 0x140014b4a
xor eax, eax
mov edx, r14d
lea r8, [rbp - 0x20]
mov qword [rbp - 0x20], rdi
mov rcx, rsi
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x10], rax
mov rdx, qword [rbx + rdx*8]
lea r9d, [rax + 0x18]
call sub.PSAPI.DLL_GetModuleInformation
test eax, eax
je 0x140014b18
cmp qword [rbp - 0x20], r15
jg 0x140014b18
mov eax, dword [rbp - 0x18]
mov rcx, r15
sub rcx, qword [rbp - 0x20]
cmp rcx, rax
jl 0x140014b23
inc r14d
cmp r14d, dword [rbp + 0x30]
jae 0x140014b4a
jmp 0x140014ada
mov edx, r14d
mov r9d, 0x104
mov r8, r13
mov rcx, rsi
mov rdx, qword [rbx + rdx*8]
call sub.PSAPI.DLL_GetModuleFileNameExW
test eax, eax
je 0x140014b44
mov r12b, 1
jmp 0x140014b4a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test r12b, r12b
jne 0x140014b5d
mov edi, 5
mov rcx, rbx
call fcn.1400210e8
mov eax, edi
jmp 0x140014b6e
mov eax, 0x57
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret

Function at 0x140015088
Capabilities:
Hash data with md5

Disassembly:
push rbx
sub rsp, 0xa0
mov rax, qword [0x14007d370]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov rbx, r8
test rcx, rcx
je 0x140015119
cmp edx, 1
jb 0x140015119
test rbx, rbx
je 0x140015119
cmp r9d, 0x10
jne 0x140015119
and dword [rsp + 0x24], 0
mov r8d, edx
and dword [rsp + 0x20], 0
mov rdx, rcx
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x28], 0x67452301
mov dword [rsp + 0x2c], 0xefcdab89
mov dword [rsp + 0x30], 0x98badcfe
mov dword [rsp + 0x34], 0x10325476
call fcn.140015244
lea rcx, [rsp + 0x20]
call fcn.140015138
mov r9d, 0x10
lea r8, [rsp + 0x78]
mov edx, r9d
mov rcx, rbx
call fcn.140016c70
xor eax, eax
jmp 0x14001511c
or eax, 0xffffffff
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.140021430
add rsp, 0xa0
pop rbx
ret
Function at 0x14001663c
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x68
lea rbp, [rsp + 0x30]
mov rax, qword [0x14007d370]
xor rax, rbp
mov qword [rbp + 0x28], rax
mov r14, rdx
mov r15, rcx
mov rsi, qword [rbp + 0x90]
test rsi, rsi
je 0x140016683
and dword [rsi], 0
and dword [rbp], 0
mov dword [rbp + 4], 0x1f4
and qword [rbp + 8], 0
mov eax, dword [rsp]
mov eax, 0x210
sub rsp, rax
lea rbx, [rsp + 0x30]
mov eax, dword [rbx]
mov qword [rbp + 0x10], rbx
test rbx, rbx
je 0x1400166bc
mov dword [rbx], 0xcccc
add rbx, 0x10
mov qword [rbp + 0x10], rbx
mov qword [rbp + 8], rbx
jmp 0x1400166da
test rbx, rbx
jne 0x1400166e9
mov eax, 0xe
jmp 0x14001686a
lea rax, [rbp + 4]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea r9, [rbp]
xor r8d, r8d
mov rdx, r14
mov rcx, qword [r15]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edi, eax
cmp eax, 0xea
jne 0x140016818
lea rcx, [rbx - 0x10]
cmp dword [rcx], 0xdddd
jne 0x140016728
call fcn.14002ed10
and qword [rbp + 8], 0
mov edx, dword [rbp + 4]
lea rcx, [rdx + 0x10]
cmp rdx, rcx
sbb rax, rax
test rcx, rax
je 0x1400167cc
lea rcx, [rdx + 0x10]
cmp rdx, rcx
sbb rax, rax
and rax, rcx
cmp rax, 0x400
lea rax, [rdx + 0x10]
ja 0x1400167a2
cmp rdx, rax
sbb rcx, rcx
and rcx, rax
lea rax, [rcx + 0xf]
cmp rax, rcx
ja 0x140016778
movabs rax, 0xffffffffffffff0
and rax, 0xfffffffffffffff0
call fcn.1400214f0
sub rsp, rax
lea rbx, [rsp + 0x30]
mov qword [rbp + 0x18], rbx
test rbx, rbx
je 0x1400167ce
mov dword [rbx], 0xcccc
add rbx, 0x10
mov qword [rbp + 0x18], rbx
jmp 0x1400167ce
cmp rdx, rax
sbb rcx, rcx
and rcx, rax
call fcn.14002f2c8
mov rbx, rax
mov qword [rbp + 0x20], rax
test rax, rax
je 0x1400167ce
mov dword [rax], 0xdddd
add rbx, 0x10
mov qword [rbp + 0x20], rbx
jmp 0x1400167ce
xor ebx, ebx
mov qword [rbp + 8], rbx
jmp 0x1400167ec
test rbx, rbx
je 0x1400166df
lea rax, [rbp + 4]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea r9, [rbp]
xor r8d, r8d
mov rdx, r14
mov rcx, qword [r15]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edi, eax
test edi, edi
jne 0x140016857
cmp dword [rbp], 3
je 0x140016829
mov edi, 0xd
jmp 0x140016857
mov rax, qword [rbp + 0x88]
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0x80]
lea r8, [rbp]
mov edx, dword [rbp + 4]
mov rcx, rbx
call fcn.140016ad0
mov edi, eax
test rsi, rsi
je 0x140016857
mov eax, dword [rbp]
mov dword [rsi], eax
lea rcx, [rbx - 0x10]
cmp dword [rcx], 0xdddd
jne 0x140016868
call fcn.14002ed10
mov eax, edi
mov rcx, qword [rbp + 0x28]
xor rcx, rbp
call fcn.140021430
lea rsp, [rbp + 0x38]
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x140016884
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x60
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x70], rbx
mov rax, qword [0x14007d370]
xor rax, rbp
mov qword [rbp + 0x28], rax
mov r14, r9
mov rbx, r8
mov rsi, rdx
mov r15, rcx
mov dword [rbp], 1
and dword [rbp + 4], 0
mov rdi, qword [rbp + 0x80]
test rdi, rdi
je 0x1400168dd
mov eax, dword [rdi]
mov dword [rbp + 4], eax
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], r14
lea r9, [rbp]
xor r8d, r8d
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test rbx, rbx
je 0x140016901
mov ecx, dword [rbp]
mov dword [rbx], ecx
cmp dword [rbp], 1
je 0x140016911
cmp dword [rbp], 7
jne 0x140016ab2
test rdi, rdi
je 0x140016ab2
cmp dword [rdi], 0
je 0x140016ab2
test eax, eax
je 0x140016932
cmp eax, 0xea
jne 0x140016ab2
mov ecx, dword [rbp + 4]
mov eax, dword [rdi]
mov dword [rbp + 4], eax
mov dword [rdi], ecx
test r14, r14
je 0x14001694e
mov r8d, ecx
xor edx, edx
mov rcx, r14
call fcn.140022cd0
and qword [rbp + 0x10], 0
mov edx, dword [rbp + 4]
lea rcx, [rdx + 0x10]
cmp rdx, rcx
sbb rax, rax
test rcx, rax
je 0x1400169f2
lea rcx, [rdx + 0x10]
cmp rdx, rcx
sbb rax, rax
and rax, rcx
cmp rax, 0x400
lea rax, [rdx + 0x10]
ja 0x1400169c8
cmp rdx, rax
sbb rcx, rcx
and rcx, rax
lea rax, [rcx + 0xf]
cmp rax, rcx
ja 0x14001699e
movabs rax, 0xffffffffffffff0
and rax, 0xfffffffffffffff0
call fcn.1400214f0
sub rsp, rax
lea rbx, [rsp + 0x30]
mov qword [rbp + 0x18], rbx
test rbx, rbx
je 0x1400169f4
mov dword [rbx], 0xcccc
add rbx, 0x10
mov qword [rbp + 0x18], rbx
jmp 0x1400169f4
cmp rdx, rax
sbb rcx, rcx
and rcx, rax
call fcn.14002f2c8
mov rbx, rax
mov qword [rbp + 0x20], rax
test rax, rax
je 0x1400169f4
mov dword [rax], 0xdddd
add rbx, 0x10
mov qword [rbp + 0x20], rbx
jmp 0x1400169f4
xor ebx, ebx
mov qword [rbp + 0x10], rbx
jmp 0x140016a16
test rbx, rbx
jne 0x140016a23
lea eax, [rbx + 0xe]
jmp 0x140016ab2
mov r8d, dword [rbp + 4]
xor edx, edx
mov rcx, rbx
call fcn.140022cd0
lea rax, [rbp + 4]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea r9, [rbp]
xor r8d, r8d
mov rdx, rsi
mov rcx, qword [r15]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
test eax, eax
jne 0x140016a9f
cmp dword [rbp], 1
jne 0x140016a82
mov eax, dword [rdi]
shr eax, 1
mov dword [rbp + 8], eax
lea r9, [rbp + 8]
mov r8, r14
mov rdx, rbx
lea ecx, [rsi + 3]
call fcn.140014e64
mov esi, eax
mov eax, dword [rbp + 8]
add eax, eax
mov dword [rdi], eax
jmp 0x140016a9f
cmp dword [rbp], 7
jne 0x140016a9d
mov r9, rdi
mov r8, r14
mov rdx, rbx
mov rcx, r15
call fcn.14001651c
mov esi, eax
jmp 0x140016a9f
xor esi, esi
lea rcx, [rbx - 0x10]
cmp dword [rcx], 0xdddd
jne 0x140016ab0
call fcn.14002ed10
mov eax, esi
mov rcx, qword [rbp + 0x28]
xor rcx, rbp
call fcn.140021430
mov rbx, qword [rbp + 0x70]
lea rsp, [rbp + 0x30]
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret