joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14005b16c
Capabilities:
Enumerate services
Query service status
Stop service

Disassembly:
mov r11, rsp
push rbp
push r14
push r15
lea rbp, [r11 - 0x5f]
sub rsp, 0x90
mov qword [rbp - 9], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], r12
mov rax, qword [0x1400db348]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov r12, rcx
lea rax, [rbp - 0x15]
mov qword [r11 - 0x80], rax
lea rax, [rbp - 0x19]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
mov rcx, qword [rcx]
call qword [sym.imp.api_ms_win_service_core_l1_1_1.dll_EnumDependentServicesW]
nop dword [rax + rax]
xor esi, esi
test eax, eax
jne 0x14005b31d
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 0xea
jne 0x14005b31d
mov ecx, dword [rbp - 0x19]
lea rdx, [0x1400a6f84]
call fcn.14002ad5c
mov rbx, rax
test rax, rax
je 0x14005b30c
lea rax, [rbp - 0x15]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x19]
mov qword [rsp + 0x20], rax
mov r9d, dword [rbp - 0x19]
mov r8, rbx
lea edx, [rsi + 1]
mov rcx, qword [r12]
call qword [sym.imp.api_ms_win_service_core_l1_1_1.dll_EnumDependentServicesW]
nop dword [rax + rax]
test eax, eax
je 0x14005b30c
mov r14d, esi
cmp dword [rbp - 0x15], esi
jbe 0x14005b30c
mov eax, r14d
lea rdx, [rax + rax*2]
add rdx, rdx
mov r8d, 0x24
mov rdx, qword [rbx + rdx*8]
lea rcx, [rbp - 0x11]
call fcn.14001d8c8
cmp qword [rbp - 0x11], rsi
je 0x14005b2f6
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 1], xmm0
mov qword [rbp + 0xf], rax
mov dword [rbp + 0x17], eax
lea r8, [rbp - 1]
lea edx, [rax + 1]
mov rcx, qword [rbp - 0x11]
call qword [sym.imp.api_ms_win_service_winsvc_l1_1_0.dll_ControlService]
nop dword [rax + rax]
test eax, eax
je 0x14005b2f6
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount64]
nop dword [rax + rax]
lea r15, [rax + 0x7530]
cmp dword [rbp + 3], 1
je 0x14005b2f6
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount64]
nop dword [rax + rax]
cmp rax, r15
jae 0x14005b2f6
mov ecx, dword [rbp + 0x17]
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
nop dword [rax + rax]
lea rdx, [rbp - 1]
mov rcx, qword [rbp - 0x11]
call qword [sym.imp.api_ms_win_service_winsvc_l1_1_0.dll_QueryServiceStatus]
nop dword [rax + rax]
test eax, eax
jne 0x14005b2af
call fcn.14000b7c0
test eax, eax
jns 0x14005b2af
lea rcx, [rbp - 0x11]
call fcn.14001d898
inc r14d
cmp r14d, dword [rbp - 0x15]
jb 0x14005b24a
mov rcx, rbx
mov rax, qword [0x14009e368]
call qword [case.0x140024a95.0]
nop
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x1f], xmm0
mov qword [rbp + 0x2f], rax
mov dword [rbp + 0x37], eax
lea r8, [rbp + 0x1f]
lea edx, [rax + 1]
mov rcx, qword [r12]
call qword [sym.imp.api_ms_win_service_winsvc_l1_1_0.dll_ControlService]
nop dword [rax + rax]
test eax, eax
jne 0x14005b34f
call fcn.14000b7c0
mov esi, eax
mov eax, esi
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.14002a8b0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x14005b3d4
Capabilities:
Access the windows event log

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
lea rbp, [rsp - 0xf0]
sub rsp, 0x1f0
mov rax, qword [0x1400db348]
xor rax, rsp
mov qword [rbp + 0xe0], rax
mov rbx, rcx
call fcn.140002d00
test al, al
je 0x14005b5b2
mov eax, dword [rcx + 0x14]
lea rdx, str.SoftwareMicrosoftWindows_SearchTracingEventThrottleLastReported
and dword [rsp + 0x58], 0
lea rcx, [rsp + 0x58]
and qword [rsp + 0x5c], 0
and dword [rsp + 0x64], 0
and dword [rsp + 0x68], 0
mov dword [rsp + 0x6c], eax
call fcn.14000376c
test al, al
je 0x14005b45b
mov eax, dword [rbx]
cmp dword [rsp + 0x58], eax
jne 0x14005b45b
mov rax, qword [rbx + 4]
cmp qword [rsp + 0x5c], rax
jne 0x14005b45b
mov eax, dword [rbx + 0x10]
cmp dword [rsp + 0x68], eax
je 0x14005b5b2
mov r9d, dword [rbx + 0x14]
lea r8, [0x1400b66e4]
mov edx, reloc.OLEAUT32.dll_SafeArrayGetDim
lea rcx, [rbp - 0x60]
call fcn.140003d10
test eax, eax
js 0x14005b5b2
mov r9d, dword [rbx + 0x10]
lea r8, [0x1400b4870]
mov edx, reloc.OLEAUT32.dll_SafeArrayGetDim
lea rcx, [rbp - 0x40]
call fcn.140003d10
test eax, eax
js 0x14005b5b2
imul rax, qword [rbx + 4], 0x2710
lea rdx, [rsp + 0x70]
mov dword [rsp + 0x50], eax
lea rcx, [rsp + 0x50]
shr rax, 0x20
mov dword [rsp + 0x54], eax
call qword [sym.imp.api_ms_win_core_timezone_l1_1_0.dll_FileTimeToSystemTime]
nop dword [rax + rax]
test eax, eax
je 0x14005b5b2
lea r8, [rsp + 0x58]
xor ecx, ecx
lea rdx, [rsp + 0x70]
call qword [sym.imp.api_ms_win_core_timezone_l1_1_0.dll_SystemTimeToTzSpecificLocalTime]
nop dword [rax + rax]
test eax, eax
je 0x14005b5b2
lea rax, [rbp - 0x20]
mov dword [rsp + 0x28], 0x80
xor r9d, r9d
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x58]
xor edx, edx
mov ecx, 0x800
call qword [sym.imp.api_ms_win_core_datetime_l1_1_0.dll_GetTimeFormatW]
nop dword [rax + rax]
test eax, eax
jle 0x14005b5b2
lea rax, [0x1400a5ac0]
xor ecx, ecx
mov qword [rbp - 0x80], rax
lea rdx, [0x1400a51d8]
lea rax, [rbp - 0x60]
mov qword [rbp - 0x78], rax
lea rax, [rbp - 0x40]
mov qword [rbp - 0x70], rax
lea rax, [rbp - 0x20]
mov qword [rbp - 0x68], rax
call qword [sym.imp.ext_ms_win_advapi32_eventlog_l1_1_0.dll_RegisterEventSourceW]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
je 0x14005b5b2
and qword [rsp + 0x40], 0
lea rax, [rbp - 0x80]
mov ecx, 4
mov qword [rsp + 0x38], rax
and dword [rsp + 0x30], 0
mov r9d, 0x800003f7
mov word [rsp + 0x28], cx
and qword [rsp + 0x20], 0
lea edx, [rcx - 2]
lea r8d, [rcx - 3]
mov rcx, rbx
call qword [sym.imp.ext_ms_win_advapi32_eventlog_l1_1_0.dll_ReportEventW]
nop dword [rax + rax]
mov rcx, rbx
call qword [sym.imp.ext_ms_win_advapi32_eventlog_l1_1_0.dll_DeregisterEventSource]
nop dword [rax + rax]
mov rcx, qword [rbp + 0xe0]
xor rcx, rsp
call fcn.14002a8b0
mov rbx, qword [rsp + 0x208]
add rsp, 0x1f0
pop rbp
ret
Function at 0x14005c118
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x250
mov rax, qword [0x1400db348]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rbx, rdx
lea r9, [rsp + 0x30]
mov r8, rdx
mov rdi, rcx
mov rdx, rcx
call fcn.14000af14
test al, al
lea rdx, [rsp + 0x30]
mov rcx, rdi
cmove rdx, rbx
call qword [sym.imp.api_ms_win_core_registry_l2_1_0.dll_RegDeleteKeyW]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14002a8b0
mov rbx, qword [rsp + 0x270]
add rsp, 0x250
pop rdi
ret

Function at 0x14005c190
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x250
mov rax, qword [0x1400db348]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rbx, qword [rsp + 0x280]
lea r9, [rsp + 0x30]
mov rdi, rdx
mov r8, rdx
mov rdx, rcx
mov rsi, rcx
call fcn.14000af14
test al, al
lea rdx, [rsp + 0x30]
mov rcx, rsi
cmove rdx, rdi
and qword [rsp + 0x28], 0
xor r9d, r9d
mov qword [rsp + 0x20], rbx
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_registry_l2_1_0.dll_RegDeleteKeyTransactedW]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14002a8b0
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x14005c5ac
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x270
mov rax, qword [0x1400db348]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rdi, r8
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x38], rcx
xor edx, edx
mov rcx, rdi
mov qword [rsp + 0x40], r9
mov r8d, 0xd0
mov r14, r9
call sub.msvcrt.dll_memset
xor esi, esi
test r14, r14
je 0x14005c605
mov word [r14], si
lea rcx, [rsp + 0x30]
call fcn.14005c8b0
mov ebx, eax
mov ebp, 0x1a
test eax, eax
js 0x14005c6eb
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetLogicalDrives]
nop dword [rax + rax]
movzx r12d, word [rsp + 0x30]
mov r13d, eax
mov r14, qword [rsp + 0x48]
cmp esi, ebp
jae 0x14005c6d5
bt r13d, esi
jae 0x14005c6cb
movabs rax, 0x5c003a0020
lea r15d, [rsi + 0x41]
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0x48]
mov word [rsp + 0x48], r15w
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetDriveTypeW]
nop dword [rax + rax]
cmp eax, 3
jne 0x14005c6cb
mov r8, qword [rsp + 0x38]
lea r9, [rsp + 0x50]
movzx edx, r12w
movzx ecx, r15w
call fcn.14005c950
mov ebx, eax
test eax, eax
js 0x14005c6cb
mov rdx, r14
lea rcx, [rsp + 0x50]
call fcn.14005c488
mov ebx, eax
cmp eax, 1
jne 0x14005c6ae
xor ebx, ebx
jmp 0x14005c6cb
test eax, eax
js 0x14005c6cb
mov eax, esi
lea rcx, [rsp + 0x50]
lea rdx, [rdi + rax*8]
call qword [sym.imp.SHCORE.dll_SHStrDupW]
nop dword [rax + rax]
mov ebx, eax
inc esi
test ebx, ebx
jns 0x14005c638
mov r14, qword [rsp + 0x40]
xor esi, esi
test ebx, ebx
js 0x14005c6eb
test r14, r14
je 0x14005c707
mov word [r14], r12w
jmp 0x14005c707
mov rcx, qword [rdi]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
nop dword [rax + rax]
mov qword [rdi], rsi
lea rdi, [rdi + 8]
sub rbp, 1
jne 0x14005c6eb
mov eax, ebx
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.14002a8b0
mov rbx, qword [rsp + 0x2b0]
add rsp, 0x270
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x14005c8b0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x250
mov rax, qword [0x1400db348]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rdi, rcx
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x208
call sub.msvcrt.dll_memset
mov r9d, 1
lea rax, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x20], rax
xor ecx, ecx
lea edx, [r9 + 0x23]
call qword [sym.imp.ext_ms_win_shell32_shellfolders_l1_1_0.dll_SHGetFolderPathW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
js 0x14005c923
movzx ecx, word [rsp + 0x30]
call qword [sym.imp.msvcrt.dll_towupper]
nop dword [rax + rax]
mov word [rdi], ax
mov eax, ebx
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14002a8b0
mov rbx, qword [rsp + 0x268]
add rsp, 0x250
pop rdi
ret
Function at 0x14005c950
Capabilities:
Get disk information

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x250
mov rax, qword [0x1400db348]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rsi, r9
mov rbp, r8
movzx ebx, dx
xor edi, edi
call qword [sym.imp.msvcrt.dll_towupper]
nop dword [rax + rax]
movzx ecx, bx
movzx r14d, ax
call qword [sym.imp.msvcrt.dll_towupper]
nop dword [rax + rax]
cmp r14w, ax
jne 0x14005c9b5
mov r8, rbp
mov edx, 0x104
mov rcx, rsi
call fcn.14000c8ec
jmp 0x14005ca52
movabs rax, 0x5c003a0020
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x20]
mov r8d, 0x104
mov word [rsp + 0x20], r14w
call qword [sym.imp.api_ms_win_core_file_l1_2_0.dll_GetVolumeNameForVolumeMountPointW]
nop dword [rax + rax]
test eax, eax
jne 0x14005ca09
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
test eax, eax
jle 0x14005ca05
movzx edi, ax
or edi, 0x80070000
test edi, edi
js 0x14005ca54
mov edx, 0x7b
lea rcx, [rsp + 0x30]
call qword [sym.imp.msvcrt.dll_wcschr]
nop dword [rax + rax]
mov rbx, rax
mov eax, 0x8000ffff
test rbx, rbx
cmove edi, eax
test edi, edi
js 0x14005ca54
mov r8, rbp
mov edx, 0x104
mov rcx, rsi
call fcn.14000c8ec
mov edi, eax
test eax, eax
js 0x14005ca54
mov r8, rbx
mov rcx, rsi
call fcn.14005ca7c
mov edi, eax
mov eax, edi
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14002a8b0
add rsp, 0x250
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x14005ea60
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x70
mov rax, qword [0x1400db348]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov r9d, 0x20
lea r8, [rsp + 0x20]
mov edi, 0x404
mov ebx, 0xc04
mov ecx, edi
lea edx, [r9 - 0x18]
call qword [sym.imp.api_ms_win_core_localization_l1_2_0.dll_GetLocaleInfoW]
nop dword [rax + rax]
test eax, eax
je 0x14005eac2
mov r8d, 3
lea rdx, [0x1400b6cfc]
lea rcx, [rsp + 0x20]
call sub.msvcrt.dll_wcsncmp
test eax, eax
je 0x14005eac2
movzx ebx, di
movzx eax, bx
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14002a8b0
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret
Function at 0x14005ec10
Capabilities:
Check os version

Disassembly:
sub rsp, 0x158
mov rax, qword [0x1400db348]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov eax, dword [0x1400dda7c]
test eax, eax
jne 0x14005ed14
xor edx, edx
lea rcx, [rsp + 0x24]
mov r8d, 0x118
call sub.msvcrt.dll_memset
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], Ordinal_290
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetVersionExW]
nop dword [rax + rax]
test eax, eax
jne 0x14005ec7f
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], VarUI4FromDisp
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetVersionExW]
nop dword [rax + rax]
mov ecx, dword [rsp + 0x30]
xor eax, eax
mov edx, dword [rsp + 0x24]
mov dword [0x1400dda7c], eax
sub ecx, 1
je 0x14005ecf0
cmp ecx, 1
jne 0x14005ed14
cmp edx, 5
jne 0x14005ecde
mov eax, dword [rsp + 0x28]
test eax, eax
je 0x14005ecd7
sub eax, ecx
je 0x14005ecbd
cmp eax, ecx
je 0x14005ecb3
lea eax, [rdx + 0xf]
jmp 0x14005ed32
mov edx, reloc.OLEAUT32.dll_SafeArrayGetDim
lea ecx, [rdx - 0xf]
jmp 0x14005ecc5
mov edx, 8
lea ecx, [rdx - 6]
xor eax, eax
cmp word [rsp + 0x134], cx
cmovae eax, edx
or eax, 4
jmp 0x14005ed32
mov eax, 4
jmp 0x14005ed32
cmp edx, 4
ja 0x14005ed2d
mov ecx, 2
mov eax, ecx
mov dword [0x1400dda7c], ecx
cmp edx, 4
jne 0x14005ed14
mov ecx, dword [rsp + 0x28]
test ecx, ecx
je 0x14005ed07
cmp ecx, 0xa
je 0x14005ed07
cmp ecx, 0x5a
jne 0x14005ed14
mov ecx, 1
mov eax, ecx
mov dword [0x1400dda7c], ecx
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.14002a8b0
add rsp, 0x158
ret
mov eax, 0x20
mov dword [0x1400dda7c], eax
jmp 0x14005ed14

Function at 0x14005f040
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
sub rsp, 0x20
xor r9d, r9d
lea rdx, [0x1400a9320]
mov rbx, rcx
lea r8d, [r9 + 1]
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_FindResourceExW]
nop dword [rax + rax]
test rax, rax
jne 0x14005f06f
add rsp, 0x20
pop rbx
ret
mov rdx, rax
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_LoadResource]
Function at 0x14005fc94
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
mov rbp, rsp
sub rsp, 0x48
cmp byte [0x1400dd8c5], 0
jne 0x14005fda5
cmp byte [0x1400dd8c6], 0
jne 0x14005fda5
and qword [rbp - 0x18], 0
lea rax, [rbp - 0x18]
mov qword [rsp + 0x28], rax
lea r8, str.SOFTWAREMicrosoftWindows_Search
mov bl, 1
mov dword [rsp + 0x20], 0x20019
mov rdx, 0xffffffff80000002
mov byte [0x1400dd8c5], bl
call fcn.14000add8
test eax, eax
jne 0x14005fda5
mov rcx, qword [rbp - 0x18]
lea rax, [rbp + 0x18]
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x20]
lea rax, [rbp + 0x28]
mov dword [rbp + 0x18], 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.ETWLogging
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
nop dword [rax + rax]
test eax, eax
jne 0x14005fd37
cmp dword [rbp + 0x20], 4
jne 0x14005fd37
cmp dword [rbp + 0x28], eax
ja 0x14005fd39
xor bl, bl
cmp dword [0x1400dc498], 0
mov byte [0x1400dd8c6], bl
mov dword [rbp + 0x18], 4
ja 0x14005fd95
mov rcx, qword [rbp - 0x18]
lea rax, [rbp + 0x18]
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x20]
lea rax, [rbp + 0x30]
xor r8d, r8d
lea rdx, str.ETWBufferSize
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
nop dword [rax + rax]
test eax, eax
jne 0x14005fd95
cmp dword [rbp + 0x20], 4
jne 0x14005fd95
mov edx, dword [rbp + 0x30]
test edx, edx
je 0x14005fd95
call fcn.14005ff88
mov rcx, qword [rbp - 0x18]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
add rsp, 0x48
pop rbx
pop rbp
ret

Function at 0x14005fdb4
Capabilities:
Print debug messages

Disassembly:
mov eax, 0x3718
call fcn.14002e360
sub rsp, rax
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rax, qword [0x1400db348]
xor rax, rsp
mov qword [rsp + 0x3700], rax
mov rax, r9
mov r9, qword [rsp + 0x3740]
mov r9, qword [r9]
mov r8, rax
mov edx, 0xdac
lea rcx, [rsp + 0x1ba0]
call fcn.140042c24
test eax, eax
js 0x14005febb
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentThreadId]
nop dword [rax + rax]
mov r9d, eax
lea rax, [rsp + 0x1ba0]
mov qword [rsp + 0x20], rax
lea r8, str._4d__s_n
mov edx, 0xdac
lea rcx, [rsp + 0x40]
call fcn.140003d10
test eax, eax
js 0x14005fe57
cmp byte [0x1400dd8c6], 0
je 0x14005fe57
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_OutputDebugStringW]
nop dword [rax + rax]
lea rdx, [rsp + 0x40]
call fcn.14006059c
cmp byte [0x1400dd8c5], 0
jne 0x14005fe6f
call fcn.14005fc94
cmp byte [0x1400dd8c6], 0
jne 0x14005fe96
lea rdx, [0x1400a6870]
mov rcx, qword [0x1400da440]
call qword [sym.imp.api_ms_win_eventing_provider_l1_1_0.dll_EventEnabled]
nop dword [rax + rax]
test al, al
je 0x14005febb
test byte [0x1400dd8c2], 0x20
je 0x14005febb
lea r8, [rsp + 0x1ba0]
lea rdx, [0x1400a6870]
lea rcx, [0x1400da440]
call fcn.14004d654
nop
jmp 0x14005febd
mov rcx, qword [rsp + 0x3700]
xor rcx, rsp
call fcn.14002a8b0
add rsp, 0x3718
ret
Function at 0x14007e6e4
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x220]
sub rsp, 0x320
mov rax, qword [0x1400db348]
xor rax, rsp
mov qword [rbp + 0x210], rax
xor r15d, r15d
mov qword [rsp + 0x68], 0x41
lea rax, [rsp + 0x70]
mov word [rsp + 0x70], r15w
mov qword [rsp + 0x60], rax
mov rdi, r8
lea rax, [0x14009b690]
mov dword [rbp - 8], r15d
mov r9, r8
mov qword [rsp + 0x58], rax
mov rsi, rdx
mov qword [rbp], r15
mov r8, rdx
lea rax, [0x14009b5a0]
mov rdx, qword [rcx + 0xb0]
mov r14, rcx
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x50], rax
call fcn.14007d65c
jmp 0x14007e77f
mov r8, rdi
lea rdx, [rbp + 0x10]
lea rcx, [rsp + 0x50]
call fcn.14007e6e4
mov ebx, eax
test eax, eax
jne 0x14007e7e8
mov rcx, qword [rbp]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x40]
mov qword [rsp + 0x30], r15
lea r8, [rbp + 0x10]
mov qword [rsp + 0x28], r15
xor edx, edx
mov qword [rsp + 0x20], r15
mov dword [rsp + 0x40], 0x100
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegEnumKeyExW]
nop dword [rax + rax]
test eax, eax
je 0x14007e76e
mov rcx, qword [r14 + 0xb0]
mov rdx, rsi
cmp rdi, 0xffffffffffffffff
je 0x14007e7e1
mov qword [rsp + 0x20], rdi
call fcn.14005c190
jmp 0x14007e7e6
call fcn.14005c118
mov ebx, eax
lea rcx, [rsp + 0x50]
call fcn.140014700
mov eax, ebx
mov rcx, qword [rbp + 0x210]
xor rcx, rsp
call fcn.14002a8b0
mov rbx, qword [rsp + 0x368]
add rsp, 0x320
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x140082560
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0xa8]
sub rsp, 0x190
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1400db348]
xor rax, rsp
mov qword [rbp + 0x80], rax
mov rsi, rcx
lea rax, [rbp - 0x20]
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], 0x41
xor r15d, r15d
mov word [rbp - 0x20], r15w
lea rax, [0x14009b690]
mov qword [rbp - 0x38], rax
lea rax, [0x14009b5a0]
mov qword [rbp - 0x40], rax
mov dword [rbp + 0x68], r15d
mov qword [rbp + 0x70], r15
mov qword [rsp + 0x20], r15
mov r9d, 0x2001f
lea r8, str.SOFTWAREMicrosoftWindows_SearchCrawlScopeManager_
mov rdx, 0xffffffff80000002
lea rcx, [rbp - 0x40]
call fcn.140012560
lea r8, [rsp + 0x30]
lea rdx, str.SQMFullDriveIndexingSent
lea rcx, [rbp - 0x40]
call fcn.140014d1c
test eax, eax
jne 0x14008273d
mov rcx, qword [rsi + 0xa8]
mov rdx, qword [rcx]
call fcn.140022f64
mov rdi, rax
lea r9, [rsp + 0x30]
xor r8d, r8d
xor edx, edx
lea rcx, [0x1400a7b18]
call qword [sym.imp.ext_ms_win_shell32_shellfolders_l1_1_0.dll_SHGetKnownFolderPath]
nop dword [rax + rax]
test eax, eax
js 0x14008273d
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.14001763c
nop
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
nop dword [rax + rax]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x48]
call fcn.1400167d4
nop
mov r14d, r15d
jmp 0x14008271a
mov rbx, rdi
mov rdx, rdi
mov rcx, qword [rsi + 0xa8]
call fcn.140022f0c
mov rdi, rax
cmp dword [rbx + 0x50], r15d
je 0x14008271a
cmp qword [rbx + 8], 2
jne 0x14008271a
xor edx, edx
mov rcx, rbx
call fcn.14001464c
lea rdx, str.file:
mov rcx, qword [rax]
call qword [sym.imp.msvcrt.dll__wcsicmp]
nop dword [rax + rax]
test eax, eax
jne 0x14008271a
lea edx, [rax + 1]
mov rcx, rbx
call fcn.14001464c
mov rdx, rax
lea rcx, [rbp - 0x80]
call fcn.1400167d4
nop
lea rdx, [rsp + 0x48]
mov rcx, rax
call fcn.14000fc60
mov ebx, eax
lea rcx, [rbp - 0x80]
call fcn.14000dd48
neg ebx
sbb eax, eax
add eax, 2
or eax, r14d
mov r14d, eax
mov r8d, eax
lea rdx, str.SQMFullDriveIndexingSent
lea rcx, [rbp - 0x40]
call fcn.14005a124
test rdi, rdi
jne 0x140082684
lea rcx, [rsp + 0x48]
call fcn.14000dd48
nop
mov rcx, qword [rsp + 0x38]
add rcx, 0xffffffffffffffe8
call fcn.1400115d0
nop
lea rcx, [rbp - 0x40]
call fcn.140014700
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.14002a8b0
lea r11, [rsp + 0x190]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x14008472c
Capabilities:
Parse credit card information

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
xor al, al
mov ecx, dword [rcx + 0x7c]
jmp 0x1400848be
cmp ecx, 0x7c
je 0x1400848c7
cmp ecx, 0x29
jne 0x14008476b
cmp dword [rbx + 0x1c], 0
jne 0x1400848c7
test dword [rbx + 0x80], 0x10000000
je 0x140084837
cmp ecx, 0x2e
jne 0x14008478b
lea rcx, [rbx + 0x40]
mov edx, 5
call fcn.1400875b8
mov rcx, rbx
call fcn.140087620
jmp 0x1400848b1
cmp ecx, 0x5c
jne 0x1400847ef
mov rcx, rbx
call fcn.140087620
test byte [rbx + 0x80], 0x80
je 0x1400847e2
cmp word [rbx + 0x78], 0x62
jne 0x1400847c3
mov edx, 4
lea rcx, [rbx + 0x40]
call fcn.1400875b8
mov rcx, rbx
call fcn.140087620
jmp 0x1400848b9
cmp word [rbx + 0x78], 0x42
jne 0x1400847e2
lea rcx, [rbx + 0x40]
mov edx, 4
call fcn.1400875b8
mov rax, qword [rbx + 0x48]
xor dword [rax + 0xc], 1
jmp 0x1400847b6
mov rcx, rbx
call fcn.140084954
jmp 0x1400848b1
cmp ecx, 0x5b
jne 0x140084819
mov rcx, rbx
call fcn.140087620
mov rcx, rbx
call fcn.140084f5c
cmp dword [rbx + 0x7c], 0x5d
je 0x14008477e
mov ecx, 4
call fcn.14002a464
int3
cmp ecx, 0x28
jne 0x140084842
mov rcx, rbx
call fcn.140087620
mov rcx, rbx
call fcn.140087bb0
cmp dword [rbx + 0x7c], 0x29
mov dil, al
je 0x1400848a4
mov ecx, 5
call fcn.14002a464
int3
cmp ecx, 0x5e
jne 0x14008484f
lea edx, [rcx - 0x5c]
jmp 0x1400847ad
cmp ecx, 0x24
jne 0x14008485c
lea edx, [rcx - 0x21]
jmp 0x1400847ad
cmp ecx, 0x3f
je 0x1400848de
lea eax, [rcx - 0x2a]
cmp eax, 1
jbe 0x1400848de
cmp ecx, 0x7b
je 0x1400848de
cmp ecx, 0x7d
jne 0x14008487f
test dword [rbx + 0x80], 0x10000000
je 0x1400848d3
cmp ecx, 0x5d
jne 0x140084894
test dword [rbx + 0x80], 0x10000000
je 0x14008480e
movzx edx, word [rbx + 0x78]
lea rcx, [rbx + 0x40]
call fcn.140083f70
mov dil, 1
mov rcx, rbx
call fcn.140087620
test dil, dil
je 0x1400848b9
mov rcx, rbx
call fcn.140087660
mov ecx, dword [rbx + 0x7c]
mov al, 1
cmp ecx, 0xffffffff
jne 0x140084743
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov ecx, 6
call fcn.14002a464
int3
mov ecx, 0xa
call fcn.14002a464
int3

Function at 0x140094ff4
Capabilities:
Get common file path
Set environment variable

Disassembly:
sub rsp, 0x258
mov rax, qword [0x1400db348]
xor rax, rsp
mov qword [rsp + 0x240], rax
cmp byte [0x1400ddaa4], 0
jne 0x14009507a
lea rax, [rsp + 0x30]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov edx, 0x801c
xor ecx, ecx
call qword [sym.imp.ext_ms_win_shell32_shellfolders_l1_1_0.dll_SHGetFolderPathW]
nop dword [rax + rax]
test eax, eax
jne 0x14009507c
lea rdx, [rsp + 0x30]
lea rcx, str.LOCALAPPDATA
call qword [sym.imp.api_ms_win_core_processenvironment_l1_1_0.dll_SetEnvironmentVariableW]
nop dword [rax + rax]
test eax, eax
jne 0x140095073
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
test eax, eax
jle 0x14009507c
movzx eax, ax
or eax, 0x80070000
jmp 0x14009507c
mov byte [0x1400ddaa4], 1
xor eax, eax
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14002a8b0
add rsp, 0x258
ret