joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400576dc
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 [0x1400c5228]
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]
xor esi, esi
test eax, eax
jne 0x14005785a
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
cmp eax, 0xea
jne 0x14005785a
mov ecx, dword [rbp - 0x19]
lea rdx, [0x140095c74]
call fcn.14002ce0c
mov rbx, rax
test rax, rax
je 0x140057849
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]
test eax, eax
je 0x140057849
mov r14d, esi
cmp dword [rbp - 0x15], esi
jbe 0x140057849
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.140020244
cmp qword [rbp - 0x11], rsi
je 0x140057833
xor eax, eax
mov qword [rbp - 1], rax
mov qword [rbp + 7], rax
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]
test eax, eax
je 0x140057833
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount64]
lea r15, [rax + 0x7530]
cmp dword [rbp + 3], 1
je 0x140057833
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount64]
cmp rax, r15
jae 0x140057833
mov ecx, dword [rbp + 0x17]
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
lea rdx, [rbp - 1]
mov rcx, qword [rbp - 0x11]
call qword [sym.imp.api_ms_win_service_winsvc_l1_1_0.dll_QueryServiceStatus]
test eax, eax
jne 0x1400577fe
call fcn.140019904
test eax, eax
jns 0x1400577fe
lea rcx, [rbp - 0x11]
call fcn.14002021c
inc r14d
cmp r14d, dword [rbp - 0x15]
jb 0x1400577a8
mov rcx, rbx
mov rax, qword [0x14008d258]
call qword [case.0x140002c98.0]
nop
xor eax, eax
mov qword [rbp + 0x1f], rax
mov qword [rbp + 0x27], rax
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]
test eax, eax
jne 0x140057887
call fcn.140019904
mov esi, eax
mov eax, esi
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.14002c960
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 0x1400578b8
Capabilities:
Access the windows event log

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
lea rbp, [rsp - 0xf0]
sub rsp, 0x1f0
mov rax, qword [0x1400c5228]
xor rax, rsp
mov qword [rbp + 0xe0], rax
mov rbx, rcx
call fcn.14001f028
test al, al
je 0x140057a6e
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.14001e89c
test al, al
je 0x14005793f
mov eax, dword [rbx]
cmp dword [rsp + 0x58], eax
jne 0x14005793f
mov rax, qword [rbx + 4]
cmp qword [rsp + 0x5c], rax
jne 0x14005793f
mov eax, dword [rbx + 0x10]
cmp dword [rsp + 0x68], eax
je 0x140057a6e
mov r9d, dword [rbx + 0x14]
lea r8, [0x1400a3d14]
mov edx, reloc.OLEAUT32.dll_SafeArrayGetDim
lea rcx, [rbp - 0x60]
call fcn.14001ee04
test eax, eax
js 0x140057a6e
mov r9d, dword [rbx + 0x10]
lea r8, [0x1400a1fd8]
mov edx, reloc.OLEAUT32.dll_SafeArrayGetDim
lea rcx, [rbp - 0x40]
call fcn.14001ee04
test eax, eax
js 0x140057a6e
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]
test eax, eax
je 0x140057a6e
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]
test eax, eax
je 0x140057a6e
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]
test eax, eax
jle 0x140057a6e
lea rax, [0x1400943f0]
xor ecx, ecx
mov qword [rbp - 0x80], rax
lea rdx, str.Windows_Search_Service
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]
mov rbx, rax
test rax, rax
je 0x140057a6e
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]
mov rcx, rbx
call qword [sym.imp.ext_ms_win_advapi32_eventlog_l1_1_0.dll_DeregisterEventSource]
mov rcx, qword [rbp + 0xe0]
xor rcx, rsp
call fcn.14002c960
mov rbx, qword [rsp + 0x208]
add rsp, 0x1f0
pop rbp
ret
Function at 0x1400584d0
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x240
mov rax, qword [0x1400c5228]
xor rax, rsp
mov qword [rsp + 0x230], rax
lea r8, [rsp + 0x20]
mov rbx, rdx
mov rdi, rcx
call fcn.14000c630
test al, al
lea rdx, [rsp + 0x20]
mov rcx, rdi
cmove rdx, rbx
call qword [sym.imp.api_ms_win_core_registry_l2_1_0.dll_RegDeleteKeyW]
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.14002c960
mov rbx, qword [rsp + 0x260]
add rsp, 0x240
pop rdi
ret

Function at 0x14005853c
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x250
mov rax, qword [0x1400c5228]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rbx, qword [rsp + 0x280]
lea r8, [rsp + 0x30]
mov rdi, rdx
mov rsi, rcx
call fcn.14000c630
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]
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14002c960
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x1400586c8
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x250
mov rax, qword [0x1400c5228]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rbx, qword [rsp + 0x280]
lea rdi, str.SOFTWAREMicrosoftWindows_SearchPreviousSettings
mov rdx, rdi
lea r8, [rsp + 0x30]
mov rcx, 0xffffffff80000002
call fcn.14000c630
test al, al
lea rdx, [rsp + 0x30]
mov r9d, 4
lea r8, str.IncludeIPSPlugin
mov dword [rsp + 0x28], r9d
cmove rdx, rdi
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_1.dll_RegSetKeyValueW]
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14002c960
mov rbx, qword [rsp + 0x260]
add rsp, 0x250
pop rdi
ret
Function at 0x140058914
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 [0x1400c5228]
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 0x14005896d
mov word [r14], si
lea rcx, [rsp + 0x30]
call fcn.140058bd4
mov ebx, eax
mov ebp, 0x1a
test eax, eax
js 0x140058a3d
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetLogicalDrives]
movzx r12d, word [rsp + 0x30]
mov r13d, eax
mov r14, qword [rsp + 0x48]
cmp esi, ebp
jae 0x140058a27
bt r13d, esi
jae 0x140058a1d
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]
cmp eax, 3
jne 0x140058a1d
mov r8, qword [rsp + 0x38]
lea r9, [rsp + 0x50]
movzx edx, r12w
movzx ecx, r15w
call fcn.140058c64
mov ebx, eax
test eax, eax
js 0x140058a1d
mov rdx, r14
lea rcx, [rsp + 0x50]
call fcn.1400587fc
mov ebx, eax
cmp eax, 1
jne 0x140058a06
xor ebx, ebx
jmp 0x140058a1d
test eax, eax
js 0x140058a1d
mov eax, esi
lea rcx, [rsp + 0x50]
lea rdx, [rdi + rax*8]
call qword [sym.imp.SHCORE.dll_SHStrDupW]
mov ebx, eax
inc esi
test ebx, ebx
jns 0x14005899a
mov r14, qword [rsp + 0x40]
xor esi, esi
test ebx, ebx
js 0x140058a3d
test r14, r14
je 0x140058a53
mov word [r14], r12w
jmp 0x140058a53
mov rcx, qword [rdi]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
mov qword [rdi], rsi
lea rdi, [rdi + 8]
sub rbp, 1
jne 0x140058a3d
mov eax, ebx
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.14002c960
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 0x140058bd4
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x250
mov rax, qword [0x1400c5228]
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]
mov ebx, eax
test eax, eax
js 0x140058c3b
movzx ecx, word [rsp + 0x30]
call qword [sym.imp.msvcrt.dll_towupper]
mov word [rdi], ax
mov eax, ebx
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14002c960
mov rbx, qword [rsp + 0x268]
add rsp, 0x250
pop rdi
ret
Function at 0x140058c64
Capabilities:
Get disk information

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x250
mov rax, qword [0x1400c5228]
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]
movzx ecx, bx
movzx r14d, ax
call qword [sym.imp.msvcrt.dll_towupper]
cmp r14w, ax
jne 0x140058cbd
mov r8, rbp
mov edx, 0x104
mov rcx, rsi
call fcn.14001705c
jmp 0x140058d48
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]
test eax, eax
jne 0x140058d05
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov edi, eax
test eax, eax
jle 0x140058d01
movzx edi, ax
or edi, 0x80070000
test edi, edi
js 0x140058d4a
mov edx, 0x7b
lea rcx, [rsp + 0x30]
call qword [sym.imp.msvcrt.dll_wcschr]
mov rbx, rax
mov eax, 0x8000ffff
test rbx, rbx
cmove edi, eax
test edi, edi
js 0x140058d4a
mov r8, rbp
mov edx, 0x104
mov rcx, rsi
call fcn.14001705c
mov edi, eax
test eax, eax
js 0x140058d4a
mov r8, rbx
mov rcx, rsi
call fcn.140058d70
mov edi, eax
mov eax, edi
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14002c960
add rsp, 0x250
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14005b51c
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
mov rbp, rsp
sub rsp, 0x48
cmp byte [0x1400c76b9], 0
jne 0x14005b64e
cmp byte [0x1400c76ba], 0
jne 0x14005b64e
and qword [rbp - 0x18], 0
lea rax, [rbp - 0x18]
mov bl, 1
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
mov byte [0x1400c76b9], bl
lea rdx, str.SOFTWAREMicrosoftWindows_Search
mov rcx, 0xffffffff80000002
call fcn.14000b3e8
test eax, eax
jne 0x14005b64e
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]
test eax, eax
jne 0x14005b5b7
cmp dword [rbp + 0x20], 4
jne 0x14005b5b7
cmp dword [rbp + 0x28], eax
ja 0x14005b5b9
xor bl, bl
cmp dword [0x1400c7498], 0
mov byte [0x1400c76ba], bl
mov dword [rbp + 0x18], 4
ja 0x14005b644
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]
test eax, eax
jne 0x14005b644
cmp dword [rbp + 0x20], 4
jne 0x14005b644
mov ebx, dword [rbp + 0x30]
test ebx, ebx
je 0x14005b644
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_GetProcessHeap]
and dword [0x1400c749c], 0
mov edx, 8
shr ebx, 0xb
mov rcx, rax
mov r8d, ebx
mov dword [0x1400c7498], r8d
shl r8, 0xb
mov qword [0x1400c7490], rax
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapAlloc]
mov qword [0x1400c74a0], rax
mov rcx, qword [rbp - 0x18]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
add rsp, 0x48
pop rbx
pop rbp
ret

Function at 0x14005b65c
Capabilities:
Print debug messages

Disassembly:
mov eax, 0x3718
call fcn.14002f8a0
sub rsp, rax
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rax, qword [0x1400c5228]
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.140043774
test eax, eax
js 0x14005b751
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentThreadId]
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.14001ee04
test eax, eax
js 0x14005b6f3
cmp byte [0x1400c76ba], 0
je 0x14005b6f3
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_OutputDebugStringW]
lea rdx, [rsp + 0x40]
call fcn.14005bd5c
cmp byte [0x1400c76b9], 0
jne 0x14005b70b
call fcn.14005b51c
cmp byte [0x1400c76ba], 0
jne 0x14005b72c
lea rdx, [0x140095438]
mov rcx, qword [0x1400c4a30]
call qword [sym.imp.api_ms_win_eventing_provider_l1_1_0.dll_EventEnabled]
test al, al
je 0x14005b751
test byte [0x1400c7702], 0x20
je 0x14005b751
lea r8, [rsp + 0x1ba0]
lea rdx, [0x140095438]
lea rcx, [0x1400c4a30]
call fcn.14004d1dc
nop
jmp 0x14005b753
mov rcx, qword [rsp + 0x3700]
xor rcx, rsp
call fcn.14002c960
add rsp, 0x3718
ret
Function at 0x140075678
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 [0x1400c5228]
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, [0x14008a770]
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, [0x14008a680]
mov rdx, qword [rcx + 0xb0]
mov r14, rcx
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x50], rax
call fcn.140074610
jmp 0x140075713
mov r8, rdi
lea rdx, [rbp + 0x10]
lea rcx, [rsp + 0x50]
call fcn.140075678
mov ebx, eax
test eax, eax
jne 0x140075776
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]
test eax, eax
je 0x140075702
mov rcx, qword [r14 + 0xb0]
mov rdx, rsi
cmp rdi, 0xffffffffffffffff
je 0x14007576f
mov qword [rsp + 0x20], rdi
call fcn.14005853c
jmp 0x140075774
call fcn.1400584d0
mov ebx, eax
lea rcx, [rsp + 0x50]
call fcn.140011e14
mov eax, ebx
mov rcx, qword [rbp + 0x210]
xor rcx, rsp
call fcn.14002c960
mov rbx, qword [rsp + 0x368]
add rsp, 0x320
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x140079388
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 [0x1400c5228]
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, [0x14008a770]
mov qword [rbp - 0x38], rax
lea rax, [0x14008a680]
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.14000fab0
lea r8, [rsp + 0x30]
lea rdx, str.SQMFullDriveIndexingSent
lea rcx, [rbp - 0x40]
call fcn.14000d214
test eax, eax
jne 0x140079553
mov rcx, qword [rsi + 0xa8]
mov rdx, qword [rcx]
call fcn.1400226e0
mov rdi, rax
lea r9, [rsp + 0x30]
xor r8d, r8d
xor edx, edx
lea rcx, [0x140096808]
call qword [sym.imp.ext_ms_win_shell32_shellfolders_l1_1_0.dll_SHGetKnownFolderPath]
test eax, eax
js 0x140079553
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.140015920
nop
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x48]
call fcn.140014d34
nop
mov r14d, r15d
jmp 0x140079530
mov rbx, rdi
mov rdx, rdi
mov rcx, qword [rsi + 0xa8]
call fcn.140022688
mov rdi, rax
cmp dword [rbx + 0x50], r15d
je 0x140079530
cmp qword [rbx + 8], 2
jne 0x140079530
xor edx, edx
mov rcx, rbx
call fcn.140011c8c
lea rdx, str.file:
mov rcx, qword [rax]
call qword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
jne 0x140079530
lea edx, [rax + 1]
mov rcx, rbx
call fcn.140011c8c
mov rdx, rax
lea rcx, [rbp - 0x80]
call fcn.140014d34
nop
lea rdx, [rsp + 0x48]
mov rcx, rax
call fcn.1400120d8
mov ebx, eax
lea rcx, [rbp - 0x80]
call fcn.14000c8f8
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.140056748
test rdi, rdi
jne 0x1400794a0
lea rcx, [rsp + 0x48]
call fcn.14000c8f8
nop
mov rcx, qword [rsp + 0x38]
add rcx, 0xffffffffffffffe8
call fcn.14000ee30
nop
lea rcx, [rbp - 0x40]
call fcn.140011e14
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.14002c960
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 0x14007b4f0
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 0x14007b689
cmp ecx, 0x7c
je 0x14007b692
cmp ecx, 0x29
jne 0x14007b533
cmp dword [rbx + 0x1c], 0
jne 0x14007b692
cmp ecx, ecx
jne 0x14007b533
test dword [rbx + 0x80], 0x10000000
je 0x14007b602
cmp ecx, 0x2e
jne 0x14007b553
lea rcx, [rbx + 0x40]
mov edx, 5
call fcn.14007e638
mov rcx, rbx
call fcn.14007e6a0
jmp 0x14007b67c
cmp ecx, 0x5c
jne 0x14007b5ba
mov rcx, rbx
call fcn.14007e6a0
test byte [rbx + 0x80], 0x80
je 0x14007b5ad
cmp word [rbx + 0x78], 0x62
jne 0x14007b58b
mov edx, 4
lea rcx, [rbx + 0x40]
call fcn.14007e638
mov rcx, rbx
call fcn.14007e6a0
jmp 0x14007b684
cmp word [rbx + 0x78], 0x42
jne 0x14007b5ad
lea rcx, [rbx + 0x40]
mov edx, 4
call fcn.14007e638
mov rax, qword [rbx + 0x48]
add rax, 0xc
xor dword [rax], 1
jmp 0x14007b57e
mov rcx, rbx
call fcn.14007b720
jmp 0x14007b67c
cmp ecx, 0x5b
jne 0x14007b5e4
mov rcx, rbx
call fcn.14007e6a0
mov rcx, rbx
call fcn.14007bd28
cmp dword [rbx + 0x7c], 0x5d
je 0x14007b546
mov ecx, 4
call fcn.14002c514
int3
cmp ecx, 0x28
jne 0x14007b60d
mov rcx, rbx
call fcn.14007e6a0
mov rcx, rbx
call fcn.14007ec24
cmp dword [rbx + 0x7c], 0x29
mov dil, al
je 0x14007b66f
mov ecx, 5
call fcn.14002c514
int3
cmp ecx, 0x5e
jne 0x14007b61a
lea edx, [rcx - 0x5c]
jmp 0x14007b575
cmp ecx, 0x24
jne 0x14007b627
lea edx, [rcx - 0x21]
jmp 0x14007b575
cmp ecx, 0x3f
je 0x14007b6a8
lea eax, [rcx - 0x2a]
cmp eax, 1
jbe 0x14007b6a8
cmp ecx, 0x7b
je 0x14007b6a8
cmp ecx, 0x7d
jne 0x14007b64a
test dword [rbx + 0x80], 0x10000000
je 0x14007b69d
cmp ecx, 0x5d
jne 0x14007b65f
test dword [rbx + 0x80], 0x10000000
je 0x14007b5d9
movzx edx, word [rbx + 0x78]
lea rcx, [rbx + 0x40]
call fcn.14007ad20
mov dil, 1
mov rcx, rbx
call fcn.14007e6a0
test dil, dil
je 0x14007b684
mov rcx, rbx
call fcn.14007e6e0
mov ecx, dword [rbx + 0x7c]
mov al, 1
cmp ecx, 0xffffffff
jne 0x14007b507
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov ecx, 6
call fcn.14002c514
int3
mov ecx, 0xa
call fcn.14002c514
int3

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

Disassembly:
sub rsp, 0x258
mov rax, qword [0x1400c5228]
xor rax, rsp
mov qword [rsp + 0x240], rax
cmp byte [0x1400c7844], 0
jne 0x1400853f4
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]
test eax, eax
jne 0x1400853f6
lea rdx, [rsp + 0x30]
lea rcx, str.LOCALAPPDATA
call qword [sym.imp.api_ms_win_core_processenvironment_l1_1_0.dll_SetEnvironmentVariableW]
test eax, eax
jne 0x1400853ed
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
test eax, eax
jle 0x1400853f6
movzx eax, ax
or eax, 0x80070000
jmp 0x1400853f6
mov byte [0x1400c7844], 1
xor eax, eax
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14002c960
add rsp, 0x258
ret
Function at 0x1400012dc
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r15
sub rsp, 0x30
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
xor esi, esi
xor eax, eax
lock cmpxchg qword [0x140003638], rbx
je 0x140001328
cmp rax, rbx
jne 0x14000131b
mov ebx, 1
mov esi, ebx
jmp 0x14000132d
mov ecx, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
jmp 0x140001300
mov ebx, 1
mov eax, dword [0x140003640]
cmp eax, ebx
jne 0x140001343
mov ecx, 0x1f
call fcn.140133000
jmp 0x1400013a8
mov eax, dword [0x140003640]
test eax, eax
jne 0x1400013a2
mov dword [0x140003640], ebx
lea r15, [0x1400022c0]
lea rdi, [0x1400022a8]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], eax
cmp rdi, r15
jae 0x140001394
test eax, eax
jne 0x140001398
cmp qword [rdi], 0
je 0x140001389
mov rax, qword [rdi]
mov rcx, qword [0x140002288]
call rcx
mov dword [rsp + 0x20], eax
add rdi, 8
mov qword [rsp + 0x28], rdi
jmp 0x14000136a
test eax, eax
je 0x1400013a8
mov eax, 0xff
jmp 0x140001484
mov dword [0x140003044], ebx
mov eax, dword [0x140003640]
cmp eax, ebx
jne 0x1400013cf
lea rdx, [0x1400022a0]
lea rcx, [0x140002290]
call sub.msvcrt.dll__initterm
mov dword [0x140003640], 2
test esi, esi
jne 0x1400013dc
xor eax, eax
xchg qword [0x140003638], rax
cmp qword [0x140003648], 0
je 0x140001410
lea rcx, [0x140003648]
call fcn.140001650
test eax, eax
je 0x140001410
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x140003648]
mov r9, qword [0x140002288]
call r9
mov r8, qword [0x140003058]
mov rdx, qword [0x140003050]
mov ecx, dword [0x140003048]
call fcn.14000119c
mov dword [0x140003040], eax
cmp dword [0x140003060], 0
jne 0x140001440
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x140003044], 0
jne 0x140001455
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x140003040]
jmp 0x140001484
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r15
ret
sub rsp, 0x28
call fcn.1400016d0
add rsp, 0x28
jmp 0x1400012dc

Function at 0x140001550
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14000159c
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140001594
cmp dword [rcx + 0x3c], edx
jl 0x140001594
cmp dword [rcx + 0x3c], 0x10000000
jae 0x140001594
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x14000159c
mov rax, rdx
add rsp, 0x18
ret