joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140096b20
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x290
mov rax, qword [0x14057b900]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov rbx, rcx
xor edx, edx
mov ecx, 0x40000002
xor edi, edi
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x140096b93
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x18
jne 0x140096bcf
mov ecx, edi
inc edi
cmp ecx, 0x32
jae 0x140096bc9
lea ecx, [rax + 0x1a]
call qword [sym.imp.KERNEL32.dll_Sleep]
xor edx, edx
mov ecx, 0x40000002
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x140096b60
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x40], 0x238
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
cmp eax, 1
jne 0x140096c46
mov rdx, qword [rbx + 8]
cmp rdx, qword [rbx + 0x10]
je 0x140096c22
mov eax, dword [rsp + 0x48]
mov dword [rdx], eax
add qword [rbx + 8], 4
jmp 0x140096c2f
cmp rsi, 0xffffffffffffffff
jne 0x140096b93
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call fcn.14002c3f0
mov dword [rsp + 0x38], ebx
lea rcx, str.CreateToolhelp32Snapshot_call_failed_with_error___d_._Cannot_enumerate_processes_on_this_system_
mov qword [rsp + 0x30], rcx
lea r8, str.D:JenkinsworkspaceN_MBCommon_vs2022_srcmbcommonProcessUtils.cpp
lea rcx, str.ProcessUtils
mov r9d, 0x9f
mov r10, qword [rax]
lea rdx, str.mb::common::system::ProcessUtils::EnumerateProcesses
mov qword [rsp + 0x28], rcx
mov rcx, rax
mov dword [rsp + 0x20], 4
call qword [r10 + 0x20]
mov eax, ebx
jmp 0x140096c51
lea r8, [rsp + 0x48]
mov rcx, rbx
call fcn.1400996c0
lea rdx, [rsp + 0x40]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
cmp eax, 1
je 0x140096bb2
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.14014f4f0
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x1400a88f0
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r13
push r14
sub rsp, 0x280
mov rax, qword [0x14057b900]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov r14, rdx
mov rdi, rcx
mov qword [rsp + 0x50], rcx
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov r8d, 2
lea rdx, [0x140504e8c]
lea rcx, [rsp + 0x30]
call fcn.14001fb40
nop
xor r8d, r8d
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.140087be0
mov rbx, qword [rdi + 0x10]
cmp rbx, rax
cmovb rax, rbx
mov rcx, rdi
cmp qword [rdi + 0x18], 7
jbe 0x1400a8971
mov rcx, qword [rdi]
sub rbx, rax
lea rdx, [rcx + rax*2]
lea r8, [rbx*2 + 2]
call fcn.1403ebbf0
mov qword [rdi + 0x10], rbx
mov rdx, qword [rsp + 0x48]
cmp rdx, 7
jbe 0x1400a89cb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a89c6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400a8b5f
call fcn.14014f510
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xor r13d, r13d
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x48], r13
lea r8d, [r13 + 1]
lea rdx, [0x1404f3ab0]
lea rcx, [rsp + 0x30]
call fcn.14001fb40
nop
lea r9, [rsp + 0x30]
mov rsi, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x48]
cmp rbp, 7
cmova r9, rsi
mov rcx, rdi
cmp qword [rdi + 0x18], 7
jbe 0x1400a8a1a
mov rcx, qword [rdi]
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov rbx, 0xffffffffffffffff
mov r8, rbx
mov rdx, qword [rdi + 0x10]
call fcn.140087d70
lea rcx, [rax + 1]
cmp qword [rdi + 0x10], rcx
jb 0x1400a8b65
mov rax, rdi
cmp qword [rdi + 0x18], 7
jbe 0x1400a8a52
mov rax, qword [rdi]
mov qword [rdi + 0x10], rcx
mov word [rax + rcx*2], r13w
cmp rbp, 7
jbe 0x1400a8a96
lea rdx, [rbp*2 + 2]
mov rax, rsi
cmp rdx, 0x1000
jb 0x1400a8a8e
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400a8b5f
mov rcx, rsi
call fcn.14014f510
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x60]
call fcn.1403ec370
mov rcx, rdi
cmp qword [rdi + 0x18], 7
jbe 0x1400a8ab5
mov rcx, qword [rdi]
mov r8d, 0x104
lea rdx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
jne 0x1400a8ad6
mov rcx, rdi
call fcn.140021d30
xor al, al
jmp 0x1400a8b38
lea rax, [rsp + 0x60]
nop dword [rax + rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1400a8ae0
mov rax, qword [r14 + 0x18]
cmp rbx, rax
ja 0x1400a8b1d
mov rsi, r14
cmp rax, 7
jbe 0x1400a8aff
mov rsi, qword [r14]
mov qword [r14 + 0x10], rbx
add rbx, rbx
mov r8, rbx
lea rdx, [rsp + 0x60]
mov rcx, rsi
call fcn.1403ebbf0
mov word [rbx + rsi], r13w
jmp 0x1400a8b2e
lea r9, [rsp + 0x60]
mov rdx, rbx
mov rcx, r14
call fcn.140023ce0
nop
mov rcx, rdi
call fcn.140021d30
mov al, 1
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.14014f4f0
mov rbx, qword [rsp + 0x2c0]
add rsp, 0x280
pop r14
pop r13
pop rdi
pop rsi
pop rbp
ret
call fcn.14015fa1c
nop
call fcn.140019bf0
int3
Function at 0x1400a92a0
Capabilities:
Get file version info

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x78
mov rax, qword [0x14057b900]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov r12, r9
mov r15, r8
mov r14, rdx
mov r13, qword [rbp + 0x68]
xor ebx, ebx
mov rdx, rcx
lea rcx, [rbp - 0x30]
call fcn.1400857c0
nop
mov dword [rbp - 0x50], ebx
lea rcx, [rbp - 0x30]
cmp qword [rbp - 0x18], 7
cmova rcx, qword [rbp - 0x30]
lea rdx, [rbp - 0x50]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov esi, eax
test eax, eax
je 0x1400a941f
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x38], rbx
cmp rsi, 0x1000
jb 0x1400a9344
lea rcx, [rsi + 0x27]
cmp rcx, rsi
jbe 0x1400a9481
call fcn.14014f518
mov rcx, rax
test rax, rax
je 0x1400a9487
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x1400a934c
mov rcx, rsi
call fcn.14014f518
mov qword [rbp - 0x48], rax
lea rbx, [rax + rsi]
mov qword [rbp - 0x38], rbx
mov r8, rsi
xor edx, edx
mov rcx, rax
call fcn.1403ec370
mov qword [rbp - 0x40], rbx
lea rcx, [rbp - 0x30]
cmp qword [rbp - 0x18], 7
cmova rcx, qword [rbp - 0x30]
mov r9, qword [rbp - 0x48]
mov r8d, esi
mov edx, dword [rbp - 0x50]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
xor edi, edi
test eax, eax
je 0x1400a93db
mov qword [rbp - 0x58], rdi
mov dword [rbp - 0x4c], edi
lea r9, [rbp - 0x4c]
lea r8, [rbp - 0x58]
lea rdx, [0x1404f3ab0]
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x1400a93db
mov rcx, qword [rbp - 0x58]
movzx eax, word [rcx + 0xa]
mov word [r14], ax
movzx eax, word [rcx + 8]
mov word [r15], ax
movzx eax, word [rcx + 0xe]
mov word [r12], ax
movzx eax, word [rcx + 0xc]
mov word [r13], ax
mov bl, 1
jmp 0x1400a93dd
xor bl, bl
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x1400a941f
mov rdx, qword [rbp - 0x38]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a940e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400a9487
call fcn.14014f510
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x38], rdi
mov rdx, qword [rbp - 0x18]
cmp rdx, 7
jbe 0x1400a945b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a9456
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400a947b
call fcn.14014f510
movzx eax, bl
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.14014f4f0
add rsp, 0x78
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.14015fa1c
nop
call fcn.14001cd90
nop
call fcn.14015fa1c
int3
Function at 0x1400ce900
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rdi, rcx
mov qword [rsp + 0x28], rdx
movzx ecx, r8w
mov rbx, rdx
xor esi, esi
call fcn.140170d90
movzx r8d, ax
movabs rcx, 0x100000001b3
movabs rax, 0xcbf29ce484222325
movzx edx, r8b
xor rdx, rax
mov eax, r8d
imul rdx, rcx
shr rax, 8
xor rdx, rax
mov rax, qword [rdi + 0x1c8]
imul rdx, rcx
mov rcx, qword [rdi + 0x1e0]
and rcx, rdx
shl rcx, 4
add rax, rcx
mov rcx, qword [rdi + 0x1b8]
mov rdx, qword [rax + 8]
cmp rdx, rcx
je 0x1400ce99a
mov rax, qword [rax]
cmp r8w, word [rdx + 0x10]
je 0x1400ce99d
cmp rdx, rax
je 0x1400ce99a
mov rdx, qword [rdx + 8]
cmp r8w, word [rdx + 0x10]
jne 0x1400ce988
jmp 0x1400ce99d
mov rdx, rsi
test rdx, rdx
cmove rdx, rcx
cmp rdx, rcx
je 0x1400ce9c8
add rdx, 0x18
mov rcx, rbx
call fcn.1400223f0
mov rax, rbx
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
xorps xmm0, xmm0
mov rax, rbx
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], 7
mov word [rbx], si
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x1400d71e0
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x28
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x1400d737c
lea rax, [rdx - 1]
mov qword [rsp + 0x50], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x20], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.14008f000
lea rax, [rdi - 1]
mov qword [rsi + 0x38], rdi
mov qword [rsi + 0x30], rax
mov rax, qword [rsi + 8]
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x1400d7345
mov qword [rsp + 0x58], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax]
nop word [rax + rax]
movzx r9d, byte [rax + 0x10]
movzx edx, byte [rax + 0x11]
xor r9, rbp
mov r11, qword [rsi + 0x30]
mov rcx, qword [rcx]
imul r9, rdi
xor r9, rdx
imul r9, rdi
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r8, qword [r11]
cmp r8, rbx
jne 0x1400d72ba
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x1400d7334
mov rdx, qword [r11 + 8]
movzx r9d, word [rax + 0x10]
cmp r9w, word [rdx + 0x10]
jne 0x1400d72f9
mov r10, qword [rdx]
cmp r10, rax
je 0x1400d72f3
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x1400d7334
cmp r8, rdx
je 0x1400d7310
nop
mov rdx, qword [rdx + 8]
cmp r9w, word [rdx + 0x10]
je 0x1400d7356
cmp r8, rdx
jne 0x1400d7300
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
jne 0x1400d7280
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov r14, qword [rsp + 0x20]
add rsp, 0x28
pop rdi
pop rsi
ret
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x1400d7334
lea rcx, str.invalid_hash_bucket_count
call fcn.14012dae0
int3
Function at 0x1400d8a80
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
sub rsp, 0x50
mov rax, qword [0x14057b900]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor ebp, ebp
mov dword [rsp + 0x40], 7
cmp qword [rdx + 0x18], 7
mov rbx, rdx
mov dword [rsp + 0x30], ebp
mov rax, rdx
jbe 0x1400d8ab7
mov rax, qword [rdx]
mov qword [rdx + 0x10], rbp
mov r9d, 0x101
mov word [rax], bp
lea rdx, str.SoftwareMicrosoftCryptography
lea rax, [rsp + 0x38]
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400d8bce
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x40]
xor r8d, r8d
mov qword [rsp + 0x20], rbp
lea rdx, str.MachineGuid
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400d8bc3
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x1400d8bc3
mov ecx, eax
mov qword [rsp + 0x60], rsi
call fcn.14014fc5c
mov rcx, qword [rsp + 0x38]
lea r9, [rsp + 0x40]
mov rsi, rax
lea rdx, str.MachineGuid
lea rax, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400d8bb6
mov edx, dword [rsp + 0x30]
mov rax, qword [rbx + 0x18]
shr rdx, 1
dec rdx
cmp rdx, rax
ja 0x1400d8bab
mov qword [rsp + 0x70], rdi
mov rdi, rbx
cmp rax, 7
jbe 0x1400d8b8a
mov rdi, qword [rbx]
mov qword [rbx + 0x10], rdx
mov rcx, rdi
lea rbx, [rdx + rdx]
mov rdx, rsi
mov r8, rbx
call fcn.1403ebbf0
mov word [rbx + rdi], bp
mov rdi, qword [rsp + 0x70]
jmp 0x1400d8bb6
mov r9, rsi
mov rcx, rbx
call fcn.140023ce0
mov rcx, rsi
call fcn.14014f510
mov rsi, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14014f4f0
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rbp
ret
Function at 0x1400da5f0
Capabilities:
Get mac address on windows

Disassembly:
mov r11, rsp
push rbp
push rdi
push r14
sub rsp, 0xa0
mov rax, qword [0x14057b900]
xor rax, rsp
mov qword [rsp + 0x98], rax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x70], xmm0
xor ebp, ebp
mov dword [r11 - 0x28], eax
mov ecx, 0x16027
mov qword [r11 - 0x58], rbp
movups xmmword [r11 - 0x38], xmm0
mov rdi, rdx
call fcn.14014f518
test rax, rax
je 0x1400da7ea
lea rcx, [rax + 0x27]
mov qword [rsp + 0xc0], rbx
and rcx, 0xffffffffffffffe0
xor edx, edx
mov r8d, 0x16000
mov qword [rcx - 8], rax
lea rbx, [rcx + 0x16000]
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x58], rcx
call fcn.1403ec370
mov rcx, qword [rsp + 0x58]
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x60], rbx
movabs r14, 0x2e8ba2e8ba2e8ba3
sub rbx, rcx
sar rbx, 6
imul rbx, r14
imul eax, ebx, 0x2c0
mov dword [rsp + 0x50], eax
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
test eax, eax
jne 0x1400da77d
mov rbx, qword [rsp + 0x58]
mov eax, 0xffffffff
mov qword [rsp + 0xd0], rsi
lea esi, [rbp + 0x12]
cmp dword [rbx + 0x1a0], eax
jae 0x1400da727
movzx ecx, byte [rbx + 0x19c]
movzx edx, byte [rbx + 0x19b]
movzx r8d, byte [rbx + 0x19a]
movzx eax, byte [rbx + 0x19d]
movzx r10d, byte [rbx + 0x199]
movzx r9d, byte [rbx + 0x198]
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x38], ecx
lea rcx, [rsp + 0x70]
mov dword [rsp + 0x30], edx
mov rdx, rsi
mov dword [rsp + 0x28], r8d
lea r8, str._02X:_02X:_02X:_02X:_02X:_02X
mov dword [rsp + 0x20], r10d
call fcn.140093f90
mov eax, dword [rbx + 0x1a0]
mov rbx, qword [rbx]
test rbx, rbx
jne 0x1400da6c2
lea rcx, [rsp + 0x70]
sub rcx, rdi
nop word [rax + rax]
lea rax, [rsi + 0x7fffffec]
test rax, rax
je 0x1400da762
movzx eax, word [rcx + rdi]
test ax, ax
je 0x1400da762
mov word [rdi], ax
add rdi, 2
sub rsi, 1
jne 0x1400da740
test rsi, rsi
lea rax, [rdi - 2]
mov rsi, qword [rsp + 0xd0]
cmovne rax, rdi
mov word [rax], bp
mov ebp, 1
mov rcx, qword [rsp + 0x58]
mov rbx, qword [rsp + 0xc0]
test rcx, rcx
je 0x1400da7cc
mov rax, qword [rsp + 0x68]
mov r8, rcx
sub rax, rcx
sar rax, 6
imul rax, r14
imul rdx, rax, 0x2c0
cmp rdx, 0x1000
jb 0x1400da7c7
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub r8, rcx
add r8, 0xfffffffffffffff8
cmp r8, 0x1f
ja 0x1400da7ea
call fcn.14014f510
mov eax, ebp
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.14014f4f0
add rsp, 0xa0
pop r14
pop rdi
pop rbp
ret
call fcn.14015fa1c
int3
Function at 0x1400e69c0
Capabilities:
Query or enumerate registry key

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
mov eax, 0x2070
call fcn.140150200
sub rsp, rax
mov rax, qword [0x14057b900]
xor rax, rsp
mov qword [rsp + 0x2060], rax
mov r15, qword [rsp + 0x20d0]
mov rsi, rcx
mov rax, rdx
mov dword [rsp + 0x58], 0x1000
lea rcx, [rsp + 0x50]
mov r14, r9
mov qword [rsp + 0x20], rcx
mov ebp, r8d
xor r12d, r12d
mov rcx, rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, rsi
mov edi, 0xc000000d
mov ebx, r12d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400e6b5d
mov r8d, dword [rsp + 0x58]
lea rcx, [rsp + 0x60]
xor edx, edx
call fcn.1403ec370
mov rcx, qword [rsp + 0x50]
lea r9, [rsp + 0x58]
mov qword [rsp + 0x38], r12
lea r8, [rsp + 0x60]
mov qword [rsp + 0x30], r12
xor edx, edx
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x1400e6b52
mov qword [rsp + 0x20c0], r13
lea r13, str.____Checking_Sub_store:__ws__ws
nop dword [rax + rax]
call fcn.14002c3f0
lea rcx, [rsp + 0x60]
mov r9d, 0x59e
mov qword [rsp + 0x40], rcx
lea r8, str.D:JenkinsworkspaceN_MBCommon_vs2022_srcmbcommonFileVerify.cpp
mov qword [rsp + 0x38], rsi
lea rcx, str.MbCommonSigVerify
mov r10, qword [rax]
lea rdx, str.EnumerateCerts
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], rcx
mov rcx, rax
mov dword [rsp + 0x20], 5
call qword [r10 + 0x20]
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x60]
mov r9d, ebp
mov qword [rsp + 0x20], r15
mov r8, r14
call fcn.1400e6b90
mov edi, eax
test eax, eax
je 0x1400e6b4a
xor edx, edx
mov dword [rsp + 0x58], 0x1000
mov r8d, 0x1000
lea rcx, [rsp + 0x60]
inc ebx
call fcn.1403ec370
mov rcx, qword [rsp + 0x50]
lea r9, [rsp + 0x58]
mov qword [rsp + 0x38], r12
lea r8, [rsp + 0x60]
mov qword [rsp + 0x30], r12
mov edx, ebx
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x1400e6a90
mov r13, qword [rsp + 0x20c0]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov rcx, qword [rsp + 0x2060]
xor rcx, rsp
call fcn.14014f4f0
add rsp, 0x2070
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400e7060
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x470
mov rax, qword [0x14057b900]
xor rax, rsp
mov qword [rsp + 0x460], rax
mov r12, qword [rsp + 0x4d0]
lea rax, [rsp + 0x50]
mov rbp, r8
mov dword [rsp + 0x58], 0x200
mov r14d, edx
mov qword [rsp + 0x20], rax
mov r15, rcx
xor r13d, r13d
mov rdx, rbp
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov edi, 0xc000000d
mov ebx, r13d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test eax, eax
je 0x1400e7127
call fcn.14002c3f0
mov dword [rsp + 0x40], esi
lea rcx, str.Failed_to_open__ws__x
mov qword [rsp + 0x38], rbp
lea rsi, str.MbCommonSigVerify
mov qword [rsp + 0x30], rcx
lea r8, str.D:JenkinsworkspaceN_MBCommon_vs2022_srcmbcommonFileVerify.cpp
mov r10, qword [rax]
lea rdx, str.FindCert
mov qword [rsp + 0x28], rsi
mov r9d, 0x666
mov rcx, rax
mov dword [rsp + 0x20], 2
call qword [r10 + 0x20]
jmp 0x1400e7237
mov r8d, dword [rsp + 0x58]
lea rcx, [rsp + 0x60]
xor edx, edx
call fcn.1403ec370
mov rcx, qword [rsp + 0x50]
lea r9, [rsp + 0x58]
mov qword [rsp + 0x38], r13
lea r8, [rsp + 0x60]
mov qword [rsp + 0x30], r13
xor edx, edx
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x1400e722c
lea rsi, str.MbCommonSigVerify
call fcn.14002c3f0
lea rcx, [rsp + 0x60]
mov r9d, 0x670
mov qword [rsp + 0x40], rcx
lea r8, str.D:JenkinsworkspaceN_MBCommon_vs2022_srcmbcommonFileVerify.cpp
mov qword [rsp + 0x38], rbp
lea rcx, str.Checking__ws__ws
mov r10, qword [rax]
lea rdx, str.FindCert
mov qword [rsp + 0x30], rcx
mov rcx, rax
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], 5
call qword [r10 + 0x20]
mov r8, qword [rsp + 0x50]
lea rcx, [rsp + 0x60]
mov r9, r15
mov qword [rsp + 0x20], r12
mov edx, r14d
call fcn.1400e73b0
mov edi, eax
test eax, eax
jns 0x1400e722c
xor edx, edx
mov dword [rsp + 0x58], 0x200
mov r8d, 0x200
lea rcx, [rsp + 0x60]
inc ebx
call fcn.1403ec370
mov rcx, qword [rsp + 0x50]
lea r9, [rsp + 0x58]
mov qword [rsp + 0x38], r13
lea r8, [rsp + 0x60]
mov qword [rsp + 0x30], r13
mov edx, ebx
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x1400e7172
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.14014f4f0
mov rbx, qword [rsp + 0x4b8]
add rsp, 0x470
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400f0b20
Capabilities:
Write file on windows

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x14057b900]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rbx, r9
mov edi, r8d
mov rsi, qword [rsp + 0xb0]
test rdx, rdx
je 0x1400f0c22
test r8d, r8d
je 0x1400f0c22
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1400f0b79
cmp dword [rsp + 0x60], edi
je 0x1400f0c64
test rbx, rbx
je 0x1400f0c1e
mov rax, qword [rbx]
mov rdi, qword [rax + 0x20]
mov rdx, rsi
lea rcx, [rsp + 0x40]
call fcn.1400f4050
nop
cmp qword [rax + 0x18], 7
jbe 0x1400f0ba1
mov rax, qword [rax]
mov qword [rsp + 0x38], rax
lea rax, str.Error_writting_to_file_:__s
mov qword [rsp + 0x30], rax
lea rcx, str.FileStreamUtils
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 4
mov r9d, 0xbb
lea r8, str.D:JenkinsworkspaceN_MBCommon_vs2022_srcmbcommonFileStreamUtils_Win32.cpp
lea rdx, str.mb::common::io::FileStreamUtils::Write
mov rcx, rbx
call rdi
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x1400f0c1e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400f0c19
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400f0c7b
call fcn.14014f510
xor al, al
jmp 0x1400f0c66
test rbx, rbx
je 0x1400f0c64
mov rax, qword [r9]
lea rcx, str.Skipping_writting_zero_byte_buffer__this_may_be_an_empty_file_
mov qword [rsp + 0x30], rcx
lea rcx, str.FileStreamUtils
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 4
mov r9d, 0xb3
lea r8, str.D:JenkinsworkspaceN_MBCommon_vs2022_srcmbcommonFileStreamUtils_Win32.cpp
lea rdx, str.mb::common::io::FileStreamUtils::Write
mov rcx, rbx
call qword [rax + 0x20]
mov al, 1
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14014f4f0
add rsp, 0x70
pop rdi
pop rsi
pop rbx
ret
call fcn.14015fa1c
int3