joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140015c90
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, edx
mov rbp, rcx
test r8, r8
jne 0x140015cc7
call fcn.140019c40
mov dword [rax], 0x16
call fcn.140018ebc
xor eax, eax
jmp 0x140015d55
mov rdx, r9
mov rcx, r8
call fcn.140015c2c
mov rbx, rax
test rax, rax
je 0x140015d52
lea rax, [rsp + 0x50]
mov rdx, rsi
mov qword [rsp + 0x28], rax
lea r8, [0x140015b58]
mov eax, dword [rsp + 0x60]
mov r9, rbx
mov rcx, rbp
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x140015d3f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140019bb4
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x140015d26
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x140015d35
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rbx
call fcn.14001e458
jmp 0x140015d52
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140015d4f
mov eax, dword [rsp + 0x50]
mov dword [rcx], eax
mov rdi, rdx
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret

Function at 0x14001a978
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x14001a9e7
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14001a9e7
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14001a9e7
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14001a9e7
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14001a9e7
cmp dword [rcx + 0x84], 0xe
jbe 0x14001a9e7
cmp dword [rcx + 0xf8], 0
je 0x14001a9e7
mov ecx, ebx
call fcn.14001aa98
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.14001a874
nop
cmp dword [rbp + 0x20], 0
je 0x14001aa35
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14001aa40
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x14001a978

Function at 0x14001ab7c
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14001a978
Function at 0x140023c24
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x140023cab
mov rsi, rbx
cmp word [rax], bp
je 0x140023c6a
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x140023c54
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x140023c50
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.14001ef04
mov rdi, rax
test rax, rax
je 0x140023c98
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.14002bb20
mov rbp, rdi
xor ecx, ecx
call fcn.14001e458
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x1400267d0
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.14001e020
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x140026871
cmp ebx, dword [rsp + 0x30]
je 0x14002686a
test esi, esi
je 0x14002686a
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x140026845
sub r8w, 0x61
cmp r8w, 0x19
ja 0x140026852
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x14002682f
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x140026856
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x140026873
mov eax, 1
jmp 0x140026873
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14002b780
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14002b7a8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14002b7a8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140003ac5
Capabilities:
Write file on windows

Disassembly:
mov r9, rcx
mov ecx, 0xfffffff5
jmp fcn.140003138

Function at 0x140004ecc
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.kernel32.dll_GetModuleHandleW]
test rax, rax
je 0x140004f16
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140004f16
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140004f16
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140004f16
cmp dword [rcx + 0x84], 0xe
jbe 0x140004f16
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140004f18
xor al, al
add rsp, 0x28
ret
Function at 0x140038910
Capabilities:
Encrypt data using dpapi

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xd0
mov rax, qword [0x1401e4c00]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rbx, r8
mov rdi, rcx
mov qword [rbp - 0x41], rcx
xor esi, esi
mov dword [rbp - 0x45], esi
lea rcx, [rbp + 0x17]
call fcn.140074f10
nop
lea rax, [rbp + 0x17]
cmp qword [rbp + 0x2f], 0xf
cmova rax, qword [rbp + 0x17]
mov qword [rbp - 0x11], rax
mov eax, dword [rbp + 0x27]
mov dword [rbp - 0x19], eax
mov rax, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x140038970
mov rax, qword [rbx]
mov qword [rbp - 0x21], rax
mov eax, dword [rbx + 0x10]
mov dword [rbp - 0x29], eax
lea rax, [rbp - 0x39]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], rsi
xor r9d, r9d
lea r8, [rbp - 0x29]
xor edx, edx
lea rcx, [rbp - 0x19]
call qword [sym.imp.CRYPT32.dll_CryptUnprotectData]
test eax, eax
je 0x140038ad9
xorps xmm0, xmm0
movups xmmword [rbp - 9], xmm0
mov qword [rbp + 7], rsi
mov qword [rbp + 0xf], rsi
mov qword [rbp + 7], rsi
mov qword [rbp + send], 0xf
mov byte [rbp - 9], 0
mov ebx, dword [rbp - 0x39]
test rbx, rbx
jne 0x1400389dc
mov qword [rbp + 7], rbx
mov byte [rbp + rbx - 9], bl
jmp 0x140038a10
lea rcx, [rbp - 9]
cmp rbx, 0xf
ja 0x1400389fb
mov qword [rbp + 7], rbx
mov r8, rbx
xor edx, edx
call fcn.1400fdb10
mov byte [rbp + rbx - 9], 0
jmp 0x140038a10
mov byte [rsp + 0x20], 0
mov r9, rbx
movzx r8d, byte [rbp - 0x49]
mov rdx, rbx
call fcn.140048820
lea rcx, [rbp - 9]
cmp qword [rbp + 0xf], 0xf
cmova rcx, qword [rbp - 9]
mov r8d, dword [rbp - 0x39]
mov rdx, qword [rbp - 0x31]
call fcn.1400fd470
mov rcx, qword [rbp - 0x31]
call qword [sym.imp.KERNEL32.dll_LocalFree]
movups xmm0, xmmword [rbp - 9]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rbp + 7]
movups xmmword [rdi + 0x10], xmm1
mov qword [rbp + 7], rsi
mov qword [rbp + send], 0xf
mov byte [rbp - 9], 0
mov byte [rdi + 0x20], 1
mov dword [rbp - 0x45], 1
mov qword [rbp + 7], rsi
mov qword [rbp + send], 0xf
mov byte [rbp - 9], 0
mov rdx, qword [rbp + 0x2f]
cmp rdx, 0xf
jbe 0x140038aa6
inc rdx
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140038aa1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140038b16
call fcn.1400b5fd0
movdqa xmm0, xmmword [0x1401c81b0]
movdqu xmmword [rbp + 0x27], xmm0
mov byte [rbp + 0x17], 0
mov rax, rdi
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.1400b5fb0
mov rbx, qword [rsp + 0x108]
add rsp, 0xd0
pop rdi
pop rsi
pop rbp
ret
mov byte [rdi + 0x20], 0
mov dword [rbp - 0x45], 1
mov rdx, qword [rbp + 0x2f]
cmp rdx, 0xf
jbe 0x140038aa6
inc rdx
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140038aa1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140038aa1
call fcn.140093bc4
int3
Function at 0x140046390
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r15
sub rsp, 0x20
mov r15, qword [rdx + 0x18]
mov rdi, rdx
mov rsi, qword [rdx + 0x10]
mov r9, rcx
mov r8, rdx
cmp r15, 0xf
jbe 0x1400463bc
mov r8, qword [rdx]
xor ebp, ebp
movabs rdx, 0xcbf29ce484222325
mov ecx, ebp
test rsi, rsi
je 0x1400463f4
movabs r10, 0x100000001b3
nop dword [rax]
movzx eax, byte [r8 + rcx]
inc rcx
xor rdx, rax
imul rdx, r10
cmp rcx, rsi
jb 0x1400463e0
mov rcx, qword [r9 + 0x30]
mov rax, qword [r9 + 0x18]
and rcx, rdx
add rcx, rcx
mov rbx, qword [rax + rcx*8 + 8]
cmp rbx, qword [r9 + 8]
je 0x140046462
mov qword [rsp + 0x40], r14
mov r14, qword [rax + rcx*8]
nop word [rax + rax]
cmp qword [rbx + 0x28], 0xf
lea rdx, [rbx + 0x10]
mov rax, qword [rdx + 0x10]
jbe 0x140046432
mov rdx, qword [rdx]
mov rcx, rdi
cmp r15, 0xf
jbe 0x14004643e
mov rcx, qword [rdi]
cmp rsi, rax
jne 0x14004644f
mov r8, rsi
call fcn.1400fdeb0
test eax, eax
je 0x14004645a
cmp rbx, r14
je 0x14004645d
mov rbx, qword [rbx + 8]
jmp 0x140046420
mov rbp, rbx
mov r14, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
test rbp, rbp
mov rbp, qword [rsp + 0x50]
setne al
add rsp, 0x20
pop r15
pop rdi
pop rsi
ret
Function at 0x1400464d0
Capabilities:
Decode data using base64 via dword translation table

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov rbx, rdx
mov rsi, rcx
xor r12d, r12d
mov dword [rsp + 0x20], r12d
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], r12
mov qword [rcx + 0x18], send
mov byte [rcx], r12b
mov dword [rsp + 0x20], 1
mov rax, qword [rdx + 0x10]
shr rax, 2
lea rdx, [rax + rax*2]
xor r8d, r8d
call fcn.140042610
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0xf
jbe 0x140046536
mov rbx, qword [rbx]
mov r15, rsi
cmp qword [rsi + 0x18], 0xf
jbe 0x140046543
mov r15, qword [rsi]
mov rdi, r15
mov r9d, r12d
test r8, r8
je 0x140046650
mov rdx, r12
lea r13, [0x1401c5970]
mov eax, dword [rsp + 0x78]
movzx r14d, byte [rsp + 0x7b]
movzx r11d, byte [rsp + 0x7a]
movzx ebp, byte [rsp + 0x79]
dec r8
movzx ecx, byte [rbx]
cmp cl, 0x3d
je 0x1400465fa
movzx r10d, byte [rcx + r13]
cmp r10b, 0xff
je 0x1400465fa
inc rbx
mov byte [rsp + rdx + 0x78], r10b
inc r9d
inc rdx
mov eax, dword [rsp + 0x78]
movzx r14d, byte [rsp + 0x7b]
movzx r11d, byte [rsp + 0x7a]
movzx ebp, byte [rsp + 0x79]
cmp rdx, 4
jne 0x1400465f1
movzx edx, bpl
shr dl, 4
and dl, 3
movzx ecx, al
shl cl, 2
add dl, cl
mov byte [rdi], dl
movzx edx, r11b
shr dl, 2
and dl, 0xf
movzx ecx, bpl
shl cl, 4
add dl, cl
mov byte [rdi + 1], dl
movzx ecx, r11b
shl cl, 6
add cl, r14b
mov byte [rdi + 2], cl
add rdi, 3
mov r9d, r12d
mov rdx, r12
test r8, r8
jne 0x140046571
test r9d, r9d
je 0x140046650
movzx ecx, bpl
shr cl, 4
and cl, 3
shl al, 2
add cl, al
mov byte [rsp + 0x78], cl
movzx eax, r11b
shr al, 2
and al, 0xf
shl bpl, 4
add al, bpl
mov byte [rsp + 0x79], al
shl r11b, 6
add r11b, r14b
mov byte [rsp + 0x7a], r11b
lea eax, [r9 - 1]
movsxd rbx, eax
test eax, eax
jle 0x140046650
mov r8, rbx
lea rdx, [rsp + 0x78]
mov rcx, rdi
call fcn.1400fd470
add rdi, rbx
sub rdi, r15
xor r8d, r8d
mov rdx, rdi
mov rcx, rsi
call fcn.140042610
mov rax, rsi
mov rbx, qword [rsp + 0x80]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140053ee0
Capabilities:
Read file on windows

Disassembly:
push rbx
push r14
push r15
sub rsp, 0x30
mov r15, r8
mov r14, rdx
mov rbx, rcx
test r8, r8
jg 0x140053f04
xor eax, eax
add rsp, 0x30
pop r15
pop r14
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rdi
je 0x140053f92
mov rdi, r15
mov qword [rsp + 0x68], rbp
lea rsi, [rcx + 0x50]
mov rax, qword [rbx + 0x38]
mov rdx, qword [rax]
test rdx, rdx
je 0x140053f60
mov rax, qword [rsi]
movsxd rcx, dword [rax]
test ecx, ecx
jle 0x140053f60
cmp rdi, rcx
mov rbp, rdi
cmovge rbp, rcx
mov rcx, r14
mov r8, rbp
call fcn.1400fd470
mov rax, qword [rsi]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x140053f7d
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x140053f85
mov byte [r14], al
lea rsi, [rbx + 0x50]
dec rdi
mov ebp, 1
add r14, rbp
test rdi, rdi
jg 0x140053f21
mov rbp, qword [rsp + 0x68]
sub r15, rdi
jmp 0x140054070
mov rax, qword [rcx + 0x38]
mov rsi, r15
mov rdx, qword [rax]
test rdx, rdx
je 0x140053fa9
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140053fab
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140053fdd
cmp rax, r15
mov rdi, r15
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call fcn.1400fd470
mov rax, qword [rbx + 0x50]
add r14, rdi
sub rsi, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x14005406d
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140054018
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
cmp rsi, 0xfff
jbe 0x14005404e
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call fcn.1400933b4
add r14, rax
sub rsi, rax
cmp rax, 0xfff
jne 0x14005406d
cmp rsi, rax
ja 0x140054021
test rsi, rsi
je 0x14005406d
mov r9, qword [rbx + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.1400933b4
sub rsi, rax
sub r15, rsi
mov rsi, qword [rsp + 0x28]
mov rax, r15
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r15
pop r14
pop rbx
ret
Function at 0x140056360
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rdi, rdx
mov r15, rcx
mov rsi, qword [rdx + 0x10]
mov r12, qword [rdx + 0x18]
cmp r12, 0xf
jbe 0x14005638d
mov rdx, qword [rdx]
movabs rbp, 0xcbf29ce484222325
xor ecx, ecx
test rsi, rsi
je 0x1400563c3
movabs r8, 0x100000001b3
nop dword [rax + rax]
movzx eax, byte [rdx + rcx]
xor rbp, rax
imul rbp, r8
inc rcx
cmp rcx, rsi
jb 0x1400563b0
mov rcx, qword [r15 + 0x30]
and rcx, rbp
add rcx, rcx
mov rax, qword [r15 + 0x18]
mov rbx, qword [rax + rcx*8 + 8]
cmp rbx, qword [r15 + 8]
je 0x14005641a
mov r14, qword [rax + rcx*8]
lea rdx, [rbx + 0x10]
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x1400563f2
mov rdx, qword [rdx]
mov rcx, rdi
cmp r12, 0xf
jbe 0x1400563fe
mov rcx, qword [rdi]
cmp rsi, rax
jne 0x14005640f
mov r8, rsi
call fcn.1400fdeb0
test eax, eax
je 0x14005641c
cmp rbx, r14
je 0x14005641a
mov rbx, qword [rbx + 8]
jmp 0x1400563e0
xor ebx, ebx
test rbx, rbx
je 0x1400564e0
mov rcx, qword [r15 + 0x18]
mov rax, qword [r15 + 0x30]
and rax, rbp
add rax, rax
lea rdx, [rcx + rax*8]
lea r8, [rcx + rax*8]
mov rax, qword [rdx]
cmp qword [r8 + 8], rbx
jne 0x140056460
cmp rax, rbx
jne 0x140056456
mov rax, qword [r15 + 8]
mov qword [rdx], rax
mov qword [r8 + 8], rax
jmp 0x14005646b
mov rax, qword [rbx + 8]
mov qword [r8 + 8], rax
jmp 0x14005646b
cmp rax, rbx
jne 0x14005646b
mov rax, qword [rbx]
mov qword [rdx], rax
mov rcx, qword [rbx]
dec qword [r15 + 0x10]
mov rax, qword [rbx + 8]
mov qword [rax], rcx
mov rax, qword [rbx + 8]
mov qword [rcx + 8], rax
mov rdx, qword [rbx + 0x28]
cmp rdx, 0xf
jbe 0x1400564b8
inc rdx
mov rcx, qword [rbx + 0x10]
cmp rdx, 0x1000
jb 0x1400564b3
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400564f9
mov rcx, r8
call fcn.1400b5fd0
mov qword [rbx + 0x20], 0
mov qword [rbx + 0x28], send
mov byte [rbx + 0x10], 0
mov edx, 0x30
mov rcx, rbx
call fcn.1400b5fd0
mov eax, 1
jmp 0x1400564e2
xor eax, eax
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
call fcn.140093bc4
int3
Function at 0x140057ef0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov rbp, rcx
mov qword [rsp + 0x20], rcx
movabs rax, 0xfffffffffffffff
bsr rcx, rax
mov ebx, 1
mov eax, ebx
shl rax, cl
cmp rdx, rax
ja 0x140058141
lea rax, [rdx - 1]
or rax, rbx
bsr rcx, rax
inc ecx
shl rbx, cl
mov rdi, qword [rbp + 8]
mov qword [rsp + 0x28], rdi
lea r12, [rbp + 0x18]
lea rdx, [rbx + rbx]
mov r8, rdi
mov rcx, r12
call fcn.14004a810
lea rax, [rbx - 1]
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x38], rbx
mov qword [rsp + 0x30], rbp
mov rsi, qword [rbp + 8]
mov rsi, qword [rsi]
cmp rsi, rdi
je 0x1400580fa
mov rdi, rsi
movabs rax, 0xcbf29ce484222325
movabs rbx, 0x100000001b3
mov rsi, qword [rsi]
mov r8, qword [rdi + 0x20]
lea r9, [rdi + 0x10]
mov r15, qword [rdi + 0x28]
cmp r15, 0xf
jbe 0x140057faa
mov r9, qword [rdi + 0x10]
mov rdx, rax
xor ecx, ecx
mov r10, r8
mov r11, r15
test r8, r8
je 0x140057fd4
nop word [rax + rax]
movzx eax, byte [r9 + rcx]
xor rdx, rax
imul rdx, rbx
inc rcx
cmp rcx, r8
jb 0x140057fc0
mov r13, qword [rbp + 0x30]
and r13, rdx
shl r13, 4
add r13, qword [r12]
mov r12, qword [r13]
cmp r12, qword [rsp + 0x28]
jne 0x140057ffb
mov qword [r13], rdi
mov qword [r13 + 8], rdi
jmp 0x1400580de
mov rbx, qword [r13 + 8]
lea rdx, [rbx + 0x10]
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x140058011
mov rdx, qword [rdx]
lea rcx, [rdi + 0x10]
mov rbp, r8
cmp r15, 0xf
jbe 0x140058028
mov rcx, qword [rdi + 0x10]
mov rbp, r10
mov r15, r11
cmp r8, rax
jne 0x140058065
call fcn.1400fdeb0
test eax, eax
jne 0x140058065
mov r8, qword [rbx]
cmp r8, rdi
je 0x14005805f
mov rdx, qword [rdi + 8]
mov qword [rdx], rsi
mov rcx, qword [rsi + 8]
mov qword [rcx], r8
mov rax, qword [r8 + 8]
mov qword [rax], rdi
mov qword [r8 + 8], rcx
mov qword [rsi + 8], rdx
mov qword [rdi + 8], rax
mov qword [r13 + 8], rdi
jmp 0x1400580cf
cmp r12, rbx
je 0x1400580aa
nop word [rax + rax]
mov rbx, qword [rbx + 8]
lea rdx, [rbx + 0x10]
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x140058086
mov rdx, qword [rdx]
lea rcx, [rdi + 0x10]
cmp r15, 0xf
jbe 0x140058094
mov rcx, qword [rdi + 0x10]
cmp rbp, rax
jne 0x1400580a5
mov r8, rbp
call fcn.1400fdeb0
test eax, eax
je 0x14005811b
cmp r12, rbx
jne 0x140058070
mov rdx, qword [rdi + 8]
mov qword [rdx], rsi
mov rcx, qword [rsi + 8]
mov qword [rcx], rbx
mov rax, qword [rbx + 8]
mov qword [rax], rdi
mov qword [rbx + 8], rcx
mov qword [rsi + 8], rdx
mov qword [rdi + 8], rax
mov qword [r13], rdi
mov rbp, qword [rsp + 0x20]
movabs rbx, 0x100000001b3
mov rdi, rsi
cmp rsi, qword [rsp + 0x28]
lea r12, [rbp + 0x18]
movabs rax, 0xcbf29ce484222325
jne 0x140057f91
mov qword [rsp + 0x30], 0
mov rbx, qword [rsp + 0x90]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov r8, qword [rbx]
mov rdx, qword [rdi + 8]
mov qword [rdx], rsi
mov rcx, qword [rsi + 8]
mov qword [rcx], r8
mov rax, qword [r8 + 8]
mov qword [rax], rdi
mov qword [r8 + 8], rcx
mov qword [rsi + 8], rdx
mov qword [rdi + 8], rax
jmp 0x1400580cf
lea rcx, str.invalid_hash_bucket_count
call fcn.1400ec3e0
int3
Function at 0x140074db0
Capabilities:
Encrypt data using dpapi

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xa0
mov rax, qword [0x1401e4c00]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rdi, rcx
mov qword [rbp - 0x11], rcx
xor esi, esi
mov dword [rbp - 0x15], esi
mov qword [rbp + 0xf], rdx
mov dword [rbp + 7], r8d
lea rax, [rbp - 9]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 7]
call qword [sym.imp.CRYPT32.dll_CryptUnprotectData]
test eax, eax
je 0x140074edc
xorps xmm0, xmm0
movups xmmword [rbp + 0x17], xmm0
mov qword [rbp + 0x27], rsi
mov qword [rbp + 0x2f], rsi
mov qword [rbp + 0x27], rsi
mov qword [rbp + 0x2f], send
mov byte [rbp + 0x17], sil
mov ebx, dword [rbp - 9]
test rbx, rbx
jne 0x140074e47
mov qword [rbp + 0x27], rbx
mov byte [rbp + rbx + 0x17], bl
jmp 0x140074e7b
lea rcx, [rbp + 0x17]
cmp rbx, 0xf
ja 0x140074e66
mov qword [rbp + 0x27], rbx
mov r8, rbx
xor edx, edx
call fcn.1400fdb10
mov byte [rbp + rbx + 0x17], 0
jmp 0x140074e7b
mov byte [rsp + 0x20], 0
mov r9, rbx
movzx r8d, byte [rbp - 0x19]
mov rdx, rbx
call fcn.140048820
lea rcx, [rbp + 0x17]
cmp qword [rbp + 0x2f], 0xf
cmova rcx, qword [rbp + 0x17]
mov r8d, dword [rbp - 9]
mov rdx, qword [rbp - 1]
call fcn.1400fd470
mov rcx, qword [rbp - 1]
call qword [sym.imp.KERNEL32.dll_LocalFree]
movups xmm0, xmmword [rbp + 0x17]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rbp + 0x27]
movups xmmword [rdi + 0x10], xmm1
mov qword [rbp + 0x27], rsi
mov qword [rbp + 0x2f], send
mov byte [rbp + 0x17], 0
mov byte [rdi + 0x20], 1
mov dword [rbp - 0x15], 1
mov qword [rbp + 0x27], rsi
mov qword [rbp + 0x2f], send
mov byte [rbp + 0x17], 0
jmp 0x140074ee7
mov byte [rdi + 0x20], sil
mov dword [rbp - 0x15], 1
mov rax, rdi
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.1400b5fb0
mov rbx, qword [rsp + 0xd8]
add rsp, 0xa0
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400750d0
Capabilities:
Encrypt data using dpapi

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xa0
mov rax, qword [0x1401e4c00]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rdi, rcx
mov qword [rbp - 0x11], rcx
xor esi, esi
mov dword [rbp - 0x15], esi
mov qword [rbp + 0xf], rdx
mov dword [rbp + 7], r8d
lea rax, [rbp - 9]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 7]
call qword [sym.imp.CRYPT32.dll_CryptProtectData]
test eax, eax
je 0x1400751fc
xorps xmm0, xmm0
movups xmmword [rbp + 0x17], xmm0
mov qword [rbp + 0x27], rsi
mov qword [rbp + 0x2f], rsi
mov qword [rbp + 0x27], rsi
mov qword [rbp + 0x2f], send
mov byte [rbp + 0x17], sil
mov ebx, dword [rbp - 9]
test rbx, rbx
jne 0x140075167
mov qword [rbp + 0x27], rbx
mov byte [rbp + rbx + 0x17], bl
jmp 0x14007519b
lea rcx, [rbp + 0x17]
cmp rbx, 0xf
ja 0x140075186
mov qword [rbp + 0x27], rbx
mov r8, rbx
xor edx, edx
call fcn.1400fdb10
mov byte [rbp + rbx + 0x17], 0
jmp 0x14007519b
mov byte [rsp + 0x20], 0
mov r9, rbx
movzx r8d, byte [rbp - 0x19]
mov rdx, rbx
call fcn.140048820
lea rcx, [rbp + 0x17]
cmp qword [rbp + 0x2f], 0xf
cmova rcx, qword [rbp + 0x17]
mov r8d, dword [rbp - 9]
mov rdx, qword [rbp - 1]
call fcn.1400fd470
mov rcx, qword [rbp - 1]
call qword [sym.imp.KERNEL32.dll_LocalFree]
movups xmm0, xmmword [rbp + 0x17]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rbp + 0x27]
movups xmmword [rdi + 0x10], xmm1
mov qword [rbp + 0x27], rsi
mov qword [rbp + 0x2f], send
mov byte [rbp + 0x17], 0
mov byte [rdi + 0x20], 1
mov dword [rbp - 0x15], 1
mov qword [rbp + 0x27], rsi
mov qword [rbp + 0x2f], send
mov byte [rbp + 0x17], 0
jmp 0x140075207
mov byte [rdi + 0x20], sil
mov dword [rbp - 0x15], 1
mov rax, rdi
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.1400b5fb0
mov rbx, qword [rsp + 0xd8]
add rsp, 0xa0
pop rdi
pop rsi
pop rbp
ret