joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14008635c
Capabilities:
Reference sql statements

Disassembly:
push rbx
sub rsp, 0x260
mov rax, qword [0x1400dc7b8]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rbx, rdx
mov r9d, ecx
lea rcx, [rsp + 0xd0]
lea rax, str.GROUP_ON_System.AppUserModel.PackageFamilyName_AGGREGATE_CHILDCOUNT___OVER_SELECT_System.AppUserModel.PackageFamilyName_FROM_SystemIndex_WHERE__s_System.ConnectedSearch.ItemSource___d_
mov edx, 0x80
lea r8d, [rdx - 0x7e]
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rcx + 0x60], xmm0
add rcx, rdx
movups xmm1, xmmword [rax + 0x70]
movups xmmword [rcx - 0x10], xmm1
add rax, rdx
sub r8, 1
jne 0x140086395
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rcx + 0x60], xmm0
mov eax, dword [rax + 0x70]
mov dword [rcx + 0x70], eax
movups xmm0, xmmword [str.SCOPE__winrt:___AND]
movups xmmword [rsp + 0x98], xmm0
movups xmm1, xmmword [0x1400c0288]
movups xmmword [rsp + 0xa8], xmm1
movsd xmm0, qword [0x1400c0298]
movsd qword [rsp + 0xb8], xmm0
mov eax, dword [0x1400c02a0]
mov dword [rsp + 0xc0], eax
movzx eax, word [0x1400c02a4]
mov word [rsp + 0xc4], ax
and qword [rsp + 0x28], r8
and qword [rsp + 0x30], r8
and qword [rsp + 0x38], r8
lea rax, [0x1400b3ad4]
lea r8, [rsp + 0x98]
cmp r9d, 1
cmovne r8, rax
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0x28]
call fcn.140085818
test eax, eax
js 0x1400864f8
mov rdx, qword [rsp + 0x28]
lea rcx, [rsp + 0x40]
call fcn.140084f98
nop
and qword [rsp + 0x20], 0
lea rax, [0x1400aeb88]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
lea rax, [rsp + 0x58]
mov qword [rsp + 0x90], rax
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x40]
call fcn.1400852c8
nop
lea rcx, [rsp + 0x48]
call fcn.140002004
nop
jmp 0x1400864f8
lea rcx, [rsp + 0x28]
call fcn.140046240
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140024990
add rsp, 0x260
pop rbx
ret
Function at 0x140088270
Capabilities:
Check mutex on windows

Disassembly:
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x210
mov r14, rcx
xor edi, edi
lea rdx, str.SystemIndex
mov rcx, qword [rcx + 0x20]
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__wcsicmp]
nop dword [rax + rax]
test eax, eax
jne 0x1400884ec
lea r8d, [rdi + 7]
lea rdx, [0x1400b3940]
mov rcx, qword [r14 + 0x28]
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__wcsnicmp]
nop dword [rax + rax]
test eax, eax
jne 0x1400884ec
lea r8, str.CSM_Policy_Key_Mutex
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_CreateMutexW]
nop dword [rax + rax]
mov rbx, rax
mov qword [rsp + 0x30], rax
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x1400884b8
or edx, 0xffffffff
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
nop dword [rax + rax]
nop
lea rcx, [rsp + 0x60]
call fcn.140009080
nop
and qword [rsp + 0x38], rdi
and qword [rsp + 0x40], rdi
and qword [rsp + 0x48], rdi
and dword [rsp + 0x50], edi
lea rdx, [0x1400dd9d8]
lea rcx, [rsp + 0x258]
call fcn.140019a9c
nop
lea rdx, str.DefaultIndexedPaths
lea rcx, [rsp + 0x250]
call fcn.140012fc0
nop
lea rdx, [0x1400b3ad4]
lea rcx, [rsp + 0x248]
call fcn.140012fc0
nop
lea rdx, str.SoftwareMicrosoftWindows_SearchCurrentPolicies
lea rcx, [rsp + 0x240]
call fcn.140012fc0
nop
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x258]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x250]
lea r8, [rsp + 0x248]
lea rdx, [rsp + 0x240]
lea rcx, [rsp + 0x60]
call fcn.140009280
nop
mov rcx, qword [rsp + 0x240]
add rcx, 0xffffffffffffffe8
call fcn.140016110
nop
mov rcx, qword [rsp + 0x248]
add rcx, 0xffffffffffffffe8
call fcn.140016110
nop
mov rcx, qword [rsp + 0x250]
add rcx, 0xffffffffffffffe8
call fcn.140016110
nop
mov rcx, qword [rsp + 0x258]
add rcx, 0xffffffffffffffe8
call fcn.140016110
nop
lea rcx, [rsp + 0x38]
call fcn.14000f478
lea rcx, [rsp + 0x60]
call fcn.140008f90
mov r15d, dword [rax + 8]
xor esi, esi
test edi, edi
js 0x14008849b
cmp esi, r15d
jae 0x14008849b
and qword [rsp + 0x248], 0
lea rcx, [rsp + 0x60]
call fcn.1400892c0
mov edx, esi
mov rcx, rax
call fcn.140087ac8
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x240]
lea r8, [rsp + 0x248]
mov rdx, qword [rax]
mov rcx, r14
call fcn.140088fe0
test eax, eax
js 0x140088487
cmp qword [rsp + 0x248], 0
jne 0x140088487
lea r8, [rsp + 0x248]
movzx edx, word [rsp + 0x240]
mov rcx, r14
call fcn.1400885cc
mov edi, eax
lea rcx, [rsp + 0x248]
call fcn.14000376c
inc esi
jmp 0x140088413
lea rcx, [rsp + 0x60]
call fcn.140009034
nop
jmp 0x1400884d3
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 0x1400884d3
movzx edi, ax
or edi, 0x80070000
lea rcx, [rbx - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x1400884ec
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop dword [rax + rax]
mov eax, edi
add rsp, 0x210
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
Function at 0x140093794
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 0x14009394a
cmp ecx, 0x7c
je 0x140093953
cmp ecx, 0x29
jne 0x1400937e8
cmp dword [rbx + 0x1c], 0
jne 0x140093953
lea rdi, [rbx + 0x80]
test dword [rdi], 0x10000000
jne 0x1400938f0
mov ecx, 5
call qword [sym.imp.msvcp_win.dll_void___cdecl_std::_Xregex_error_enum_std::regex_constants::error_type_]
nop dword [rax + rax]
int3
lea rdi, [rbx + 0x80]
cmp ecx, 0x2e
jne 0x14009380f
lea rcx, [rbx + 0x40]
mov edx, 5
call fcn.140095f20
mov rcx, rbx
call fcn.140095f74
jmp 0x14009393d
cmp ecx, 0x5c
jne 0x14009386f
mov rcx, rbx
call fcn.140095f74
test byte [rdi], 0x80
je 0x140093862
cmp word [rbx + 0x78], 0x62
jne 0x140093843
mov edx, 4
lea rcx, [rbx + 0x40]
call fcn.140095f20
mov rcx, rbx
call fcn.140095f74
jmp 0x140093945
cmp word [rbx + 0x78], 0x42
jne 0x140093862
lea rcx, [rbx + 0x40]
mov edx, 4
call fcn.140095f20
mov rax, qword [rbx + 0x48]
xor dword [rax + 0xc], 1
jmp 0x140093836
mov rcx, rbx
call fcn.140093978
jmp 0x14009393d
cmp ecx, 0x5b
jne 0x1400938a0
mov rcx, rbx
call fcn.140095f74
mov rcx, rbx
call fcn.1400940e4
cmp dword [rbx + 0x7c], 0x5d
je 0x140093802
mov ecx, 4
call qword [sym.imp.msvcp_win.dll_void___cdecl_std::_Xregex_error_enum_std::regex_constants::error_type_]
nop dword [rax + rax]
int3
cmp ecx, 0x28
jne 0x1400938c4
mov rcx, rbx
call fcn.140095f74
mov rcx, rbx
call fcn.1400963dc
cmp dword [rbx + 0x7c], 0x29
mov dil, al
jne 0x1400937d6
jmp 0x140093930
cmp ecx, 0x5e
jne 0x1400938d1
lea edx, [rcx - 0x5c]
jmp 0x14009382d
cmp ecx, 0x24
jne 0x1400938de
lea edx, [rcx - 0x21]
jmp 0x14009382d
cmp ecx, 0x3f
je 0x14009395f
lea eax, [rcx - 0x2a]
cmp eax, 1
jbe 0x14009395f
cmp ecx, 0x7b
je 0x14009395f
cmp ecx, 0x7d
jne 0x14009390f
test dword [rdi], 0x10000000
jne 0x140093920
mov ecx, 6
call qword [sym.imp.msvcp_win.dll_void___cdecl_std::_Xregex_error_enum_std::regex_constants::error_type_]
nop dword [rax + rax]
int3
cmp ecx, 0x5d
jne 0x140093920
test dword [rdi], 0x10000000
je 0x14009388e
movzx edx, word [rbx + 0x78]
lea rcx, [rbx + 0x40]
call fcn.140092f94
mov dil, 1
mov rcx, rbx
call fcn.140095f74
test dil, dil
je 0x140093945
mov rcx, rbx
call fcn.140095fb4
mov ecx, dword [rbx + 0x7c]
mov al, 1
cmp ecx, 0xffffffff
jne 0x1400937ab
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov ecx, 0xa
call qword [sym.imp.msvcp_win.dll_void___cdecl_std::_Xregex_error_enum_std::regex_constants::error_type_]
nop dword [rax + rax]
int3
Function at 0x1400a4bc8
Capabilities:
Query or enumerate registry key

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
push rdi
sub rsp, 0x50
cmp qword [rcx], 0
lea rbx, [rcx + 8]
mov rsi, rdx
mov dword [rax - 0x18], 0x104
mov rdi, rcx
jne 0x1400a4c24
and dword [rbx], 0
lea r8, str.SOFTWAREMicrosoftWindows_SearchCatalogListApplications
and qword [rcx], 0
mov rdx, 0xffffffff80000002
mov qword [rax - 0x30], rcx
mov dword [rax - 0x38], 9
call fcn.14001ec30
test eax, eax
jle 0x1400a4c22
movzx eax, ax
or eax, 0x80070000
test eax, eax
js 0x1400a4c77
and qword [rsp + 0x38], 0
lea r9, [rsp + 0x40]
and qword [rsp + 0x30], 0
mov r8, rsi
and qword [rsp + 0x28], 0
mov edx, dword [rbx]
mov rcx, qword [rdi]
and qword [rsp + 0x20], 0
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegEnumKeyExW]
nop dword [rax + rax]
cmp eax, 0x103
jne 0x1400a4c63
mov eax, 1
jmp 0x1400a4c77
test eax, eax
je 0x1400a4c73
jle 0x1400a4c77
movzx eax, ax
or eax, 0x80070000
jmp 0x1400a4c77
xor eax, eax
inc dword [rbx]
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x1400a75d4
Capabilities:
Get common file path

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
push r14
sub rsp, 0x350
mov rax, qword [0x1400dc7b8]
xor rax, rsp
mov qword [rsp + 0x340], rax
mov rsi, rcx
xor r14d, r14d
mov byte [rsp + 0x30], r14b
mov edi, 0x104
mov edx, edi
lea rcx, [r11 - 0x228]
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetSystemDirectoryW]
nop dword [rax + rax]
test eax, eax
sete al
mov rcx, qword [rsp + 0x358]
test al, al
je 0x1400a7643
lea r8, [0x1400b5470]
lea edx, [rdi - 0x2a]
call fcn.14005e630
mov rdx, rdi
lea rax, [rsp + 0x130]
mov ebx, 1
cmp word [rax], r14w
je 0x1400a7662
add rax, 2
sub rdx, rbx
jne 0x1400a7653
mov rax, rdx
mov rcx, rdi
sub rcx, rdx
neg rax
sbb r8, r8
and r8, rcx
mov rax, rdx
neg rax
sbb r9d, r9d
not r9d
and r9d, 0x80070057
test rdx, rdx
je 0x1400a76eb
sub rdi, r8
lea rcx, [rsp + 0x130]
lea rcx, [rcx + r8*2]
je 0x1400a76cc
mov eax, 0x7ffffffe
lea rdx, str.propsys.dll
sub rdx, rcx
test rax, rax
je 0x1400a76cc
movzx r8d, word [rdx + rcx]
test r8w, r8w
je 0x1400a76cc
mov word [rcx], r8w
add rcx, 2
sub rax, rbx
sub rdi, rbx
jne 0x1400a76ac
lea rax, [rcx - 2]
test rdi, rdi
cmovne rax, rcx
mov word [rax], r14w
neg rdi
sbb r9d, r9d
not r9d
and r9d, 0x8007007a
mov rcx, qword [rsp + 0x358]
test r9d, r9d
jns 0x1400a7709
lea r8, [0x1400b5470]
mov edx, 0xdb
call fcn.1400657d4
lea r8, [rsp + 0x48]
xor edx, edx
lea rcx, [rsp + 0x130]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetFileAttributesExW]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x358]
test eax, eax
jne 0x1400a7741
lea r8, [0x1400b5470]
mov edx, 0xde
call fcn.14005e630
mov r9d, 0x20019
lea r8, str.SOFTWAREMicrosoftWindows_Search
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x70]
call fcn.1400677d0
mov qword [rsp + 0x40], r14
mov dword [rsp + 0x38], 8
lea r9, [rsp + 0x38]
lea r8, [rsp + 0x40]
lea rdx, [0x1400b49f8]
lea rcx, [rsp + 0x70]
call fcn.1400680e4
test eax, eax
je 0x1400a77b4
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x5c]
lea rcx, [rsp + 0x38]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_CompareFileTime]
nop dword [rax + rax]
test eax, eax
jne 0x1400a77b4
mov bl, r14b
jmp 0x1400a77c1
mov eax, dword [rsp + 0x5c]
mov dword [rsi], eax
mov eax, dword [rsp + 0x60]
mov dword [rsi + 4], eax
mov byte [rsp + 0x30], bl
lea rcx, [rsp + 0x70]
call fcn.140012204
nop
jmp 0x1400a77d6
mov al, bl
mov rcx, qword [rsp + 0x340]
xor rcx, rsp
call fcn.140024990
lea r11, [rsp + 0x350]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
Function at 0x1400a9510
Capabilities:
Print debug messages

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x68
mov rax, qword [0x1400dc7b8]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rbp, r9
mov esi, r8d
mov rdi, rdx
mov rbx, rcx
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_IsDebuggerPresent]
nop dword [rax + rax]
test eax, eax
je 0x1400a958c
mov qword [rsp + 0x28], rbp
lea rdx, str._s__u___s_:__s
mov r9d, esi
mov qword [rsp + 0x20], rbx
mov r8, rdi
lea rcx, [rsp + 0x30]
call fcn.1400a95ac
cmp qword [rsp + 0x48], 8
lea rcx, [rsp + 0x30]
cmovae rcx, qword [rsp + 0x30]
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_OutputDebugStringW]
nop dword [rax + rax]
lea rcx, [rsp + 0x30]
call fcn.14001b288
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140024990
add rsp, 0x68
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140003380
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
mov eax, 0x1250
call fcn.140060770
sub rsp, rax
mov rax, qword [0x140082180]
xor rax, rsp
mov qword [rsp + 0x1240], rax
mov rsi, rcx
lea r8, [rsp + 0x20]
lea rcx, [rsp + 0x30]
mov edx, 0x1000
call qword [sym.imp.KERNEL32.dll_K32EnumProcesses]
test eax, eax
je 0x1400034a4
mov ebp, dword [rsp + 0x20]
xor ebx, ebx
shr ebp, 2
test ebp, ebp
je 0x1400034a4
mov r8d, dword [rsp + rbx*4 + 0x30]
test r8d, r8d
je 0x14000349a
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
je 0x14000349a
mov r9d, 0x104
lea r8, [rsp + 0x1030]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_K32GetModuleBaseNameW]
test eax, eax
je 0x140003491
lea rcx, [rsp + 0x1030]
mov rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], 0
jne 0x140003433
cmp qword [rsi + 0x18], 7
mov r8, rsi
mov rdx, qword [rsi + 0x10]
jbe 0x14000344e
mov r8, qword [rsi]
cmp rdx, rax
jne 0x140003491
lea rax, [rsp + 0x1030]
test rdx, rdx
je 0x140003484
lea rcx, [rsp + 0x1030]
sub r8, rcx
nop dword [rax + rax]
movzx ecx, word [r8 + rax]
cmp cx, word [rax]
jne 0x140003491
add rax, 2
sub rdx, 1
jne 0x140003470
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x1400034a6
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
cmp ebx, ebp
jb 0x1400033e0
xor al, al
mov rcx, qword [rsp + 0x1240]
xor rcx, rsp
call fcn.14005ff20
lea r11, [rsp + 0x1250]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140008180
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x160
mov rax, qword [0x140082180]
xor rax, rsp
mov qword [rsp + 0x150], rax
xor edx, edx
mov rbx, rcx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
xor edx, edx
lea rcx, [rsp + 0x24]
mov r8d, 0x12c
mov rdi, rax
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x20], 0x130
cmp rdi, 0xffffffffffffffff
je 0x140008246
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x140008246
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
je 0x14000823d
cmp qword [rbx + 0x18], 0xf
mov r8, rbx
jbe 0x140008201
mov r8, qword [rbx]
lea rax, [rsp + 0x4c]
sub r8, rax
nop dword [rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x140008223
inc rax
test ecx, ecx
jne 0x140008210
mov rcx, rdi
test edx, edx
je 0x1400082b6
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x1400081f4
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x140008280
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x14000827b
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400082fd
mov rcx, r8
call fcn.1400601c4
xor al, al
mov byte [rbx], 0
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov qword [rbx + 0x10], 0
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.14005ff20
mov rbx, qword [rsp + 0x178]
add rsp, 0x160
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rsp + 0x28], 0
je 0x140008246
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x1400082f9
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x1400082f4
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400082fd
mov rcx, r8
call fcn.1400601c4
mov al, 1
jmp 0x140008282
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x140009420
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
sub rsp, 0x130
lea rbp, [rsp + 0x60]
and rbp, 0xffffffffffffffe0
mov rax, qword [0x140082180]
xor rax, rsp
mov qword [rbp + 0xc0], rax
mov qword [rbp], rcx
lea r9, [rbp + 0x78]
mov rbx, rcx
movabs rax, 0x7fa8af505e8eda6c
mov qword [rbp], rax
xor ecx, ecx
mov rax, qword [rbp]
movabs rdi, 0xb4e5266571a02a30
mov qword [rbp + 0x10], rax
movabs rsi, 0x7fa8af505ed2e02f
mov qword [rbp], rdi
xor r8d, r8d
mov rax, qword [rbp]
xor edx, edx
mov qword [rbp + 0x18], rax
mov dword [rsp + 0x38], ecx
mov qword [rsp + 0x30], rcx
mov qword [rbp], rsi
mov rax, qword [rbp]
mov qword [rbp + 0x80], rax
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rcx
lea rcx, [rbp + 0x10]
mov qword [rbp], rdi
mov rax, qword [rbp]
movdqa xmm0, xmmword [rbp + 0x10]
mov qword [rbp + 0x88], rax
xorps xmm0, xmmword [rbp + 0x80]
movdqa xmmword [rbp + 0x10], xmm0
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
je 0x14000951f
mov edx, dword [rbp + 0x78]
mov rcx, rbx
call fcn.140010630
mov rax, rbx
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.14005ff20
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
movabs rax, 0x5fccc63c3fa48e66
lea rdx, [rbp + 0x40]
mov qword [rbp], rax
lea rcx, [rbp + 0x60]
mov rax, qword [rbp]
mov qword [rbp + 0x40], rax
movabs rax, 0xdf96674535e97d78
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x48], rax
movabs rax, 0xf888fb625a777e09
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x50], rax
movabs rax, 0x69b0f777bb094137
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x58], rax
mov qword [rbp], rsi
mov rax, qword [rbp]
mov qword [rbp + 0xa0], rax
mov qword [rbp], rdi
mov rax, qword [rbp]
mov qword [rbp + 0xa8], rax
movabs rax, 0xaaa8ba4228183829
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xb0], rax
movabs rax, 0x69b0f777cf6c3252
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xb8], rax
vmovdqu ymm0, ymmword [rbp + 0xa0]
vpxor ymm1, ymm0, ymmword [rbp + 0x40]
vmovdqa ymmword [rbp + 0x40], ymm1
vzeroupper
call fcn.140001de0
lea rdx, [0x14007efa8]
lea rcx, [rbp + 0x60]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x14000f220
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je 0x14000f248
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x14000f26e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x14000f270
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x14000f2c9
test ecx, ecx
jle 0x14000f2a9
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x14000f2c9
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x14000f2c9
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret

Function at 0x14000f2f0
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x14000f312
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x14000f328
add rsp, 0x30
pop r14
pop rsi
pop rbp
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x14000f344
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14000f346
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14000f382
mov qword [rsp + 0x20], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x20]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x14000f41e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x14000f3bd
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x14000f3fe
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x14000f41e
cmp rbx, rax
ja 0x14000f3d0
test rbx, rbx
je 0x14000f41e
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret