joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001b2e0
Capabilities:
Print debug messages

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 7]
sub rsp, 0x100
mov rax, qword [0x140280d40]
xor rax, rsp
mov qword [rbp - 9], rax
mov r12d, r9d
movzx r9d, r8w
mov r8, rdx
mov r15d, dword [rbp + 0x67]
mov r14d, dword [rbp + 0x6f]
mov rsi, qword [rbp + 0x77]
mov rdi, qword [rbp + 0x7f]
mov ebx, dword [rbp + 0x87]
mov r11d, dword [rbp + 0x8f]
mov r10, qword [rbp + 0x97]
mov rdx, qword [rbp + 0x9f]
mov rax, qword [rcx]
mov qword [rsp + 0x60], rdx
mov qword [rsp + 0x58], r10
mov dword [rsp + 0x50], r11d
mov dword [rsp + 0x48], ebx
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x38], rsi
mov dword [rsp + 0x30], r14d
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r12d
lea rdx, [rbp - 0x49]
call qword [rax + 0x50]
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x69], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x59], xmm1
mov r8d, 1
lea rdx, [0x1402542a8]
lea rcx, [rbp - 0x69]
call fcn.14000ae10
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x79], xmm1
mov r8d, 1
lea rdx, [0x14024ce0c]
lea rcx, [rsp + 0x70]
call fcn.14000ae10
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
movdqa xmm1, xmmword [0x140258810]
movdqu xmmword [rbp - 0x19], xmm1
xor ebx, ebx
mov word [rbp - 0x29], bx
lea r9, [rbp - 0x69]
lea r8, [rsp + 0x70]
lea rdx, [rbp - 0x29]
lea rcx, [rbp - 0x49]
call fcn.14000d070
mov rdx, qword [rbp - 0x31]
cmp rdx, 7
jbe 0x14001b42f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x49]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001b42a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001b547
call fcn.1401629f4
movups xmm0, xmmword [rbp - 0x29]
movups xmmword [rbp - 0x49], xmm0
movups xmm1, xmmword [rbp - 0x19]
movups xmmword [rbp - 0x39], xmm1
mov rdx, qword [rbp - 0x71]
cmp rdx, 7
jbe 0x14001b480
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001b47b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001b54d
call fcn.1401629f4
movdqa xmm0, xmmword [0x140258810]
movdqu xmmword [rbp - 0x79], xmm0
mov word [rsp + 0x70], bx
mov rdx, qword [rbp - 0x51]
cmp rdx, 7
jbe 0x14001b4d2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x69]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001b4cd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001b553
call fcn.1401629f4
lea rcx, [rbp - 0x49]
cmp qword [rbp - 0x31], 7
cmova rcx, qword [rbp - 0x49]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
nop
mov rdx, qword [rbp - 0x31]
cmp rdx, 7
jbe 0x14001b523
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x49]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001b51e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001b541
call fcn.1401629f4
mov rcx, qword [rbp - 9]
xor rcx, rsp
call fcn.140162ed0
add rsp, 0x100
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.14017234c
nop
call fcn.14017234c
nop
call fcn.14017234c
nop
call fcn.14017234c
int3
Function at 0x140029850
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 [0x140280d40]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov r14, rdx
mov rdi, rcx
mov qword [rsp + 0x58], rcx
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x48], xmm1
mov r8d, 2
lea rdx, [0x140254ee4]
lea rcx, [rsp + 0x38]
call fcn.14000ae10
nop
xor r8d, r8d
lea rdx, [rsp + 0x38]
mov rcx, rdi
call fcn.14000d6e0
mov rbx, qword [rdi + 0x10]
cmp rbx, rax
cmovb rax, rbx
mov rcx, rdi
cmp qword [rdi + 0x18], 7
jbe 0x1400298d1
mov rcx, qword [rdi]
sub rbx, rax
lea rdx, [rcx + rax*2]
lea r8, [rbx*2 + 2]
call fcn.14019d040
mov qword [rdi + 0x10], rbx
mov rdx, qword [rsp + 0x50]
cmp rdx, 7
jbe 0x14002992b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140029926
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140029ac5
call fcn.1401629f4
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
xor r13d, r13d
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x50], r13
lea r8d, [r13 + 1]
lea rdx, [0x14024d088]
lea rcx, [rsp + 0x38]
call fcn.14000ae10
nop
lea r9, [rsp + 0x38]
mov rsi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x50]
cmp rbp, 7
cmova r9, rsi
mov rcx, rdi
cmp qword [rdi + 0x18], 7
jbe 0x14002997a
mov rcx, qword [rdi]
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov rbx, 0xffffffffffffffff
mov r8, rbx
mov rdx, qword [rdi + 0x10]
call fcn.14000d920
lea rcx, [rax + 1]
cmp qword [rdi + 0x10], rcx
jb 0x140029acb
mov rax, rdi
cmp qword [rdi + 0x18], 7
jbe 0x1400299b2
mov rax, qword [rdi]
mov qword [rdi + 0x10], rcx
mov word [rax + rcx*2], r13w
cmp rbp, 7
jbe 0x1400299f6
lea rdx, [rbp*2 + 2]
mov rax, rsi
cmp rdx, 0x1000
jb 0x1400299ee
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140029ac5
mov rcx, rsi
call fcn.1401629f4
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x60]
call fcn.14019d6e0
mov rcx, rdi
cmp qword [rdi + 0x18], 7
jbe 0x140029a15
mov rcx, qword [rdi]
mov r8d, 0x104
lea rdx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
jne 0x140029a36
mov rcx, rdi
call fcn.14000b550
xor al, al
jmp 0x140029a9e
lea rax, [rsp + 0x60]
nop dword [rax + rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x140029a40
mov rax, qword [r14 + 0x18]
cmp rbx, rax
ja 0x140029a7d
mov rsi, r14
cmp rax, 7
jbe 0x140029a5f
mov rsi, qword [r14]
mov qword [r14 + 0x10], rbx
add rbx, rbx
mov r8, rbx
lea rdx, [rsp + 0x60]
mov rcx, rsi
call fcn.14019d040
mov word [rbx + rsi], r13w
jmp 0x140029a94
lea r9, [rsp + 0x60]
movzx r8d, byte [rsp + 0x30]
mov rdx, rbx
mov rcx, r14
call fcn.14000abb0
nop
mov rcx, rdi
call fcn.14000b550
mov al, 1
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140162ed0
mov rbx, qword [rsp + 0x2c0]
add rsp, 0x280
pop r14
pop r13
pop rdi
pop rsi
pop rbp
ret
call fcn.14017234c
nop
call fcn.1400077e0
int3
Function at 0x14002a700
Capabilities:
Get file attributes

Disassembly:
push rbx
sub rsp, 0x40
mov rdx, rcx
lea rcx, [rsp + 0x20]
call fcn.140029cb0
cmp qword [rax + 0x18], 7
jbe 0x14002a71d
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov rdx, qword [rsp + 0x38]
mov ebx, eax
cmp rdx, 7
jbe 0x14002a766
mov rcx, qword [rsp + 0x20]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002a761
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002a76e
call fcn.1401629f4
mov eax, ebx
add rsp, 0x40
pop rbx
ret
call fcn.14017234c
int3

Function at 0x14002a780
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x260
mov rax, qword [0x140280d40]
xor rax, rsp
mov qword [rsp + 0x250], rax
xor r9d, r9d
lea rax, [rsp + 0x40]
mov rbx, rdx
mov qword [rsp + 0x20], rax
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 0x24]
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x14002a832
lea rax, [rsp + 0x40]
mov rdx, 0xffffffffffffffff
nop word [rax + rax]
inc rdx
cmp word [rax + rdx*2], 0
jne 0x14002a7d0
mov rax, qword [rbx + 0x18]
cmp rdx, rax
ja 0x14002a81f
mov qword [rsp + 0x270], rdi
mov rdi, rbx
cmp rax, 7
jbe 0x14002a7f7
mov rdi, qword [rbx]
mov qword [rbx + 0x10], rdx
mov rcx, rdi
lea rbx, [rdx + rdx]
mov r8, rbx
lea rdx, [rsp + 0x40]
call fcn.14019d040
xor eax, eax
mov word [rbx + rdi], ax
mov rdi, qword [rsp + 0x270]
jmp 0x14002a832
movzx r8d, byte [rsp + 0x30]
lea r9, [rsp + 0x40]
mov rcx, rbx
call fcn.14000abb0
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140162ed0
add rsp, 0x260
pop rbx
ret
Function at 0x14002bf70
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
sub rsp, 0x50
mov rax, qword [0x140280d40]
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 + 0x34], ebp
mov rax, rdx
jbe 0x14002bfa7
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 0x14002c0c4
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x34]
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 0x14002c0b9
mov eax, dword [rsp + 0x34]
test eax, eax
je 0x14002c0b9
mov ecx, eax
mov qword [rsp + 0x60], rsi
call fcn.140163410
mov rcx, qword [rsp + 0x38]
lea r9, [rsp + 0x40]
mov rsi, rax
lea rdx, str.MachineGuid
lea rax, [rsp + 0x34]
xor r8d, r8d
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14002c0ac
mov edx, dword [rsp + 0x34]
mov rax, qword [rbx + 0x18]
shr rdx, 1
dec rdx
cmp rdx, rax
ja 0x14002c09b
mov qword [rsp + 0x70], rdi
mov rdi, rbx
cmp rax, 7
jbe 0x14002c07a
mov rdi, qword [rbx]
mov qword [rbx + 0x10], rdx
mov rcx, rdi
lea rbx, [rdx + rdx]
mov rdx, rsi
mov r8, rbx
call fcn.14019d040
mov word [rbx + rdi], bp
mov rdi, qword [rsp + 0x70]
jmp 0x14002c0ac
movzx r8d, byte [rsp + 0x30]
mov r9, rsi
mov rcx, rbx
call fcn.14000abb0
mov rcx, rsi
call fcn.1401629f4
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.140162ed0
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rbp
ret
Function at 0x14002ca00
Capabilities:
Get mac address on windows

Disassembly:
mov r11, rsp
push rbp
push rdi
push r14
sub rsp, 0xa0
mov rax, qword [0x140280d40]
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.1401629b8
test rax, rax
je 0x14002cbfa
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.14019d6e0
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 0x14002cb8d
mov rbx, qword [rsp + 0x58]
mov eax, 0xffffffff
mov qword [rsp + 0xd0], rsi
lea esi, [rbp + 0x12]
cmp dword [rbx + 0x1a0], eax
jae 0x14002cb37
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.14002a850
mov eax, dword [rbx + 0x1a0]
mov rbx, qword [rbx]
test rbx, rbx
jne 0x14002cad2
lea rcx, [rsp + 0x70]
sub rcx, rdi
nop word [rax + rax]
lea rax, [rsi + 0x7fffffec]
test rax, rax
je 0x14002cb72
movzx eax, word [rcx + rdi]
test ax, ax
je 0x14002cb72
mov word [rdi], ax
add rdi, 2
sub rsi, 1
jne 0x14002cb50
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 0x14002cbdc
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 0x14002cbd7
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub r8, rcx
add r8, 0xfffffffffffffff8
cmp r8, 0x1f
ja 0x14002cbfa
call fcn.1401629f4
mov eax, ebp
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.140162ed0
add rsp, 0xa0
pop r14
pop rdi
pop rbp
ret
call fcn.14017234c
int3
Function at 0x14002dbd0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x1c0]
sub rsp, 0x2c0
mov rax, qword [0x140280d40]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x40], rax
xor edi, edi
lea rsi, [0x14028c0c0]
mov qword [rsp + 0x40], rsi
mov rcx, rsi
call fcn.14006e630
nop
xorps xmm0, xmm0
movups xmmword [0x14028c0e8], xmm0
mov qword [0x14028c0f8], rdi
mov qword [0x14028c100], 7
mov word [0x14028c0e8], di
movups xmmword [0x14028c108], xmm0
mov qword [0x14028c118], rdi
mov qword [0x14028c120], 7
mov word [0x14028c108], di
mov qword [rsp + 0x50], rsi
mov rcx, rsi
call fcn.14006e9e0
nop
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x60]
call fcn.14019d6e0
mov edx, 0x104
lea rcx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
test eax, eax
jne 0x14002dcb3
movdqa xmm1, xmmword [0x140258810]
movdqu xmmword [rsp + 0x68], xmm1
mov word [rsp + 0x58], di
jmp 0x14002dccd
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x68], xmm1
mov r8d, eax
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x58]
call fcn.14000ae10
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x58]
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x78], xmm1
mov r8d, 2
cmp qword [rsp + 0x68], r8
cmovb r8, qword [rsp + 0x68]
cmp qword [rsp + 0x70], 7
cmovbe rdx, rcx
lea rcx, [rsp + 0x78]
call fcn.14000ae10
lea rdx, [rsp + 0x78]
lea rcx, [0x14028c0e8]
call fcn.140005890
mov rdx, qword [rbp - 0x70]
cmp rdx, 7
jbe 0x14002dd5f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002dd59
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002de70
call fcn.1401629f4
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 7
jbe 0x14002dda1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002dd9c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002de6a
call fcn.1401629f4
cmp qword [0x14028c0f8], 2
jne 0x14002de34
lea rdx, [0x14028c0e8]
lea rcx, [rsp + 0x78]
call fcn.14000b000
lea rbx, [0x14028c108]
mov rdx, rbx
mov rcx, rax
call fcn.140029850
test al, al
je 0x14002de34
mov rcx, qword [0x14028c118]
mov rdx, qword [0x14028c120]
mov rax, rdx
sub rax, rcx
cmp rax, 1
jb 0x14002de10
lea rax, [rcx + 1]
mov qword [0x14028c118], rax
cmp rdx, 7
cmova rbx, qword [0x14028c108]
mov dword [rbx + rcx*2], 0x5c
jmp 0x14002de34
mov qword [rsp + 0x20], 1
lea r9, [0x14024d088]
movzx r8d, byte [rsp + 0x30]
mov edx, 1
mov rcx, rbx
call fcn.14000c1f0
nop
lea rcx, [rsp + 0x50]
call fcn.140019690
nop
mov rax, rsi
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.140162ed0
lea r11, [rsp + 0x2c0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call fcn.14017234c
nop
call fcn.14017234c
int3
Function at 0x140031bd0
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.140162e70
sub rsp, rax
mov rax, qword [0x140280d40]
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 0x140031d6d
mov r8d, dword [rsp + 0x58]
lea rcx, [rsp + 0x60]
xor edx, edx
call fcn.14019d6e0
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 0x140031d62
mov qword [rsp + 0x20c0], r13
lea r13, str.____Checking_Sub_store:__ws__ws
nop dword [rax + rax]
call fcn.140014110
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.140031da0
mov edi, eax
test eax, eax
je 0x140031d5a
xor edx, edx
mov dword [rsp + 0x58], 0x1000
mov r8d, 0x1000
lea rcx, [rsp + 0x60]
inc ebx
call fcn.14019d6e0
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 0x140031ca0
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.140162ed0
add rsp, 0x2070
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140032270
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 [0x140280d40]
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 0x140032337
call fcn.140014110
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 0x140032447
mov r8d, dword [rsp + 0x58]
lea rcx, [rsp + 0x60]
xor edx, edx
call fcn.14019d6e0
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 0x14003243c
lea rsi, str.MbCommonSigVerify
call fcn.140014110
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.1400325c0
mov edi, eax
test eax, eax
jns 0x14003243c
xor edx, edx
mov dword [rsp + 0x58], 0x200
mov r8d, 0x200
lea rcx, [rsp + 0x60]
inc ebx
call fcn.14019d6e0
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 0x140032382
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.140162ed0
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 0x140040c00
Capabilities:
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x50
mov ebx, ecx
mov r8d, ecx
shr r8d, 0x18
mov eax, ecx
shr eax, 0x10
movzx edx, al
mov eax, ecx
shr eax, 8
movzx ecx, al
movzx eax, bl
movabs r9, 0xcbf29ce484222325
xor rax, r9
movabs r9, 0x100000001b3
imul rax, r9
xor rax, rcx
imul rax, r9
xor rax, rdx
imul rax, r9
xor rax, r8
imul rax, r9
mov rcx, qword [0x140285e70]
and rcx, rax
shl rcx, 4
add rcx, qword [0x140285e58]
mov rax, qword [rcx + 8]
mov rdx, qword [0x140285e48]
cmp rax, rdx
je 0x140040c90
mov rcx, qword [rcx]
cmp ebx, dword [rax + 0x10]
je 0x140040c92
nop
cmp rax, rcx
je 0x140040c90
mov rax, qword [rax + 8]
cmp ebx, dword [rax + 0x10]
jne 0x140040c80
jmp 0x140040c92
xor eax, eax
mov rcx, rdx
test rax, rax
cmovne rcx, rax
cmp rcx, rdx
jne 0x140040d10
lea rcx, [0x140285fe8]
mov qword [rsp + 0x40], rcx
call fcn.140010830
nop
mov rcx, qword [0x140285fe0]
test rcx, rcx
je 0x140040cfe
mov rax, qword [rcx]
mov dword [rsp + 0x38], ebx
lea rdx, str.Dont_know_how_to_map_LICENSESTATE_ENUM__d_to_LicenseStateEnum__did_someone_forget_to_update_MappedTypes_map_
mov qword [rsp + 0x30], rdx
lea rdx, str.MbamBgNativeMsg
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], 1
mov r9d, 0x2f
lea r8, str.C:JenkinsworkspaceMBAM_WindowsN_MB4_MbamBgNativeMsg_srcMbamBgNativeMsgCMappedTypes.cpp
lea rdx, str.CMappedTypes::GetMappedType
call qword [rax + 0x20]
nop
lea rcx, [rsp + 0x40]
call fcn.14000fbb0
mov eax, ebx
add rsp, 0x50
pop rbx
ret
mov eax, dword [rcx + 0x14]
add rsp, 0x50
pop rbx
ret
Function at 0x140040e60
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 0x140040ffb
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.140040d20
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 0x140040fc4
mov qword [rsp + 0x58], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
movzx edx, byte [rax + 0x11]
movzx r11d, byte [rax + 0x10]
mov rcx, qword [rcx]
xor r11, rbp
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x12]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x13]
imul r11, rdi
xor r11, rdx
imul r11, rdi
and r11, qword [rsi + 0x30]
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x140040f3e
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x140040fb3
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x140040f7b
mov r10, qword [rdx]
cmp r10, rax
je 0x140040f75
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 0x140040fb3
cmp r9, rdx
je 0x140040f8f
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x140040fd5
cmp r9, rdx
jne 0x140040f80
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 0x140040ef1
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 0x140040fb3
lea rcx, str.invalid_hash_bucket_count
call fcn.1401610bc
int3