joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400fa554
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rdx, rcx
mov ecx, 0x105
call fcn.1400f9e20
mov ebx, eax
test eax, eax
jne 0x1400fa584
and dword [rsp + 0x38], eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x3c], eax
jmp 0x1400fa5e7
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400fa5de
test al, 0x10
je 0x1400fa5de
bt eax, 0xa
jae 0x1400fa5d7
mov r9d, 0x2000000
lea rcx, [rsp + 0x38]
mov r8d, 0x80
mov rdx, rdi
call fcn.1400fa5f8
mov rcx, qword [rsp + 0x38]
mov edi, eax
cmp rcx, 0xffffffffffffffff
je 0x1400fa5d3
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x1400fa5d3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3
test edi, edi
jne 0x1400fa5de
and dword [rsp + 0x3c], 0
jmp 0x1400fa5e3
or dword [rsp + 0x3c], 0xffffffff
mov dword [rsp + 0x38], ebx
mov rax, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1400fb980
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400fb9ca
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400fb9ca
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400fb9ca
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400fb9ca
cmp dword [rcx + 0x84], 0xe
jbe 0x1400fb9ca
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400fb9cc
xor al, al
add rsp, 0x28
ret
Function at 0x14001bb50
Capabilities:
Encode data using xor
Hash data using crc32b

Disassembly:
xor r9d, r9d
lea r10, [0x14016c7f0]
mov r8d, r9d
mov r11d, 8
shl r8d, 0x18
lea eax, [r8 + r8]
mov ecx, r8d
mov edx, eax
mov r8d, eax
xor edx, 0x4c11db7
test ecx, ecx
cmovs r8d, edx
dec r11d
test r11d, r11d
jg 0x14001bb67
mov dword [r10], r8d
inc r9d
add r10, 4
cmp r9d, 0x100
jl 0x14001bb5a
ret
Function at 0x140046de0
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
movzx r8d, byte [rcx]
lea rdi, [0x14012eff8]
mov rbx, rcx
mov rdx, rdi
lea rcx, str.Setup.rar
call fcn.1400ae940
movzx r8d, byte [rbx + 1]
lea rcx, str.Setup.zip
mov rdx, rdi
call fcn.1400ae940
movzx r8d, byte [rbx + 2]
lea rcx, str.Setup.cab
mov rdx, rdi
call fcn.1400ae940
movzx r8d, byte [rbx + 3]
lea rcx, str.Setup.arj
mov rdx, rdi
call fcn.1400ae940
movzx r8d, byte [rbx + 4]
lea rcx, str.Setup.lz
mov rdx, rdi
call fcn.1400ae940
movzx r8d, byte [rbx + 5]
lea rcx, str.Setup.lzh
mov rdx, rdi
call fcn.1400ae940
movzx r8d, byte [rbx + 6]
lea rcx, str.Setup.7z
mov rdx, rdi
call fcn.1400ae940
movzx r8d, byte [rbx + 7]
lea rcx, str.Setup.tar
mov rdx, rdi
call fcn.1400ae940
movzx r8d, byte [rbx + 8]
lea rcx, str.Setup.gz
mov rdx, rdi
call fcn.1400ae940
movzx r8d, byte [rbx + 9]
lea rcx, str.Setup.uue
mov rdx, rdi
call fcn.1400ae940
movzx r8d, byte [rbx + 0xa]
lea rcx, str.Setup.bz2
mov rdx, rdi
call fcn.1400ae940
movzx r8d, byte [rbx + 0xb]
lea rcx, str.Setup.jar
mov rdx, rdi
call fcn.1400ae940
movzx r8d, byte [rbx + 0xc]
lea rcx, str.Setup.iso
mov rdx, rdi
call fcn.1400ae940
movzx r8d, byte [rbx + 0xd]
lea rcx, str.Setup.z
mov rdx, rdi
call fcn.1400ae940
movzx r8d, byte [rbx + 0xe]
lea rcx, str.Setup.xz
mov rdx, rdi
call fcn.1400ae940
movzx r8d, byte [rbx + 0xf]
lea rcx, str.Setup.zipx
mov rdx, rdi
call fcn.1400ae940
movzx r8d, byte [rbx + 0x10]
lea rcx, str.Setup.zst
mov rdx, rdi
call fcn.1400ae940
movzx r8d, byte [rbx + 0x11]
lea rcx, str.Setup.001
mov rdx, rdi
call fcn.1400ae940
movzx r8d, byte [rbx + 0x14]
lea rdi, str.SetupLinks
mov rcx, rdi
lea rdx, str.Desktop
call fcn.1400ae940
movzx r8d, byte [rbx + 0x15]
lea rdx, str.StartMenu
mov rcx, rdi
call fcn.1400ae940
movzx r8d, byte [rbx + 0x16]
lea rdx, str.Programs
mov rcx, rdi
call fcn.1400ae940
movzx r8d, byte [rbx + 0x17]
lea rdi, str.Setup
mov rcx, rdi
lea rdx, str.ShellExt
call fcn.1400ae940
movzx r8d, byte [rbx + 0x18]
lea rdx, str.CascadedMenu
mov rcx, rdi
call fcn.1400ae940
movzx r8d, byte [rbx + 0x19]
lea rdx, str.MenuIcons
mov rcx, rdi
call fcn.1400ae940
movzx r8d, byte [rbx + 0x1a]
lea rdx, str.LegacyMenu
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.1400ae940
Function at 0x1400487e4
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
movzx r8d, byte [rdx]
mov rbx, rdx
mov edx, 0x65
mov rsi, rcx
call qword [case.0x1400da75c.9]
movzx r8d, byte [rbx + 1]
mov edx, 0x66
mov rcx, rsi
call qword [case.0x1400da75c.9]
movzx r8d, byte [rbx + 2]
mov edx, 0x67
mov rcx, rsi
call qword [case.0x1400da75c.9]
movzx r8d, byte [rbx + 3]
mov edx, 0x68
mov rcx, rsi
call qword [case.0x1400da75c.9]
movzx r8d, byte [rbx + 4]
mov edx, 0x73
mov rcx, rsi
call qword [case.0x1400da75c.9]
movzx r8d, byte [rbx + 5]
mov edx, 0x69
mov rcx, rsi
call qword [case.0x1400da75c.9]
movzx r8d, byte [rbx + 6]
mov edx, 0x6a
mov rcx, rsi
call qword [case.0x1400da75c.9]
movzx r8d, byte [rbx + 7]
mov edx, 0x6b
mov rcx, rsi
call qword [case.0x1400da75c.9]
movzx r8d, byte [rbx + 8]
mov edx, 0x6c
mov rcx, rsi
call qword [case.0x1400da75c.9]
movzx r8d, byte [rbx + 9]
mov edx, 0x6d
mov rcx, rsi
call qword [case.0x1400da75c.9]
movzx r8d, byte [rbx + 0xa]
mov edx, 0x6e
mov rcx, rsi
call qword [case.0x1400da75c.9]
movzx r8d, byte [rbx + 0xb]
mov edx, 0x6f
mov rcx, rsi
call qword [case.0x1400da75c.9]
movzx r8d, byte [rbx + 0xc]
mov edx, 0x70
mov rcx, rsi
call qword [case.0x1400da75c.9]
movzx r8d, byte [rbx + 0xd]
mov edx, 0x72
mov rcx, rsi
call qword [case.0x1400da75c.9]
movzx r8d, byte [rbx + 0xe]
mov edx, 0x71
mov rcx, rsi
call qword [case.0x1400da75c.9]
movzx r8d, byte [rbx + 0xf]
mov edx, 0x74
mov rcx, rsi
call qword [case.0x1400da75c.9]
movzx r8d, byte [rbx + 0x10]
mov edx, 0x75
mov rcx, rsi
call qword [case.0x1400da75c.9]
movzx r8d, byte [rbx + 0x11]
mov edx, 0x76
mov rcx, rsi
call qword [case.0x1400da75c.9]
movzx r8d, byte [rbx + 0x14]
mov edx, 0x78
mov rcx, rsi
call qword [case.0x1400da75c.9]
movzx r8d, byte [rbx + 0x15]
mov edx, 0x79
mov rcx, rsi
call qword [case.0x1400da75c.9]
movzx r8d, byte [rbx + 0x16]
mov edx, 0x7a
mov rcx, rsi
call qword [case.0x1400da75c.9]
movzx r8d, byte [rbx + 0x17]
mov edx, 0x7b
mov rcx, rsi
call qword [case.0x1400da75c.9]
movzx r8d, byte [rbx + 0x18]
mov edx, 0x7c
mov rcx, rsi
call qword [case.0x1400da75c.9]
movzx r8d, byte [rbx + 0x19]
mov edi, 0x7d
mov edx, edi
mov rcx, rsi
call qword [case.0x1400da75c.9]
movzx r8d, byte [rbx + 0x1a]
lea edx, [rdi + 1]
mov rcx, rsi
call qword [case.0x1400da75c.9]
mov r8b, byte [rbx + 0x17]
lea edx, [rdi - 1]
mov rcx, rsi
call fcn.1400106d0
mov r8b, byte [rbx + 0x17]
mov edx, edi
mov rcx, rsi
call fcn.1400106d0
xor edi, edi
cmp byte [rbx + 0x17], dil
je 0x140048a01
call fcn.140079e94
test al, al
je 0x140048a01
mov dil, 1
mov r8b, dil
mov edx, 0x7e
mov rcx, rsi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.1400106d0
Function at 0x14006543c
Capabilities:
Hash data using sha256

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp dword [0x1401ba9f4], 2
mov edi, r8d
mov esi, edx
mov rbx, rcx
jl 0x14006549c
movdqa xmm0, xmmword [0x14013bec0]
movdqa xmm1, xmmword [0x14013beb0]
movdqa xmmword [0x1401a8c50], xmm0
movdqa xmm0, xmmword [0x14013be90]
movdqa xmmword [0x1401a8c60], xmm1
movdqa xmm1, xmmword [0x14013bea0]
movdqa xmmword [0x1401a8c70], xmm0
movdqa xmmword [0x1401a8c80], xmm1
xor edx, edx
mov r8d, 0xf0
call fcn.140108940
xor edx, edx
mov qword [rbx + 0x110], rdx
mov byte [rbx + 0x118], dl
mov rcx, qword [rbx + 0xf8]
lea rax, [0x14013be70]
mov eax, dword [rdx + rax]
mov dword [rdx + rcx], eax
add rdx, 4
cmp rdx, 0x20
jl 0x1400654b8
mov rax, qword [rbx + 0xf8]
bts edi, 0xd
shl edi, 0x10
xor dword [rax], 0x2080020
mov rax, qword [rbx + 0xf8]
xor dword [rax + 8], esi
mov rax, qword [rbx + 0xf8]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
xor dword [rax + 0xc], edi
add rsp, 0x20
pop rdi
ret
Function at 0x14006c470
Capabilities:
Encode data using xor

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 r12
push r14
push r15
sub rsp, 0x20
mov edi, dword [rcx + 0x10a4]
mov r9, rdx
mov ebx, dword [rdx + 4]
mov r11d, edi
mov esi, dword [rdx + 8]
mov r10, rcx
mov ebp, dword [rdx + 0xc]
xor r11d, dword [rdx]
xor ebx, dword [rcx + 0x10a8]
xor esi, dword [rcx + 0x10ac]
xor ebp, dword [rcx + 0x10b0]
xor r15d, r15d
lea r12d, [r15 + 0x20]
mov rax, r15
mov edx, ebp
and eax, 3
rol edx, 0xb
add edx, esi
inc r15
mov r8d, dword [r10 + rax*4 + 0x10a4]
xor edx, r8d
mov eax, edx
shr rax, 0x10
movzx eax, al
movzx r14d, byte [rax + r10 + 0xfa4]
mov eax, edx
shr rax, 0x18
movzx ecx, byte [rax + r10 + 0xfa4]
mov eax, edx
shr rax, 8
movzx eax, al
shl ecx, 8
or r14d, ecx
shl r14d, 8
movzx ecx, byte [rax + r10 + 0xfa4]
or r14d, ecx
movzx ecx, dl
shl r14d, 8
mov edx, esi
ror edx, 0xf
xor edx, ebp
movzx eax, byte [rcx + r10 + 0xfa4]
add edx, r8d
or r14d, eax
mov eax, edx
shr rax, 0x10
xor r14d, r11d
movzx eax, al
mov r11d, esi
mov esi, r14d
movzx r8d, byte [rax + r10 + 0xfa4]
mov eax, edx
shr rax, 0x18
movzx ecx, byte [rax + r10 + 0xfa4]
mov eax, edx
shl ecx, 8
or r8d, ecx
shr rax, 8
shl r8d, 8
movzx eax, al
movzx ecx, byte [rax + r10 + 0xfa4]
or r8d, ecx
movzx ecx, dl
shl r8d, 8
movzx eax, byte [rcx + r10 + 0xfa4]
or r8d, eax
xor r8d, ebx
mov ebx, ebp
mov ebp, r8d
sub r12, 1
jne 0x14006c4c1
xor edi, r14d
mov rdx, r9
mov dword [r9], edi
mov rcx, r10
xor r8d, dword [r10 + 0x10a8]
mov dword [r9 + 4], r8d
xor r11d, dword [r10 + 0x10ac]
mov dword [r9 + 8], r11d
xor ebx, dword [r10 + 0x10b0]
mov dword [r9 + 0xc], ebx
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r12
jmp fcn.14006d320

Function at 0x14006c83c
Capabilities:
Encode data using xor

Disassembly:
xor r11d, r11d
mov word [rcx + 0x10b5], r11w
mov byte [rcx + 0x10b4], r11b
mov r8b, byte [rdx]
test r8b, r8b
je 0x14006c889
mov r9b, r11b
mov r10b, r11b
mov al, r11b
add al, r8b
add r9b, r8b
xor r10b, r8b
rol al, 1
inc rdx
mov byte [rcx + 0x10b6], al
mov byte [rcx + 0x10b4], r9b
mov byte [rcx + 0x10b5], r10b
mov r8b, byte [rdx]
test r8b, r8b
jne 0x14006c85f
ret

Function at 0x14006c88c
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
mov rdi, rdx
add rcx, 0xba4
call fcn.14006be64
or r8, 0xffffffffffffffff
xor esi, esi
inc r8
cmp byte [rdi + r8], sil
jne 0x14006c8b3
mov rdx, rdi
or ecx, 0xffffffff
call fcn.14006bc0c
mov word [rbx + 0x10b8], ax
shr eax, 0x10
mov word [rbx + 0x10ba], ax
mov dword [rbx + 0x10bc], esi
mov al, byte [rdi]
test al, al
je 0x14006c927
movzx r8d, si
movzx r9d, si
movzx ecx, al
inc rdi
movzx edx, al
xor r8w, dx
xor r8w, word [rbx + rcx*4 + 0xba4]
mov word [rbx + 0x10bc], r8w
add dx, word [rbx + rcx*4 + 0xba6]
add dx, r9w
mov word [rbx + 0x10be], dx
movzx r9d, dx
mov al, byte [rdi]
test al, al
jne 0x14006c8ec
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x14006d6c4
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x130]
sub rsp, 0x230
mov rax, qword [0x14016a900]
xor rax, rsp
mov qword [rbp + 0x120], rax
mov rdi, qword [rbp + 0x190]
mov rax, r8
mov rsi, qword [rbp + 0x198]
mov r8d, 0x40
mov r14, qword [rbp + 0x1a0]
cmp r9, r8
mov r12, rdx
mov r15, rcx
cmovb r8, r9
lea rcx, [rbp + 0xd0]
mov rdx, rax
mov rbx, r9
call fcn.140106ff0
cmp rbx, 0x44
jae 0x14006d91d
lea rax, [rbx + 1]
mov byte [rbp + rbx + 0xd0], 0
cmp rax, 0x44
jae 0x14006d91d
mov byte [rbp + rax + 0xd0], 0
lea rax, [rbx + 2]
cmp rax, 0x44
jae 0x14006d91d
and qword [rsp + 0x40], 0
lea r9, [rbx + 4]
and qword [rsp + 0x38], 0
lea r8, [rbp + 0xd0]
and qword [rsp + 0x30], 0
mov rdx, r12
and qword [rsp + 0x28], 0
mov rcx, r15
mov byte [rbp + rax + 0xd0], 0
lea rax, [rbp + 0x68]
mov qword [rsp + 0x20], rax
mov byte [rbp + rbx + 0xd3], 1
call fcn.14006d3a8
movups xmm0, xmmword [rbp + 0x68]
mov eax, dword [rbp + 0x1a8]
movups xmm1, xmmword [rbp + 0x78]
dec eax
mov qword [rbp + 0x50], rdi
mov qword [rbp + 0x58], rsi
lea rdi, [rbp + 0x40]
mov qword [rbp + 0x60], r14
lea rsi, [rbp + 0x50]
movups xmmword [rbp + 0x88], xmm0
mov dword [rbp + 0x40], eax
mov r14d, 3
movups xmmword [rbp + 0x98], xmm1
mov dword [rbp + 0x44], 0x10
mov dword [rbp + 0x48], 0x10
mov byte [rsp + 0x51], 0
mov byte [rsp + 0x50], 0
cmp dword [rdi], 0
jbe 0x14006d897
mov ebx, dword [rdi]
lea rax, [rsp + 0x50]
mov r9d, 0x20
mov qword [rsp + 0x40], rax
lea r8, [rbp + 0x68]
lea rax, [rsp + 0x60]
mov rdx, r12
mov qword [rsp + 0x38], rax
mov rcx, r15
lea rax, [rsp + 0x51]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0xa8]
mov qword [rsp + 0x20], rax
call fcn.14006d3a8
movups xmm0, xmmword [rbp + 0xa8]
xor eax, eax
movups xmm1, xmmword [rbp + 0xb8]
movups xmmword [rbp + 0x68], xmm0
lea ecx, [rax + 2]
movups xmmword [rbp + 0x78], xmm1
movdqu xmm0, xmmword [rbp + rax + 0x88]
movdqu xmm1, xmmword [rbp + rax + 0x68]
lea rax, [rax + 0x10]
pxor xmm1, xmm0
movdqu xmmword [rbp + rax + 0x78], xmm1
sub rcx, 1
jne 0x14006d86a
sub rbx, 1
jne 0x14006d807
mov rax, qword [rsi]
add rdi, 4
movups xmm0, xmmword [rbp + 0x88]
add rsi, 8
movups xmmword [rax], xmm0
movups xmm1, xmmword [rbp + 0x98]
movups xmmword [rax + 0x10], xmm1
sub r14, 1
jne 0x141c2d7fc
push rcx
add byte [rax - 0x77], cl
invalid
call fcn.1401059c4
int3
Function at 0x14007dca8
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rcx, qword [rcx + 0xe0]
call fcn.1401058a8
mov rcx, qword [rdi + 0x108]
xor ebp, ebp
mov qword [rdi + 0xe0], rbp
call fcn.1401058a8
mov rcx, qword [rdi + 0xe8]
mov qword [rdi + 0x108], rbp
call fcn.1401058a8
mov rcx, qword [rdi + 0xf0]
mov qword [rdi + 0xe8], rbp
call fcn.1401058a8
mov rcx, qword [rdi + 0xf8]
mov qword [rdi + 0xf0], rbp
call fcn.1401058a8
mov rcx, qword [rdi + 0x100]
mov qword [rdi + 0xf8], rbp
call fcn.1401058a8
mov rcx, qword [rdi + 0x4140]
mov qword [rdi + 0x100], rbp
call fcn.1401058a8
mov rcx, qword [rdi + 8]
mov qword [rdi + 0x4140], rbp
call fcn.1401058a8
mov rcx, qword [rdi + 0x6180]
mov qword [rdi + 8], rbp
call fcn.1401058a8
mov rcx, qword [rdi + 0x6398]
mov qword [rdi + 0x6180], rbp
call fcn.1401058a8
mov esi, ebp
mov qword [rdi + 0x6398], rbp
cmp dword [rdi + 0x6390], ebp
jbe 0x14007d2a5
mov ebx, esi
mov edx, 0x8090
mov rcx, qword [rdi + rbx*8 + 0x6190]
call fcn.1401058a8
inc esi
mov qword [rdi + rbx*8 + 0x6190], rbp
cmp esi, dword [rdi + 0x6390]
jb 0x14007d27f
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
jmp 0x14007dca8
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx + 0x63a8]
call fcn.1401058a8
mov rcx, qword [rbx + 0x63b0]
and qword [rbx + 0x63a8], 0
call fcn.1401058a8
mov rcx, qword [rbx + 0x63b8]
and qword [rbx + 0x63b0], 0
call fcn.1401058a8
mov rcx, qword [rbx + 0x63c0]
and qword [rbx + 0x63b8], 0x48
sub esp, 0x38
mov r8d, 0x40
mov edx, 0x514600
lea r9, [rsp + 0x2c]
invalid
Function at 0x14009a20c
Capabilities:
Encode data using xor

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 r14
sub rsp, 0x20
mov r10, qword [0x1401b69e0]
xor ebx, ebx
movzx ebp, r9b
mov r14b, r8b
mov rdi, rdx
mov rsi, rcx
test r10, r10
jne 0x14009a2ab
cmp byte [0x1401b69d8], bl
jne 0x14009a2ab
lea rcx, str.Crypt32.dll
call fcn.14009d5b8
mov qword [0x1401b69d0], rax
test rax, rax
je 0x14009a294
lea rdx, str.CryptProtectMemory
mov rcx, rax
call qword [0x140129770]
mov rcx, qword [0x1401b69d0]
lea rdx, str.CryptUnprotectMemory
mov qword [0x1401b69e0], rax
call qword [0x140129770]
mov qword [0x1401b69e8], rax
jmp 0x14009a29b
mov rax, qword [0x1401b69e8]
mov r10, qword [0x1401b69e0]
mov byte [0x1401b69d8], 1
jmp 0x14009a2b2
mov rax, qword [0x1401b69e8]
mov rcx, rdi
mov r8d, ebp
and rcx, 0xfffffffffffffff0
test r14b, r14b
je 0x14009a305
test r10, r10
je 0x14009a322
mov edx, ecx
mov rax, r10
mov rcx, rsi
call qword [case.0x140092c6b.0]
test eax, eax
jne 0x14009a33d
lea rdx, str.CryptProtectMemory_failed
lea rbx, [0x1401af488]
mov rcx, rbx
call fcn.14006ffc0
mov rcx, rbx
call fcn.14007029c
mov edx, 2
mov rcx, rbx
call fcn.14006ffb8
jmp 0x14009a33d
test rax, rax
je 0x14009a322
mov edx, ecx
mov rcx, rsi
call qword [case.0x140092c6b.0]
test eax, eax
jne 0x14009a33d
lea rdx, str.CryptUnprotectMemory_failed
jmp 0x14009a2df
call qword [0x1401296f0]
test rdi, rdi
je 0x14009a33d
lea ecx, [rax + 0x4b]
add cl, bl
xor byte [rbx + rsi], cl
inc rbx
cmp rbx, rdi
jb 0x14009a32d
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x1400b2e20
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x450
mov rax, qword [0x14016a900]
xor rax, rsp
mov qword [rsp + 0x440], rax
mov rbp, rdx
mov r14d, r9d
mov rbx, rcx
lea rdx, [0x14012ece0]
mov rcx, r8
call fcn.1400d6598
test rax, rax
mov rdi, rax
sete al
mov byte [rbx + 0x3048], al
test rdi, rdi
je 0x1400b2f4e
mov rcx, rdi
call fcn.140117828
cmp eax, 0x42
jne 0x1400b2f46
mov rcx, rdi
call fcn.140117828
cmp eax, 0x4d
jne 0x1400b2f46
xor r8d, r8d
lea edx, [rax - 0x4b]
mov rcx, rdi
call fcn.1401160b0
mov ebx, 1
lea rcx, [rsp + 0x30]
mov r9, rdi
mov r8d, ebx
lea edx, [rbx + 3]
call fcn.140115d98
mov eax, dword [rsp + 0x30]
add eax, 0xfffffff2
mov ecx, eax
mov dword [rsp + 0x30], eax
call fcn.140110e7c
mov rsi, rax
test rax, rax
je 0x1400b2f46
xor r8d, r8d
lea edx, [rbx + 0xd]
mov rcx, rdi
call fcn.1401160b0
mov r8d, dword [rsp + 0x30]
mov r9, rdi
mov edx, ebx
mov rcx, rsi
call fcn.140115d98
mov ecx, dword [rsp + 0x30]
cmp rax, rcx
je 0x1400b2f6e
mov ecx, 0x686
call fcn.140096d58
mov r8, rax
lea r9, str.BMP__PNG
mov edx, 0x200
lea rcx, [rsp + 0x40]
call fcn.1400027fc
lea ecx, [rbx + 0x65]
call fcn.140096d58
mov rcx, qword [0x140172470]
lea r9d, [rbx + 0xf]
mov r8, rax
lea rdx, [rsp + 0x40]
call fcn.1400d7004
mov rcx, rsi
call fcn.140110e68
mov rcx, rdi
call fcn.140111fa8
xor al, al
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.140105c50
add rsp, 0x450
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov rcx, rdi
call fcn.140111fa8
mov eax, dword [rsp + 0x30]
mov r9d, 0x400
mov dword [rsp + 0x28], eax
mov edx, 2
movzx r8d, r14w
mov rcx, rbp
mov qword [rsp + 0x20], rsi
call qword [0x1401293a0]
mov rcx, rsi
mov ebx, eax
call fcn.140110e68
test ebx, ebx
setne al
jmp 0x1400b2f50
Function at 0x1400b2fac
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x68
mov rax, qword [0x14016a900]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov r13, rdx
mov dword [rsp + 0x34], r9d
mov rbx, rcx
lea rdx, [0x14012ece0]
mov rcx, r8
call fcn.1400d6598
xor r15d, r15d
mov rdi, rax
test rax, rax
sete al
mov byte [rbx + 0x3048], al
test rdi, rdi
je 0x1400b307c
lea r12d, [r15 + 1]
mov r9, rdi
mov r8d, r12d
lea edx, [r15 + 0x16]
lea rcx, [rsp + 0x40]
call fcn.140115d98
cmp word [rsp + 0x40], r15w
jne 0x1400b3074
cmp word [rsp + 0x42], r12w
jne 0x1400b3074
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call fcn.1401160b0
movzx ecx, word [rsp + 0x44]
sub rcx, r12
shl rcx, 4
add rcx, 0x16
call fcn.140110e7c
mov rsi, rax
test rax, rax
je 0x1400b3074
movzx edx, word [rsp + 0x44]
sub rdx, r12
imul rcx, rdx, 0xe
add rcx, 0x14
call fcn.140110e7c
mov rbp, rax
mov rcx, rsi
test rax, rax
jne 0x1400b309c
call fcn.140110e68
mov rcx, rdi
call fcn.140111fa8
xor al, al
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140105c50
add rsp, 0x68
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
movzx edx, word [rsp + 0x44]
mov r9, rdi
shl rdx, 4
mov r8, r12
add rdx, 6
call fcn.140115d98
mov r14d, r15d
mov eax, dword [rsi + 0x10]
movups xmm0, xmmword [rsi]
movups xmmword [rbp], xmm0
mov dword [rbp + 0x10], eax
cmp r15w, word [rsp + 0x44]
jae 0x1400b3188
movsxd rax, r14d
lea r15d, [r12 + r14]
imul rcx, rax, 0xe
mov rbx, rax
add rbx, rbx
mov word [rcx + rbp + 0x12], r15w
mov eax, dword [rsi + rbx*8 + 0xe]
movsd xmm0, qword [rsi + rbx*8 + 6]
movsd qword [rcx + rbp + 6], xmm0
mov dword [rcx + rbp + 0xe], eax
mov eax, eax
mov ecx, eax
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x38], rax
call fcn.140110e7c
mov r12, rax
test rax, rax
je 0x1400b31da
mov edx, dword [rsi + rbx*8 + 0x12]
xor r8d, r8d
mov rcx, rdi
call fcn.1401160b0
mov rdx, qword [rsp + 0x38]
mov r9, rdi
mov r8d, 1
mov rcx, r12
call fcn.140115d98
mov eax, dword [rsp + 0x30]
mov r9d, 0x400
mov dword [rsp + 0x28], eax
mov edx, 3
movzx r8d, r15w
mov rcx, r13
mov qword [rsp + 0x20], r12
call qword [0x1401293a0]
mov rcx, r12
mov ebx, eax
call fcn.140110e68
test ebx, ebx
je 0x1400b31da
movzx eax, word [rsp + 0x44]
mov r12d, 1
add r14d, r12d
cmp r14d, eax
jl 0x1400b30d0
mov rcx, rdi
call fcn.140111fa8
movzx eax, word [rsp + 0x44]
mov r9d, 0x400
movzx r8d, word [rsp + 0x34]
mov rcx, r13
imul edx, eax, 0xe
add edx, 6
mov dword [rsp + 0x28], edx
mov edx, 0xe
mov qword [rsp + 0x20], rbp
call qword [0x1401293a0]
mov rcx, rsi
mov ebx, eax
call fcn.140110e68
mov rcx, rbp
call fcn.140110e68
test ebx, ebx
setne al
jmp 0x1400b307e
mov rcx, rdi
call fcn.140111fa8
mov rcx, rsi
call fcn.140110e68
mov rcx, rbp
call fcn.140110e68
jmp 0x1400b307c
Function at 0x1400c12b0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp dword [0x1401ce1f8], 0
je 0x1400c12cb
or eax, 0xffffffff
jmp 0x1400c13d0
mov rax, qword [0x1401be0a8]
test rax, rax
jg 0x1400c12eb
dec rax
mov qword [0x1401be0a8], rax
and qword [0x1401ce108], 0
jmp 0x1400c12c3
mov rbx, qword [0x1401ce108]
test rbx, rbx
jg 0x1400c133f
mov rcx, qword [0x1401ce0f8]
mov ebx, 0x2000
mov edx, ebx
call fcn.1400c154c
movsxd rcx, eax
mov qword [0x1401ce108], rcx
test eax, eax
je 0x1400c12e1
cmp rcx, 0xffffffffffffffff
je 0x1400c1372
mov rax, qword [0x1401ce0f8]
add qword [0x1401ce148], rbx
mov qword [0x1401ce100], rax
call fcn.1400c0ca0
mov rbx, qword [0x1401ce108]
mov rax, qword [0x1401be0e0]
test byte [rax + 0x40], 1
je 0x1400c13b5
cmp byte [0x1401cf3f1], 0
je 0x1400c138a
test rbx, rbx
je 0x1400c13b5
mov rdx, qword [0x1401ce100]
lea rcx, [0x1401cf3f8]
mov r8, rbx
call fcn.1400c458c
jmp 0x1400c13ae
lea rdx, [0x14018f49a]
lea rcx, [0x1401af488]
call fcn.140070200
jmp 0x1400c12e1
mov rdi, qword [0x1401ce100]
test rbx, rbx
je 0x1400c13b5
call fcn.1400c42e4
xor byte [rdi], al
movzx ecx, byte [rdi]
call fcn.1400c444c
inc rdi
sub rbx, 1
jne 0x1400c1396
mov rbx, qword [0x1401ce108]
mov rax, qword [0x1401ce100]
dec rbx
mov qword [0x1401ce108], rbx
movzx eax, byte [rax]
inc qword [0x1401ce100]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1400c4350
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x14016a900]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, rcx
mov rcx, rdx
call fcn.1400c4304
movsd xmm0, qword [rbx]
mov eax, dword [rbx + 8]
xor ebx, ebx
movsd qword [rsp + 0x20], xmm0
mov dword [rsp + 0x28], eax
mov ecx, dword [0x1401cf258]
and ecx, 0xfffd
or ecx, 2
mov eax, ecx
xor eax, 1
imul eax, ecx
shr eax, 8
xor byte [rsp + rbx + 0x20], al
movzx ecx, byte [rsp + rbx + 0x20]
call fcn.1400c444c
inc rbx
cmp rbx, 0xc
jl 0x1400c4387
mov rax, qword [0x1401be0e0]
movzx ecx, byte [0x1401ce177]
test byte [rax + 0x40], 2
movzx eax, byte [0x1401ce16f]
cmovne ecx, eax
movzx eax, byte [rsp + 0x2b]
cmp eax, ecx
je 0x1400c43e2
or eax, 0xffffffff
jmp 0x1400c4432
mov rbx, qword [0x1401ce108]
mov rax, qword [0x1401be0a8]
mov rdi, qword [0x1401ce100]
movsxd rcx, ebx
cmp rcx, rax
cmovg ebx, eax
test ebx, ebx
je 0x1400c4430
mov ecx, dword [0x1401cf258]
and ecx, 0xfffd
or ecx, 2
mov eax, ecx
xor eax, 1
imul eax, ecx
shr eax, 8
xor byte [rdi], al
movzx ecx, byte [rdi]
call fcn.1400c444c
inc rdi
sub ebx, 1
jne 0x1400c4404
xor eax, eax
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140105c50
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret