joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140613058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1406131df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140613089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14061306f
add dl, dl
jne 0x140613096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1406130f6
xor eax, eax
add dl, dl
jne 0x1406130a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1406131ad
add dl, dl
jne 0x1406130b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406130c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406130d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406130dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1406130ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14061307e
mov eax, 1
add dl, dl
jne 0x140613106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140613113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1406130fb
sub eax, ebx
mov ebx, 1
jne 0x14061314c
mov ecx, 1
add dl, dl
jne 0x14061312e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14061313b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140613123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14061307e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140613168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140613175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14061315d
cmp eax, 0x7d00
jae 0x14061319b
cmp eax, 0x500
jb 0x140613196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14061307e
cmp eax, 0x7f
ja 0x14061319e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14061307e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1406131d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x14061307e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x14094c058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x14094c1df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x14094c089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14094c06f
add dl, dl
jne 0x14094c096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14094c0f6
xor eax, eax
add dl, dl
jne 0x14094c0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14094c1ad
add dl, dl
jne 0x14094c0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14094c0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14094c0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14094c0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x14094c0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14094c07e
mov eax, 1
add dl, dl
jne 0x14094c106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14094c113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14094c0fb
sub eax, ebx
mov ebx, 1
jne 0x14094c14c
mov ecx, 1
add dl, dl
jne 0x14094c12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14094c13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14094c123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14094c07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x14094c168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14094c175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14094c15d
cmp eax, 0x7d00
jae 0x14094c19b
cmp eax, 0x500
jb 0x14094c196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14094c07e
cmp eax, 0x7f
ja 0x14094c19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14094c07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x14094c1d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x14094c07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140020224
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
push rdi
sub rsp, 0x70
mov rax, qword [0x1400da318]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov eax, dword [0x1400b13b0]
mov rbx, rcx
mov dword [rsp + 0x5c], eax
xor edi, edi
movzx eax, word [0x1400b13b4]
xor r9d, r9d
mov word [rsp + 0x60], ax
xor r8d, r8d
mov rax, qword [rcx]
mov word [rsp + 0x5c], dx
lea rdx, [r11 - 0x1c]
mov qword [r11 - 0x28], rdi
mov rcx, qword [rax]
mov rax, qword [rbx + 8]
mov qword [r11 - 0x38], rax
lea rax, [r11 - 0x28]
mov qword [r11 - 0x40], rax
mov qword [r11 - 0x48], rdi
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], edi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCreateKeyExW]
nop dword [rax + rax]
test eax, eax
jne 0x140020339
mov rcx, qword [rsp + 0x50]
lea r9d, [rdi + 4]
lea rax, [rsp + 0x58]
mov dword [rsp + 0x28], r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.DriveType
mov dword [rsp + 0x58], 3
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
nop dword [rax + rax]
mov rcx, qword [rbx + 0x10]
lea rdx, [0x1400a5860]
mov rcx, qword [rcx]
call sub.msvcrt.dll_wcscmp
test eax, eax
je 0x140020339
mov rax, qword [rbx + 0x18]
mov rcx, qword [rax]
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], di
jne 0x1400202ff
lea eax, [rax*2 + 2]
mov r9d, 1
mov dword [rsp + 0x28], eax
lea rdx, str.VolumeLabel
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14002034f
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14002a310
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rdi
ret
Function at 0x14004a060
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x240
mov rax, qword [0x1400da318]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rbx, rcx
mov edx, 0x104
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetSystemDirectoryW]
nop dword [rax + rax]
test eax, eax
je 0x14004a09c
xor eax, eax
jmp 0x14004a0a5
call fcn.14000b310
test eax, eax
js 0x14004a0ad
movzx ecx, word [rsp + 0x20]
mov word [rbx], cx
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.14002a310
add rsp, 0x240
pop rbx
ret

Function at 0x14004a0d0
Capabilities:
Check for time delay via gettickcount
Query or enumerate registry value

Disassembly:
push rdi
sub rsp, 0x40
cmp dword [0x1400dca04], 0
je 0x14004a0fc
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
nop dword [rax + rax]
sub eax, dword [0x1400dca00]
cmp eax, 0x4e20
jbe 0x14004a1aa
and dword [rsp + 0x50], 0
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], rax
lea r8, str.SystemIndexNormalization
lea rax, [rsp + 0x50]
mov dword [rsp + 0x58], 4
mov qword [rsp + 0x28], rax
lea rdx, str.SOFTWAREMicrosoftWindows_Search
and qword [rsp + 0x20], 0
mov r9d, SafeArrayPutElement
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
test eax, eax
je 0x14004a18e
mov edi, 1
mov dword [rsp + 0x50], edi
call fcn.14004a1c0
xor edx, edx
xor r8d, r8d
cmp r8d, 0x44
jae 0x14004a17d
lea r9, [0x1400b4300]
cmp ax, word [r9 + r8*2]
cmove edx, edi
add r8d, edi
test edx, edx
je 0x14004a161
test edx, edx
je 0x14004a18e
mov eax, dword [rsp + 0x50]
or eax, 2
mov dword [rsp + 0x50], eax
jmp 0x14004a192
mov eax, dword [rsp + 0x50]
mov dword [0x1400dca04], eax
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
nop dword [rax + rax]
mov dword [0x1400dca00], eax
mov eax, dword [0x1400dca04]
add rsp, 0x40
pop rdi
ret
Function at 0x14004a454
Capabilities:
Delete registry value
Set registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov dword [rsp + 8], ecx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x40
test byte [0x1400dc881], 8
je 0x14004a486
mov r8d, ecx
lea rdx, [0x1400b4718]
lea rcx, [0x1400d9440]
call fcn.14004c7c8
lea rax, [rbp + 0x28]
xor esi, esi
mov qword [rsp + 0x28], rax
lea r8, str.SOFTWAREMicrosoftWindows_Search
mov rdx, 0xffffffff80000002
mov dword [rsp + 0x20], 0xf003f
mov qword [rbp + 0x28], rsi
call fcn.14000a928
mov ebx, eax
mov edi, 0x80070000
test eax, eax
jle 0x14004a4c0
movzx ebx, ax
or ebx, edi
test ebx, ebx
jns 0x14004a4d1
mov r9d, ebx
mov edx, 0x701
jmp 0x14004a5cf
cmp dword [rbp + 0x20], 1
jne 0x14004a536
call fcn.14004c61c
mov ebx, eax
test eax, eax
jns 0x14004a4ef
mov r9d, eax
mov edx, 0x70a
jmp 0x14004a5cf
mov rcx, qword [rbp + 0x28]
lea rdx, str.RebuildIndex
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegDeleteValueW]
nop dword [rax + rax]
mov ebx, eax
add eax, 0xfffffffe
cmp eax, 1
cmovbe ebx, esi
test ebx, ebx
jle 0x14004a51c
movzx ebx, bx
or ebx, edi
test ebx, ebx
jns 0x14004a53e
mov rcx, qword [rbp + 0x18]
lea r8, str.onecoreuap_base_appmodel_search_search_search_service_setup.cxx
mov r9d, ebx
mov edx, 0x715
call fcn.1400427b0
test ebx, ebx
js 0x14004a5df
mov rcx, qword [rbp + 0x28]
lea rax, [rbp + 0x20]
mov r9d, 4
lea r8, str.SetupCompletedSuccessfully
mov dword [rsp + 0x28], r9d
xor edx, edx
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_shcore_registry_l1_1_0.dll_SHSetValueW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jle 0x14004a576
movzx ebx, ax
or ebx, edi
test ebx, ebx
jns 0x14004a584
mov r9d, ebx
mov edx, 0x71d
jmp 0x14004a5cf
lea rcx, [rbp - 0x10]
call fcn.140027930
cmp byte [rbp - 8], sil
je 0x14004a5c1
xor edx, edx
mov dword [rbp - 0x10], esi
lea rcx, [rbp - 0x10]
call fcn.14004c5c4
mov edi, eax
test eax, eax
jns 0x14004a5c1
mov rcx, qword [rbp + 0x18]
lea r8, str.onecoreuap_base_appmodel_search_search_search_serviceSetupErrorThresholdHelper.h
mov r9d, eax
mov edx, 0x25
call fcn.140041884
jmp 0x14004a5c3
mov edi, esi
test edi, edi
jns 0x14004a5df
mov r9d, edi
mov edx, 0x721
mov rcx, qword [rbp + 0x18]
lea r8, str.onecoreuap_base_appmodel_search_search_search_service_setup.cxx
call fcn.1400427b0
mov rcx, qword [rbp + 0x28]
test rcx, rcx
je 0x14004a5f4
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov eax, ebx
mov rbx, qword [rsp + 0x70]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
Function at 0x14004b1d4
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x188]
sub rsp, 0x280
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rdi
mov rax, qword [0x1400da318]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov rdi, rdx
mov dword [rsp + 0x30], ecx
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0xf003f
lea r8, str.SOFTWAREMicrosoftWindows_Search
mov rdx, 0xffffffff80000002
call fcn.14000a928
mov ebx, eax
test eax, eax
jle 0x14004b243
movzx ebx, ax
or ebx, 0x80070000
mov rcx, qword [rbp + 0x188]
test ebx, ebx
jns 0x14004b264
mov r9d, ebx
lea r8, str.onecoreuap_base_appmodel_search_search_search_service_setup.cxx
mov edx, 0x2e3
call fcn.1400427b0
jmp 0x14004b2db
mov r9d, 4
mov dword [rsp + 0x28], r9d
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.SystemIndexNormalization
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jle 0x14004b2a3
movzx ebx, ax
or ebx, 0x80070000
mov rcx, qword [rbp + 0x188]
test ebx, ebx
jns 0x14004b2c2
mov r9d, ebx
lea r8, str.onecoreuap_base_appmodel_search_search_search_service_setup.cxx
mov edx, 0x2e8
call fcn.1400427b0
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
test ebx, ebx
jns 0x14004b365
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x60]
call sub.msvcrt.dll_memset
mov r8d, 0x104
lea rdx, [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetModuleFileNameW]
nop dword [rax + rax]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.14004a2bc
nop
mov r9d, dword [rdi + 0x10]
mov r8, qword [rdi + 8]
mov edx, 0x7d0
lea rcx, [rsp + 0x40]
call fcn.14004a310
mov dword [rdi + 0x14], eax
mov rdx, qword [rdi]
mov r10, qword [rdx + 0x20]
or r9d, 0xffffffff
mov r8d, eax
lea rdx, [0x1400b3808]
mov rcx, rdi
mov rax, r10
call qword [case.0x1400244c5.0]
nop
lea rcx, [rsp + 0x40]
call fcn.140029434
mov eax, ebx
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.14002a310
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x140059858
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
mov rax, rsp
push rsi
push rdi
push r14
sub rsp, 0x350
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x1400da318]
xor rax, rsp
mov qword [rsp + 0x340], rax
mov r14d, edx
mov rsi, rcx
mov edi, 1
test rcx, rcx
je 0x1400598ac
lea rdx, [0x1400a4a80]
call qword [sym.imp.api_ms_win_core_string_obsolete_l1_1_0.dll_lstrcmpW]
nop dword [rax + rax]
test eax, eax
jne 0x1400598ae
xor edi, edi
test edi, edi
je 0x140059a3b
mov rdx, rsi
lea rcx, [rsp + 0x50]
call fcn.14001c064
nop
lea rcx, [rsp + 0x50]
call fcn.140057d8c
mov rax, qword [rsp + 0x50]
or r9d, 0xffffffff
mov r8d, dword [rsp + 0x64]
lea rdx, [0x1400b53c0]
lea rcx, [rsp + 0x50]
mov rax, qword [rax + 0x20]
call qword [case.0x1400244c5.0]
and qword [rsp + 0x30], 0
lea rdx, [rsp + 0xf0]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindFirstFileW]
nop dword [rax + rax]
mov rbx, rax
mov qword [rsp + 0x40], rax
lea rax, [rbx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1400599fd
lea rdx, [0x1400a4b90]
lea rcx, [rsp + 0x11c]
call qword [sym.imp.api_ms_win_core_string_obsolete_l1_1_0.dll_lstrcmpW]
nop dword [rax + rax]
test eax, eax
je 0x1400599de
lea rdx, [0x1400b53c8]
lea rcx, [rsp + 0x11c]
call qword [sym.imp.api_ms_win_core_string_obsolete_l1_1_0.dll_lstrcmpW]
nop dword [rax + rax]
test eax, eax
je 0x1400599de
mov rax, qword [rsp + 0x50]
or r9d, 0xffffffff
xor r8d, r8d
mov rdx, rsi
lea rcx, [rsp + 0x50]
mov rax, qword [rax + 0x20]
call qword [case.0x1400244c5.0]
lea rcx, [rsp + 0x50]
call fcn.140057d8c
mov rax, qword [rsp + 0x50]
or r9d, 0xffffffff
mov r8d, dword [rsp + 0x64]
lea rdx, [rsp + 0x11c]
lea rcx, [rsp + 0x50]
mov rax, qword [rax + 0x20]
call qword [case.0x1400244c5.0]
mov rcx, qword [rsp + 0x58]
test byte [rsp + 0xf0], 0x10
je 0x1400599d2
xor r8d, r8d
mov edx, r14d
call fcn.140059858
jmp 0x1400599de
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_DeleteFileW]
nop dword [rax + rax]
lea rdx, [rsp + 0xf0]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindNextFileW]
nop dword [rax + rax]
test eax, eax
jne 0x140059919
lea rax, [rbx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140059a16
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindClose]
nop dword [rax + rax]
test r14d, r14d
je 0x140059a30
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_RemoveDirectoryW]
nop dword [rax + rax]
neg eax
sbb ecx, ecx
and edi, ecx
lea rcx, [rsp + 0x50]
call fcn.1400147bc
nop
jmp 0x140059a41
mov eax, edi
mov rcx, qword [rsp + 0x340]
xor rcx, rsp
call fcn.14002a310
mov rbx, qword [rsp + 0x380]
add rsp, 0x350
pop r14
pop rdi
pop rsi
ret
Function at 0x140059ec8
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x258]
sub rsp, 0x340
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1400da318]
xor rax, rsp
mov qword [rbp + 0x230], rax
mov r14, rdx
mov rsi, rcx
lea rcx, [rsp + 0x40]
call fcn.14001bfe4
nop
lea rcx, [rsp + 0x40]
call fcn.140057d8c
mov rax, qword [rsp + 0x40]
or r9d, 0xffffffff
mov r8d, dword [rsp + 0x54]
lea rdx, [0x1400b53c0]
lea rcx, [rsp + 0x40]
mov rax, qword [rax + 0x20]
call qword [case.0x1400244c5.0]
lea rdx, [rbp - 0x20]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindFirstFileW]
nop dword [rax + rax]
mov rbx, rax
mov qword [rsp + 0x38], rax
lea rax, [rbx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14005a055
lea rdx, [0x1400a4b90]
lea rcx, [rbp + 0xc]
call qword [sym.imp.api_ms_win_core_string_obsolete_l1_1_0.dll_lstrcmpW]
nop dword [rax + rax]
test eax, eax
je 0x14005a03a
lea rdx, [0x1400b53c8]
lea rcx, [rbp + 0xc]
call qword [sym.imp.api_ms_win_core_string_obsolete_l1_1_0.dll_lstrcmpW]
nop dword [rax + rax]
test eax, eax
je 0x14005a03a
mov rax, qword [rsp + 0x40]
or r9d, 0xffffffff
xor r8d, r8d
mov rdx, qword [r14 + 8]
lea rcx, [rsp + 0x40]
mov rax, qword [rax + 0x20]
call qword [case.0x1400244c5.0]
lea rcx, [rsp + 0x40]
call fcn.140057d8c
mov rax, qword [rsp + 0x40]
or r9d, 0xffffffff
mov r8d, dword [rsp + 0x54]
lea rdx, [rbp + 0xc]
lea rcx, [rsp + 0x40]
mov rax, qword [rax + 0x20]
call qword [case.0x1400244c5.0]
mov rax, qword [rsi]
mov r8d, dword [rbp - 0x20]
lea rdx, [rsp + 0x40]
mov rcx, rsi
test r8b, 0x10
je 0x14005a02b
mov rax, qword [rax + 8]
call qword [case.0x1400244c5.0]
mov edi, eax
test eax, eax
js 0x14005a0a4
jne 0x14005a03a
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.140059ec8
jmp 0x14005a034
mov rax, qword [rax]
call qword [case.0x1400244c5.0]
test eax, eax
mov edi, eax
js 0x14005a0a4
lea rdx, [rbp - 0x20]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindNextFileW]
nop dword [rax + rax]
test eax, eax
jne 0x140059f5b
lea rax, [rbx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14005a06e
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindClose]
nop dword [rax + rax]
xor edi, edi
lea rcx, [rsp + 0x40]
call fcn.1400147bc
mov eax, edi
mov rcx, qword [rbp + 0x230]
xor rcx, rsp
call fcn.14002a310
lea r11, [rsp + 0x340]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindClose]
nop dword [rax + rax]
jmp 0x14005a070
Function at 0x14005a644
Capabilities:
Access the windows event log

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
lea rbp, [rsp - 0xf0]
sub rsp, 0x1f0
mov rax, qword [0x1400da318]
xor rax, rsp
mov qword [rbp + 0xe0], rax
mov rbx, rcx
call fcn.140002870
test al, al
je 0x14005a822
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.1400032dc
test al, al
je 0x14005a6cb
mov eax, dword [rbx]
cmp dword [rsp + 0x58], eax
jne 0x14005a6cb
mov rax, qword [rbx + 4]
cmp qword [rsp + 0x5c], rax
jne 0x14005a6cb
mov eax, dword [rbx + 0x10]
cmp dword [rsp + 0x68], eax
je 0x14005a822
mov r9d, dword [rbx + 0x14]
lea r8, [0x1400b53d4]
mov edx, reloc.OLEAUT32.dll_SafeArrayGetDim
lea rcx, [rbp - 0x60]
call fcn.140003880
test eax, eax
js 0x14005a822
mov r9d, dword [rbx + 0x10]
lea r8, [0x1400b3550]
mov edx, reloc.OLEAUT32.dll_SafeArrayGetDim
lea rcx, [rbp - 0x40]
call fcn.140003880
test eax, eax
js 0x14005a822
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 0x14005a822
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 0x14005a822
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 0x14005a822
lea rax, [0x1400a4a80]
xor ecx, ecx
mov qword [rbp - 0x80], rax
lea rdx, [0x1400a4198]
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 0x14005a822
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.14002a310
mov rbx, qword [rsp + 0x208]
add rsp, 0x1f0
pop rbp
ret
Function at 0x14005bbc0
Capabilities:
Get disk information

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x250
mov rax, qword [0x1400da318]
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 0x14005bc25
mov r8, rbp
mov edx, 0x104
mov rcx, rsi
call fcn.14000c43c
jmp 0x14005bcc2
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 0x14005bc79
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 0x14005bc75
movzx edi, ax
or edi, 0x80070000
test edi, edi
js 0x14005bcc4
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 0x14005bcc4
mov r8, rbp
mov edx, 0x104
mov rcx, rsi
call fcn.14000c43c
mov edi, eax
test eax, eax
js 0x14005bcc4
mov r8, rbx
mov rcx, rsi
call fcn.14005bcec
mov edi, eax
mov eax, edi
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14002a310
add rsp, 0x250
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x14005dc24
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x70
mov rax, qword [0x1400da318]
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 0x14005dc86
mov r8d, 3
lea rdx, [0x1400b59c4]
lea rcx, [rsp + 0x20]
call sub.msvcrt.dll_wcsncmp
test eax, eax
je 0x14005dc86
movzx ebx, di
movzx eax, bx
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14002a310
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret