joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400947b4
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov r12, r9
mov r14, r8
mov rbp, rdx
mov rdi, rcx
mov rcx, qword [0x14017a048]
lea rax, [0x14017a048]
cmp rcx, rax
je 0x14009480a
test byte [rcx + 0x1c], 1
je 0x14009480a
cmp byte [rcx + 0x19], 4
jb 0x14009480a
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015e7f8]
mov edx, 0x18
call fcn.140006b98
mov r15, qword [rsp + 0x90]
xor ebx, ebx
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x80], ebx
test r14, r14
je 0x140094833
test rbp, rbp
je 0x140094833
test r12, r12
je 0x140094833
test r15, r15
jne 0x14009484b
lea r8, str.ppbValue___NULL__wszValueName___NULL__lpType___NULL__lpSize___NULL
mov edx, 0x1c0
lea rcx, str.base_stor_blbutil_systemutils.cpp
call fcn.14008ac24
lea rax, [rsp + 0x80]
mov qword [r14], rbx
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rbx
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
nop dword [rax + rax]
test eax, eax
je 0x1400948d7
jg 0x140094882
mov ebx, eax
jmp 0x14009488b
movzx ebx, ax
or ebx, 0x80070000
mov rcx, qword [0x14017a048]
lea r14, [0x14017a048]
cmp rcx, r14
je 0x140094a07
test byte [rcx + 0x1c], 1
je 0x1400949e1
cmp byte [rcx + 0x19], 3
jb 0x1400949e1
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015e7f8]
mov edx, 0x19
mov dword [rsp + 0x20], ebx
mov r9, rbp
call fcn.140011330
jmp 0x1400949da
mov eax, dword [rsp + 0x80]
test eax, eax
jne 0x140094901
lea r8, str.cbSize___0
mov edx, 0x1ce
lea rcx, str.base_stor_blbutil_systemutils.cpp
call fcn.14008ac24
mov eax, dword [rsp + 0x80]
mov ecx, eax
call qword [sym.imp.ole32.dll_CoTaskMemAlloc]
nop dword [rax + rax]
mov rsi, rax
test rax, rax
jne 0x140094921
mov ebx, 0x8007000e
jmp 0x1400949d3
mov r8d, dword [rsp + 0x80]
xor edx, edx
mov rcx, rsi
call sub.msvcrt.dll_memset
lea rax, [rsp + 0x80]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x30]
mov rdx, rbp
mov qword [rsp + 0x20], rsi
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
nop dword [rax + rax]
mov edi, eax
test eax, eax
je 0x1400949be
jle 0x140094970
movzx edi, ax
or edi, 0x80070000
mov rcx, qword [0x14017a048]
lea r14, [0x14017a048]
cmp rcx, r14
je 0x1400949ab
test byte [rcx + 0x1c], 1
je 0x1400949ab
cmp byte [rcx + 0x19], 2
jb 0x1400949ab
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015e7f8]
mov edx, 0x1a
mov dword [rsp + 0x20], edi
mov r9, rbp
call fcn.140011330
mov rcx, rsi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov ebx, edi
jmp 0x1400949da
mov eax, dword [rsp + 0x30]
mov dword [r12], eax
mov eax, dword [rsp + 0x80]
mov dword [r15], eax
mov qword [r14], rsi
lea r14, [0x14017a048]
mov rcx, qword [0x14017a048]
cmp rcx, r14
je 0x140094a07
test byte [rcx + 0x1c], 1
je 0x140094a07
cmp byte [rcx + 0x19], 4
jb 0x140094a07
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015e7f8]
mov edx, 0x1b
call fcn.140006b98
mov rbp, qword [rsp + 0x78]
mov eax, ebx
mov rbx, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x140094a28
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r13
push r14
sub rsp, 0x30
mov ebp, r9d
mov rdi, r8
mov rsi, rdx
mov r14, rcx
mov rcx, qword [0x14017a048]
lea r13, [0x14017a048]
cmp rcx, r13
je 0x140094a78
test byte [rcx + 0x1c], 1
je 0x140094a78
cmp byte [rcx + 0x19], 4
jb 0x140094a78
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015e7f8]
mov edx, 0x26
call fcn.140006b98
xor ebx, ebx
mov dword [rsp + 0x70], ebx
mov dword [rsp + 0x78], ebx
mov dword [rdi], ebx
test rsi, rsi
jne 0x140094aa1
lea r8, str.wszValueName
mov edx, 0x2d5
lea rcx, str.base_stor_blbutil_systemutils.cpp
call fcn.14008ac24
lea rax, [rsp + 0x68]
mov dword [rsp + 0x68], 4
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x78]
lea rax, [rsp + 0x70]
xor r8d, r8d
mov rdx, rsi
mov qword [rsp + 0x20], rax
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
nop dword [rax + rax]
test ebp, ebp
je 0x140094ae5
cmp eax, 2
jne 0x140094ae5
lea ebx, [rax - 1]
jmp 0x140094b50
test eax, eax
je 0x140094b2e
jg 0x140094aef
mov ebx, eax
jmp 0x140094af8
movzx ebx, ax
or ebx, 0x80070000
mov rcx, qword [0x14017a048]
cmp rcx, r13
je 0x140094b7d
test byte [rcx + 0x1c], 1
je 0x140094b57
cmp byte [rcx + 0x19], 3
jb 0x140094b57
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015e7f8]
mov edx, 0x27
mov dword [rsp + 0x20], ebx
mov r9, rsi
call fcn.140011330
jmp 0x140094b50
cmp dword [rsp + 0x78], 4
je 0x140094b3c
mov ebx, 0x8007065d
jmp 0x140094b50
cmp dword [rsp + 0x68], 4
je 0x140094b4a
mov ebx, 0x80004005
jmp 0x140094b50
mov eax, dword [rsp + 0x70]
mov dword [rdi], eax
mov rcx, qword [0x14017a048]
cmp rcx, r13
je 0x140094b7d
test byte [rcx + 0x1c], 1
je 0x140094b7d
cmp byte [rcx + 0x19], 4
jb 0x140094b7d
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015e7f8]
mov edx, 0x28
call fcn.140006b98
mov eax, ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop r13
pop rdi
pop rsi
pop rbp
ret
Function at 0x140094b98
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rbp
mov qword [rsp + 0x10], rdx
push rsi
push rdi
push r13
push r14
push r15
sub rsp, 0x30
mov r14, r9
mov r15, r8
mov rbp, rcx
mov rcx, qword [0x14017a048]
lea r13, [0x14017a048]
cmp rcx, r13
je 0x140094bf0
test byte [rcx + 0x1c], 1
je 0x140094bf0
cmp byte [rcx + 0x19], 4
jb 0x140094bf0
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015e7f8]
mov edx, 0x2c
call fcn.140006b98
xor ebx, ebx
mov dword [rsp + 0x70], ebx
xor ecx, ecx
mov qword [r15], rbx
mov dword [r14], ebx
lea esi, [rbx + 0x40]
mov dword [rsp + 0x68], esi
jmp 0x140094c82
mov rcx, qword [0x14017a048]
cmp rcx, r13
je 0x140094c37
test byte [rcx + 0x1c], 1
je 0x140094c37
cmp byte [rcx + 0x19], 4
jb 0x140094c37
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015e7f8]
mov edx, 0x2d
mov r9d, esi
call fcn.140011750
lea rax, [rsp + 0x68]
mov dword [rsp + 0x68], esi
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x70]
xor r8d, r8d
mov qword [rsp + 0x20], rdi
lea rdx, str.RestoredVolumes
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
nop dword [rax + rax]
test eax, eax
je 0x140094d4a
cmp eax, 0xea
jne 0x140094d04
mov esi, dword [rsp + 0x68]
mov rcx, rdi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rcx, rsi
call qword [sym.imp.ole32.dll_CoTaskMemAlloc]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
jne 0x140094c07
mov ebx, 0x8007000e
mov rcx, rdi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rcx, qword [0x14017a048]
cmp rcx, r13
je 0x140094cea
test byte [rcx + 0x1c], 1
je 0x140094cea
cmp byte [rcx + 0x19], 4
jb 0x140094cea
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015e7f8]
mov edx, 0x2f
call fcn.140006b98
mov rbp, qword [rsp + 0x78]
mov eax, ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop r13
pop rdi
pop rsi
ret
test eax, eax
jg 0x140094d0c
mov ebx, eax
jmp 0x140094d15
movzx ebx, ax
or ebx, 0x80070000
mov rcx, qword [0x14017a048]
cmp rcx, r13
je 0x140094cae
test byte [rcx + 0x1c], 1
je 0x140094cae
cmp byte [rcx + 0x19], 2
jb 0x140094cae
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015e7f8]
mov edx, 0x2e
mov r9d, ebx
call fcn.140006bc4
jmp 0x140094cae
cmp dword [rsp + 0x70], 7
je 0x140094d5b
mov ebx, 0x8000ffff
jmp 0x140094cae
mov eax, dword [rsp + 0x68]
mov qword [r15], rdi
mov rdi, rbx
mov dword [r14], eax
jmp 0x140094cae
Function at 0x140094d74
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x50
mov rax, qword [0x14017a608]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rdi, rcx
mov rcx, qword [0x14017a048]
lea r14, [0x14017a048]
cmp rcx, r14
je 0x140094dca
test byte [rcx + 0x1c], 1
je 0x140094dca
cmp byte [rcx + 0x19], 4
jb 0x140094dca
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015e7f8]
mov edx, 0x1f
call fcn.140006b98
xor ebx, ebx
lea r8, [rsp + 0x38]
xor eax, eax
mov dword [rsp + 0x30], ebx
mov qword [rsp + 0x38], rax
mov rcx, rdi
mov dword [rsp + 0x40], eax
lea rax, [rsp + 0x34]
lea r9d, [rbx + 0xc]
mov dword [rsp + 0x34], ebx
lea edx, [rbx + 5]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntdll.dll_NtQueryKey]
nop dword [rax + rax]
test eax, eax
jns 0x140094e34
mov ecx, eax
call fcn.140026c9c
mov ebx, eax
mov rcx, qword [0x14017a048]
cmp rcx, r14
je 0x140094ec7
test byte [rcx + 0x1c], 1
je 0x140094ea1
cmp byte [rcx + 0x19], 2
jb 0x140094ea1
mov edx, 0x20
jmp 0x140094e87
mov eax, dword [rsp + 0x40]
lea r8, [rsp + 0x30]
mov r9d, 4
or eax, 0xe
mov rcx, rdi
mov dword [rsp + 0x30], eax
lea edx, [r9 - 2]
call qword [sym.imp.ntdll.dll_NtSetInformationKey]
nop dword [rax + rax]
test eax, eax
jns 0x140094e9a
mov ecx, eax
call fcn.140026c9c
mov ebx, eax
mov rcx, qword [0x14017a048]
cmp rcx, r14
je 0x140094ec7
test byte [rcx + 0x1c], 1
je 0x140094ea1
cmp byte [rcx + 0x19], 2
jb 0x140094ea1
mov edx, 0x21
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015e7f8]
mov r9d, eax
call fcn.140006bc4
mov rcx, qword [0x14017a048]
cmp rcx, r14
je 0x140094ec7
test byte [rcx + 0x1c], 1
je 0x140094ec7
cmp byte [rcx + 0x19], 4
jb 0x140094ec7
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015e7f8]
mov edx, 0x22
call fcn.140006b98
mov eax, ebx
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140001d90
mov rbx, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
add rsp, 0x50
pop r14
ret
Function at 0x1400956d8
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r14
sub rsp, 0x30
mov rdi, r9
mov esi, r8d
mov rbp, rdx
mov r14, rcx
mov rcx, qword [0x14017a048]
lea r12, [0x14017a048]
cmp rcx, r12
je 0x140095730
test byte [rcx + 0x1c], 1
je 0x140095730
cmp byte [rcx + 0x19], 4
jb 0x140095730
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015e7f8]
mov edx, 0x23
call fcn.140006b98
mov eax, dword [rsp + 0x70]
mov r9d, esi
mov dword [rsp + 0x28], eax
xor r8d, r8d
mov rdx, rbp
mov qword [rsp + 0x20], rdi
mov rcx, r14
xor ebx, ebx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
nop dword [rax + rax]
mov edi, eax
test eax, eax
je 0x1400957a5
mov rcx, qword [0x14017a048]
cmp rcx, r12
je 0x140095792
test byte [rcx + 0x1c], 1
je 0x140095792
cmp byte [rcx + 0x19], 2
jb 0x140095792
mov rcx, qword [rcx + 0x10]
lea edx, [rbx + 0x24]
xor r9d, r9d
lea r8, [0x14015e7f8]
call fcn.140006bc4
mov rcx, qword [0x14017a048]
test edi, edi
jg 0x14009579a
mov ebx, edi
jmp 0x1400957ac
movzx ebx, di
or ebx, 0x80070000
jmp 0x1400957ac
mov rcx, qword [0x14017a048]
cmp rcx, r12
je 0x1400957d2
test byte [rcx + 0x1c], 1
je 0x1400957d2
cmp byte [rcx + 0x19], 4
jb 0x1400957d2
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015e7f8]
mov edx, 0x25
call fcn.140006b98
mov rbp, qword [rsp + 0x58]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop r12
pop rdi
ret

Function at 0x140095be0
Capabilities:
Hash data via bcrypt

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
xor ebx, ebx
mov esi, r9d
mov rdi, r8
mov rbp, rdx
test rdx, rdx
jne 0x140095c1c
lea r8, str.hCryptHash
mov edx, 0x206
lea rcx, str.base_stor_blbutilchecksum.cpp
call fcn.14008ac24
test rdi, rdi
jne 0x140095c39
lea r8, [0x14015e858]
mov edx, 0x207
lea rcx, str.base_stor_blbutilchecksum.cpp
call fcn.14008ac24
test esi, esi
je 0x140095c9b
xor r9d, r9d
mov r8d, esi
mov rdx, rdi
mov rcx, rbp
call qword [sym.imp.bcrypt.dll_BCryptHashData]
nop dword [rax + rax]
test eax, eax
jns 0x140095cd2
mov ecx, eax
call fcn.140026c9c
mov ebx, eax
mov rcx, qword [0x14017a048]
lea rdx, [0x14017a048]
cmp rcx, rdx
je 0x140095cd2
test byte [rcx + 0x1c], 1
je 0x140095cd2
cmp byte [rcx + 0x19], 2
jb 0x140095cd2
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015e920]
mov edx, 0x13
mov r9d, eax
call fcn.140006bc4
jmp 0x140095cd2
mov rcx, qword [0x14017a048]
lea rdx, [0x14017a048]
cmp rcx, rdx
je 0x140095cd2
test byte [rcx + 0x1c], 1
je 0x140095cd2
cmp byte [rcx + 0x19], 5
jb 0x140095cd2
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015e920]
mov edx, 0x14
mov r9, rdi
call fcn.14003df0c
mov rbp, qword [rsp + 0x38]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14009b3e8
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x450
mov rax, qword [0x14017a608]
xor rax, rsp
mov qword [rsp + 0x440], rax
xor ebp, ebp
mov rsi, rcx
test rcx, rcx
jne 0x14009b431
lea r8, str.pwszLogsDirectory
mov edx, 0x23c
lea rcx, str.base_stor_blbutil_blbtrace.cpp
call fcn.14008ac24
mov qword [rsi], rbp
mov rbx, qword [0x14017a048]
lea r14, [0x14017a048]
cmp rbx, r14
je 0x14009b46f
test byte [rbx + 0x1c], 1
je 0x14009b46f
cmp byte [rbx + 0x19], 4
jb 0x14009b46f
mov rcx, qword [rbx + 0x10]
lea r8, [0x14015ef98]
mov edx, 0x23
call fcn.140006b98
mov rbx, qword [0x14017a048]
mov edi, 0x208
lea rcx, [rsp + 0x20]
mov r8d, edi
xor edx, edx
call sub.msvcrt.dll_memset
mov r8d, edi
lea rcx, [rsp + 0x230]
xor edx, edx
call sub.msvcrt.dll_memset
mov r9d, 0x104
lea r8, str._SystemRoot_Logs
lea rax, [rsp + 0x20]
mov edx, r9d
sub r8, rax
lea rcx, [rsp + 0x20]
lea rax, [rdx + 0x7ffffefa]
test rax, rax
je 0x14009b4d5
movzx eax, word [r8 + rcx]
test ax, ax
je 0x14009b4d5
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x14009b4b2
test rdx, rdx
lea rax, [rcx - 2]
cmovne rax, rcx
mov word [rax], bp
mov rax, rdx
neg rax
sbb edi, edi
not edi
and edi, 0x8007007a
test rdx, rdx
je 0x14009b558
mov r8d, r9d
lea rdx, [rsp + 0x230]
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
nop dword [rax + rax]
test eax, eax
jne 0x14009b53c
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rbx, qword [0x14017a048]
mov edi, eax
test eax, eax
jle 0x14009b558
movzx edi, ax
or edi, 0x80070000
jmp 0x14009b558
xor r8d, r8d
lea rcx, [rsp + 0x230]
mov rdx, rsi
call fcn.14008c1cc
mov rbx, qword [0x14017a048]
mov edi, eax
cmp rbx, r14
je 0x14009b57e
test byte [rbx + 0x1c], 1
je 0x14009b57e
cmp byte [rbx + 0x19], 4
jb 0x14009b57e
mov rcx, qword [rbx + 0x10]
lea r8, [0x14015ef98]
mov edx, 0x24
call fcn.140006b98
mov eax, edi
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.140001d90
lea r11, [rsp + 0x450]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x1400a71dc
Capabilities:
Move file

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r15
sub rsp, 0x30
mov rsi, rdx
lea r15, [0x14017a048]
mov rbp, rcx
xor edi, edi
mov r8d, 1
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
nop dword [rax + rax]
test eax, eax
jne 0x1400a730a
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
cmp eax, 0x20
jne 0x1400a72c0
mov rcx, qword [0x14017a048]
cmp rcx, r15
je 0x1400a726e
test byte [rcx + 0x1c], 1
je 0x1400a726e
cmp byte [rcx + 0x19], 3
jb 0x1400a726e
mov rcx, qword [rcx + 0x10]
lea edx, [rax + 0x32]
mov r9, rbp
mov qword [rsp + 0x20], rsi
lea r8, [0x14015fec8]
call fcn.1400113b0
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
nop dword [rax + rax]
inc edi
cmp edi, 5
jb 0x1400a7204
jne 0x1400a730a
mov rcx, qword [0x14017a048]
cmp rcx, r15
je 0x1400a72b9
test byte [rcx + 0x1c], 1
je 0x1400a72b9
cmp byte [rcx + 0x19], 2
jb 0x1400a72b9
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015fec8]
mov edx, 0x54
call fcn.140006b98
mov eax, 0x80780163
jmp 0x1400a730c
mov rcx, qword [0x14017a048]
cmp rcx, r15
je 0x1400a72f9
test byte [rcx + 0x1c], 1
je 0x1400a72f9
cmp byte [rcx + 0x19], 2
jb 0x1400a72f9
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015fec8]
mov edx, 0x53
mov dword [rsp + 0x28], ebx
mov r9, rbp
mov qword [rsp + 0x20], rsi
call fcn.140011464
test ebx, ebx
jle 0x1400a7306
movzx ebx, bx
or ebx, 0x80070000
mov eax, ebx
jmp 0x1400a730c
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r15
ret
Function at 0x1400aa370
Capabilities:
Read file on windows

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x14017a608]
xor rax, rsp
mov qword [rsp + 0x78], rax
and dword [rsp + 0x30], 0
lea r9, [r11 - 0x58]
and qword [r11 - 0x68], 0
xorps xmm0, xmm0
mov edi, edx
mov rsi, rcx
mov rcx, qword [rcx + 8]
lea rdx, [r11 - 0x30]
mov ebx, 0x20
mov r8d, ebx
movups xmmword [rsp + 0x58], xmm0
movups xmmword [rsp + 0x68], xmm0
call qword [sym.imp.KERNEL32.dll_ReadFile]
nop dword [rax + rax]
test eax, eax
jne 0x1400aa42d
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [0x14017a048]
lea rax, [0x14017a048]
cmp rcx, rax
je 0x1400aa417
test byte [rcx + 0x1c], 2
je 0x1400aa417
cmp byte [rcx + 0x19], 2
jb 0x1400aa417
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015fec8]
mov edx, 0x63
mov r9d, ebx
call fcn.140011750
test ebx, ebx
jle 0x1400aa4c9
movzx ebx, bx
or ebx, 0x80070000
jmp 0x1400aa4c9
mov r9d, dword [rsp + 0x30]
cmp r9d, ebx
je 0x1400aa471
mov rcx, qword [0x14017a048]
lea rax, [0x14017a048]
cmp rcx, rax
je 0x1400aa4bf
test byte [rcx + 0x1c], 2
je 0x1400aa4bf
cmp byte [rcx + 0x19], 2
jb 0x1400aa4bf
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015fec8]
mov edx, 0x64
mov dword [rsp + 0x20], ebx
call fcn.14003dbf0
jmp 0x1400aa4bf
mov rsi, qword [rsi + 0x10]
lea rdx, [rsp + 0x38]
xorps xmm0, xmm0
mov rcx, rsi
movups xmmword [rsp + 0x38], xmm0
movups xmmword [rsp + 0x48], xmm0
call fcn.140095d7c
mov ebx, eax
test eax, eax
js 0x1400aa4ae
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x58]
call fcn.1400958c0
test al, al
mov ecx, 0x80004005
cmove ebx, ecx
lea r8, [rsi + 0x10]
lea rdx, [rsi + 8]
call fcn.140095cf0
test ebx, ebx
jns 0x1400aa4c9
neg edi
sbb ebx, ebx
add ebx, 0x80780002
mov eax, ebx
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140001d90
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x1400aa6d0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x14017a608]
xor rax, rsp
mov qword [rsp + 0x58], rax
and dword [rsp + 0x30], 0
lea rdx, [rsp + 0x38]
xorps xmm0, xmm0
mov rdi, rcx
mov rcx, qword [rcx + 0x10]
movups xmmword [rsp + 0x38], xmm0
movups xmmword [rsp + 0x48], xmm0
call fcn.140095d7c
mov ebx, eax
test eax, eax
js 0x1400aa7b3
mov rcx, qword [rdi + 8]
lea r9, [rsp + 0x30]
and qword [rsp + 0x20], 0
lea rdx, [rsp + 0x38]
mov r8d, 0x20
call qword [sym.imp.KERNEL32.dll_WriteFile]
nop dword [rax + rax]
test eax, eax
jne 0x1400aa794
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [0x14017a048]
lea rax, [0x14017a048]
cmp rcx, rax
je 0x1400aa785
test byte [rcx + 0x1c], 2
je 0x1400aa785
cmp byte [rcx + 0x19], 2
jb 0x1400aa785
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015fec8]
mov edx, 0x65
mov r9d, ebx
call fcn.140011750
test ebx, ebx
jle 0x1400aa7b3
movzx ebx, bx
or ebx, 0x80070000
jmp 0x1400aa7b3
cmp dword [rsp + 0x30], 0x20
je 0x1400aa7b3
lea r8, str.dwWritten__sizeof_rgChecksum_
mov edx, 0xd2f
lea rcx, [0x14015f648]
call fcn.14008ac24
mov eax, ebx
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140001d90
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
Function at 0x1400af6e0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov r15d, r8d
mov rsi, r9
mov rbp, rdx
mov rdi, rcx
test r9, r9
jne 0x1400af725
lea r8, str.pAtom___NULL
mov edx, 0x10ec
lea rcx, str.base_stor_blbcatalog_atomtbl.cpp
call fcn.14008ac24
test rbp, rbp
jne 0x1400af742
lea r8, str.pbVal___NULL
mov edx, 0x10ed
lea rcx, str.base_stor_blbcatalog_atomtbl.cpp
call fcn.14008ac24
or dword [rsi], 0xffffffff
xor eax, eax
test r15d, r15d
je 0x1400af762
mov rdx, rbp
mov r8, r15
movzx ecx, byte [rdx]
inc rdx
rol eax, 1
xor eax, ecx
sub r8, 1
jne 0x1400af752
xor edx, edx
div dword [rdi]
mov rax, qword [rdi + 0x10]
mov ebx, edx
mov r9d, edx
mov rdx, qword [rax + rdx*8]
test rdx, rdx
je 0x1400af7ee
mov r8, qword [rdi + 0x18]
mov ecx, ebx
shr r9, 5
and ecx, 0x1f
mov eax, dword [r8 + r9*4]
bt eax, ecx
jae 0x1400af818
mov r12d, dword [rdx]
lea r14, [rdx + 8]
xor edi, edi
test r12d, r12d
je 0x1400af7ee
lea r13, [0x140160218]
mov rdx, qword [r14]
cmp byte [rdx], 9
jne 0x1400af7e3
lea rax, [rdx + 1]
and eax, 7
mov ecx, dword [r13 + rax*4]
mov r8d, dword [rcx + rdx + 1]
add rcx, 5
add rdx, rcx
mov eax, r8d
neg eax
sbb rcx, rcx
and rcx, rdx
cmp r8d, r15d
jne 0x1400af7e3
mov rdx, rbp
call sub.msvcrt.dll_memcmp
test eax, eax
je 0x1400af811
inc edi
add r14, 8
cmp edi, r12d
jb 0x1400af7a7
mov eax, 1
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
shl ebx, 0xb
or ebx, edi
jmp 0x1400af85b
cmp byte [rdx], 9
jne 0x1400af7ee
lea rax, [rdx + 1]
and eax, 7
lea r13, [0x140160218]
mov ecx, dword [r13 + rax*4]
mov r8d, dword [rcx + rdx + 1]
add rcx, 5
add rdx, rcx
mov eax, r8d
neg eax
sbb rcx, rcx
and rcx, rdx
cmp r8d, r15d
jne 0x1400af7ee
mov rdx, rbp
call sub.msvcrt.dll_memcmp
test eax, eax
jne 0x1400af7ee
shl ebx, 0xb
mov dword [rsi], ebx
xor eax, eax
jmp 0x1400af7f3
Function at 0x1400bf630
Capabilities:
Encode data using xor
Hash data with md5

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x37]
sub rsp, 0xb0
mov rax, qword [0x14017a608]
xor rax, rsp
mov qword [rbp + 0x2f], rax
and dword [rbp - 0x25], 0
mov rbx, rcx
and dword [rbp - 0x29], 0
lea rcx, [rbp - 0x39]
mov rdi, r9
mov dword [rbp - 0x39], 0x67452301
mov r14d, r8d
mov dword [rbp - 0x35], 0xefcdab89
mov dword [rbp - 0x31], 0x98badcfe
mov dword [rbp - 0x2d], 0x10325476
call fcn.1400dba38
mov esi, 8
lea rdx, [rbp - 0x29]
mov r8d, esi
lea rcx, [rbp + 0x27]
call fcn.1400db42c
mov r9d, dword [rbp - 0x29]
lea eax, [rsi + 0x70]
shr r9d, 3
lea r8d, [rsi + 0x30]
and r9d, 0x3f
lea rdx, [0x14017aa10]
sub eax, r9d
lea rcx, [rbp - 0x39]
sub r8d, r9d
cmp r9d, 0x38
cmovae r8d, eax
call fcn.1400dba38
mov r8d, esi
lea rdx, [rbp + 0x27]
lea rcx, [rbp - 0x39]
call fcn.1400dba38
mov esi, 0x10
lea rdx, [rbp - 0x39]
mov r8d, esi
mov rcx, rdi
call fcn.1400db42c
xor edx, edx
lea rcx, [rbp - 0x39]
lea r8d, [rsi + 0x48]
call sub.msvcrt.dll_memset
mov rdx, rdi
mov rcx, rbx
sub rdx, rbx
mov al, byte [rdx + rcx]
xor byte [rcx], al
inc rcx
sub rsi, 1
jne 0x1400bf709
mov rcx, qword [0x14017a048]
lea rsi, [0x14017a048]
cmp rcx, rsi
je 0x1400bf7a6
test byte [rcx + 0x1c], 4
je 0x1400bf769
cmp byte [rcx + 0x19], 5
jb 0x1400bf769
mov eax, dword [rdi + 0xc]
mov edx, 0x1f5
mov rcx, qword [rcx + 0x10]
mov r9d, r14d
mov dword [rsp + 0x38], eax
mov eax, dword [rdi + 8]
mov dword [rsp + 0x30], eax
mov eax, dword [rdi + 4]
mov dword [rsp + 0x28], eax
mov eax, dword [rdi]
mov dword [rsp + 0x20], eax
call fcn.1400ce3f4
mov rcx, qword [0x14017a048]
cmp rcx, rsi
je 0x1400bf7a6
test byte [rcx + 0x1c], 4
je 0x1400bf7a6
cmp byte [rcx + 0x19], 5
jb 0x1400bf7a6
mov eax, dword [rbx + 0xc]
mov edx, 0x1f6
mov rcx, qword [rcx + 0x10]
mov r9d, r14d
mov dword [rsp + 0x38], eax
mov eax, dword [rbx + 8]
mov dword [rsp + 0x30], eax
mov eax, dword [rbx + 4]
mov dword [rsp + 0x28], eax
mov eax, dword [rbx]
mov dword [rsp + 0x20], eax
call fcn.1400ce3f4
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.140001d90
add rsp, 0xb0
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret