joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18008a3e0
Capabilities:
Hash data with md5

Disassembly:
push rbx
push rbp
push rdi
push r12
push r14
sub rsp, 0x60
mov rbp, rdx
mov dword [rsp + 0x40], 0x67452301
mov edx, 4
mov dword [rsp + 0x44], 0xefcdab89
mov r12, r8
mov dword [rsp + 0x48], 0x98badcfe
mov r14, rcx
mov dword [rsp + 0x4c], 0x10325476
call fcn.1800c2d40
mov r8d, 0x10
lea rdx, [rsp + 0x40]
mov rcx, rax
mov rbx, rax
lea rdi, [rax + 0x10]
call fcn.1800d3040
lea rax, [rsp + 0x20]
cmp r14, rax
je 0x18008a48d
mov rcx, qword [r14]
test rcx, rcx
je 0x18008a480
mov rdx, qword [r14 + 0x10]
sub rdx, rcx
and rdx, 0xfffffffffffffffc
cmp rdx, 0x1000
jb 0x18008a47b
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18008a697
mov rcx, r8
call fcn.1800cf9b0
mov qword [r14], rbx
mov qword [r14 + 8], rdi
mov qword [r14 + 0x10], rdi
jmp 0x18008a49f
test rbx, rbx
je 0x18008a49f
mov edx, 0x10
mov rcx, rbx
call fcn.1800cf9b0
mov rcx, qword [r14 + 0x18]
mov qword [rsp + 0xa8], rsi
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x50], r15
test rcx, rcx
je 0x18008a4c7
call fcn.1800cf9b0
mov qword [r14 + 0x18], 0
mov rdx, r12
lea rcx, [rsp + 0x20]
call fcn.1800c2490
mov rdx, rax
mov rcx, r14
call fcn.18008a6b0
mov edi, dword [r14 + 0x20]
xor ebx, ebx
shr edi, 6
test edi, edi
je 0x18008a500
nop dword [rax]
mov edx, ebx
mov rcx, r14
call fcn.18008a8a0
inc ebx
cmp ebx, edi
jl 0x18008a4f0
xor r15d, r15d
mov qword [rbp + 0x10], 0
mov qword [rbp + 0x18], 0xf
mov byte [rbp], 0
lea r13d, [r15 + 0x37]
nop dword [rax + rax]
mov rax, qword [r14]
xor esi, esi
mov edi, dword [r15 + rax]
nop dword [rax]
xor r8d, r8d
mov r9d, 0xf
mov qword [rsp + 0x30], r8
mov ebx, 1
mov qword [rsp + 0x38], r9
mov byte [rsp + 0x20], r8b
nop dword [rax]
movzx ecx, bl
movzx edx, dil
shl cl, 2
mov eax, 0x30
shr dl, cl
and dl, 0xf
cmp dl, 0xa
cmovae eax, r13d
add al, dl
cmp r8, r9
jae 0x18008a596
lea rcx, [r8 + 1]
cmp r9, 0x10
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x20]
cmovae rcx, qword [rsp + 0x20]
mov byte [rcx + r8], al
mov byte [rcx + r8 + 1], 0
jmp 0x18008a5a4
movzx r9d, al
lea rcx, [rsp + 0x20]
call fcn.1800c3bf0
sub ebx, 1
mov r8, qword [rsp + 0x30]
js 0x18008a5b5
mov r9, qword [rsp + 0x38]
jmp 0x18008a550
cmp qword [rsp + 0x38], 0x10
lea rdx, [rsp + 0x20]
mov rcx, rbp
cmovae rdx, qword [rsp + 0x20]
call fcn.1800c22c0
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x18008a60b
mov rcx, qword [rsp + 0x20]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18008a606
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18008a69d
call fcn.1800cf9b0
shr edi, 8
inc esi
cmp esi, 4
jl 0x18008a530
add r15, 4
cmp r15, 0x10
jl 0x18008a520
mov rdx, qword [r12 + 0x18]
cmp rdx, 0x10
jb 0x18008a65f
mov rcx, qword [r12]
inc rdx
cmp rdx, 0x1000
jb 0x18008a65a
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18008a69d
mov rcx, r8
call fcn.1800cf9b0
mov r13, qword [rsp + 0x58]
mov rax, rbp
mov rsi, qword [rsp + 0xa8]
mov r15, qword [rsp + 0x50]
mov qword [r12 + 0x10], 0
mov qword [r12 + 0x18], 0xf
mov byte [r12], 0
add rsp, 0x60
pop r14
pop r12
pop rdi
pop rbp
pop rbx
ret
call fcn.1800dec10
int3
call fcn.1800dec10
int3
Function at 0x18008d030
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x160
mov rax, qword [0x18012a010]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rbx, rcx
lea rdx, [rsp + 0x40]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
xor edi, edi
mov qword [rsp + 0x38], 0xf
mov qword [rsp + 0x30], rdi
lea rax, [rsp + 0x40]
mov byte [rsp + 0x20], dil
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], dil
jne 0x18008d083
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.1800c2b50
mov r8d, 1
lea rdx, [0x180118c68]
lea rcx, [rsp + 0x20]
call fcn.1800c22c0
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
movups xmm0, xmmword [rax]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbx + 0x10], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 0xf
mov byte [rax], dil
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x18008d110
mov rcx, qword [rsp + 0x20]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18008d10b
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18008d134
call fcn.1800cf9b0
mov rax, rbx
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1800cf6f0
mov rbx, qword [rsp + 0x178]
add rsp, 0x160
pop rdi
ret
call fcn.1800dec10
int3
Function at 0x18008dd00
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x170
mov rax, qword [0x18012a010]
xor rax, rsp
mov qword [rsp + 0x160], rax
xor r9d, r9d
lea rax, [rsp + 0x50]
mov rbx, rcx
mov qword [rsp + 0x20], rax
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 0x1a]
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
xor edi, edi
mov qword [rsp + 0x48], 0xf
mov qword [rsp + 0x40], rdi
lea rax, [rsp + 0x50]
mov byte [rsp + 0x30], dil
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], dil
jne 0x18008dd60
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.1800c2b50
mov r8d, 1
lea rdx, [0x180118c68]
lea rcx, [rsp + 0x30]
call fcn.1800c22c0
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
movups xmm0, xmmword [rax]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbx + 0x10], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 0xf
mov byte [rax], dil
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x18008dded
mov rcx, qword [rsp + 0x30]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18008dde8
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18008de11
call fcn.1800cf9b0
mov rax, rbx
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.1800cf6f0
mov rbx, qword [rsp + 0x188]
add rsp, 0x170
pop rdi
ret
call fcn.1800dec10
int3
Function at 0x18008e250
Capabilities:
Get file size
Read file on windows

Disassembly:
push rbx
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x18012a010]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rcx, qword [0x18012d8c8]
mov r15, rdx
inc rcx
mov byte [0x180134fa0], 0
call fcn.1800cfd74
cmp qword [0x18012d8d0], 0x10
lea r8, [0x18012d8b8]
mov rdx, rax
cmovae r8, qword [0x18012d8b8]
sub rdx, r8
nop
movzx ecx, byte [r8]
mov byte [rdx + r8], cl
lea r8, [r8 + 1]
test cl, cl
jne 0x18008e2a0
xor ebx, ebx
mov qword [rsp + 0x70], rbp
mov qword [rsp + 0x30], rbx
xor r9d, r9d
mov dword [rsp + 0x28], ebx
xor r8d, r8d
mov qword [rsp + 0x80], rsi
mov edx, 0x80000000
mov rcx, rax
mov dword [rsp + 0x20], 4
mov qword [rsp + 0x88], rdi
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov r14, rax
cmp rax, 0xffffffffffffffff
je 0x18008e3a1
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
test eax, eax
je 0x18008e3a1
mov ecx, edi
call fcn.1800d7fd4
mov rbp, rax
test rax, rax
je 0x18008e32a
mov r8d, edi
xor edx, edx
mov rcx, rax
call fcn.1800d2e20
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], rbx
mov r8d, edi
mov rdx, rbp
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x18008e3a1
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call fcn.1800d7fd4
mov r14, rax
test rax, rax
je 0x18008e36d
mov r8, rdi
xor edx, edx
mov rcx, rax
call fcn.1800d2e20
test edi, edi
je 0x18008e3a1
lea rcx, [rbp + 2]
cmp byte [rcx - 2], 0x6b
jne 0x18008e398
cmp byte [rcx - 1], 0x65
jne 0x18008e398
cmp byte [rcx], 0x79
jne 0x18008e398
cmp byte [rcx + 1], 0x22
jne 0x18008e398
cmp byte [rcx + 2], 0x3a
jne 0x18008e398
cmp byte [rcx + 3], 0x22
je 0x18008e3cf
inc ebx
inc rcx
cmp ebx, edi
jb 0x18008e375
xor eax, eax
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1800cf6f0
add rsp, 0x50
pop r15
pop r14
pop rbx
ret
movsxd rdx, ebx
add rdx, 6
movzx ecx, byte [rdx + rbp]
cmp cl, 0x22
je 0x18008e400
sub rdx, r14
mov rax, r14
lea r8, [rdx + rbp]
nop dword [rax]
mov byte [rax], cl
lea rax, [rax + 1]
movzx ecx, byte [r8 + rax]
cmp cl, 0x22
jne 0x18008e3f0
mov rcx, rbp
call fcn.1800d7fc0
mov rdx, r14
lea rcx, [0x180134fa0]
call qword [sym.imp.KERNEL32.dll_lstrcatA]
lea rcx, [0x180134fa0]
call qword [sym.imp.KERNEL32.dll_lstrlenA]
mov rcx, r14
mov dword [r15], eax
call fcn.1800d7fc0
mov eax, 1
jmp 0x18008e3a3
Function at 0x18008e440
Capabilities:
Decode data using base64 via dword translation table
Encrypt data using dpapi

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x70
mov rax, qword [0x18012a010]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov ecx, edx
mov r15, r8
mov esi, edx
call fcn.1800d7fd4
mov r8d, esi
xor edx, edx
mov rcx, rax
mov rdi, rax
call fcn.1800d2e20
xor ebx, ebx
test sil, 3
jne 0x18008e511
xor r8d, r8d
test esi, esi
je 0x18008e511
lea r9, [0x180134fa0]
lea r10, [0x1801177f0]
movsx rcx, byte [r9]
cmp cl, 0x3d
je 0x18008e511
lea eax, [rcx - 0x2b]
cmp al, 0x4f
ja 0x18008e50f
movzx edx, byte [rcx + r10]
cmp dl, 0xff
je 0x18008e50f
mov eax, r8d
and eax, 3
je 0x18008e4fc
sub eax, 1
je 0x18008e4ea
sub eax, 1
je 0x18008e4d8
cmp eax, 1
jne 0x18008e502
or byte [rbx + rdi], dl
inc ebx
jmp 0x18008e502
movzx eax, dl
shr al, 2
and al, 0xf
or byte [rbx + rdi], al
inc ebx
shl dl, 6
jmp 0x18008e4ff
movzx eax, dl
shr al, 4
and al, 3
or byte [rbx + rdi], al
inc ebx
shl dl, 4
jmp 0x18008e4ff
shl dl, 2
mov byte [rbx + rdi], dl
inc r8d
inc r9
cmp r8d, esi
jb 0x18008e4a0
jmp 0x18008e511
xor ebx, ebx
lea r14d, [rbx - 5]
mov ecx, r14d
mov ebp, r14d
call fcn.1800d7fd4
mov r8d, r14d
xor edx, edx
mov rcx, rax
mov rsi, rax
call fcn.1800d2e20
cmp ebx, 5
jbe 0x18008e544
lea rdx, [rdi + 5]
mov r8d, ebp
mov rcx, rsi
call fcn.1800d3040
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x28], 0
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], 0
xor edx, edx
mov dword [rsp + 0x40], r14d
call qword [sym.imp.CRYPT32.dll_CryptUnprotectData]
test eax, eax
je 0x18008e5cd
mov r9d, dword [rsp + 0x50]
test r9d, r9d
je 0x18008e5b1
mov r8, qword [rsp + 0x58]
mov rcx, r15
sub r8, r15
mov edx, r9d
nop dword [rax + rax]
movzx eax, byte [r8 + rcx]
mov byte [rcx], al
lea rcx, [rcx + 1]
sub rdx, 1
jne 0x18008e5a0
mov rcx, rdi
mov byte [r9 + r15], 0
call fcn.1800d7fc0
mov rcx, rsi
call fcn.1800d7fc0
mov eax, 1
jmp 0x18008e5cf
xor eax, eax
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1800cf6f0
mov rbx, qword [rsp + 0xa0]
add rsp, 0x70
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x1800922f0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
sub rsp, 0x70
mov rax, qword [0x18012a010]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov r8, qword [rcx + 0x10]
xor esi, esi
mov rbx, rcx
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], 0xf
mov byte [rsp + 0x40], sil
lea rdx, [r8 + 0xc]
cmp rdx, 0xf
jbe 0x180092342
lea rcx, [rsp + 0x40]
call fcn.1800c8f90
mov r8, qword [rbx + 0x10]
mov qword [rsp + 0x50], rsi
cmp qword [rbx + 0x18], 0x10
mov rdx, rbx
jb 0x18009234f
mov rdx, qword [rbx]
lea rcx, [rsp + 0x40]
call fcn.1800c22c0
mov r8d, 0xc
lea rdx, str.logins.json
lea rcx, [rsp + 0x40]
call fcn.1800c22c0
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.1800c2400
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x1800923ba
mov rcx, qword [rsp + 0x40]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800923b5
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180092511
call fcn.1800cf9b0
cmp qword [rbx + 0x18], 0x10
mov rcx, rbx
jb 0x1800923c7
mov rcx, qword [rbx]
lea rdx, [0x180118ce0]
call fcn.1800db8c8
test rax, rax
je 0x1800924be
mov rcx, rax
mov qword [rsp + 0x88], rdi
call fcn.1800db958
mov ecx, 0x186a0
call fcn.1800d7fd4
cmp qword [rbx + 0x18], 0x10
mov rdi, rax
mov rcx, rbx
jb 0x180092406
mov rcx, qword [rbx]
xor r9d, r9d
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x80
mov edx, 0x80000000
mov dword [rsp + 0x20], 4
lea r8d, [r9 + 7]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
cmp rax, 0xffffffffffffffff
je 0x18009244f
lea r9, [rsp + 0x60]
mov qword [rsp + 0x20], rsi
mov r8d, 0x186a0
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x180092489
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x180092484
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180092505
mov rcx, r8
call fcn.1800cf9b0
mov rax, rdi
mov qword [rbx + 0x10], rsi
mov rdi, qword [rsp + 0x88]
mov qword [rbx + 0x18], 0xf
mov byte [rbx], sil
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1800cf6f0
mov rbx, qword [rsp + 0x90]
add rsp, 0x70
pop rsi
ret
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x1800924f4
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x1800924ef
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18009250b
mov rcx, r8
call fcn.1800cf9b0
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], 0xf
mov byte [rbx], sil
jmp 0x1800924a3
call fcn.1800dec10
int3
call fcn.1800dec10
int3
call fcn.1800dec10
int3
Function at 0x1800adcb0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x450
mov rax, qword [0x18012a010]
xor rax, rsp
mov qword [rsp + 0x440], rax
mov rdi, r8
mov rsi, rcx
mov r8d, 0x400
lea rcx, [rsp + 0x40]
xor edx, edx
mov rbx, r9
call fcn.1800d2e20
cmp qword [rdi + 0x18], 0x10
mov rdx, rdi
mov dword [rsp + 0x38], 0x400
jb 0x1800adcfd
mov rdx, qword [rdi]
lea rax, [rsp + 0x30]
mov r9d, 1
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1800add53
cmp qword [rbx + 0x18], 0x10
mov rdx, rbx
jb 0x1800add2e
mov rdx, qword [rbx]
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
xor r9d, r9d
lea rax, [rsp + 0x40]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rax, [rsp + 0x40]
mov qword [rsi + 0x10], 0
mov r8, 0xffffffffffffffff
mov qword [rsi + 0x18], 0xf
mov byte [rsi], 0
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1800add80
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.1800c2b50
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x1800addd1
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x1800addcc
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1800ade4b
mov rcx, r8
call fcn.1800cf9b0
mov qword [rdi + 0x10], 0
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x1800ade1a
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x1800ade15
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1800ade4b
mov rcx, r8
call fcn.1800cf9b0
mov qword [rbx + 0x10], 0
mov rax, rsi
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.1800cf6f0
add rsp, 0x450
pop rdi
pop rsi
pop rbx
ret
call fcn.1800dec10
int3
Function at 0x1800b1490
Capabilities:
Encrypt data using dpapi

Disassembly:
push rbx
push rsi
sub rsp, 0x88
mov rax, qword [0x18012a010]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov r8, qword [0x180130810]
mov rsi, rcx
mov rcx, qword [0x180130818]
xor ebx, ebx
cmp r8, rcx
jne 0x1800b14d1
mov qword [rsi], rbx
mov qword [rsi + 8], rbx
mov qword [rsi + 0x10], rbx
jmp 0x1800b1685
mov qword [rsp + 0xa8], rbp
xorps xmm0, xmm0
mov qword [rsp + 0xb0], rdi
mov r10, rbx
mov qword [rsp + 0x80], r14
mov rdi, rbx
mov r14, rcx
mov qword [rsp + 0x70], rbx
sub r14, r8
movdqu xmmword [rsp + 0x60], xmm0
sub r14, 1
je 0x1800b1557
movabs rax, 0x7fffffffffffffff
cmp r14, rax
ja 0x1800b16a5
mov rdx, r14
lea rcx, [rsp + 0x60]
call fcn.1800c6eb0
mov rbp, qword [rsp + 0x60]
mov r8, r14
mov rcx, rbp
xor edx, edx
call fcn.1800d2e20
mov rcx, qword [0x180130818]
lea r9, [r14 + rbp]
mov r8, qword [0x180130810]
mov r10, rbp
mov rdi, qword [rsp + 0x70]
jmp 0x1800b1561
mov r9, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x60]
mov edx, 1
sub rcx, r8
sub rcx, rdx
je 0x1800b158d
nop
movzx eax, byte [r8 + rdx]
mov byte [r10 + rdx - 1], al
lea rdx, [rdx + 1]
sub rcx, 1
je 0x1800b158d
mov r8, qword [0x180130810]
jmp 0x1800b1570
sub r9d, ebp
mov qword [rsp + 0x58], rbp
inc r9d
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x50], r9d
xor r8d, r8d
xor r9d, r9d
mov dword [rsp + 0x28], ebx
xor edx, edx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.CRYPT32.dll_CryptUnprotectData]
test eax, eax
je 0x1800b162e
mov rcx, rbp
mov qword [rsp + 0x68], rcx
cmp dword [rsp + 0x40], ebx
jbe 0x1800b1621
nop word [rax + rax]
mov r8d, ebx
add r8, qword [rsp + 0x48]
cmp rcx, rdi
je 0x1800b15fd
movzx eax, byte [r8]
mov byte [rcx], al
inc rcx
mov qword [rsp + 0x68], rcx
jmp 0x1800b1614
mov rdx, rcx
lea rcx, [rsp + 0x60]
call fcn.1800c3600
mov rcx, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
inc ebx
cmp ebx, dword [rsp + 0x40]
jb 0x1800b15e0
mov rbp, qword [rsp + 0x60]
mov qword [rsi], rbp
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rdi
jmp 0x1800b166d
mov qword [rsi], rbx
mov qword [rsi + 8], rbx
mov qword [rsi + 0x10], rbx
test rbp, rbp
je 0x1800b166d
sub rdi, rbp
mov rax, rbp
cmp rdi, 0x1000
jb 0x1800b1662
mov rbp, qword [rbp - 8]
add rdi, 0x27
sub rax, rbp
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800b169f
mov rdx, rdi
mov rcx, rbp
call fcn.1800cf9b0
mov rdi, qword [rsp + 0xb0]
mov rbp, qword [rsp + 0xa8]
mov r14, qword [rsp + 0x80]
mov rax, rsi
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1800cf6f0
add rsp, 0x88
pop rsi
pop rbx
ret
call fcn.1800dec10
int3
call fcn.1800c5620
int3
Function at 0x1800b16b0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x258
mov rax, qword [0x18012a010]
xor rax, rsp
mov qword [rsp + 0x240], rax
xor r13d, r13d
mov rbx, r8
mov rsi, rdx
mov r12, rcx
cmp r8, r9
je 0x1800b1796
mov r15, qword [r9]
mov r14, qword [r9 + 8]
mov rdi, qword [r8]
sub r14, r15
mov rdx, qword [r8 + 0x10]
sub rdx, rdi
cmp r14, rdx
jbe 0x1800b1780
movabs rax, 0x7fffffffffffffff
cmp r14, rax
ja 0x1800b187d
mov rcx, rdx
shr rcx, 1
sub rax, rcx
cmp rdx, rax
jbe 0x1800b172a
mov rbp, r14
jmp 0x1800b1735
lea rbp, [rcx + rdx]
cmp rbp, r14
cmovb rbp, r14
test rdi, rdi
je 0x1800b1772
cmp rdx, 0x1000
jb 0x1800b175f
mov rcx, qword [rdi - 8]
add rdx, 0x27
sub rdi, rcx
lea rax, [rdi - 8]
cmp rax, 0x1f
ja 0x1800b1883
mov rdi, rcx
mov rcx, rdi
call fcn.1800cf9b0
mov qword [rbx], r13
mov qword [rbx + 8], r13
mov qword [rbx + 0x10], r13
mov rdx, rbp
mov rcx, rbx
call fcn.1800c6eb0
mov rdi, qword [rbx]
mov r8, r14
mov rdx, r15
mov rcx, rdi
call fcn.1800d3040
lea rax, [r14 + rdi]
mov qword [rbx + 8], rax
cmp qword [rsi + 0x18], 0x10
mov rdx, rsi
mov dword [rsp + 0x34], 0x200
jb 0x1800b17ab
mov rdx, qword [rsi]
lea rax, [rsp + 0x34]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor r8d, r8d
lea rax, [rsp + 0x40]
mov rcx, r12
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1800b1814
mov rdi, r13
cmp dword [rsp + 0x34], edi
jbe 0x1800b1814
nop dword [rax + rax]
mov rdx, qword [rbx + 8]
movzx eax, byte [rsp + rdi + 0x40]
mov byte [rsp + 0x30], al
cmp rdx, qword [rbx + 0x10]
je 0x1800b17fb
mov byte [rdx], al
inc qword [rbx + 8]
jmp 0x1800b1808
lea r8, [rsp + 0x30]
mov rcx, rbx
call fcn.1800c3600
mov eax, dword [rsp + 0x34]
inc rdi
cmp rdi, rax
jb 0x1800b17e0
mov rdx, qword [rsi + 0x18]
cmp rdx, 0x10
jb 0x1800b184a
mov rcx, qword [rsi]
inc rdx
cmp rdx, 0x1000
jb 0x1800b1845
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1800b1883
mov rcx, r8
call fcn.1800cf9b0
mov qword [rsi + 0x10], r13
mov qword [rsi + 0x18], 0xf
mov byte [rsi], r13b
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1800cf6f0
add rsp, 0x258
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
call fcn.1800c5620
int3
call fcn.1800dec10
int3
Function at 0x1800b8430
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xb0
mov rax, qword [0x18012a010]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov rdi, rcx
lea rdx, [0x18012d218]
lea rcx, [rbp + 7]
call fcn.1800c2490
mov rdx, rax
lea rcx, [rbp - 0x19]
call fcn.18008b110
lea rcx, [rbp - 0x39]
mov rbx, rax
call fcn.18008dd00
mov r8, qword [rbx + 0x10]
mov rcx, rax
mov rdx, qword [rax + 0x18]
mov r9, qword [rax + 0x10]
mov rax, rdx
sub rax, r9
cmp r8, rax
jbe 0x1800b84c1
mov rax, qword [rbx + 0x18]
sub rax, r8
cmp rax, r9
jb 0x1800b84c1
cmp rdx, 0x10
jb 0x1800b84b4
mov rcx, qword [rcx]
mov r8, rcx
mov rcx, rbx
call fcn.1800c7240
jmp 0x1800b84d3
cmp qword [rbx + 0x18], 0x10
jb 0x1800b84cb
mov rbx, qword [rbx]
mov rdx, rbx
call fcn.1800c22c0
movups xmm0, xmmword [rax]
xor esi, esi
movups xmmword [rbp + 0x27], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x37], xmm1
mov byte [rax], sil
mov qword [rax + 0x18], 0xf
mov qword [rax + 0x10], rsi
mov rdx, qword [rbp - 0x21]
cmp rdx, 0x10
jb 0x1800b852e
mov rcx, qword [rbp - 0x39]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800b8529
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800b8672
call fcn.1800cf9b0
mov rdx, qword [rbp - 1]
mov qword [rbp - 0x29], rsi
mov qword [rbp - 0x21], 0xf
mov byte [rbp - 0x39], 0
cmp rdx, 0x10
jb 0x1800b8579
mov rcx, qword [rbp - 0x19]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800b8574
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800b8672
call fcn.1800cf9b0
cmp qword [rbp + 0x3f], 0x10
lea rcx, [rbp + 0x27]
cmovae rcx, qword [rbp + 0x27]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1800b85bd
test al, 0x10
je 0x1800b85bd
mov rdx, rdi
lea rcx, [rbp + 7]
call fcn.1800c2490
lea rdx, [rbp + 0x27]
mov rbx, rax
lea rcx, [rbp - 0x19]
call fcn.1800c2490
mov rcx, rax
mov rdx, rbx
call fcn.1800b6fa0
mov rdx, qword [rbp + 0x3f]
cmp rdx, 0x10
jb 0x1800b85f8
mov rcx, qword [rbp + 0x27]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800b85f3
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800b8678
call fcn.1800cf9b0
mov rdx, qword [rdi + 0x18]
mov qword [rbp + 0x37], rsi
mov qword [rbp + 0x3f], 0xf
mov byte [rbp + 0x27], 0
cmp rdx, 0x10
jb 0x1800b863e
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x1800b8639
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1800b8678
mov rcx, r8
call fcn.1800cf9b0
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.1800cf6f0
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.1800dec10
int3
call fcn.1800dec10
int3
Function at 0x1800c4090
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x1800c40c4
movabs r10, 0x100000001b3
nop
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x1800c40b0
ret