joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140015000
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x490
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov rax, qword [0x1400700d0]
xor rax, rsp
mov qword [rsp + 0x480], rax
mov r15, r9
mov rsi, r8
mov rbx, rdx
xor r14d, r14d
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x70], r14
xor edx, edx
lea r8d, [r14 + 0x60]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_LoadLibraryExW]
mov rdi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x14001508e
xor edx, edx
lea r8d, [r14 + 2]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_LoadLibraryExW]
mov rdi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x14001508e
call fcn.140012da0
mov ebx, eax
jmp 0x1400151b6
mov r8, r15
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_1.dll_FindResourceW]
mov rbx, rax
test rax, rax
jne 0x1400150af
call fcn.140012da0
jmp 0x1400151a5
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_LoadResource]
mov rsi, rax
mov qword [rsp + 0x40], rax
test rax, rax
jne 0x1400150d2
call fcn.140012da0
jmp 0x1400151a5
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_SizeofResource]
mov ebx, eax
mov dword [rsp + 0x30], eax
inc eax
cmp eax, ebx
jae 0x1400150f4
mov ebx, 0x8007000e
jmp 0x1400151a7
mov ecx, eax
test eax, eax
je 0x14001512c
xor edx, edx
or rax, 0xffffffffffffffff
div rcx
cmp rax, 2
jb 0x140015122
lea rdx, [rcx + rcx]
cmp rdx, 0x400
jbe 0x14001512c
lea rcx, [rsp + 0x70]
call fcn.140012c90
jmp 0x140015136
mov ecx, 0x80070216
call fcn.140012fd0
lea rax, [rsp + 0x78]
mov qword [rsp + 0x70], rax
jmp 0x140015149
cmp qword [rsp + 0x70], 0
jne 0x140015158
mov ebx, 0x8007000e
jmp 0x1400151a7
mov dword [rsp + 0x28], ebx
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, ebx
mov r8, rsi
xor edx, edx
lea ecx, [rdx + 3]
call qword [sym.imp.api_ms_win_core_string_l1_1_0.dll_MultiByteToWideChar]
test eax, eax
jne 0x140015182
call fcn.140012da0
jmp 0x1400151a5
mov ecx, eax
mov rax, qword [rsp + 0x70]
mov word [rax + rcx*2], r14w
mov r8d, dword [rsp + 0x4e0]
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.140014e10
mov ebx, eax
test rdi, rdi
je 0x1400151b6
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_FreeLibrary]
nop
lea rax, [rsp + 0x78]
cmp qword [rsp + 0x70], rax
je 0x1400151cd
lea rcx, [rsp + 0x70]
call fcn.140013560
nop
mov eax, ebx
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.140027c60
add rsp, 0x490
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
Function at 0x140015a40
Capabilities:
Set registry value

Disassembly:
mov dword [rsp + 0x18], r8d
sub rsp, 0x38
mov rcx, qword [rcx]
lea rax, [rsp + 0x50]
mov dword [rsp + 0x28], 4
mov r9d, 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
add rsp, 0x38
ret

Function at 0x140015a80
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x38
mov r9, r8
mov r10, rdx
test r8, r8
jne 0x140015a98
lea eax, [r8 + 0xd]
add rsp, 0x38
ret
xor r8d, r8d
mov rdx, r9
nop
or rax, 0xffffffffffffffff
inc rax
cmp word [rdx + rax*2], 0
jne 0x140015aa4
inc eax
lea rdx, [rdx + rax*2]
lea r8d, [r8 + rax*2]
cmp eax, 1
jne 0x140015aa0
mov rcx, qword [rcx]
mov rdx, r10
mov dword [rsp + 0x28], r8d
xor r8d, r8d
mov qword [rsp + 0x20], r9
lea r9d, [rax + 6]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
add rsp, 0x38
ret
Function at 0x1400219e0
Capabilities:
Create service

Disassembly:
push rdi
sub rsp, 0xa90
mov rax, qword [0x1400700d0]
xor rax, rsp
mov qword [rsp + 0xa80], rax
mov rdi, rcx
call fcn.140021cb0
test eax, eax
je 0x140021a11
mov eax, 1
jmp 0x140021bc5
mov r8d, 0x104
lea rdx, [rsp + 0x72]
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetModuleFileNameW]
test eax, eax
je 0x140021bf7
cmp eax, 0x104
je 0x140021bf7
lea ecx, [rax + 1]
mov r8d, 0x22
mov word [rsp + 0x70], r8w
mov word [rsp + rcx*2 + 0x70], r8w
lea ecx, [rax + 2]
add rcx, rcx
cmp rcx, 0x20c
jae 0x140021c3d
mov qword [rsp + 0xaa8], rbx
xor edx, edx
mov qword [rsp + 0xab0], rsi
mov r8d, 0xf003f
xor esi, esi
mov word [rsp + rcx + 0x70], si
xor ecx, ecx
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_OpenSCManagerW]
mov rbx, rax
test rax, rax
jne 0x140021af8
mov r8d, 0x400
lea rdx, [rsp + 0x280]
mov ecx, 0xd80a
call fcn.140020fe0
test eax, eax
jne 0x140021bb3
lea r8, str.Could_not_open_Service_Manager
mov edx, 0x400
lea rcx, [rsp + 0x280]
call fcn.14002f3d0
test eax, eax
je 0x140021bb3
cmp eax, 0xc
je 0x140021c11
cmp eax, 0x16
je 0x140021c06
cmp eax, 0x22
je 0x140021c06
cmp eax, 0x50
je 0x140021bb3
jmp 0x140021bfb
mov qword [rsp + 0x60], rsi
lea rax, str.RPCSS
mov qword [rsp + 0x58], rsi
lea rdx, [rdi + 0x68]
mov qword [rsp + 0x50], rax
mov r9d, 0xf01ff
mov qword [rsp + 0x48], rsi
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rsi
mov r8, rdx
mov qword [rsp + 0x38], rax
mov rcx, rbx
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], reloc.OLEAUT32.dll_SafeArrayGetDim
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_CreateServiceW]
test rax, rax
jne 0x140021bde
mov rcx, rbx
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_CloseServiceHandle]
mov r8d, 0x400
lea rdx, [rsp + 0x280]
mov ecx, 0xd80b
call fcn.140020fe0
test eax, eax
jne 0x140021bb3
lea r8, str.Could_not_start_service
mov edx, 0x400
lea rcx, [rsp + 0x280]
call fcn.14002f3d0
test eax, eax
je 0x140021bb3
cmp eax, 0xc
je 0x140021c32
cmp eax, 0x16
je 0x140021c27
cmp eax, 0x22
je 0x140021c27
cmp eax, 0x50
jne 0x140021c1c
xor eax, eax
mov rbx, qword [rsp + 0xaa8]
mov rsi, qword [rsp + 0xab0]
mov rcx, qword [rsp + 0xa80]
xor rcx, rsp
call fcn.140027c60
add rsp, 0xa90
pop rdi
ret
mov rcx, rax
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_CloseServiceHandle]
mov rcx, rbx
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_CloseServiceHandle]
mov eax, 1
jmp 0x140021bb5
xor eax, eax
jmp 0x140021bc5
mov ecx, 0x80004005
call fcn.140012fd0
int3
mov ecx, 0x80070057
call fcn.140012fd0
int3
mov ecx, 0x8007000e
call fcn.140012fd0
int3
mov ecx, 0x80004005
call fcn.140012fd0
int3
mov ecx, 0x80070057
call fcn.140012fd0
int3
mov ecx, 0x8007000e
call fcn.140012fd0
int3
call fcn.140027f14
int3
Function at 0x140024320
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
xor r9d, r9d
xor ecx, ecx
xor r8d, r8d
xor edx, edx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_CreateEventW]
mov qword [rbx + 0x50], rax
test rax, rax
jne 0x140024348
add rsp, 0x30
pop rbx
ret
lea rax, [rsp + 0x40]
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x28], rax
lea r8, [0x140021d30]
mov r9, rbx
mov dword [rsp + 0x20], 0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
mov rdi, rax
test rax, rax
jne 0x140024389
mov rcx, qword [rbx + 0x50]
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov qword [rbx + 0x50], rdi
mov rax, rdi
mov rdi, qword [rsp + 0x48]
add rsp, 0x30
pop rbx
ret
Function at 0x1400338d0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x14003375b
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetModuleHandleW]
test rax, rax
je 0x14003375b
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14003375b
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14003375b
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14003375b
cmp dword [rcx + 0x84], 0xe
jbe 0x14003375b
cmp dword [rcx + 0xf8], 0
je 0x14003375b
mov ecx, ebx
call fcn.1400337fc
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.1400335d8
cmp dword [rbp + 0x20], 0
je 0x1400337a8
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1400337b0
int3
xor r8d, r8d
xor edx, edx
jmp 0x1400336f4
Function at 0x140038dc0
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
jne 0x140038ae6
call fcn.14002c0fc
mov dword [rax], reloc.OLEAUT32.dll_SafeArrayAccessData
call fcn.14002be98
jmp 0x140038c31
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x140038c31
mov eax, dword [rcx + 0x14]
shr eax, 0xc
test al, 1
jne 0x140038c31
mov eax, dword [rcx + 0x14]
shr eax, 1
test al, 1
je 0x140038b15
lock or dword [rcx + 0x14], 0x10
jmp 0x140038c31
lock or dword [rcx + 0x14], 1
mov eax, dword [rcx + 0x14]
test eax, 0x4c0
jne 0x140038b29
call fcn.140039160
mov esi, dword [rbx + 0x10]
cmp esi, 1
jne 0x140038b39
mov rax, qword [rbx]
mov bpl, byte [rax]
jmp 0x140038b3c
xor bpl, bpl
mov rdi, qword [rbx + 8]
mov rcx, rbx
mov qword [rbx], rdi
call fcn.1400386d8
mov r8d, dword [rbx + 0x20]
mov ecx, eax
mov rdx, rdi
call fcn.140042d38
mov dword [rbx + 0x10], eax
lea ecx, [rax + 1]
cmp ecx, 2
jbe 0x140038c1f
mov eax, dword [rbx + 0x14]
test al, 6
jne 0x140038bcd
mov rcx, rbx
call fcn.1400386d8
cmp eax, 0xffffffff
je 0x140038bb8
mov rcx, rbx
call fcn.1400386d8
cmp eax, 0xfffffffe
je 0x140038bb8
mov rcx, rbx
call fcn.1400386d8
movsxd rdi, eax
lea r14, [0x140073530]
mov rcx, rbx
sar rdi, 6
call fcn.1400386d8
mov rcx, qword [r14 + rdi*8]
and eax, 0x3f
shl rax, 6
lea rdx, [rax + rcx]
jmp 0x140038bbf
lea rdx, [0x140070490]
mov al, byte [rdx + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x140038bcd
lock or dword [rbx + 0x14], 0x20
cmp dword [rbx + 0x20], 0x200
jne 0x140038bf1
mov eax, dword [rbx + 0x14]
shr eax, 6
test al, 1
je 0x140038bf1
mov eax, dword [rbx + 0x14]
shr eax, 8
test al, 1
jne 0x140038bf1
mov dword [rbx + 0x20], 0x1000
mov rax, qword [rbx]
cmp esi, 1
jne 0x140038c0f
movzx ecx, byte [rax]
dec dword [rbx + 0x10]
shl cx, 8
movzx eax, bpl
or cx, ax
inc qword [rbx]
jmp 0x140038c1a
movzx ecx, word [rax]
add dword [rbx + 0x10], 0xfffffffe
add qword [rbx], 2
movzx eax, cx
jmp 0x140038c36
neg eax
sbb eax, eax
and eax, 8
add eax, 8
lock or dword [rbx + 0x14], eax
and dword [rbx + 0x10], 0
mov eax, 0xffff
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
jmp 0x140038ab0
Function at 0x1400114bf
Capabilities:
Terminate process

Disassembly:
jmp 0x14001db90
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x1400115fa
Capabilities:
Parse pe header

Disassembly:
jmp 0x14001eee0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14001ef00
xor al, al
jmp 0x14001ef81
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14001ef13
xor al, al
jmp 0x14001ef81
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14001ef3d
xor al, al
jmp 0x14001ef81
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x14001ef51
xor al, al
jmp 0x14001ef81
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x14001ef63
xor al, al
jmp 0x14001ef81
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001ef7f
xor al, al
jmp 0x14001ef81
mov al, 1
add rsp, 0x38
ret
Function at 0x140011744
Capabilities:
Enumerate processes

Disassembly:
jmp 0x140017960
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x528
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xe2
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x548]
mov rax, qword [0x14002d040]
xor rax, rbp
mov qword [rbp + 0x4f8], rax
lea rcx, [0x140033100]
call fcn.140011898
mov dword [rbp + 0x10], 0x238
xor edx, edx
mov ecx, 2
call fcn.140011415
mov qword [rbp + 0x268], rax
cmp qword [rbp + 0x268], 0xffffffffffffffff
jne 0x140017a01
lea rdx, str.Failed_to_take_a_process_snapshot.
lea rcx, [rbp + 0x448]
call fcn.1400113d9
nop
lea rcx, [rbp + 0x448]
call fcn.1400118e3
nop
lea rcx, [rbp + 0x448]
call fcn.14001119a
xor eax, eax
jmp 0x140017ae4
mov rax, qword [rbp + 0x520]
mov r8, rax
lea rdx, [rbp + 0x288]
mov rcx, qword [rbp + 0x520]
call fcn.140011348
nop
lea rdx, [rbp + 0x10]
mov rcx, qword [rbp + 0x268]
call fcn.140011546
test eax, eax
je 0x140017a8e
lea rcx, [rbp + 0x288]
call fcn.1400112c6
mov rdx, rax
lea rcx, [rbp + 0x3c]
call qword [sym.imp.ucrtbased.dll__wcsicmp]
test eax, eax
jne 0x140017a7a
mov rcx, qword [rbp + 0x268]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rbp + 0x18]
mov dword [rbp + 0x484], eax
lea rcx, [rbp + 0x288]
call fcn.14001179e
mov eax, dword [rbp + 0x484]
jmp 0x140017ae4
lea rdx, [rbp + 0x10]
mov rcx, qword [rbp + 0x268]
call fcn.1400117a3
test eax, eax
jne 0x140017a33
mov rcx, qword [rbp + 0x268]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, str.Process_not_found.
lea rcx, [rbp + 0x4a8]
call fcn.1400113d9
nop
lea rcx, [rbp + 0x4a8]
call fcn.14001184d
nop
lea rcx, [rbp + 0x4a8]
call fcn.14001119a
mov dword [rbp + 0x4e4], 0
lea rcx, [rbp + 0x288]
call fcn.14001179e
mov eax, dword [rbp + 0x4e4]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x1400264b0]
call fcn.14001173f
mov rax, rdi
mov rcx, qword [rbp + 0x4f8]
xor rcx, rbp
call fcn.140011433
lea rsp, [rbp + 0x508]
pop rdi
pop rbp
ret
Function at 0x140007924
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x40]
sub rsp, 0x140
lea rax, [0x1400e5048]
mov dword [rsp + 0x38], 0x55
mov qword [rcx], rax
xor edx, edx
lea rax, str.base_stor_vssmodulescoord_src_admin.cxx
mov dword [rsp + 0x3c], 1
mov qword [rsp + 0x20], rax
mov rbx, rcx
lea rax, [0x1400e7e10]
mov dword [rsp + 0x40], 0xff
mov qword [rsp + 0x28], rax
lea r8d, [rdx + 0x78]
lea rax, str.CORADMNC
mov dword [rbp - 0x40], 0x1000000
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x30], rax
call sub.msvcrt.dll_memset
xor r8d, r8d
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x30]
call fcn.140003840
lea rcx, [rbp - 0x30]
call fcn.140003960
lea rcx, [rbx + 8]
mov rbx, qword [rsp + 0x150]
add rsp, 0x140
pop rbp
jmp fcn.140002d70
Function at 0x140008110
Capabilities:
Resume thread

Disassembly:
mov rax, rsp
push rbp
push rdi
push r13
push r14
push r15
lea rbp, [rax - 0x78]
sub rsp, 0x150
mov qword [rbp - 0x28], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rdi, rcx
lea rsi, str.base_stor_vssincworker.hxx
mov qword [rsp + 0x30], rsi
lea r14, str.CVssWorkerThread::StartJob
mov qword [rsp + 0x38], r14
lea r15, str.INCWORKH
mov qword [rsp + 0x40], r15
mov dword [rsp + 0x48], 0x171
mov dword [rsp + 0x4c], 1
mov dword [rsp + 0x50], 0xff
xor ebx, ebx
mov dword [rbp - 0x30], 0x1000000
lea r13d, [rbx + 0x78]
mov r8d, r13d
xor edx, edx
lea rcx, [rsp + 0x58]
call sub.msvcrt.dll_memset
xor r8d, r8d
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x20]
call fcn.140003840
nop
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x140029c93
cmp dword [rdi + 0x1c], 2
jne 0x140029c93
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_2.dll_ResumeThread]
cmp eax, 0xffffffff
je 0x140029bbc
mov byte [rdi + 0x20], 1
lea rcx, [rbp - 0x20]
call fcn.140003960
mov eax, ebx
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x40], r15
mov dword [rsp + 0x48], 0x184
mov dword [rsp + 0x4c], reloc.VssTrace.DLL_Ordinal_11
mov dword [rsp + 0x50], 0xff
mov dword [rbp - 0x30], 0x1000000
mov r8, r13
xor edx, edx
lea rcx, [rsp + 0x58]
call sub.msvcrt.dll_memset
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
mov ecx, dword [rdi + 0x1c]
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], eax
mov r9, qword [rdi + 0x10]
lea r8, str.ResumeThread__p____1__GetLastError____0x_08lx__m_eThreadState___d
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x20]
call fcn.1400b7b18
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x40], r15
mov dword [rsp + 0x48], 0x187
mov dword [rsp + 0x4c], reloc.VssTrace.DLL_Ordinal_11
mov dword [rsp + 0x50], 0xff
mov dword [rbp - 0x30], 0x1000000
mov r8, r13
xor edx, edx
lea rcx, [rsp + 0x58]
call sub.msvcrt.dll_memset
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
mov r9d, eax
mov eax, dword [rdi + 0x1c]
mov dword [rsp + 0x20], eax
lea r8, str.ResumeThread_failed._Error:_0x_08lx._State:__d
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x20]
call fcn.1400037d0
mov dword [rdi + 0x1c], 5
mov eax, 0x8007000e
jmp 0x140029cee
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x40], r15
mov dword [rsp + 0x48], 0x176
mov dword [rsp + 0x4c], reloc.VssTrace.DLL_Ordinal_11
mov dword [rsp + 0x50], 0xff
mov dword [rbp - 0x30], 0x1000000
mov r8, r13
xor edx, edx
lea rcx, [rsp + 0x58]
call sub.msvcrt.dll_memset
mov r9d, dword [rdi + 0x1c]
lea r8, str.Bad_state__d
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x20]
call fcn.1400037d0
mov eax, 0x8000ffff
mov ebx, eax
jmp 0x1400081cd
Function at 0x14001daa0
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x50]
sub rsp, 0x150
mov qword [rbp - 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x198], rbx
mov rdi, r9
mov rsi, r8
mov r14d, edx
mov rbx, rcx
lea r15, str.base_stor_vssinc_vs_vol.hxx
mov qword [rsp + 0x30], r15
lea r12, str.GetVolumeNameWithCheck
mov qword [rsp + 0x38], r12
lea r13, str.INCVOLH
mov qword [rsp + 0x40], r13
mov dword [rsp + 0x48], 0x15b
mov dword [rsp + 0x4c], reloc.VssTrace.DLL_Ordinal_11
mov dword [rsp + 0x50], 0xff
mov dword [rbp - 0x30], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x58]
call sub.msvcrt.dll_memset
xor r8d, r8d
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x20]
call fcn.140003840
nop
xor ecx, ecx
mov word [rdi], cx
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x40], r13
mov dword [rsp + 0x48], 0x163
mov dword [rsp + 0x4c], reloc.VssTrace.DLL_Ordinal_11
mov dword [rsp + 0x50], 0xff
mov dword [rbp - 0x30], 0x1000000
xor edx, edx
lea r8d, [rcx + 0x78]
lea rcx, [rsp + 0x58]
call sub.msvcrt.dll_memset
mov r9, rsi
lea r8, str.GetVolumeNameForVolumeMountPointW_will_be_called_on__s
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x20]
call fcn.1400037d0
mov r8d, dword [rbp + 0xb0]
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_file_l1_2_1.dll_GetVolumeNameForVolumeMountPointW]
test eax, eax
je 0x14003dd84
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x40], r13
mov dword [rsp + 0x48], 0x16b
mov dword [rsp + 0x4c], reloc.VssTrace.DLL_Ordinal_11
mov dword [rsp + 0x50], 0xff
xor esi, esi
mov dword [rbp - 0x30], 0x1000000
xor edx, edx
lea r8d, [rsi + 0x78]
lea rcx, [rsp + 0x58]
call sub.msvcrt.dll_memset
mov r9, rdi
lea r8, str.GetVolumeNameForVolumeMountPointW_succeeded_and_the_output_is__s
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x20]
call fcn.1400037d0
nop
lea rcx, [rbp - 0x20]
call fcn.140003960
nop
cmp byte [rbx + 0xa3], sil
je 0x14001dc46
add rbx, 0x28
lea edi, [rsi + 0xf]
nop word [rax + rax]
mov rcx, qword [rbx]
test rcx, rcx
jne 0x14003ddba
add rbx, 8
sub rdi, 1
jne 0x14001dc30
mov rbx, qword [rsp + 0x198]
add rsp, 0x150
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.14000cd68
mov rbx, rax
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rsi
lea r9, str.GetVolumeNameForVolumeMountPoint__s_...__failed_with_error_code_0x_08lx
mov r8d, r14d
mov rdx, rbx
lea rcx, [rbp - 0x20]
call fcn.1400b8238
nop
call qword [sym.imp.api_ms_win_core_com_l1_1_1.dll_CoTaskMemFree]
mov qword [rbx], rsi
jmp 0x14001dc3c
Function at 0x14001fc90
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0xb0
xor r14d, r14d
mov dword [rsp + 0x20], r14d
lea rcx, [rax - 0x78]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_2.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
mov esi, r14d
xor eax, eax
lock cmpxchg qword [0x140154b40], rbx
je 0x14001fcf7
cmp rax, rbx
jne 0x14001fcea
mov ebx, 1
mov esi, ebx
jmp 0x14001fcfc
mov ecx, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
jmp 0x14001fccf
mov ebx, 1
mov eax, dword [0x140154b48]
cmp eax, ebx
jne 0x14001fd14
mov edi, 0x1f
mov ecx, edi
call sub.msvcrt.dll__amsg_exit
jmp 0x14001fd80
mov eax, dword [0x140154b48]
test eax, eax
jne 0x14001fd75
mov dword [0x140154b48], ebx
lea r15, [0x1400e7038]
lea rdi, [0x1400e7020]
mov qword [rsp + 0x30], rdi
mov eax, r14d
mov dword [rsp + 0x24], eax
cmp rdi, r15
jae 0x14001fd67
test eax, eax
jne 0x14001fd6b
cmp qword [rdi], r14
je 0x14001fd5c
mov rax, qword [rdi]
mov rcx, qword [case.0x140007ddd.0]
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x14001fd3e
test eax, eax
je 0x14001fd7b
mov eax, 0xff
jmp 0x14001fed4
mov dword [0x140154534], ebx
mov edi, 0x1f
mov eax, dword [0x140154b48]
cmp eax, ebx
jne 0x14001fda7
lea rdx, [0x1400e7018]
lea rcx, [0x1400e6fa8]
call sub.msvcrt.dll__initterm
mov dword [0x140154b48], 2
test esi, esi
jne 0x14001fdb5
mov rax, r14
xchg qword [0x140154b40], rax
cmp qword [0x140154b60], r14
je 0x14001fde8
lea rcx, [0x140154b60]
call fcn.1400207c0
test eax, eax
je 0x14001fde8
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x140154b60]
mov r9, qword [case.0x140007ddd.0]
call r9
mov rax, qword [sym.imp.msvcrt.dll__wcmdln]
mov rcx, qword [rax]
test rcx, rcx
jne 0x14001fe01
mov eax, 0xff
jmp 0x14001fed4
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
cmp word [rcx], 0x20
ja 0x14001fe85
cmp word [rcx], r14w
je 0x14001fe1a
test edx, edx
jne 0x14001fe85
movzx eax, word [rcx]
sub ax, bx
cmp ax, di
ja 0x14001fe30
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x14001fe1a
test byte [rsp + 0x7c], bl
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rcx
xor edx, edx
lea rcx, [0x140000000]
call fcn.14001f904
mov dword [0x140154530], eax
cmp dword [0x140154550], r14d
jne 0x14001fe6e
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x140154534], r14d
jne 0x14001fe83
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x140154530]
jmp 0x14001fed4
cmp word [rcx], 0x22
jne 0x14001fe99
mov eax, r14d
test edx, edx
sete al
mov edx, eax
mov dword [rsp + 0x20], eax
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x14001fe0a
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop r15
ret
sub rsp, 0x28
call fcn.1401f1000
add rsp, 0x28
jmp 0x14001fc90
Function at 0x1400206ac
Capabilities:
Parse pe header

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