joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140090c00
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 [0x14017b048]
lea r12, [0x14017b048]
cmp rcx, r12
je 0x140090c58
test byte [rcx + 0x1c], 1
je 0x140090c58
cmp byte [rcx + 0x19], 4
jb 0x140090c58
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015a6e8]
mov edx, 0x23
call fcn.140004c10
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 0x140090cca
mov rcx, qword [0x14017b048]
cmp rcx, r12
je 0x140090cba
test byte [rcx + 0x1c], 1
je 0x140090cba
cmp byte [rcx + 0x19], 2
jb 0x140090cba
mov rcx, qword [rcx + 0x10]
lea edx, [rbx + 0x24]
xor r9d, r9d
lea r8, [0x14015a6e8]
call fcn.140004c3c
mov rcx, qword [0x14017b048]
movzx ebx, di
or ebx, 0x80070000
test edi, edi
cmovle ebx, edi
jmp 0x140090cd1
mov rcx, qword [0x14017b048]
cmp rcx, r12
je 0x140090cf7
test byte [rcx + 0x1c], 1
je 0x140090cf7
cmp byte [rcx + 0x19], 4
jb 0x140090cf7
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015a6e8]
mov edx, 0x25
call fcn.140004c10
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 0x140090d1c
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x30
mov ebp, r9d
mov rdi, r8
mov rsi, rdx
mov r14, rcx
mov rcx, qword [0x14017b048]
lea rax, [0x14017b048]
cmp rcx, rax
je 0x140090d67
test byte [rcx + 0x1c], 1
je 0x140090d67
cmp byte [rcx + 0x19], 4
jb 0x140090d67
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015a6e8]
mov edx, 0x26
call fcn.140004c10
xor ebx, ebx
mov dword [rsp + 0x70], ebx
mov dword [rsp + 0x78], ebx
mov dword [rdi], ebx
test rsi, rsi
jne 0x140090d90
lea r8, str.wszValueName
mov edx, 0x2d5
lea rcx, str.base_stor_blbutil_systemutils.cpp
call fcn.140087b08
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]
mov ecx, eax
test ebp, ebp
je 0x140090dd6
cmp eax, 2
jne 0x140090dd6
lea ebx, [rax - 1]
jmp 0x140090e4c
test ecx, ecx
je 0x140090e2a
movzx eax, cx
or eax, 0x80070000
test ecx, ecx
cmovle eax, ecx
mov ebx, eax
mov rcx, qword [0x14017b048]
lea rdi, [0x14017b048]
cmp rcx, rdi
je 0x140090e80
test byte [rcx + 0x1c], 1
je 0x140090e5a
cmp byte [rcx + 0x19], 3
jb 0x140090e5a
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015a6e8]
mov edx, 0x27
mov dword [rsp + 0x20], eax
mov r9, rsi
call fcn.140005d40
jmp 0x140090e53
cmp dword [rsp + 0x78], 4
je 0x140090e38
mov ebx, 0x8007065d
jmp 0x140090e4c
cmp dword [rsp + 0x68], 4
je 0x140090e46
mov ebx, 0x80004005
jmp 0x140090e4c
mov eax, dword [rsp + 0x70]
mov dword [rdi], eax
lea rdi, [0x14017b048]
mov rcx, qword [0x14017b048]
cmp rcx, rdi
je 0x140090e80
test byte [rcx + 0x1c], 1
je 0x140090e80
cmp byte [rcx + 0x19], 4
jb 0x140090e80
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015a6e8]
mov edx, 0x28
call fcn.140004c10
mov eax, ebx
add rsp, 0x30
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140090e94
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x30
mov r14, r9
mov r15, r8
mov rbp, rcx
mov rcx, qword [0x14017b048]
lea rax, [0x14017b048]
cmp rcx, rax
je 0x140090ee6
test byte [rcx + 0x1c], 1
je 0x140090ee6
cmp byte [rcx + 0x19], 4
jb 0x140090ee6
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015a6e8]
mov edx, 0x2c
call fcn.140004c10
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 0x140090f82
mov rcx, qword [0x14017b048]
lea rax, [0x14017b048]
cmp rcx, rax
je 0x140090f37
test byte [rcx + 0x1c], 1
je 0x140090f37
cmp byte [rcx + 0x19], 4
jb 0x140090f37
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015a6e8]
mov edx, 0x2d
mov r9d, esi
call fcn.140004c3c
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 0x140091053
cmp eax, 0xea
jne 0x140091005
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 0x140090f00
mov ebx, 0x8007000e
mov rcx, rdi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rcx, qword [0x14017b048]
lea rax, [0x14017b048]
cmp rcx, rax
je 0x140090ff1
test byte [rcx + 0x1c], 1
je 0x140090ff1
cmp byte [rcx + 0x19], 4
jb 0x140090ff1
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015a6e8]
mov edx, 0x2f
call fcn.140004c10
mov eax, ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov rcx, qword [0x14017b048]
lea rax, [0x14017b048]
cmp rcx, rax
je 0x140090fae
test byte [rcx + 0x1c], 1
je 0x140090fae
cmp byte [rcx + 0x19], 2
jb 0x140090fae
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015a6e8]
mov edx, 0x2e
mov r9d, ebx
call fcn.140004c3c
jmp 0x140090fae
cmp dword [rsp + 0x70], 7
je 0x140091064
mov ebx, 0x8000ffff
jmp 0x140090fae
mov eax, dword [rsp + 0x68]
mov qword [r15], rdi
mov rdi, rbx
mov dword [r14], eax
jmp 0x140090fae
Function at 0x140091124
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
xor ebx, ebx
mov r14, rcx
mov qword [rax + 8], rbx
test rcx, rcx
jne 0x14009115f
lea r8, str.pwszBlbWindowsDirectoryPath___NULL
mov edx, 0x63c
lea rcx, str.base_stor_blbutil_systemutils.cpp
call fcn.140087b08
and qword [r14], rbx
mov edi, 0x208
mov ecx, edi
call qword [sym.imp.ole32.dll_CoTaskMemAlloc]
nop dword [rax + rax]
mov rsi, rax
test rax, rax
jne 0x140091184
mov edi, 0x8007000e
jmp 0x1400911f0
mov r8, rdi
xor edx, edx
mov rcx, rsi
call sub.msvcrt.dll_memset
mov edx, 0x104
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
nop dword [rax + rax]
mov edi, eax
test eax, eax
js 0x1400911cd
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.1400887a0
mov edi, eax
test eax, eax
js 0x1400911c8
mov rax, qword [rsp + 0x30]
mov qword [r14], rax
jmp 0x1400911cd
mov rbx, qword [rsp + 0x30]
mov rcx, rsi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
test rbx, rbx
je 0x1400911f0
mov rcx, rbx
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rbx, qword [rsp + 0x38]
mov eax, edi
mov rdi, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x1400921a4
Capabilities:
Get common file path

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, 0x20
mov rsi, rcx
mov rcx, qword [0x14017b048]
lea r15, [0x14017b048]
cmp rcx, r15
je 0x1400921f4
test byte [rcx + 0x1c], 1
je 0x1400921f4
cmp byte [rcx + 0x19], 4
jb 0x1400921f4
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015a6e8]
mov edx, 0x8f
call fcn.140004c10
test rsi, rsi
jne 0x140092211
lea r8, str.pwszWindowsTempPath
mov edx, 0xa75
lea rcx, str.base_stor_blbutil_systemutils.cpp
call fcn.140087b08
and qword [rsi], 0
mov ecx, 0x28
call qword [sym.imp.ole32.dll_CoTaskMemAlloc]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
jne 0x140092238
mov ebx, 0x8007000e
jmp 0x140092386
xor eax, eax
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov rdx, rdi
movups xmmword [rdi + 0x10], xmm0
lea ecx, [rax + 0x14]
mov qword [rdi + 0x20], rax
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
nop dword [rax + rax]
mov ebx, eax
cmp eax, 0x14
jbe 0x140092327
mov rcx, rdi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov eax, ebx
mov ecx, 0xffffffff
add rax, rax
cmp rax, rcx
ja 0x140092320
mov ecx, eax
mov ebp, eax
call qword [sym.imp.ole32.dll_CoTaskMemAlloc]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
je 0x14009222e
mov r8d, ebp
xor edx, edx
mov rcx, rax
call sub.msvcrt.dll_memset
mov rdx, rdi
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
nop dword [rax + rax]
cmp eax, ebx
ja 0x1400922c9
test eax, eax
jne 0x140092364
test eax, eax
jne 0x1400922e9
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
jmp 0x1400922ee
mov ebx, 0x8007000e
mov rcx, qword [0x14017b048]
cmp rcx, r15
je 0x140092372
test byte [rcx + 0x1c], 1
je 0x140092372
cmp byte [rcx + 0x19], 2
jb 0x140092372
mov edx, 0x90
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015a6e8]
mov r9d, ebx
call fcn.140004c3c
jmp 0x14009236b
mov ebx, 0x80070216
jmp 0x140092386
test eax, eax
jne 0x140092364
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov rcx, qword [0x14017b048]
cmp rcx, r15
je 0x140092372
test byte [rcx + 0x1c], 1
je 0x140092372
cmp byte [rcx + 0x19], 2
jb 0x140092372
mov edx, SysAllocStringByteLen
jmp 0x14009230b
mov qword [rsi], rdi
xor edi, edi
xor ebx, ebx
mov rcx, qword [0x14017b048]
test rdi, rdi
je 0x14009238d
mov rcx, rdi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rcx, qword [0x14017b048]
cmp rcx, r15
je 0x1400923b3
test byte [rcx + 0x1c], 1
je 0x1400923b3
cmp byte [rcx + 0x19], 4
jb 0x1400923b3
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015a6e8]
mov edx, DllRegisterServer
call fcn.140004c10
mov rbp, qword [rsp + 0x38]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret
Function at 0x140092dbc
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 0x140092df8
lea r8, str.hCryptHash
mov edx, 0x206
lea rcx, str.base_stor_blbutilchecksum.cpp
call fcn.140087b08
test rdi, rdi
jne 0x140092e15
lea r8, [0x14015a748]
mov edx, 0x207
lea rcx, str.base_stor_blbutilchecksum.cpp
call fcn.140087b08
test esi, esi
je 0x140092e77
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 0x140092eae
mov ecx, eax
call fcn.14003bcc4
mov ebx, eax
mov rcx, qword [0x14017b048]
lea rdx, [0x14017b048]
cmp rcx, rdx
je 0x140092eae
test byte [rcx + 0x1c], 1
je 0x140092eae
cmp byte [rcx + 0x19], 2
jb 0x140092eae
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015a810]
mov edx, 0x13
mov r9d, eax
call fcn.140004c3c
jmp 0x140092eae
mov rcx, qword [0x14017b048]
lea rdx, [0x14017b048]
cmp rcx, rdx
je 0x140092eae
test byte [rcx + 0x1c], 1
je 0x140092eae
cmp byte [rcx + 0x19], 5
jb 0x140092eae
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015a810]
mov edx, 0x14
mov r9, rdi
call fcn.140010518
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 0x140097420
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x450
mov rax, qword [0x14017b608]
xor rax, rsp
mov qword [rsp + 0x440], rax
mov rdi, rcx
test rcx, rcx
jne 0x140097464
lea r8, str.pwszLogsDirectory
mov edx, 0x23c
lea rcx, str.base_stor_blbutil_blbtrace.cpp
call fcn.140087b08
and qword [rdi], 0
mov rcx, qword [0x14017b048]
lea rsi, [0x14017b048]
cmp rcx, rsi
je 0x14009749c
test byte [rcx + 0x1c], 1
je 0x14009749c
cmp byte [rcx + 0x19], 4
jb 0x14009749c
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015ae98]
mov edx, 0x23
call fcn.140004c10
mov ebx, 0x208
lea rcx, [rsp + 0x20]
mov r8d, ebx
xor edx, edx
call sub.msvcrt.dll_memset
mov r8d, ebx
lea rcx, [rsp + 0x230]
xor edx, edx
call sub.msvcrt.dll_memset
lea r8, str._SystemRoot_Logs
mov edx, 0x104
lea rcx, [rsp + 0x20]
call fcn.14003bd58
mov ebx, eax
test eax, eax
js 0x140097532
mov r8d, 0x104
lea rdx, [rsp + 0x230]
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
nop dword [rax + rax]
test eax, eax
jne 0x14009751d
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
jmp 0x140097532
xor r8d, r8d
lea rcx, [rsp + 0x230]
mov rdx, rdi
call fcn.1400889dc
mov ebx, eax
mov rcx, qword [0x14017b048]
cmp rcx, rsi
je 0x14009755f
test byte [rcx + 0x1c], 1
je 0x14009755f
cmp byte [rcx + 0x19], 4
jb 0x14009755f
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015ae98]
mov edx, 0x24
call fcn.140004c10
mov eax, ebx
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.14014bb60
lea r11, [rsp + 0x450]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x1400a69dc
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, [0x14017b048]
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 0x1400a6a82
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
cmp eax, 0x20
jne 0x1400a6ab9
mov rcx, qword [0x14017b048]
cmp rcx, r15
je 0x1400a6a6a
test byte [rcx + 0x1c], 1
je 0x1400a6a6a
cmp byte [rcx + 0x19], 3
jb 0x1400a6a6a
mov rcx, qword [rcx + 0x10]
lea edx, [rax + 0x32]
mov r9, rbp
mov qword [rsp + 0x20], rsi
lea r8, [0x14015bdc8]
call fcn.140005dc4
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
nop dword [rax + rax]
inc edi
cmp edi, 5
jb 0x1400a6a04
cmp edi, 5
jne 0x1400a6b01
mov rcx, qword [0x14017b048]
cmp rcx, r15
je 0x1400a6ab2
test byte [rcx + 0x1c], 1
je 0x1400a6ab2
cmp byte [rcx + 0x19], 2
jb 0x1400a6ab2
mov rcx, qword [rcx + 0x10]
lea edx, [rdi + 0x4f]
lea r8, [0x14015bdc8]
call fcn.140004c10
mov eax, 0x80780163
jmp 0x1400a6b03
mov rcx, qword [0x14017b048]
cmp rcx, r15
je 0x1400a6af2
test byte [rcx + 0x1c], 1
je 0x1400a6af2
cmp byte [rcx + 0x19], 2
jb 0x1400a6af2
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015bdc8]
mov edx, 0x53
mov dword [rsp + 0x28], ebx
mov r9, rbp
mov qword [rsp + 0x20], rsi
call fcn.140005e80
movzx eax, bx
or eax, 0x80070000
test ebx, ebx
cmovle eax, ebx
jmp 0x1400a6b03
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 0x1400a7b4c
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 [0x14017b608]
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 0x1400a7c04
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
mov rcx, qword [0x14017b048]
lea rax, [0x14017b048]
cmp rcx, rax
je 0x1400a7bf1
test byte [rcx + 0x1c], 2
je 0x1400a7bf1
cmp byte [rcx + 0x19], 2
jb 0x1400a7bf1
mov rcx, qword [rcx + 0x10]
lea edx, [rbx + 0x43]
mov r9d, edi
lea r8, [0x14015bdc8]
call fcn.140004c3c
movzx ebx, di
or ebx, 0x80070000
test edi, edi
cmovle ebx, edi
jmp 0x1400a7ca0
mov r9d, dword [rsp + 0x30]
cmp r9d, ebx
je 0x1400a7c48
mov rcx, qword [0x14017b048]
lea rax, [0x14017b048]
cmp rcx, rax
je 0x1400a7c96
test byte [rcx + 0x1c], 2
je 0x1400a7c96
cmp byte [rcx + 0x19], 2
jb 0x1400a7c96
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015bdc8]
mov edx, 0x64
mov dword [rsp + 0x20], ebx
call fcn.140010290
jmp 0x1400a7c96
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.140092aa4
mov ebx, eax
test eax, eax
js 0x1400a7c85
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x58]
call fcn.1400931a0
test al, al
mov ecx, 0x80004005
cmove ebx, ecx
lea r8, [rsi + 0x10]
lea rdx, [rsi + 8]
call fcn.1400932f4
test ebx, ebx
jns 0x1400a7ca0
neg edi
sbb ebx, ebx
add ebx, 0x80780002
mov eax, ebx
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14014bb60
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x1400a7ccc
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x14017b608]
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.140092aa4
mov ebx, eax
test eax, eax
js 0x1400a7db0
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 0x1400a7d91
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
mov rcx, qword [0x14017b048]
lea rax, [0x14017b048]
cmp rcx, rax
je 0x1400a7d81
test byte [rcx + 0x1c], 2
je 0x1400a7d81
cmp byte [rcx + 0x19], 2
jb 0x1400a7d81
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015bdc8]
mov edx, 0x65
mov r9d, edi
call fcn.140004c3c
movzx ebx, di
or ebx, 0x80070000
test edi, edi
cmovle ebx, edi
jmp 0x1400a7db0
cmp dword [rsp + 0x30], 0x20
je 0x1400a7db0
lea r8, str.dwWritten__sizeof_rgChecksum_
mov edx, 0xd2f
lea rcx, [0x14015b548]
call fcn.140087b08
mov eax, ebx
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14014bb60
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
Function at 0x1400abe7c
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 ebp, r8d
mov rsi, r9
mov r15, rdx
mov rdi, rcx
test r9, r9
jne 0x1400abec1
lea r8, str.pAtom___NULL
mov edx, 0x10ec
lea rcx, str.base_stor_blbcatalog_atomtbl.cpp
call fcn.140087b08
test r15, r15
jne 0x1400abede
lea r8, str.pbVal___NULL
mov edx, 0x10ed
lea rcx, str.base_stor_blbcatalog_atomtbl.cpp
call fcn.140087b08
or dword [rsi], 0xffffffff
xor eax, eax
test ebp, ebp
je 0x1400abefd
mov rdx, r15
mov r8, rbp
movzx ecx, byte [rdx]
inc rdx
rol eax, 1
xor eax, ecx
sub r8, 1
jne 0x1400abeed
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 0x1400abfd2
mov r8, qword [rdi + 0x18]
mov ecx, ebx
shr r9, 5
and ecx, 0x1f
mov eax, dword [r8 + r9*4]
bt eax, ecx
jb 0x1400abf78
cmp byte [rdx], 9
jne 0x1400abfd2
lea rax, [rdx + 1]
and eax, 7
lea r13, [0x14015c118]
mov ecx, dword [r13 + rax*4]
mov eax, dword [rcx + rdx + 1]
test eax, eax
jne 0x1400abf55
xor ecx, ecx
jmp 0x1400abf5c
add rcx, 5
add rcx, rdx
cmp eax, ebp
jne 0x1400abfd2
mov r8, rax
mov rdx, r15
call sub.msvcrt.dll_memcmp
test eax, eax
jne 0x1400abfd2
shl ebx, 0xb
mov dword [rsi], ebx
xor eax, eax
jmp 0x1400abfd7
mov r12d, dword [rdx]
lea r14, [rdx + 8]
xor edi, edi
test r12d, r12d
je 0x1400abfd2
lea r13, [0x14015c118]
mov rcx, qword [r14]
cmp byte [rcx], 9
jne 0x1400abfc7
lea rax, [rcx + 1]
and eax, 7
mov edx, dword [r13 + rax*4]
mov eax, dword [rdx + rcx + 1]
test eax, eax
jne 0x1400abfad
xor ecx, ecx
jmp 0x1400abfb4
add rcx, 5
add rcx, rdx
cmp eax, ebp
jne 0x1400abfc7
mov r8, rax
mov rdx, r15
call sub.msvcrt.dll_memcmp
test eax, eax
je 0x1400abff5
inc edi
add r14, 8
cmp edi, r12d
jb 0x1400abf8d
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 0x1400abf72
Function at 0x1400b6310
Capabilities:
Check if file exists

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x288
mov rax, qword [0x14017b608]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov r15, qword [rsp + 0x2f0]
mov r14, qword [rsp + 0x2f8]
mov rsi, qword [rsp + 0x308]
mov dword [rsp + 0x40], r9d
movzx r13d, r8b
movzx r12d, dl
mov qword [rsp + 0x48], rcx
mov r10, qword [0x14017b048]
lea rbx, [0x14017b048]
cmp r10, rbx
je 0x1400b63d2
test byte [r10 + 0x1c], 4
je 0x1400b639d
cmp byte [r10 + 0x19], 4
jb 0x1400b639d
mov rcx, qword [r10 + 0x10]
lea r8, [0x14015d3e8]
mov edx, 0x60
call fcn.140004c10
mov r10, qword [0x14017b048]
cmp r10, rbx
je 0x1400b63d2
test byte [r10 + 0x1c], 4
je 0x1400b63d2
cmp byte [r10 + 0x19], 5
jb 0x1400b63d2
mov rcx, qword [r10 + 0x10]
lea r8, [0x14015d3e8]
mov edx, 0x61
mov dword [rsp + 0x28], r13d
mov r9, r14
mov dword [rsp + 0x20], r12d
call fcn.140010a44
or rdx, 0xffffffffffffffff
mov rcx, rdx
xor eax, eax
inc rcx
cmp word [r15 + rcx*2], ax
jne 0x1400b63db
mov rdi, rdx
inc rdi
cmp word [r14 + rdi*2], ax
jne 0x1400b63e8
lea ebp, [rdi + rcx]
lea eax, [rbp + 1]
cmp eax, 0x104
jbe 0x1400b642f
mov dword [rsi], 0x57
mov eax, 2
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.14014bb60
add rsp, 0x288
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov eax, ecx
mov rdx, r15
lea rcx, [rsp + 0x60]
lea rbx, [rax + rax]
mov r8, rbx
call sub.msvcrt.dll_memcpy
mov r8d, edi
lea rcx, [rsp + 0x60]
add r8, r8
add rcx, rbx
mov rdx, r14
call sub.msvcrt.dll_memcpy
mov eax, ebp
add rax, rax
cmp rax, 0x208
jae 0x1400b65a2
xor ecx, ecx
xor r9d, r9d
mov qword [rsp + 0x30], rcx
xor edx, edx
mov word [rsp + rax + 0x60], cx
mov dword [rsp + 0x28], 0x2000080
lea r8d, [rcx + 7]
mov dword [rsp + 0x20], 3
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
nop dword [rax + rax]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x1400b6518
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 2
jne 0x1400b64c3
xor eax, eax
jmp 0x1400b640a
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov dword [rsi], eax
mov rcx, qword [0x14017b048]
lea rdx, [0x14017b048]
cmp rcx, rdx
je 0x1400b650e
test byte [rcx + 0x1c], 4
je 0x1400b650e
cmp byte [rcx + 0x19], 2
jb 0x1400b650e
mov rcx, qword [rcx + 0x10]
lea r9, [rsp + 0x60]
mov edx, 0x62
mov dword [rsp + 0x20], eax
lea r8, [0x14015d3e8]
call fcn.140005d40
mov eax, 6
jmp 0x1400b640a
mov rax, qword [rsp + 0x48]
lea r9, [0x1400b54d0]
mov r8, qword [rsp + 0x300]
mov rcx, rbx
mov edx, dword [rsp + 0x40]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x50], r12d
mov dword [rsp + 0x54], r13d
call fcn.1400b557c
mov rcx, rbx
mov edi, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
mov rcx, qword [0x14017b048]
lea rdx, [0x14017b048]
cmp rcx, rdx
je 0x1400b659b
test byte [rcx + 0x1c], 4
je 0x1400b659b
cmp byte [rcx + 0x19], 4
jb 0x1400b659b
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015d3e8]
mov edx, 0x63
call fcn.140004c10
mov eax, edi
jmp 0x1400b640a
call fcn.14014bd38
int3