joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400c63f0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x30
movzx edi, dl
mov rsi, rcx
mov byte [rcx], 0
add rcx, 8
mov edx, 2
call sub.MSVCP140.dll__Mtx_init_in_situ
nop
lea rcx, [rsi + 0x58]
call sub.MSVCP140.dll__Cnd_init_in_situ
nop
lea r14, [rsi + 0xa0]
xor ebp, ebp
mov qword [r14], rbp
lea rbx, [rsi + 0xa8]
mov qword [rsp + 0x70], rbx
mov qword [rbx], rbp
mov qword [rbx + 8], rbp
mov qword [rbx + 0x10], rbp
mov qword [rbx + 0x18], rbp
mov qword [rbx + 0x20], rbp
lea ecx, [rbp + 0x10]
call fcn.14017fa34
mov qword [rax + 8], rbp
mov qword [rbx], rax
mov qword [rax], rbx
test dil, dil
je 0x1400c6516
movzx eax, byte [rsi]
nop
test al, al
jne 0x1400c6516
cmp qword [r14], rbp
jne 0x1400c6516
lea ecx, [rbp + 0x10]
call fcn.14017fa34
mov rbx, rax
mov qword [rsp + 0x70], rax
test rax, rax
je 0x1400c64d6
lea ecx, [rbp + 8]
call fcn.14017fa34
test rax, rax
je 0x1400c64a3
mov qword [rax], rsi
jmp 0x1400c64a6
mov rax, rbp
mov qword [rsp + 0x78], rax
lea rdi, [rbx + 8]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], ebp
mov r9, rax
lea r8, [0x1400c63c0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbx], rax
test rax, rax
je 0x1400c6524
jmp 0x1400c64d9
mov rbx, rbp
lea rax, [rsp + 0x60]
cmp r14, rax
je 0x1400c64f6
mov rcx, qword [r14]
mov qword [r14], rbx
test rcx, rcx
je 0x1400c6516
cmp dword [rcx + 8], 0
jne 0x1400c6501
jmp 0x1400c650b
test rbx, rbx
je 0x1400c6516
cmp dword [rbx + 8], 0
je 0x1400c6508
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
mov rcx, rbx
mov edx, SafeArrayGetLBound
call fcn.14017fa70
nop
mov rax, rsi
add rsp, 0x30
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov dword [rdi], ebp
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3
Function at 0x1400c7000
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push rbx
push rbp
push rsi
push r14
push r15
sub rsp, 0x450
mov rax, qword [0x140304f48]
xor rax, rsp
mov qword [rsp + 0x440], rax
xor r15d, r15d
mov rsi, rdx
mov rbp, rcx
mov rbx, 0xffffffffffffffff
mov r14d, 0x104
test rcx, rcx
je 0x1400c70ac
mov rdx, rcx
mov r8d, r14d
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
lea rcx, [rsp + 0x20]
mov rax, rbx
inc rax
cmp word [rcx + rax*2], r15w
jne 0x1400c7055
test rax, rax
je 0x1400c708f
movzx ecx, word [rsp + rax*2 + 0x1e]
cmp cx, 0x2f
je 0x1400c7075
cmp cx, 0x5c
jne 0x1400c708f
lea rax, [rax*2 - 2]
cmp rax, 0x208
jae 0x1400c71d4
mov word [rsp + rax + 0x20], r15w
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1400c70ac
xor edx, edx
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
movzx eax, word [rsi]
test ax, ax
je 0x1400c71af
mov rdx, rsi
mov rcx, rsi
nop
cmp ax, 0x2f
je 0x1400c70cc
cmp ax, 0x5c
jne 0x1400c70cf
mov rdx, rcx
movzx eax, word [rcx + 2]
add rcx, 2
test ax, ax
jne 0x1400c70c0
mov qword [rsp + 0x490], rdi
cmp rdx, rsi
je 0x1400c7123
sub rdx, rsi
lea rcx, [rsp + 0x20]
sar rdx, 1
lea rdi, [rdx + rdx]
mov rdx, rsi
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
cmp rdi, 0x208
jae 0x1400c71ce
lea rdx, [rsp + 0x20]
mov word [rsp + rdi + 0x20], r15w
mov rcx, rbp
call fcn.1400c7000
mov word [rsp + 0x230], r15w
test rbp, rbp
je 0x1400c7145
mov r8, r14
lea rcx, [rsp + 0x230]
mov rdx, rbp
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
mov word [rsp + 0x436], r15w
lea rax, [rsp + 0x230]
inc rbx
cmp word [rax + rbx*2], r15w
jne 0x1400c7156
sub r14, rbx
lea rcx, [rsp + 0x230]
lea rcx, [rcx + rbx*2]
mov r8, r14
mov rdx, rsi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
lea rcx, [rsp + 0x230]
mov word [rsp + 0x436], r15w
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1400c71a7
xor edx, edx
lea rcx, [rsp + 0x230]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov rdi, qword [rsp + 0x490]
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.140180070
add rsp, 0x450
pop r15
pop r14
pop rsi
pop rbp
pop rbx
ret
call fcn.140180358
int3
call fcn.140180358
int3
Function at 0x1400c7960
Capabilities:
Get common file path

Disassembly:
mov dword [rsp + 0x18], r8d
push rbp
push r13
push r14
sub rsp, 0x50
cmp qword [rcx], 0
mov ebp, r9d
mov r13, rdx
mov r14, rcx
jne 0x1400c7b51
cmp dword [rcx + 8], 0xffffffff
jne 0x1400c7b51
lea rdx, [rcx + 0x250]
mov qword [rsp + 0x70], rbx
mov ecx, 0x103
mov qword [rsp + 0x88], rdi
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov rax, 0xffffffffffffffff
nop dword [rax]
nop word [rax + rax]
cmp word [r14 + rax*2 + 0x252], 0
lea rax, [rax + 1]
jne 0x1400c79c0
movzx ecx, word [r14 + rax*2 + 0x24e]
xor edi, edi
cmp cx, 0x5c
je 0x1400c79f3
cmp cx, 0x2f
je 0x1400c79f3
mov dword [r14 + rax*2 + 0x250], 0x2f
mov qword [rsp + 0x78], rsi
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], r15
cmp ebp, 1
jne 0x1400c7a48
mov r9d, ebp
xor r8d, r8d
xor edx, edx
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x1400c7a59
mov eax, 0x2000000
mov r12, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x78]
mov r15, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x88]
add rsp, 0x50
pop r14
pop r13
pop rbp
ret
lea eax, [rbp - 2]
cmp eax, 1
jbe 0x1400c7a59
mov ecx, 0x10000
mov eax, ecx
jmp 0x1400c7a22
xor r12b, r12b
xor r15b, r15b
mov rsi, rdi
cmp ebp, 1
je 0x1400c7ab0
cmp ebp, 2
jne 0x1400c7ace
mov qword [rsp + 0x30], rdi
lea r8d, [rbp - 1]
mov dword [rsp + 0x28], 0x80
xor r9d, r9d
mov edx, 0x80000000
mov dword [rsp + 0x20], 3
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x1400c7aab
mov ecx, 0x200
mov eax, ecx
jmp 0x1400c7a22
mov r15b, 1
jmp 0x1400c7ab3
mov rsi, r13
mov r9d, 1
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
setne r12b
mov ecx, 0x30
call fcn.14017fa34
lea ecx, [rbp - 1]
mov rbx, rax
cmp ecx, 1
jbe 0x1400c7b02
mov word [rax], 0x100
mov byte [rax + 0x18], dil
mov qword [rax + 0x20], r13
mov eax, dword [rsp + 0x80]
mov dword [rbx + 0x28], eax
mov dword [rbx + 0x2c], edi
mov dword [rbx + 0x14], edi
jmp 0x1400c7b34
mov byte [rax], 1
mov byte [rax + 0x18], r15b
mov byte [rax + 1], r12b
mov qword [rax + 8], rsi
mov byte [rax + 0x10], dil
mov dword [rax + 0x14], edi
test r12b, r12b
je 0x1400c7b34
mov r9d, 1
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [rbx + 0x14], eax
mov rcx, rbx
call fcn.1400cae20
test rax, rax
mov qword [r14], rax
mov ecx, 0x200
cmove edi, ecx
mov eax, edi
jmp 0x1400c7a22
mov eax, 0x1000000
add rsp, 0x50
pop r14
pop r13
pop rbp
ret
Function at 0x1400ca8d0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov r10, r8
mov rdi, r9
imul r10d, edx
mov rsi, rdx
cmp byte [r9], 0
mov r11, rcx
je 0x1400ca92a
mov rdx, rcx
mov qword [rsp + 0x20], 0
mov rcx, qword [rdi + 8]
lea r9, [rsp + 0x48]
mov r8d, r10d
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1400ca916
mov byte [rdi + 0x10], 1
mov eax, dword [rsp + 0x48]
xor edx, edx
div rsi
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov edx, dword [r9 + 0x2c]
mov ecx, dword [r9 + 0x28]
sub ecx, edx
mov qword [rsp + 0x40], rbx
lea eax, [rdx + r10]
cmp eax, dword [r9 + 0x28]
cmovbe ecx, r10d
add rdx, qword [r9 + 0x20]
mov ebx, ecx
mov r8d, ecx
mov rcx, r11
call sub.VCRUNTIME140.dll_memcpy
add dword [rdi + 0x2c], ebx
mov eax, ebx
mov rbx, qword [rsp + 0x40]
xor edx, edx
div rsi
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x1400ca9d0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov r9, rdx
test rdx, rdx
jne 0x1400ca9db
xor eax, eax
ret
lea r11, [0x140275ed0]
not ecx
cmp r8d, 8
jb 0x1400caab1
mov r10d, r8d
shr r10, 3
nop word [rax + rax]
movzx edx, byte [r9]
mov eax, ecx
xor rdx, rax
shr ecx, 8
movzx eax, dl
add r8d, 0xfffffff8
movzx edx, byte [r9 + 1]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 2]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 3]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 4]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 5]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 6]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 7]
add r9, 8
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
xor ecx, dword [r11 + rax*4]
sub r10, 1
jne 0x1400caa00
test r8d, r8d
je 0x1400caadd
nop word [rax + rax]
movzx edx, byte [r9]
lea r9, [r9 + 1]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
xor ecx, dword [r11 + rax*4]
add r8d, 0xffffffff
jne 0x1400caac0
not ecx
mov eax, ecx
ret
Function at 0x1400cac00
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rdx
mov rdi, rcx
test rcx, rcx
je 0x1400cae07
cmp dword [rcx + 0x1c], 0
je 0x1400cae07
cmp qword [rcx + 0x80], 0
je 0x1400cac2f
call fcn.1400caaf0
lea r9, [rsp + 0x50]
mov rcx, rdi
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x58]
call fcn.1400cb4c0
test eax, eax
je 0x1400cac56
mov eax, 0xffffff99
add rsp, 0x28
pop rdi
pop rsi
ret
mov ecx, 0xb0
mov qword [rsp + 0x48], rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
jne 0x1400cac7d
lea eax, [rbx - 0x68]
mov rbx, qword [rsp + 0x48]
add rsp, 0x28
pop rdi
pop rsi
ret
mov ecx, 0x4000
mov qword [rsp + 0x20], rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ecx, dword [rsp + 0x40]
xor ebp, ebp
mov dword [rbx + 0x68], ecx
mov ecx, dword [rsp + 0x50]
mov dword [rbx + 0x6c], ecx
mov qword [rbx], rax
mov dword [rbx + 0x70], ebp
test rax, rax
jne 0x1400cacc5
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [rsp + 0x48]
lea eax, [rbp - 0x68]
mov rbp, qword [rsp + 0x20]
add rsp, 0x28
pop rdi
pop rsi
ret
mov eax, dword [rdi + 0x40]
mov ecx, dword [rdi + 0x38]
mov dword [rbx + 0x78], eax
mov rax, qword [rdi]
mov qword [rbx + 0x88], rax
mov eax, dword [rdi + 0x10]
mov dword [rbx + 0x94], eax
mov dword [rbx + 0x64], ebp
mov dword [rbx + 0x74], ebp
mov dword [rbx + 0x90], ecx
mov dword [rbx + 0x24], ebp
test ecx, ecx
je 0x1400cad14
lea rcx, [rbx + 8]
mov qword [rbx + 0x38], rbp
mov qword [rbx + 0x40], rbp
mov qword [rbx + 0x48], rbp
call fcn.1400c8e70
test eax, eax
jne 0x1400cad14
mov dword [rbx + 0x64], 1
mov eax, dword [rdi + 0x44]
movzx ecx, byte [rdi + 0x34]
mov dword [rbx + 0x7c], eax
and cl, 1
mov eax, dword [rdi + 0x48]
mov dword [rbx + 0x80], eax
mov eax, dword [rdi + 0x34]
shr eax, 3
mov byte [rbx + 0x98], cl
test al, 1
je 0x1400cad40
movzx eax, byte [rdi + 0x3d]
jmp 0x1400cad44
movzx eax, byte [rdi + 0x43]
mov byte [rbx + 0xac], al
neg cl
mov dword [rbx + 0x9c], 0x12345678
sbb eax, eax
mov dword [rbx + 0xa0], 0x23456789
and eax, 0xc
mov dword [rbx + 0xa4], 0x34567890
mov dword [rbx + 0xa8], eax
test rsi, rsi
je 0x1400caddb
lea r8, [0x140275ed0]
movzx eax, byte [rsi]
test al, al
je 0x1400caddb
mov edx, dword [rbx + 0x9c]
xor rax, rdx
movzx ecx, al
shr edx, 8
xor edx, dword [r8 + rcx*4]
mov ecx, dword [rbx + 0xa4]
movzx eax, dl
add eax, dword [rbx + 0xa0]
mov dword [rbx + 0x9c], edx
imul edx, eax, 0x8088405
movzx eax, cl
shr ecx, 8
inc edx
mov dword [rbx + 0xa0], edx
shr rdx, 0x18
xor rax, rdx
xor ecx, dword [r8 + rax*4]
mov dword [rbx + 0xa4], ecx
add rsi, 1
jne 0x1400cad81
mov eax, dword [rsp + 0x58]
mov ecx, dword [rdi + 0x7c]
add eax, 0x1e
add ecx, eax
mov dword [rbx + 0x10], ebp
mov rbp, qword [rsp + 0x20]
xor eax, eax
mov dword [rbx + 0x60], ecx
mov qword [rdi + 0x80], rbx
mov rbx, qword [rsp + 0x48]
add rsp, 0x28
pop rdi
pop rsi
ret
mov eax, 0xffffff9a
add rsp, 0x28
pop rdi
pop rsi
ret
Function at 0x1400cbed0
Capabilities:
Read file on windows

Disassembly:
push rbx
push r14
sub rsp, 0x38
cmp byte [rcx], 0
mov r14, rdx
mov qword [rsp + 0x58], rbp
mov rbx, rcx
mov qword [rsp + 0x30], rdi
mov edi, 1
je 0x1400cbf20
mov rcx, qword [rcx + 8]
lea r9, [rsp + 0x60]
mov r8d, edi
mov qword [rsp + 0x20], 0
lea rdx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1400cbf1a
mov byte [rbx + 0x10], dil
mov ebp, dword [rsp + 0x60]
jmp 0x1400cbf57
mov qword [rsp + 0x68], rsi
mov esi, dword [rcx + 0x2c]
mov ecx, dword [rcx + 0x28]
lea eax, [rsi + 1]
cmp eax, ecx
jbe 0x1400cbf36
mov edi, ecx
sub edi, esi
mov rdx, rsi
mov r8d, edi
add rdx, qword [rbx + 0x20]
lea rcx, [rsp + 0x50]
mov ebp, edi
call sub.VCRUNTIME140.dll_memcpy
lea eax, [rsi + rdi]
mov rsi, qword [rsp + 0x68]
mov dword [rbx + 0x2c], eax
mov rdi, qword [rsp + 0x30]
cmp ebp, 1
mov rbp, qword [rsp + 0x58]
jne 0x1400cbf78
movzx eax, byte [rsp + 0x50]
mov dword [r14], eax
xor eax, eax
add rsp, 0x38
pop r14
pop rbx
ret
cmp byte [rbx], 0
je 0x1400cbf6e
cmp byte [rbx + 0x10], 0
je 0x1400cbf6e
mov eax, 0xffffffff
add rsp, 0x38
pop r14
pop rbx
ret
Function at 0x1400d04f0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov rbp, r8
mov rbx, rdx
mov rsi, rcx
lea r15, [rcx + 8]
mov qword [rsp + 0x20], r15
mov byte [rsp + 0x28], 0
mov rcx, r15
call sub.MSVCP140.dll__Mtx_lock
test eax, eax
jne 0x1400d060b
mov byte [rsp + 0x28], 1
mov r8, qword [rbx + 0x10]
mov rdx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x1400d0545
mov rdx, qword [rbx]
xor ecx, ecx
movabs r9, 0xcbf29ce484222325
test r8, r8
je 0x1400d0573
movabs r10, 0x100000001b3
movzx eax, byte [rcx + rdx]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x1400d0560
mov r8, rbx
lea rdx, [rsp + 0x30]
lea rcx, [rsi + 0x58]
call fcn.14006aa20
mov rdi, qword [rax + 8]
test rdi, rdi
jne 0x1400d0591
mov rdi, qword [rsi + 0x60]
cmp rdi, qword [rsi + 0x60]
je 0x1400d05eb
mov rax, qword [rdi + 0x30]
mov rbx, qword [rax]
cmp rbx, rax
je 0x1400d05eb
mov rdx, rbp
lea rcx, [rbx + 0x10]
call sub.base.dll_protected:_bool___cdecl_base::internal::CallbackBase::EqualsInternal_class_base::internal::CallbackBase_const____ptr64_const___ptr64
test al, al
jne 0x1400d05bb
cmp rbx, qword [rdi + 0x30]
jne 0x1400d05a3
jmp 0x1400d05eb
mov rdx, qword [rbx + 8]
mov rax, qword [rbx]
mov qword [rdx], rax
mov rdx, qword [rbx]
mov rax, qword [rbx + 8]
mov qword [rdx + 8], rax
dec qword [rdi + 0x38]
lea rcx, [rbx + 0x10]
call sub.base.dll_protected:_void___cdecl_base::internal::CallbackBase::destructor_void____ptr64
mov edx, 0x20
mov rcx, rbx
call fcn.14017fa70
nop
mov rcx, r15
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rdi
jmp sub.MSVCP140.dll__Mtx_unlock
mov ecx, eax
call sub.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_
int3
Function at 0x1400df120
Capabilities:
Create process on windows

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
push rdi
sub rsp, 0xe0
mov rax, qword [0x140304f48]
xor rax, rsp
mov qword [rsp + 0xd0], rax
mov rcx, rdx
lea rdx, [r11 - 0x38]
call qword [sym.imp.Qt6Core.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_QString::toStdWString_void____ptr64]
nop
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x74], xmm0
movups xmmword [rsp + 0x84], xmm0
movups xmmword [rsp + 0x94], xmm0
mov qword [rsp + 0xa4], rax
mov dword [rsp + 0xac], eax
mov dword [rsp + 0x40], 0x70
mov dword [rsp + 0x44], 0x40
xor ecx, ecx
mov qword [rsp + 0x48], rcx
lea rax, str.runas
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x68], rcx
mov dword [rsp + 0x70], 1
lea rax, [rsp + 0xb0]
cmp qword [rsp + 0xc8], 8
cmovae rax, qword [rsp + 0xb0]
mov qword [rsp + 0x58], rax
lea rax, [0x140279780]
mov qword [rsp + 0x60], rax
lea rdi, [rcx - 1]
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x1400df309
lea edx, [rdi + 0x5d]
lea rbx, str.C:.image_jenkinsworkspaceCC_Windows_Release_2VECommonCommonDriverCheckupdateDriver.cpp
mov rcx, rbx
call sub.VCRUNTIME140.dll_strrchr
test rax, rax
je 0x1400df219
lea edx, [rdi + 0x5d]
mov rcx, rbx
call sub.VCRUNTIME140.dll_strrchr
inc rax
jmp 0x1400df21c
mov rax, rbx
lea rbp, str.UpdateDriver::CreateUpdateDriverProcess
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x20], 0x857
mov r9, rax
lea r8, str.__s:_d__s__ShellExecuteEx_success
mov rdx, qword [str.COMMON]
mov ecx, 0x1000
call fcn.14007f790
mov rax, qword [rsp + 0xa8]
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x1400df2b1
mov edx, 0x5c
mov rcx, rbx
call sub.VCRUNTIME140.dll_strrchr
test rax, rax
je 0x1400df27f
mov edx, 0x5c
mov rcx, rbx
call sub.VCRUNTIME140.dll_strrchr
lea rbx, [rax + 1]
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x20], 0x85b
mov r9, rbx
lea r8, str.__s:_d__s__hProcess_is_valid
mov rdx, qword [str.COMMON]
mov ecx, 0x1000
call fcn.14007f790
mov rdi, qword [rsp + 0xa8]
jmp 0x1400df309
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov edx, 0x5c
mov rcx, rbx
call sub.VCRUNTIME140.dll_strrchr
test rax, rax
je 0x1400df2dc
mov edx, 0x5c
mov rcx, rbx
call sub.VCRUNTIME140.dll_strrchr
lea rbx, [rax + 1]
mov dword [rsp + 0x30], esi
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x20], 0x859
mov r9, rbx
lea r8, str.__s:_d__s__hProcess_is_invalid_error:_d
mov rdx, qword [str.COMMON]
mov ecx, 0x1000
call fcn.14007f790
nop
mov rdx, qword [rsp + 0xc8]
cmp rdx, 8
jb 0x1400df354
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xb0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400df34f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400df34f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14017fa70
mov rax, rdi
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.140180070
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x1400e25f0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x40
xor eax, eax
mov dword [rsp + 0x68], 4
mov qword [rsp + 0x30], rax
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem_
mov dword [rsp + 0x58], eax
mov r9d, 0x20019
lea rax, [rsp + 0x30]
mov dword [rsp + 0x60], 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000002
xor bl, bl
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400e2683
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x68]
lea rax, [rsp + 0x58]
xor r8d, r8d
lea rdx, str.EnableLUA
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400e2678
cmp dword [rsp + 0x58], 1
sete bl
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx eax, bl
add rsp, 0x40
pop rbx
ret

Function at 0x1400e2f30
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x248
mov rax, qword [0x140304f48]
xor rax, rsp
mov qword [rsp + 0x230], rax
lea rcx, str.StartupJianYing
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov r8d, 0x104
lea rdx, [rsp + 0x20]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rcx, [rsp + 0x20]
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea rdx, str.CapCut.exe
lea rcx, [rsp + 0x20]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rdx, [0x140279780]
lea rcx, [rsp + 0x20]
call fcn.1400dee70
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.140180070
add rsp, 0x248
ret
Function at 0x1400eac10
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x140304f48]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rdx + 0x10], 0
mov rdi, rcx
je 0x1400ead4d
xor ebx, ebx
cmp qword [rdx + 0x18], 8
mov qword [rsp + 0x30], rbx
jb 0x1400eac48
mov rdx, qword [rdx]
lea r8, [0x14027a604]
lea rcx, [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__wfopen_s]
test eax, eax
jne 0x1400ead4d
mov r9, qword [rsp + 0x30]
test r9, r9
je 0x1400ead4d
movzx ecx, byte [rdi]
test ecx, ecx
je 0x1400eacd8
sub ecx, 1
je 0x1400eac8e
cmp ecx, 1
jne 0x1400eac9d
mov rcx, qword [rdi + 8]
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
jmp 0x1400eac96
mov rax, qword [rdi + 8]
cmp qword [rax + 8], rbx
sete al
test al, al
jne 0x1400eacd8
mov dword [rsp + 0x28], ebx
lea rdx, [rsp + 0x38]
mov r9b, 0x20
mov byte [rsp + 0x20], bl
mov r8d, 2
mov rcx, rdi
call fcn.140010c10
cmp qword [rsp + 0x50], 0x10
lea rcx, [rsp + 0x38]
mov r9, qword [rsp + 0x30]
cmovae rcx, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x48]
jmp 0x1400eacf0
mov qword [rsp + 0x38], rbx
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x50], SafeArrayGetLBound
mov qword [rsp + 0x48], rbx
mov r8, rbx
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rdx, qword [rsp + 0x50]
cmp rdx, 0x10
jb 0x1400ead49
mov rcx, qword [rsp + 0x38]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400ead44
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400ead44
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14017fa70
mov al, 1
jmp 0x1400ead4f
xor al, al
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140180070
mov rbx, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
Function at 0x140107440
Capabilities:
Connect to wmi namespace via wbemlocator
Reference wmi statements

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rsi
push rdi
push r14
sub rsp, 0x90
mov rdi, rdx
mov rsi, rcx
xor r14d, r14d
mov qword [rax - 0x48], r14
mov qword [rax + 0x20], r14
mov qword [rax - 0x40], r14
mov qword [rax - 0x50], r14
mov dword [rax + 0x18], r14d
mov ebx, r14d
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
js 0x14010761f
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, [0x1402a2fa8]
xor edx, edx
lea r8d, [r14 + 1]
lea rcx, [0x1402a2fb8]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x140107619
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
lea rdx, [rsp + 0xc8]
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], r14
xor r9d, r9d
xor r8d, r8d
lea rdx, str.ROOTCIMV2
call qword [rax + SafeArrayPutElement]
test eax, eax
js 0x140107619
mov dword [rsp + 0x38], r14d
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
lea edx, [r14 + 0xa]
mov rcx, qword [rsp + 0xc8]
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
js 0x140107619
mov rcx, qword [rsp + 0xc8]
mov rax, qword [rcx]
lea rdx, [rsp + 0x68]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], r14
lea r9d, [r14 + 0x30]
lea r8, str.SELECT__FROM_Win32_QuickFixEngineering
lea rdx, [0x140284438]
call qword [rax + 0xa0]
test eax, eax
js 0x140107619
nop dword [rax]
nop word [rax + rax]
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14010761f
mov rax, qword [rcx]
lea rdx, [rsp + 0xc0]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x58]
mov edx, 0xffffffff
lea r8d, [rdx + 2]
call qword [rax + 0x20]
cmp dword [rsp + 0xc0], 0
je 0x14010761f
lea rcx, [rsp + 0x70]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x70]
xor r8d, r8d
lea rdx, str.HotFixID
call qword [rax + 0x20]
test eax, eax
js 0x140107614
cmp word [rsp + 0x70], 8
jne 0x140107614
mov r8, qword [rsp + 0x78]
test r8, r8
je 0x1401075f9
mov rdx, rdi
mov rcx, rsi
call fcn.1401077f0
lea rcx, [rsp + 0x70]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
inc ebx
mov dword [rsp + 0x50], ebx
mov qword [rsp + 0x58], r14
jmp 0x140107570
jmp 0x140107570
call qword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x140107621
mov rbx, qword [rsp + 0xb0]
add rsp, 0x90
pop r14
pop rdi
pop rsi
ret