joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400e89c0
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 0x1400e8b5c
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.1400af530
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 0x1400e8b25
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 0x1400e8a9a
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x1400e8b14
mov rdx, qword [r11 + 8]
movzx r9d, word [rax + 0x10]
cmp r9w, word [rdx + 0x10]
jne 0x1400e8ad9
mov r10, qword [rdx]
cmp r10, rax
je 0x1400e8ad3
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 0x1400e8b14
cmp r8, rdx
je 0x1400e8af0
nop
mov rdx, qword [rdx + 8]
cmp r9w, word [rdx + 0x10]
je 0x1400e8b36
cmp r8, rdx
jne 0x1400e8ae0
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 0x1400e8a60
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 0x1400e8b14
lea rcx, str.invalid_hash_bucket_count
call fcn.1402b4680
int3
Function at 0x1400ecbb0
Capabilities:
Get file size

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x30
mov rax, qword [0x1404953c0]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov rdi, rdx
mov dword [rsp + 0x20], 0
lea rdx, [rsp + 0x20]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
cmp eax, 0xffffffff
jne 0x1400ecbf7
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x1400ecbf7
xor al, al
jmp 0x1400ecc07
mov ecx, dword [rsp + 0x20]
shl rcx, 0x20
add rcx, rbx
mov qword [rdi], rcx
mov al, 1
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1402b5c00
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x1400ecf20
Capabilities:
Read file on windows

Disassembly:
push rbx
push rdi
sub rsp, 0x48
mov rax, qword [0x1404953c0]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, r9
mov eax, r8d
mov rbx, rcx
xor ecx, ecx
mov dword [rsp + 0x30], ecx
mov r8d, 0x400000
cmp eax, r8d
cmovbe r8d, eax
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x30]
mov rcx, qword [rbx + 0x30]
call qword [sym.imp.KERNEL32.dll_ReadFile]
nop
test rdi, rdi
je 0x1400ecf72
mov ecx, dword [rsp + 0x30]
mov dword [rdi], ecx
test eax, eax
je 0x1400ecf7a
xor eax, eax
jmp 0x1400ecfb3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rbx + 0x78]
test rcx, rcx
je 0x1400ecf9e
mov r8, qword [rcx]
mov r9, qword [r8]
mov r8d, eax
mov rdx, qword [rbx + 0x80]
call r9
jmp 0x1400ecfb3
test eax, eax
jne 0x1400ecfa9
mov eax, 0x80004005
jmp 0x1400ecfb3
jle 0x1400ecfb3
movzx eax, ax
or eax, 0x80070000
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1402b5c00
add rsp, 0x48
pop rdi
pop rbx
ret

Function at 0x1400ed4e0
Capabilities:
Write file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x1404953c0]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov r14, r9
mov ebx, r8d
mov rdi, rdx
mov rbp, rcx
xor r15d, r15d
mov esi, r15d
mov r12d, 0x400000
nop word [rax + rax]
mov r8d, ebx
cmp ebx, r12d
cmova r8d, r12d
mov dword [rsp + 0x30], r15d
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0x30]
mov rdx, rdi
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_WriteFile]
nop
mov ecx, dword [rsp + 0x30]
add esi, ecx
test eax, eax
je 0x1400ed560
test ecx, ecx
je 0x1400ed55c
add rdi, rcx
sub ebx, ecx
jne 0x1400ed520
mov al, 1
jmp 0x1400ed562
xor al, al
mov ecx, esi
add qword [rbp + 0x20], rcx
test r14, r14
je 0x1400ed570
mov dword [r14], esi
test al, al
je 0x1400ed579
mov eax, r15d
jmp 0x1400ed594
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1400ed58a
mov eax, 0x80004005
jmp 0x1400ed594
jle 0x1400ed594
movzx eax, ax
or eax, 0x80070000
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1402b5c00
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400eea10
Capabilities:
Get file attributes

Disassembly:
push rbx
sub rsp, 0x40
mov rdx, rcx
lea rcx, [rsp + 0x20]
call fcn.1400b9ae0
cmp qword [rax + 0x18], 7
jbe 0x1400eea2d
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea rcx, [rsp + 0x20]
mov ebx, eax
call fcn.1400166f0
mov eax, ebx
add rsp, 0x40
pop rbx
ret
Function at 0x1400eead0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x1404953c0]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rbx, rcx
mov dword [rsp + 0x68], 4
xor ecx, ecx
mov rdi, rdx
mov dword [rsp + 0x64], ecx
mov rdx, rbx
cmp qword [rbx + 0x18], 7
jbe 0x1400eeb12
mov rdx, qword [rbx]
lea rax, [rsp + 0x68]
mov r9d, 0x20010010
mov qword [rsp + 0x30], rax
lea rsi, str.DefaultSecureProtocols
lea rax, [rsp + 0x64]
mov r8, rsi
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, 0xfffffffd
je 0x1400eebb3
test rdi, rdi
je 0x1400eec6b
cmp qword [rbx + 0x18], 7
mov rcx, qword [rdi]
mov r10, qword [rcx + 0x20]
jbe 0x1400eeb69
mov rbx, qword [rbx]
mov qword [rsp + 0x40], rbx
lea r8, str.D:JenkinsworkspaceN_MBCommon_vs2022_srcmbcommonWinHttpDefaultSecureProtocols.cpp
mov dword [rsp + 0x38], eax
lea rdx, str.EnableWinHttpTLSProtocols
lea rax, str.Unexpected_result__u_querying__ls
mov r9d, reloc.WS2_32.dll_socket
mov qword [rsp + 0x30], rax
mov rcx, rdi
lea rax, str.WinHttpDefaultSecureProtocols
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 2
call r10
xor al, al
jmp 0x1400eecd3
mov eax, dword [rsp + 0x64]
or eax, 0xa00
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x64], eax
je 0x1400eecd1
cmp qword [rbx + 0x18], 7
mov rdx, rbx
jbe 0x1400eebd7
mov rdx, qword [rbx]
lea rax, [rsp + 0x60]
mov dword [rsp + 0x28], 4
mov r9d, 4
mov qword [rsp + 0x20], rax
mov r8, rsi
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
mov edx, eax
test eax, eax
je 0x1400eec6f
test rdi, rdi
je 0x1400eec6b
cmp qword [rbx + 0x18], 7
mov rcx, qword [rdi]
mov r10, qword [rcx + 0x20]
jbe 0x1400eec1b
mov rbx, qword [rbx]
mov eax, dword [rsp + 0x60]
lea r8, str.D:JenkinsworkspaceN_MBCommon_vs2022_srcmbcommonWinHttpDefaultSecureProtocols.cpp
mov dword [rsp + 0x50], eax
mov r9d, 0x21
mov qword [rsp + 0x48], rsi
lea rax, str.Unexpected_result__u_setting__ls_____ls_to_0x_08X
mov qword [rsp + 0x40], rbx
mov rcx, rdi
mov dword [rsp + 0x38], edx
lea rdx, str.EnableWinHttpTLSProtocols
mov qword [rsp + 0x30], rax
lea rax, str.WinHttpDefaultSecureProtocols
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 2
call r10
xor al, al
jmp 0x1400eecd3
test rdi, rdi
je 0x1400eecd1
cmp qword [rbx + 0x18], 7
mov rax, qword [rdi]
mov r10, qword [rax + 0x20]
jbe 0x1400eec85
mov rbx, qword [rbx]
mov eax, dword [rsp + 0x60]
lea r8, str.D:JenkinsworkspaceN_MBCommon_vs2022_srcmbcommonWinHttpDefaultSecureProtocols.cpp
mov dword [rsp + 0x48], eax
lea rdx, str.EnableWinHttpTLSProtocols
mov qword [rsp + 0x40], rsi
lea rax, str.Successfully_updated_HKLM_ls_____ls_to_0x_08X
mov qword [rsp + 0x38], rbx
mov r9d, 0x25
mov qword [rsp + 0x30], rax
mov rcx, rdi
lea rax, str.WinHttpDefaultSecureProtocols
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 3
call r10
mov al, 1
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1402b5c00
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x1400eed00
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x1404953c0]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rbx, rcx
mov dword [rsp + 0x68], 4
xor ecx, ecx
mov rdi, rdx
mov dword [rsp + 0x64], ecx
mov rdx, rbx
mov dword [rsp + 0x60], ecx
cmp qword [rbx + 0x18], 7
jbe 0x1400eed46
mov rdx, qword [rbx]
lea rax, [rsp + 0x68]
mov r9d, 0x20000010
mov qword [rsp + 0x30], rax
lea rsi, str.DisabledByDefault
lea rax, [rsp + 0x64]
mov r8, rsi
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x1400eed8e
mov eax, dword [rsp + 0x60]
cmp dword [rsp + 0x64], eax
je 0x1400eee95
cmp qword [rbx + 0x18], 7
mov rdx, rbx
jbe 0x1400eed9b
mov rdx, qword [rbx]
lea rax, [rsp + 0x60]
mov dword [rsp + 0x28], 4
mov r9d, 4
mov qword [rsp + 0x20], rax
mov r8, rsi
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
mov edx, eax
test eax, eax
je 0x1400eee33
test rdi, rdi
je 0x1400eee2f
cmp qword [rbx + 0x18], 7
mov rcx, qword [rdi]
mov r10, qword [rcx + 0x20]
jbe 0x1400eeddf
mov rbx, qword [rbx]
mov eax, dword [rsp + 0x60]
lea r8, str.D:JenkinsworkspaceN_MBCommon_vs2022_srcmbcommonWinHttpDefaultSecureProtocols.cpp
mov dword [rsp + 0x50], eax
mov r9d, 0x3b
mov qword [rsp + 0x48], rsi
lea rax, str.Unexpected_result__u_setting_HKLM_ls_____ls_to__u
mov qword [rsp + 0x40], rbx
mov rcx, rdi
mov dword [rsp + 0x38], edx
lea rdx, str.EnableSChannelTLSProtocol
mov qword [rsp + 0x30], rax
lea rax, str.WinHttpDefaultSecureProtocols
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 2
call r10
xor al, al
jmp 0x1400eee97
test rdi, rdi
je 0x1400eee95
cmp qword [rbx + 0x18], 7
mov rax, qword [rdi]
mov r10, qword [rax + 0x20]
jbe 0x1400eee49
mov rbx, qword [rbx]
mov eax, dword [rsp + 0x60]
lea r8, str.D:JenkinsworkspaceN_MBCommon_vs2022_srcmbcommonWinHttpDefaultSecureProtocols.cpp
mov dword [rsp + 0x48], eax
lea rdx, str.EnableSChannelTLSProtocol
mov qword [rsp + 0x40], rsi
lea rax, str.Successfully_updated_HKLM_ls_____ls_to__u
mov qword [rsp + 0x38], rbx
mov r9d, 0x3f
mov qword [rsp + 0x30], rax
mov rcx, rdi
lea rax, str.WinHttpDefaultSecureProtocols
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 3
call r10
mov al, 1
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1402b5c00
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x1400f1460
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.1402b6820
sub rsp, rax
mov rax, qword [0x1404953c0]
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 0x1400f15fd
mov r8d, dword [rsp + 0x58]
lea rcx, [rsp + 0x60]
xor edx, edx
call fcn.140306610
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 0x1400f15f2
mov qword [rsp + 0x20c0], r13
lea r13, str.____Checking_Sub_store:__ws__ws
nop dword [rax + rax]
call fcn.14001d6f0
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.1400f1630
mov edi, eax
test eax, eax
je 0x1400f15ea
xor edx, edx
mov dword [rsp + 0x58], 0x1000
mov r8d, 0x1000
lea rcx, [rsp + 0x60]
inc ebx
call fcn.140306610
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 0x1400f1530
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.1402b5c00
add rsp, 0x2070
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400f1b00
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 [0x1404953c0]
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 0x1400f1bc7
call fcn.14001d6f0
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 0x1400f1cd7
mov r8d, dword [rsp + 0x58]
lea rcx, [rsp + 0x60]
xor edx, edx
call fcn.140306610
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 0x1400f1ccc
lea rsi, str.MbCommonSigVerify
call fcn.14001d6f0
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.1400f1d10
mov edi, eax
test eax, eax
jns 0x1400f1ccc
xor edx, edx
mov dword [rsp + 0x58], 0x200
mov r8d, 0x200
lea rcx, [rsp + 0x60]
inc ebx
call fcn.140306610
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 0x1400f1c12
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.1402b5c00
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 0x1400f8360
Capabilities:
Get user security identifier

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0x90
mov rax, qword [0x1404953c0]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rbp + 7], rcx
xor r15d, r15d
mov dword [rbp - 0x15], r15d
mov dword [rbp - 0x11], r15d
cmp qword [rdx + 0x18], 7
jbe 0x1400f83a8
mov rdx, qword [rdx]
lea rax, [rbp + 7]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x11]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
lea r9, [rbp - 0x15]
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
cmp dword [rbp - 0x15], r15d
jne 0x1400f842f
test rsi, rsi
je 0x1400f8423
mov rax, qword [rsi]
mov rbx, qword [rax + 0x20]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x38], eax
lea rax, str.Unable_to_calculate_size._Error__u
mov qword [rsp + 0x30], rax
lea rax, str.SidUtilities
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 2
mov r9d, reloc.WS2_32.dll_WSAStartup
lea r8, str.D:JenkinsworkspaceN_MBCommon_vs2022_srcmbcommonSid.cpp
lea rdx, str.mb::common::system::Sid::CreateFromName
mov rcx, rsi
call rbx
mov qword [rdi], r15
mov qword [rdi + 8], r15
jmp 0x1400f8546
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0xf], xmm0
mov qword [rbp + 0x1f], rax
mov edx, dword [rbp - 0x11]
lea rcx, [rbp + 0xf]
call fcn.14009ad90
nop
xorps xmm0, xmm0
movups xmmword [rbp - 9], xmm0
mov edx, dword [rbp - 0x15]
lea rcx, [rbp - 9]
call fcn.1400f8710
nop
cmp qword [rbx + 0x18], 7
jbe 0x1400f8467
mov rbx, qword [rbx]
lea rax, [rbp + 7]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x11]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp + 0xf]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x15]
mov r14, qword [rbp - 9]
mov r8, r14
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
test eax, eax
jne 0x1400f8532
test rsi, rsi
je 0x1400f84ef
mov rax, qword [rsi]
mov rbx, qword [rax + 0x20]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x38], eax
lea rax, str.Unable_to_query_account_name._Error__u
mov qword [rsp + 0x30], rax
lea rax, str.SidUtilities
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 2
mov r9d, 0x7c
lea r8, str.D:JenkinsworkspaceN_MBCommon_vs2022_srcmbcommonSid.cpp
lea rdx, str.mb::common::system::Sid::CreateFromName
mov rcx, rsi
call rbx
mov qword [rdi], r15
mov qword [rdi + 8], r15
mov rcx, qword [rbp - 1]
test rcx, rcx
je 0x1400f853d
mov esi, 0xffffffff
mov eax, esi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400f853d
mov rbx, qword [rbp - 1]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], esi
cmp esi, 1
jne 0x1400f853d
mov rcx, qword [rbp - 1]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x1400f853d
mov qword [rdi], r14
mov rax, qword [rbp - 1]
mov qword [rdi + 8], rax
lea rcx, [rbp + 0xf]
call fcn.140046830
mov rax, rdi
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1402b5c00
mov rbx, qword [rsp + 0xd8]
add rsp, 0x90
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400fbc50
Capabilities:
Query or enumerate registry key

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [rsp + 0x90]
mov r10, r9
mov r9, qword [rsp + 0x70]
mov r11d, r8d
mov qword [rsp + 0x38], rax
mov rcx, rdx
mov rax, qword [rsp + 0x88]
mov r8, r10
mov qword [rsp + 0x30], rax
mov edx, r11d
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
add rsp, 0x40
pop rbx
ret

Function at 0x1400fbcb0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [rsp + 0x90]
mov r10, r9
mov r9, qword [rsp + 0x70]
mov r11d, r8d
mov qword [rsp + 0x38], rax
mov rcx, rdx
mov rax, qword [rsp + 0x88]
mov r8, r10
mov qword [rsp + 0x30], rax
mov edx, r11d
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
add rsp, 0x40
pop rbx
ret

Function at 0x1400fbe00
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [rsp + 0x70]
mov r10, r9
mov r9, qword [rsp + 0x60]
mov r11, r8
mov qword [rsp + 0x28], rax
mov rcx, rdx
mov rax, qword [rsp + 0x68]
mov r8, r10
mov rdx, r11
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
add rsp, 0x30
pop rbx
ret

Function at 0x1400fbe80
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x30
mov eax, dword [rsp + 0x70]
mov r10d, r9d
mov r9d, dword [rsp + 0x60]
mov r11, r8
mov dword [rsp + 0x28], eax
mov rcx, rdx
mov rax, qword [rsp + 0x68]
mov r8d, r10d
mov rdx, r11
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add rsp, 0x30
pop rbx
ret
Function at 0x1400fc260
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 [0x1404953c0]
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
lea rdx, [0x14041aa1c]
lea rcx, [rbp - 0x69]
call fcn.140030cb0
nop
lea rdx, [0x14041eddc]
lea rcx, [rsp + 0x70]
call fcn.140030cb0
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
movdqa xmm1, xmmword [0x14043ca90]
movdqu xmmword [rbp - 0x19], xmm1
xor ebx, ebx
mov word [rbp - 0x29], bx
mov byte [rsp + 0x20], bl
lea r9, [rbp - 0x69]
lea r8, [rsp + 0x70]
lea rdx, [rbp - 0x29]
lea rcx, [rbp - 0x49]
call fcn.14009cd10
mov rdx, qword [rbp - 0x31]
cmp rdx, 7
jbe 0x1400fc388
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x49]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400fc383
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400fc403
call fcn.1402b5c4c
movups xmm0, xmmword [rbp - 0x29]
movups xmmword [rbp - 0x49], xmm0
movups xmm1, xmmword [rbp - 0x19]
movups xmmword [rbp - 0x39], xmm1
movdqa xmm0, xmmword [0x14043ca90]
movdqu xmmword [rbp - 0x19], xmm0
mov word [rbp - 0x29], bx
lea rcx, [rbp - 0x29]
call fcn.1400166f0
nop
lea rcx, [rsp + 0x70]
call fcn.1400166f0
nop
lea rcx, [rbp - 0x69]
call fcn.1400166f0
lea rcx, [rbp - 0x49]
cmp qword [rbp - 0x31], 7
cmova rcx, qword [rbp - 0x49]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
nop
lea rcx, [rbp - 0x49]
call fcn.1400166f0
mov rcx, qword [rbp - 9]
xor rcx, rsp
call fcn.1402b5c00
add rsp, 0x100
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.1402c5d0c
nop
int3