joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14014e7b0
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], r8
push rdi
sub rsp, 0x40
cmp qword [rcx], 0
mov ebx, r9d
movzx edi, dx
jne 0x14014e7d3
mov eax, dword [rcx + 8]
jmp 0x14014e872
mov rcx, qword [rcx]
lea rdx, str.FWOpenPolicyStore
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
nop dword [rax + rax]
mov r11, rax
test rax, rax
jne 0x14014e840
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
call fcn.1400abad4
cmp dword [rax], 2
jbe 0x14014e83c
lea rcx, str.Failed_to_get_address_of_FWOpenPolicyStore
mov dword [rsp + 0x78], ebx
mov qword [rsp + 0x60], rcx
lea rdx, [0x14047572d]
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x78]
mov qword [rsp + 0x20], rcx
mov rcx, rax
call fcn.140004d64
mov eax, ebx
jmp 0x14014e872
movabs r10, 0xb1ecaf8734d14370
mov rax, qword [rsp + 0x80]
mov r8d, ebx
mov r9d, dword [rsp + 0x70]
xor edx, edx
mov qword [rsp + 0x28], rax
movzx ecx, di
and dword [rsp + 0x20], 0
mov rax, r11
call qword [case.0x140084760.0]
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x140151db0
Capabilities:
Initialize winsock library

Disassembly:
push rbx
sub rsp, 0x280
mov rax, qword [0x1404fd7f0]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov rbx, rcx
mov byte [rcx], 0
mov ecx, 0x202
lea rdx, [rsp + 0xd0]
call qword [sym.imp.WS2_32.dll_WSAStartup]
nop dword [rax + rax]
test eax, eax
je 0x140151e0b
mov rcx, qword [rsp + 0x288]
lea r8, str.amcorewcd_sourcemachinestatecollectionmachineinfoWinsockApiHelper.h
mov r9d, eax
mov edx, MsiGetActiveDatabase
call fcn.140109dd0
int3
movzx ecx, word [rsp + 0xd0]
cmp cl, 2
jne 0x140151e41
shr cx, 8
cmp cl, 2
jne 0x140151e41
mov byte [rbx], 1
mov rax, rbx
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140156340
add rsp, 0x280
pop rbx
ret
call qword [sym.imp.WS2_32.dll_WSACleanup]
nop dword [rax + rax]
and dword [rsp + 0x30], 0
lea rax, str.Could_not_find_a_usable_version_of_Winsock.dll
mov ecx, 0xd0
mov qword [rsp + 0x48], rax
call fcn.1401568fc
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.140158b18
lea rdx, [0x1404c9518]
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x20]
call sub.api_ms_win_crt_private_l1_1_0.dll__CxxThrowException
int3

Function at 0x1401534b8
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rdx
cmp rdx, 0x400
jbe 0x140153500
lea rbx, [rdx - 0x401]
shr rbx, 0xa
inc rbx
imul rax, rbx, 0xfffffffffffffc00
add rdi, rax
mov r8d, 0x400
lea rdx, [0x1403bda70]
call fcn.1400a8700
mov ecx, eax
sub rbx, 1
jne 0x1401534e6
mov r8, rdi
lea rdx, [0x1403bda70]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.1400a8700
Function at 0x14015fd68
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
sub r9, r8
mov rax, rdx
sub rax, rcx
mov r15, r8
xor rax, r9
mov rbp, rdx
mov r14, rcx
test rax, 0xfffffffffffffffe
jne 0x14015fde4
mov rbx, qword [rsp + 0x60]
sub r15, rcx
cmp r14, rbp
je 0x14015fde8
movzx edx, word [r15 + r14]
mov rcx, qword [rbx + 8]
movzx esi, word [r14]
call qword [sym.imp.msvcp_win.dll_public:_wchar_t___cdecl_std::ctype_wchar_t_::tolower_wchar_t_const___ptr64]
nop dword [rax + rax]
mov rcx, qword [rbx + 8]
movzx edx, si
movzx edi, ax
call qword [sym.imp.msvcp_win.dll_public:_wchar_t___cdecl_std::ctype_wchar_t_::tolower_wchar_t_const___ptr64]
nop dword [rax + rax]
cmp ax, di
jne 0x14015fde4
add r14, 2
jmp 0x14015fda5
xor al, al
jmp 0x14015fdea
mov al, 1
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
Function at 0x1401654a8
Capabilities:
Check if file exists
Query environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x1404fd7f0]
xor rax, rsp
mov qword [rbp - 8], rax
mov qword [rbp - 0x38], rcx
mov rbx, rcx
cmp qword [rdx + 0x18], 8
mov rdi, rdx
mov rcx, rdx
jb 0x1401654e5
mov rcx, qword [rdx]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
nop dword [rax + rax]
xor r14d, r14d
mov esi, eax
test eax, eax
jne 0x140165573
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov esi, eax
call fcn.1400abad4
mov r8, rax
cmp dword [rax], 2
jbe 0x14016555e
mov rcx, rdi
call fcn.1400df740
mov qword [rbp - 0x30], rax
lea rdx, [0x14045d028]
lea rax, str.Failed_to_expand_environment_strings_in_path
mov dword [rbp - 0x40], esi
mov qword [rbp - 0x38], rax
mov rcx, r8
lea rax, [rbp - 0x30]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
call fcn.1400063fc
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], 7
mov word [rbx], r14w
jmp 0x140165647
lea edx, [rax - 1]
lea rcx, [rbp - 0x28]
call fcn.1400a6d88
cmp qword [rbp - 0x10], 8
lea rdx, [rbp - 0x28]
mov rcx, rdi
cmovae rdx, qword [rbp - 0x28]
cmp qword [rdi + 0x18], 8
jb 0x14016559a
mov rcx, qword [rdi]
mov r8d, esi
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
nop dword [rax + rax]
test eax, eax
jne 0x14016561e
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov esi, eax
call fcn.1400abad4
mov r8, rax
cmp dword [rax], 2
jbe 0x14016560c
mov rcx, rdi
call fcn.1400df740
mov qword [rbp - 0x38], rax
lea rdx, [0x14045d028]
lea rax, str.Failed_to_expand_environment_strings_in_path_after_increasing_buffer_size
mov dword [rbp - 0x40], esi
mov qword [rbp - 0x30], rax
mov rcx, r8
lea rax, [rbp - 0x38]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
call fcn.1400063fc
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], 7
mov word [rbx], r14w
jmp 0x14016563e
movups xmm1, xmmword [rbp - 0x18]
mov qword [rbp - 0x18], r14
movups xmm0, xmmword [rbp - 0x28]
mov qword [rbp - 0x10], 7
mov word [rbp - 0x28], r14w
movups xmmword [rbx], xmm0
movups xmmword [rbx + 0x10], xmm1
lea rcx, [rbp - 0x28]
call fcn.14007bf60
mov rax, rbx
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140156340
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x1401669f0
Capabilities:
Accept command line arguments

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x37]
sub rsp, 0xf0
mov rax, qword [0x1404fd7f0]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rsi, r8
mov r14, rdx
mov rdi, rcx
cmp qword [rcx + 0x10], 0
jne 0x140166a43
lea rdi, [0x1403bdebc]
mov rdx, rdi
mov rcx, r14
call fcn.1400ac480
mov rdx, rdi
mov rcx, rsi
call fcn.1400ac480
jmp 0x140166c14
and dword [rbp - 0x79], 0
cmp qword [rcx + 0x18], 8
jb 0x140166a51
mov rcx, qword [rcx]
lea rdx, [rbp - 0x79]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
nop dword [rax + rax]
mov rbx, rax
mov qword [rbp - 0x61], rax
test rax, rax
je 0x140166b93
cmp dword [rbp - 0x79], 1
jl 0x140166b93
mov rdx, qword [rax]
mov rcx, r14
call fcn.1400ac480
cmp dword [rbp - 0x79], 1
jle 0x140166a92
mov rdi, qword [rbx + 8]
jmp 0x140166a99
lea rdi, [0x1403bdebc]
mov rdx, rdi
mov rcx, rsi
call fcn.1400ac480
mov edi, 2
cmp dword [rbp - 0x79], edi
jle 0x140166c0b
add rbx, 0x10
mov rdx, qword [rbx]
lea rcx, [rbp - 0x59]
call fcn.1400d16f0
nop
xor r8d, r8d
lea rdx, [0x1403de704]
lea rcx, [rbp - 0x59]
call fcn.1400f18d4
mov rdx, rsi
cmp rax, 0xffffffffffffffff
jne 0x140166b1b
lea r8, [0x1403de704]
lea rcx, [rbp - 0x19]
call fcn.14009d774
nop
lea r8, [rbp - 0x59]
mov rdx, rax
lea rcx, [rbp - 0x39]
call fcn.1400962b0
mov rdx, rax
mov rcx, rsi
call fcn.1400aa424
lea rcx, [rbp - 0x39]
call fcn.14007bf60
nop
lea rcx, [rbp - 0x19]
jmp 0x140166b73
lea r8, [0x1403de70c]
lea rcx, [rbp + 7]
call fcn.14009d774
nop
lea r8, [rbp - 0x59]
mov rdx, rax
lea rcx, [rbp - 0x39]
call fcn.1400962b0
nop
lea r8, [0x1403de708]
mov rdx, rax
lea rcx, [rbp - 0x19]
call fcn.14007ba90
mov rdx, rax
mov rcx, rsi
call fcn.1400aa424
lea rcx, [rbp - 0x19]
call fcn.14007bf60
nop
lea rcx, [rbp - 0x39]
call fcn.14007bf60
nop
lea rcx, [rbp + 7]
call fcn.14007bf60
nop
lea rcx, [rbp - 0x59]
call fcn.14007bf60
inc edi
add rbx, 8
cmp edi, dword [rbp - 0x79]
jl 0x140166ab6
jmp 0x140166c0b
call fcn.1400abad4
mov rbx, rax
cmp dword [rax], 3
jbe 0x140166bf0
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov dword [rbp - 0x75], eax
mov rcx, rdi
call fcn.1400df740
mov qword [rbp - 0x71], rax
lea rax, str.The_call_to_CommandLineToArgv_has_failed
mov qword [rbp - 0x69], rax
lea rax, [rbp - 0x75]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x71]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x69]
mov qword [rsp + 0x20], rax
lea rdx, [0x14045cfbf]
mov rcx, rbx
call fcn.1400030f4
mov rdx, rdi
mov rcx, r14
call fcn.140078ea0
lea rdx, [0x1403bdebc]
mov rcx, rsi
call fcn.1400ac480
nop
lea rcx, [rbp - 0x61]
call fcn.1400ebfd8
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140156340
add rsp, 0xf0
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x140169bdc
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x120]
sub rsp, 0x220
mov rax, qword [0x1404fd7f0]
xor rax, rsp
mov qword [rbp + 0x110], rax
mov r15, rdx
mov rsi, rcx
mov qword [rbp - 0x20], rcx
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
nop dword [rax + rax]
mov r14d, eax
xor r12d, r12d
movzx edi, r12w
lea r13d, [r12 + 1]
mov cl, dil
mov edx, r13d
shl edx, cl
test r14d, edx
je 0x140169ddf
lea edx, [rdi + 0x41]
lea rcx, [rbp + 0x10]
call fcn.1401691c4
nop
mov rdx, rax
lea rcx, [rbp - 0x68]
call fcn.140168dc8
nop
lea rcx, [rbp + 0x10]
call fcn.140139a10
mov rbx, qword [rbp - 0x68]
test rbx, rbx
je 0x140169dd1
lea rdx, [rbp - 0x68]
lea rcx, [rbp - 0x18]
call fcn.14006be10
mov r8, rax
mov rdx, rsi
lea rcx, [rbp - 8]
call fcn.14006e92c
mov rdx, r15
mov rcx, rax
call fcn.1401699d0
call fcn.1400abad4
mov r8, rax
cmp dword [rax], 4
jbe 0x140169dd1
movzx ecx, byte [rbx + 0xf0]
mov dword [rbp - 0x7c], ecx
mov cl, byte [rbx + 0xe8]
mov byte [rbp - 0x80], cl
lea rcx, [rbx + 0x68]
cmp qword [rcx + 0x18], 8
jb 0x140169ccb
mov rcx, qword [rcx]
mov qword [rbp - 0x58], rcx
lea rax, [rbx + 0xa8]
cmp qword [rax + 0x18], 8
jb 0x140169ce0
mov rax, qword [rax]
mov qword [rbp - 0x50], rax
lea rax, [rbx + 0xc8]
cmp qword [rax + 0x18], 8
jb 0x140169cf5
mov rax, qword [rax]
mov qword [rbp - 0x48], rax
lea rax, [rbx + 0x88]
cmp qword [rax + 0x18], 8
jb 0x140169d0a
mov rax, qword [rax]
mov qword [rbp - 0x40], rax
mov eax, dword [rbx + 0x64]
mov dword [rbp - 0x78], eax
mov al, byte [rbx + 0x60]
mov byte [rbp - 0x7f], al
lea rax, [rbx + 0x20]
cmp qword [rax + 0x18], 8
jb 0x140169d28
mov rax, qword [rax]
mov qword [rbp - 0x38], rax
lea rax, [rbx + 0x40]
cmp qword [rax + 0x18], 8
jb 0x140169d3a
mov rax, qword [rax]
mov qword [rbp - 0x30], rax
mov rcx, rbx
call fcn.1400df740
mov qword [rbp - 0x28], rax
lea rax, str.Storage_volume_discovered
mov qword [rbp - 0x70], rax
lea rax, [rbp - 0x7c]
mov qword [rsp + 0x78], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x70], rax
lea rax, [rbp - 0x58]
mov qword [rsp + 0x68], rax
lea rax, [rbp - 0x50]
mov qword [rsp + 0x60], rax
lea rax, [rbp - 0x48]
mov qword [rsp + 0x58], rax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x50], rax
lea rax, [rbp - 0x78]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x7f]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x38]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x28]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
lea rdx, [0x14045d386]
mov rcx, r8
call fcn.1400064f4
nop
mov rcx, qword [rbp - 0x60]
test rcx, rcx
je 0x140169ddf
call fcn.14008a480
add di, r13w
cmp di, 0x19
jbe 0x140169c31
mov rcx, qword [rsi + 8]
test rcx, rcx
je 0x140169dfb
call fcn.14008a480
mov rcx, qword [rbp + 0x110]
xor rcx, rsp
call fcn.140156340
mov rbx, qword [rsp + 0x270]
add rsp, 0x220
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140169fbc
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x180]
sub rsp, 0x280
mov rax, qword [0x1404fd7f0]
xor rax, rsp
mov qword [rbp + 0x170], rax
movzx edi, dx
mov qword [rsp + 0x50], rcx
mov rbx, rcx
xor edx, edx
lea rcx, [rsp + 0x60]
mov r8d, 0x20a
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov eax, dword [0x1403def58]
movzx ecx, di
mov dword [rsp + 0x58], eax
movzx eax, word [0x1403def5c]
mov word [rsp + 0x5c], ax
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o_iswalpha]
nop dword [rax + rax]
xor esi, esi
test eax, eax
jne 0x14016a07e
call fcn.1400abad4
cmp dword [rax], 3
jbe 0x14016a06a
lea rcx, str.Invalid_drive_character
mov word [rsp + 0x40], di
mov qword [rsp + 0x48], rcx
lea rdx, [0x14045d35a]
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x20], rcx
mov rcx, rax
call fcn.1400068a0
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], 7
mov word [rbx], si
jmp 0x14016a124
mov r8d, 0x104
mov word [rsp + 0x58], di
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
nop dword [rax + rax]
test eax, eax
jne 0x14016a117
call fcn.1400abad4
mov rdi, rax
cmp dword [rax], 3
jbe 0x14016a06a
lea rax, [rsp + 0x58]
mov qword [rsp + 0x48], rax
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
test eax, eax
jle 0x14016a0d2
movzx eax, ax
or eax, 0x80070000
mov dword [rsp + 0x40], eax
lea rdx, [0x14045d14f]
lea rax, str.QueryDosDevice_for_volume_without_a_drive_letter_failed
xor r8d, r8d
mov qword [rsp + 0x50], rax
mov rcx, rdi
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
call fcn.140003b38
jmp 0x14016a06a
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.1400d16f0
mov rax, rbx
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.140156340
mov rbx, qword [rsp + 0x2b0]
add rsp, 0x280
pop rdi
pop rsi
pop rbp
ret
Function at 0x14016a350
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x180]
sub rsp, 0x280
mov rax, qword [0x1404fd7f0]
xor rax, rsp
mov qword [rbp + 0x170], rax
movzx edi, dx
mov qword [rsp + 0x50], rcx
mov rbx, rcx
xor edx, edx
lea rcx, [rsp + 0x60]
mov r8d, 0x20a
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
movabs rax, 0x5c003a0024
movzx ecx, di
mov qword [rsp + 0x58], rax
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o_iswalpha]
nop dword [rax + rax]
xor esi, esi
test eax, eax
jne 0x14016a40b
call fcn.1400abad4
cmp dword [rax], 3
jbe 0x14016a3f7
lea rcx, str.Invalid_drive_character
mov word [rsp + 0x40], di
mov qword [rsp + 0x48], rcx
lea rdx, [0x14045d35a]
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x20], rcx
mov rcx, rax
call fcn.1400068a0
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], 7
mov word [rbx], si
jmp 0x14016a4b1
mov r8d, 0x104
mov word [rsp + 0x58], di
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointW]
nop dword [rax + rax]
test eax, eax
jne 0x14016a4a4
call fcn.1400abad4
mov rdi, rax
cmp dword [rax], 3
jbe 0x14016a3f7
lea rax, [rsp + 0x58]
mov qword [rsp + 0x48], rax
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
test eax, eax
jle 0x14016a45f
movzx eax, ax
or eax, 0x80070000
mov dword [rsp + 0x40], eax
lea rdx, [0x14045d1ca]
lea rax, str.GetVolumeNameForVolumeMountPoint_for_driver_letter_without_a_volume
xor r8d, r8d
mov qword [rsp + 0x50], rax
mov rcx, rdi
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
call fcn.140003b38
jmp 0x14016a3f7
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.1400d16f0
mov rax, rbx
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.140156340
mov rbx, qword [rsp + 0x2b0]
add rsp, 0x280
pop rdi
pop rsi
pop rbp
ret
Function at 0x14016ae94
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x1404fd7f0]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rsi, rdx
mov r14, rcx
mov edx, 0x105
lea rcx, [rbp - 0x48]
call fcn.1400a043c
nop
mov rcx, rsi
cmp qword [rsi + 0x18], 8
jb 0x14016aedb
mov rcx, qword [rsi]
lea r9, [rbp - 0x50]
mov r8d, 0x104
mov rdi, qword [rbp - 0x48]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GetVolumePathNamesForVolumeNameW]
nop dword [rax + rax]
xor r12d, r12d
test eax, eax
jne 0x14016afa1
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 0xea
jne 0x14016afa1
mov r13d, dword [rbp - 0x50]
inc r13d
mov ebx, r13d
mov r15, qword [rbp - 0x40]
mov rcx, r15
sub rcx, rdi
sar rcx, 1
cmp rbx, rcx
jae 0x14016af40
lea rax, [rdi + r13*2]
mov qword [rbp - 0x40], rax
jmp 0x14016af7d
jbe 0x14016af7d
mov rax, qword [rbp - 0x38]
sub rax, rdi
sar rax, 1
cmp rbx, rax
jbe 0x14016af63
mov rdx, rbx
lea rcx, [rbp - 0x48]
call fcn.1400a04a0
mov rdi, qword [rbp - 0x48]
jmp 0x14016af7d
sub rbx, rcx
add rbx, rbx
mov r8, rbx
xor edx, edx
mov rcx, r15
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
add r15, rbx
mov qword [rbp - 0x40], r15
cmp qword [rsi + 0x18], 8
jb 0x14016af87
mov rsi, qword [rsi]
lea r8d, [r13 - 1]
lea r9, [rbp - 0x50]
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetVolumePathNamesForVolumeNameW]
nop dword [rax + rax]
cmp word [rdi], r12w
je 0x14016b04c
or rbx, 0xffffffffffffffff
mov rax, rbx
inc rax
cmp word [rdi + rax*2], r12w
jne 0x14016afb2
cmp rax, 3
jne 0x14016b02d
movzx ecx, word [rdi]
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o_isalpha]
nop dword [rax + rax]
test eax, eax
je 0x14016b02d
cmp word [rdi + 2], 0x3a
jne 0x14016b02d
mov rdx, rdi
lea rcx, [rbp - 0x30]
call fcn.1400d16f0
mov rdx, rax
mov rcx, r14
call fcn.1400aa424
lea rcx, [rbp - 0x30]
call fcn.14007bf60
mov rcx, r14
cmp qword [r14 + 0x18], 8
jb 0x14016b009
mov rcx, qword [r14]
mov rax, qword [r14 + 0x10]
dec rax
cmp word [rcx + rax*2], 0x5c
jne 0x14016b02d
mov rcx, r14
cmp qword [r14 + 0x18], 8
jb 0x14016b024
mov rcx, qword [r14]
mov qword [r14 + 0x10], rax
mov word [rcx + rax*2], r12w
mov rax, rbx
inc rax
cmp word [rdi + rax*2], r12w
jne 0x14016b030
lea rdi, [rdi + rax*2]
add rdi, 2
cmp word [rdi], r12w
jne 0x14016afaf
lea rcx, [rbp - 0x48]
call fcn.1401349f4
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140156340
mov rbx, qword [rsp + 0xc0]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14016b080
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x280
mov rax, qword [0x1404fd7f0]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov rbx, rdx
mov rsi, rcx
xor edx, edx
lea rcx, [rsp + 0x60]
mov r8d, 0x20a
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
cmp qword [rbx + 0x18], 8
mov rcx, rbx
jb 0x14016b0c9
mov rcx, qword [rbx]
add rcx, 8
lea rdx, [rsp + 0x60]
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
nop dword [rax + rax]
test eax, eax
jne 0x14016b15a
call fcn.1400abad4
mov rdi, rax
cmp dword [rax], 3
jbe 0x14016b15a
mov rcx, rbx
call fcn.1400df740
mov qword [rsp + 0x48], rax
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
test eax, eax
jle 0x14016b11a
movzx eax, ax
or eax, 0x80070000
mov dword [rsp + 0x40], eax
lea rdx, [0x14045d14f]
lea rax, str.QueryDosDeviceW_for_volume_without_a_drive_letter_failed
xor r8d, r8d
mov qword [rsp + 0x50], rax
mov rcx, rdi
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
call fcn.140003b38
lea rcx, [rsi + 0x20]
lea rdx, [rsp + 0x60]
call fcn.1400ac480
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140156340
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x14016e48c
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x210]
sub rsp, 0x310
mov rax, qword [0x1404fd7f0]
xor rax, rsp
mov qword [rbp + 0x200], rax
lea rbx, [0x1404fec78]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
nop dword [rax + rax]
mov qword [rsp + 0x30], rbx
cmp qword [0x1404fec70], 0
jne 0x14016e625
and dword [rsp + 0x20], 0
lea rax, [0x1403bdebc]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x38]
call fcn.14016cd78
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
nop dword [rax + rax]
mov rbx, rax
mov qword [rsp + 0x20], rax
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x14016e61a
mov dword [rbp - 0x40], 0x238
xor edx, edx
mov r8d, 0x234
lea rcx, [rbp - 0x3c]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
lea rdx, [rbp - 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
nop dword [rax + rax]
jmp 0x14016e612
mov eax, dword [rbp - 0x38]
test eax, eax
je 0x14016e5ff
mov ecx, dword [rbp - 0x20]
test ecx, ecx
jne 0x14016e58c
mov dword [reloc.OLEAUT32.dll_SysReAllocStringLen], eax
mov dword [rsp + 0x48], eax
lea rax, [rbp - 0x14]
mov qword [rsp + 0x50], rax
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x58]
call fcn.14016ce94
jmp 0x14016e5ff
cmp ecx, dword [reloc.OLEAUT32.dll_SysReAllocStringLen]
jne 0x14016e5ff
lea rdx, str..exe
lea rcx, [rbp - 0x68]
call fcn.1400d16f0
nop
lea rdx, [rbp - 0x14]
lea rcx, [rsp + 0x78]
call fcn.1400d16f0
lea rdx, [rbp - 0x68]
lea rcx, [rsp + 0x78]
call fcn.14009d6b0
test al, al
sete dil
lea rcx, [rsp + 0x78]
call fcn.14007bf60
nop
lea rcx, [rbp - 0x68]
call fcn.14007bf60
test dil, dil
je 0x14016e5ff
mov eax, dword [rbp - 0x38]
mov dword [rsp + 0x38], eax
lea rax, [rbp - 0x14]
mov qword [rsp + 0x40], rax
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x68]
call fcn.14016cd78
lea rdx, [rbp - 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
nop dword [rax + rax]
test eax, eax
jne 0x14016e556
lea rcx, [rsp + 0x20]
call fcn.14011e68c
nop
lea rcx, [rsp + 0x30]
call fcn.140070854
mov rcx, qword [rbp + 0x200]
xor rcx, rsp
call fcn.140156340
lea r11, [rsp + 0x310]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x14017736c
Capabilities:
Get file size

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdx
push rdi
sub rsp, 0x20
lea rbx, [rcx + 0x20]
mov rdi, rcx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockShared]
nop dword [rax + rax]
mov al, byte [rdi + 0x18]
mov qword [rsp + 0x38], rbx
test al, al
je 0x1401773bc
mov rax, qword [rdi + 0x28]
lock inc qword [rax + 0x38]
mov ecx, 0x323
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
nop dword [rax + rax]
or ebx, 0xffffffff
jmp 0x1401773cf
mov rcx, qword [rdi]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetFileSize]
nop dword [rax + rax]
mov ebx, eax
lea rcx, [rsp + 0x38]
call fcn.140079450
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret