joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14005c338
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
lea rbp, [rax - 0x268]
sub rsp, 0x350
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x1400c9158]
xor rax, rsp
mov qword [rbp + 0x240], rax
mov rdi, rdx
mov qword [rsp + 0x30], rdx
mov rsi, rcx
lea rcx, [rsp + 0x50]
call fcn.140021744
nop
lea rcx, [rsp + 0x50]
call fcn.14005a4e8
mov rax, qword [rsp + 0x50]
or r9d, 0xffffffff
mov r8d, dword [rsp + 0x64]
lea rdx, [0x1400a2c20]
lea rcx, [rsp + 0x50]
mov rax, qword [rax + 0x20]
call qword [case.0x14000702c.0]
lea rdx, [rbp - 0x10]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindFirstFileW]
mov rbx, rax
mov qword [rsp + 0x40], rax
lea rax, [rbx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14005c4ae
lea rdx, [0x140095a04]
lea rcx, [rbp + 0x1c]
call qword [sym.imp.api_ms_win_core_string_obsolete_l1_1_0.dll_lstrcmpW]
test eax, eax
je 0x14005c499
lea rdx, [0x1400a2c4c]
lea rcx, [rbp + 0x1c]
call qword [sym.imp.api_ms_win_core_string_obsolete_l1_1_0.dll_lstrcmpW]
test eax, eax
je 0x14005c499
mov rax, qword [rsp + 0x50]
or r9d, 0xffffffff
xor r8d, r8d
mov rdx, qword [rdi + 8]
lea rcx, [rsp + 0x50]
mov rax, qword [rax + 0x20]
call qword [case.0x14000702c.0]
lea rcx, [rsp + 0x50]
call fcn.14005a4e8
mov rax, qword [rsp + 0x50]
or r9d, 0xffffffff
mov r8d, dword [rsp + 0x64]
lea rdx, [rbp + 0x1c]
lea rcx, [rsp + 0x50]
mov rax, qword [rax + 0x20]
call qword [case.0x14000702c.0]
mov rax, qword [rsi]
mov r8d, dword [rbp - 0x10]
lea rdx, [rsp + 0x50]
mov rcx, rsi
test r8b, 0x10
je 0x14005c485
mov rax, qword [rax + 8]
call qword [case.0x14000702c.0]
mov edi, eax
test eax, eax
js 0x14005c4f1
jne 0x14005c494
lea rdx, [rsp + 0x50]
mov rcx, rsi
call fcn.14005c338
jmp 0x14005c48e
mov rax, qword [rax]
call qword [case.0x14000702c.0]
test eax, eax
mov edi, eax
js 0x14005c4f1
mov rdi, qword [rsp + 0x30]
lea rdx, [rbp - 0x10]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindNextFileW]
test eax, eax
jne 0x14005c3c5
lea rax, [rbx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14005c4c1
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindClose]
xor edi, edi
lea rcx, [rsp + 0x50]
call fcn.140029258
mov eax, edi
mov rcx, qword [rbp + 0x240]
xor rcx, rsp
call fcn.14002dd40
mov rbx, qword [rsp + 0x380]
add rsp, 0x350
pop rdi
pop rsi
pop rbp
ret
lea rax, [rbx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14005c4c3
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindClose]
jmp 0x14005c4c3
Function at 0x14005c91c
Capabilities:
Access the windows event log

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
lea rbp, [rsp - 0xf0]
sub rsp, 0x1f0
mov rax, qword [0x1400c9158]
xor rax, rsp
mov qword [rbp + 0xe0], rax
mov rbx, rcx
call fcn.140029560
test al, al
je 0x14005cad2
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.140029570
test al, al
je 0x14005c9a3
mov eax, dword [rbx]
cmp dword [rsp + 0x58], eax
jne 0x14005c9a3
mov rax, qword [rbx + 4]
cmp qword [rsp + 0x5c], rax
jne 0x14005c9a3
mov eax, dword [rbx + 0x10]
cmp dword [rsp + 0x68], eax
je 0x14005cad2
mov r9d, dword [rbx + 0x14]
lea r8, [0x1400a2c58]
mov edx, reloc.OLEAUT32.dll_SafeArrayGetDim
lea rcx, [rbp - 0x60]
call fcn.140009728
test eax, eax
js 0x14005cad2
mov r9d, dword [rbx + 0x10]
lea r8, [0x1400a11d8]
mov edx, reloc.OLEAUT32.dll_SafeArrayGetDim
lea rcx, [rbp - 0x40]
call fcn.140009728
test eax, eax
js 0x14005cad2
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 0x14005cad2
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 0x14005cad2
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 0x14005cad2
lea rax, [0x140095aa0]
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 0x14005cad2
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.14002dd40
mov rbx, qword [rsp + 0x208]
add rsp, 0x1f0
pop rbp
ret
Function at 0x14005d644
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x240
mov rax, qword [0x1400c9158]
xor rax, rsp
mov qword [rsp + 0x230], rax
lea r8, [rsp + 0x20]
mov rbx, rdx
mov rdi, rcx
call fcn.14000aad0
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.14002dd40
mov rbx, qword [rsp + 0x260]
add rsp, 0x240
pop rdi
ret

Function at 0x14005d6a8
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x250
mov rax, qword [0x1400c9158]
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.14000aad0
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.14002dd40
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x14005d824
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x250
mov rax, qword [0x1400c9158]
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.14000aad0
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.14002dd40
mov rbx, qword [rsp + 0x260]
add rsp, 0x250
pop rdi
ret
Function at 0x14005d9cc
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 [0x1400c9158]
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 0x14005da25
mov word [r14], si
lea rcx, [rsp + 0x30]
call fcn.14005dc6c
mov ebx, eax
mov ebp, 0x1a
test eax, eax
js 0x14005daf5
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 0x14005dadf
bt r13d, esi
jae 0x14005dad5
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 0x14005dad5
mov r8, qword [rsp + 0x38]
lea r9, [rsp + 0x50]
movzx edx, r12w
movzx ecx, r15w
call fcn.14005dcf8
mov ebx, eax
test eax, eax
js 0x14005dad5
mov rdx, r14
lea rcx, [rsp + 0x50]
call fcn.14005d8b8
mov ebx, eax
cmp eax, 1
jne 0x14005dabe
xor ebx, ebx
jmp 0x14005dad5
test eax, eax
js 0x14005dad5
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 0x14005da52
mov r14, qword [rsp + 0x40]
xor esi, esi
test ebx, ebx
js 0x14005daf5
test r14, r14
je 0x14005db0b
mov word [r14], r12w
jmp 0x14005db0b
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 0x14005daf5
mov eax, ebx
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.14002dd40
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 0x14005dc6c
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x250
mov rax, qword [0x1400c9158]
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 0x14005dcd3
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.14002dd40
mov rbx, qword [rsp + 0x268]
add rsp, 0x250
pop rdi
ret
Function at 0x14005dcf8
Capabilities:
Get disk information

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x250
mov rax, qword [0x1400c9158]
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 0x14005dd51
mov r8, rbp
mov edx, 0x104
mov rcx, rsi
call fcn.1400258bc
jmp 0x14005dddc
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 0x14005dd99
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov edi, eax
test eax, eax
jle 0x14005dd95
movzx edi, ax
or edi, 0x80070000
test edi, edi
js 0x14005ddde
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 0x14005ddde
mov r8, rbp
mov edx, 0x104
mov rcx, rsi
call fcn.1400258bc
mov edi, eax
test eax, eax
js 0x14005ddde
mov r8, rbx
mov rcx, rsi
call fcn.14005de00
mov edi, eax
mov eax, edi
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14002dd40
add rsp, 0x250
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140060388
Capabilities:
Print debug messages

Disassembly:
mov eax, 0x3718
call fcn.140030b10
sub rsp, rax
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rax, qword [0x1400c9158]
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.140048ac8
test eax, eax
js 0x140060480
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.140009728
test eax, eax
js 0x14006041f
cmp byte [0x1400c9ff9], 0
je 0x14006041f
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_OutputDebugStringW]
lea rdx, [rsp + 0x40]
call fcn.140060a98
cmp byte [0x1400c9ff8], 0
jne 0x140060437
call fcn.14001c754
cmp byte [0x1400c9ff9], 0
jne 0x140060458
lea rdx, [0x140094da0]
mov rcx, qword [0x1400c8290]
call qword [sym.imp.api_ms_win_eventing_provider_l1_1_0.dll_EventEnabled]
test al, al
je 0x140060480
test dword [0x1400ca100], 0x200000
je 0x140060480
lea r8, [rsp + 0x1ba0]
lea rdx, [0x140094da0]
lea rcx, [0x1400c8290]
call fcn.140052f9c
nop
jmp 0x140060482
mov rcx, qword [rsp + 0x3700]
xor rcx, rsp
call fcn.14002dd40
add rsp, 0x3718
ret
Function at 0x140076f78
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x230]
sub rsp, 0x330
mov rax, qword [0x1400c9158]
xor rax, rsp
mov qword [rbp + 0x220], rax
mov rax, rcx
mov qword [rsp + 0x50], rcx
mov rsi, rdx
mov qword [rsp + 0x78], 0x41
xor edx, edx
lea rcx, [rbp - 0x80]
mov qword [rsp + 0x70], rcx
mov rdi, r8
lea rcx, fcn.140008d70
mov word [rbp - 0x80], dx
mov qword [rsp + 0x68], rcx
mov r9, r8
lea rcx, [0x14008b078]
mov dword [rbp + 8], edx
mov qword [rsp + 0x60], rcx
mov r8, rsi
mov qword [rbp + 0x10], rdx
lea rcx, [rsp + 0x60]
mov rdx, qword [rax + 0xb0]
call fcn.14007601c
jmp 0x14007700f
mov r8, rdi
lea rdx, [rbp + 0x20]
lea rcx, [rsp + 0x60]
call fcn.140076f78
xor ecx, ecx
mov ebx, eax
test eax, eax
jne 0x140077079
lea rax, [rsp + 0x48]
mov dword [rsp + 0x40], 0x100
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x40]
mov qword [rsp + 0x30], rcx
lea r8, [rbp + 0x20]
mov qword [rsp + 0x28], rcx
xor edx, edx
mov qword [rsp + 0x20], rcx
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegEnumKeyExW]
test eax, eax
je 0x140076ffe
mov rcx, qword [rsp + 0x50]
mov rdx, rsi
mov rcx, qword [rcx + 0xb0]
cmp rdi, 0xffffffffffffffff
je 0x140077072
mov qword [rsp + 0x20], rdi
call fcn.14005d6a8
jmp 0x140077077
call fcn.14005d644
mov ebx, eax
lea rcx, [rsp + 0x60]
call fcn.140017740
mov eax, ebx
mov rcx, qword [rbp + 0x220]
xor rcx, rsp
call fcn.14002dd40
mov rbx, qword [rsp + 0x368]
add rsp, 0x330
pop rdi
pop rsi
pop rbp
ret
Function at 0x14007ac00
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 [0x1400c9158]
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, fcn.140008d70
mov qword [rbp - 0x38], rax
lea rax, [0x14008b078]
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.1400177b0
lea r8, [rsp + 0x30]
lea rdx, str.SQMFullDriveIndexingSent
lea rcx, [rbp - 0x40]
call fcn.140017b10
test eax, eax
jne 0x14007adcb
mov rcx, qword [rsi + 0x98]
mov rdx, qword [rcx]
call fcn.140015bd4
mov rdi, rax
lea r9, [rsp + 0x30]
xor r8d, r8d
xor edx, edx
lea rcx, [0x140097368]
call qword [sym.imp.ext_ms_win_shell32_shellfolders_l1_1_0.dll_SHGetKnownFolderPath]
test eax, eax
js 0x14007adcb
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.14001aa94
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.140016318
nop
mov r14d, r15d
jmp 0x14007ada8
mov rbx, rdi
mov rdx, rdi
mov rcx, qword [rsi + 0x98]
call fcn.140046284
mov rdi, rax
cmp dword [rbx + 0x50], r15d
je 0x14007ada8
cmp qword [rbx + 8], 2
jne 0x14007ada8
xor edx, edx
mov rcx, rbx
call fcn.140017650
lea rdx, str.file:
mov rcx, qword [rax]
call qword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
jne 0x14007ada8
lea edx, [rax + 1]
mov rcx, rbx
call fcn.140017650
mov rdx, rax
lea rcx, [rbp - 0x80]
call fcn.140016318
nop
lea rdx, [rsp + 0x48]
mov rcx, rax
call fcn.140045c04
mov ebx, eax
lea rcx, [rbp - 0x80]
call fcn.14001ed40
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.14005b880
test rdi, rdi
jne 0x14007ad18
lea rcx, [rsp + 0x48]
call fcn.14001ed40
nop
mov rcx, qword [rsp + 0x38]
add rcx, 0xffffffffffffffe8
call fcn.1400176e0
nop
lea rcx, [rbp - 0x40]
call fcn.140017740
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.14002dd40
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 0x14007ced0
Capabilities:
Parse credit card information

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov edx, dword [rcx + 0x7c]
xor al, al
mov rbx, rcx
cmp edx, 0xffffffff
je 0x14007d082
mov ecx, edx
cmp ecx, 0x7c
je 0x14007d082
cmp ecx, 0x29
jne 0x14007cf19
cmp dword [rbx + 0x1c], 0
jne 0x14007d082
cmp ecx, ecx
jne 0x14007cf19
test dword [rbx + 0x80], 0x10000000
je 0x14007d08d
cmp ecx, 0x2e
jne 0x14007cf39
lea rcx, [rbx + 0x40]
mov edx, 5
call fcn.14007ff40
mov rcx, rbx
call fcn.14007ffa0
jmp 0x14007d06a
cmp ecx, 0x5c
jne 0x14007cfa0
mov rcx, rbx
call fcn.14007ffa0
test byte [rbx + 0x80], 0x80
je 0x14007cf93
cmp word [rbx + 0x78], 0x62
jne 0x14007cf71
mov edx, 4
lea rcx, [rbx + 0x40]
call fcn.14007ff40
mov rcx, rbx
call fcn.14007ffa0
jmp 0x14007d072
cmp word [rbx + 0x78], 0x42
jne 0x14007cf93
lea rcx, [rbx + 0x40]
mov edx, 4
call fcn.14007ff40
mov rax, qword [rbx + 0x48]
add rax, 0xc
xor dword [rax], 1
jmp 0x14007cf64
mov rcx, rbx
call fcn.14007d11c
jmp 0x14007d06a
cmp ecx, 0x5b
jne 0x14007cfca
mov rcx, rbx
call fcn.14007ffa0
mov rcx, rbx
call fcn.14007d700
cmp dword [rbx + 0x7c], 0x5d
je 0x14007cf2c
mov ecx, 4
call fcn.14002d928
int3
cmp ecx, 0x28
jne 0x14007cff3
mov rcx, rbx
call fcn.14007ffa0
mov rcx, rbx
call fcn.1400804e8
cmp dword [rbx + 0x7c], 0x29
mov dil, al
je 0x14007d05d
mov ecx, 5
call fcn.14002d928
int3
cmp ecx, 0x5e
jne 0x14007d000
lea edx, [rcx - 0x5c]
jmp 0x14007cf5b
cmp ecx, 0x24
jne 0x14007d00d
lea edx, [rcx - 0x21]
jmp 0x14007cf5b
cmp ecx, 0x3f
je 0x14007d0ae
lea eax, [rcx - 0x2a]
cmp eax, 1
jbe 0x14007d0ae
cmp ecx, 0x7b
je 0x14007d0ae
cmp edx, 0x7d
jne 0x14007d03c
test dword [rbx + 0x80], 0x10000000
je 0x14007d098
cmp edx, 0x5d
jne 0x14007d04d
test dword [rbx + 0x80], 0x10000000
je 0x14007d0a3
movzx edx, word [rbx + 0x78]
lea rcx, [rbx + 0x40]
call fcn.14007c730
mov dil, 1
mov rcx, rbx
call fcn.14007ffa0
test dil, dil
je 0x14007d072
mov rcx, rbx
call fcn.14007ffe0
mov edx, dword [rbx + 0x7c]
mov al, 1
mov ecx, edx
cmp edx, 0xffffffff
jne 0x14007ceed
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov ecx, 5
call fcn.14002d928
int3
mov ecx, 6
call fcn.14002d928
int3
mov ecx, 4
call fcn.14002d928
int3
mov ecx, 0xa
call fcn.14002d928
int3

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

Disassembly:
sub rsp, 0x258
mov rax, qword [0x1400c9158]
xor rax, rsp
mov qword [rsp + 0x240], rax
cmp byte [0x1400cb814], 0
jne 0x140086714
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 0x140086716
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 0x14008670d
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
test eax, eax
jle 0x140086716
movzx eax, ax
or eax, 0x80070000
jmp 0x140086716
mov byte [0x1400cb814], 1
xor eax, eax
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14002dd40
add rsp, 0x258
ret
Function at 0x4183e0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x418586
sub rsp, 0x50
mov qword [rsp + 0x48], rbp
lea rbp, [rsp + 0x48]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov rcx, qword [0x00e0fb28]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.00436b60
xorps xmm15, xmm15
mov r14, qword [0x00ecfae8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
jne 0x41844b
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x418460
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
sub rcx, rbx
add rax, rbx
mov rbx, rcx
nop
test rbx, rbx
jbe 0x418485
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x418499
cmp rbx, 0x1000
jae 0x418455
nop dword [rax]
jmp 0x418509
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
nop
cmp rbx, 0x1000
jae 0x4184ad
xor edx, edx
jmp 0x418500
mov rcx, qword [0x00e0fb28]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.00436b60
xorps xmm15, xmm15
mov r14, qword [0x00ecfae8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
sete al
mov rcx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x38]
mov edx, eax
mov rax, qword [rsp + 0x40]
nop dword [rax]
test dl, dl
jne 0x41848f
jmp 0x418474
call fcn.0046f420
xorps xmm15, xmm15
mov r14, qword [0x00ecfae8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call fcn.0043b8a0
lea rax, [0x00a24a58]
mov ebx, 0x18
call fcn.0043c1a0
mov rax, qword [rsp + 0x38]
call fcn.0043bea0
lea rax, [0x00a24cf8]
mov ebx, 0x19
call fcn.0043c1a0
mov rax, qword [rsp + 0x30]
nop
call fcn.0043bea0
call fcn.0043bb00
call fcn.0043b920
lea rax, [0x00a2ce9a]
mov ebx, 0x21
nop dword [rax + rax]
call fcn.00439f60
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0046b820
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
nop
jmp fcn.004183e0
Function at 0x4185c0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4187ea
sub rsp, 0x58
mov qword [rsp + 0x50], rbp
lea rbp, [rsp + 0x50]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rbx
mov rcx, qword [0x00e0fb30]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
call fcn.00436be0
xorps xmm15, xmm15
mov r14, qword [0x00ecfae8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
mov rcx, rax
cmp qword [rsp + 0x28], rax
je 0x418639
mov rbx, qword [rsp + 0x68]
mov rax, rbx
jmp 0x41864c
mov rbp, qword [rsp + 0x50]
add rsp, 0x58
ret
sub rdx, rbx
add rcx, rbx
mov rbx, rdx
test rbx, rbx
jbe 0x418670
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov rdx, rbx
nop
jmp 0x418684
cmp rbx, 0x1000
jae 0x418643
jmp 0x418705
mov rbp, qword [rsp + 0x50]
add rsp, 0x58
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
cmp rbx, 0x1000
jae 0x418696
xor esi, esi
jmp 0x4186f6
mov rax, qword [0x00e0fb30]
mov qword [rsp], rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x1000
mov qword [rsp + 0x20], 4
nop dword [rax]
call fcn.00436be0
xorps xmm15, xmm15
mov r14, qword [0x00ecfae8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x28], 0
sete al
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
mov esi, eax
mov rax, qword [rsp + 0x68]
test sil, sil
jne 0x41867a
nop
jmp 0x418662
call fcn.0046f420
xorps xmm15, xmm15
mov r14, qword [0x00ecfae8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov dword [rsp + 0x34], eax
cmp eax, 8
jne 0x418785
call fcn.0043b8a0
lea rax, [0x00a259f5]
mov ebx, 0x19
call fcn.0043c1a0
mov rax, qword [rsp + 0x68]
call fcn.0043bea0
lea rax, [0x00a24cf8]
mov ebx, 0x19
call fcn.0043c1a0
mov eax, dword [rsp + 0x34]
nop dword [rax]
call fcn.0043bea0
call fcn.0043bb00
call fcn.0043b920
lea rax, [0x00a1a6cd]
mov ebx, 0xd
nop dword [rax + rax]
call fcn.00439f60
cmp eax, 0x5af
je 0x418728
call fcn.0043b8a0
lea rax, [0x00a259f5]
mov ebx, 0x19
nop dword [rax]
call fcn.0043c1a0
mov rax, qword [rsp + 0x38]
call fcn.0043bea0
lea rax, [0x00a24cf8]
mov ebx, 0x19
nop dword [rax + rax]
call fcn.0043c1a0
mov eax, dword [rsp + 0x34]
call fcn.0043bea0
call fcn.0043bb00
call fcn.0043b920
lea rax, [0x00a2b3ea]
mov ebx, 0x1f
call fcn.00439f60
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0046b820
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.004185c0