joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44e360
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub rsp, 0x18
mov qword [rsp + 0x10], rbp
lea rbp, [rsp + 0x10]
mov qword [rsp + 0x20], rax
test rbx, rbx
jbe 0x44e4d8
movzx edx, byte [rax]
nop
test edx, edx
jne 0x44e39c
test r8b, r8b
jne 0x44e39c
xor eax, eax
xor ebx, ebx
mov rcx, rbx
xor edi, edi
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
ret
bt edx, 7
jae 0x44e3af
xor edx, edx
xor r8d, r8d
xor r9d, r9d
jmp 0x44e498
mov r8d, 1
mov r9d, edx
and edx, 1
neg edx
shr r9d, 1
xor edx, r9d
add dword [rsi], edx
cmp rbx, r8
jb 0x44e486
sub rbx, r8
sub rcx, r8
mov rdx, rcx
neg rcx
sar rcx, 0x3f
and r8, rcx
lea rsi, [rax + r8]
test rbx, rbx
jbe 0x44e47c
movzx r8d, byte [rax + r8]
bt r8d, 7
jae 0x44e403
xor eax, eax
xor ecx, ecx
xor r8d, r8d
jmp 0x44e446
mov eax, 1
cmp rax, rbx
ja 0x44e435
add qword [rdi], r8
sub rdx, rax
sub rbx, rax
mov rcx, rdx
neg rdx
sar rdx, 0x3f
and rax, rdx
add rax, rsi
mov edi, 1
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
ret
mov rcx, rbx
call fcn.00460520
lea r8d, [rcx + 7]
mov ecx, eax
mov eax, r10d
cmp rax, rbx
jae 0x44e474
movzx r9d, byte [rax + rsi]
lea r10d, [rax + 1]
mov r11d, r9d
and r9d, 0x7f
mov eax, ecx
mov ecx, r8d
shl r9d, cl
or eax, r9d
test r11b, 0x80
jne 0x44e43d
mov r8d, eax
mov eax, r10d
jmp 0x44e408
mov rcx, rbx
call fcn.00460460
xor eax, eax
mov rcx, rax
call fcn.00460460
mov eax, r8d
mov rcx, rbx
call fcn.00460520
lea r9d, [rcx + 7]
mov rcx, r12
cmp rbx, rdx
jbe 0x44e4ce
movzx r10d, byte [rdx + rax]
inc edx
mov r11d, r10d
and r10d, 0x7f
mov r12, rcx
mov ecx, r9d
shl r10d, cl
or r8d, r10d
test r11b, 0x80
jne 0x44e491
mov rcx, r12
mov r9d, edx
mov edx, r8d
mov r8d, r9d
jmp 0x44e3b5
mov eax, edx
mov rcx, rbx
call fcn.00460460
xor eax, eax
mov rcx, rax
nop dword [rax]
call fcn.00460460
nop
int3
Function at 0x455ba0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x455c59
sub rsp, 0x60
mov qword [rsp + 0x58], rbp
lea rbp, [rsp + 0x58]
mov qword [rsp + 0x70], rbx
mov qword [rsp + 8], 0
movups xmmword [rsp + 0x10], xmm15
movups xmmword [rsp + 0x18], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
movups xmmword [rsp + 0x48], xmm15
lea rdx, [0x00455ca0]
mov qword [rsp + 0x10], rdx
lea rdx, [rsp + 8]
mov qword [rsp + 0x18], rdx
mov rdx, qword [rsp + 0x60]
mov qword [rsp + 0x20], rdx
lea rdx, [rsp + 0x68]
mov qword [rsp + 0x28], rdx
mov rdx, r14
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rdi
lea rax, [rsp + 0x10]
mov qword [rsp], rax
call fcn.0045dcc0
xorps xmm15, xmm15
mov r14, qword [0x005ef108]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 8]
mov rbp, qword [rsp + 0x58]
add rsp, 0x60
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.0045de00
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.00455ba0
Function at 0x45fea0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4030af
sub rsp, 0x20
mov qword [rsp + 0x18], rbp
lea rbp, [rsp + 0x18]
mov rdx, qword [rax]
mov rcx, qword [rax + 8]
mov rax, rdx
nop
call fcn.00409740
mov rbp, qword [rsp + 0x18]
add rsp, 0x20
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045de00
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp 0x403080
cmp byte [0x005eef11], 0
je 0x45feb5
mov rcx, qword [rax + 8]
mov rax, qword [rax]
jmp 0x45cf00
jmp 0x403080

Function at 0x45fec0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov eax, dword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x005ef200]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d124b
mul rcx
nop
nop
xor rax, rdx
ret
cmp byte [0x005eef11], 0
je 0x45fef5
movq xmm0, rbx
pinsrd xmm0, dword [rax], 2
aesenc xmm0, xmmword [0x005ef540]
aesenc xmm0, xmmword [0x005ef550]
aesenc xmm0, xmmword [0x005ef560]
movq rax, xmm0
ret
jmp 0x409940

Function at 0x45ff00
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov rax, qword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x005ef200]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d1247
mul rcx
nop
nop
xor rax, rdx
ret
cmp byte [0x005eef11], 0
je 0x45ff36
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x005ef540]
aesenc xmm0, xmmword [0x005ef550]
aesenc xmm0, xmmword [0x005ef560]
movq rax, xmm0
ret
jmp 0x4099a0

Function at 0x461920
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x30
mov rcx, 0xfffffffffffffff4
mov qword [rsp], rcx
mov rax, qword [sym.imp.kernel32.dll_GetStdHandle]
call rax
mov rcx, rax
mov qword [rsp], rcx
lea rdx, [0x005ef4c0]
mov qword [rsp + 8], rdx
lea r8d, [0x005eef28]
mov qword [rsp + 0x10], r8
lea r9, [rsp + 0x28]
mov qword [r9], 0
mov qword [rsp + 0x18], r9
mov qword [rsp + 0x20], 0
mov rax, qword [sym.imp.kernel32.dll_WriteFile]
call rax
call fcn.0045fde0
add rsp, 0x30
ret

Function at 0x461e60
Capabilities:
Allocate thread local storage

Disassembly:
mov rax, rsp
and rsp, 0xfffffffffffffff0
sub rsp, 0x30
mov qword [rsp + 0x20], rax
mov rax, qword [sym.imp.kernel32.dll_TlsAlloc]
call rax
mov rsp, qword [rsp + 0x20]
mov rcx, rax
cmp rcx, 0x40
jb 0x461e8c
call fcn.0045fde0
shl rcx, 3
add rcx, 0x1480
mov qword [0x005ef108], rcx
ret
Function at 0x47f7a0
Capabilities:
Hash data using fnv

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x47f9eb
add rsp, 0xffffffffffffff80
mov qword [rsp + 0x78], rbp
lea rbp, [rsp + 0x78]
mov ebx, dword [rax + 0x2c]
nop dword [rax + rax]
test ebx, ebx
jne 0x47f84c
mov qword [rsp + 0x88], rax
lea rbx, [0x004d4420]
mov rcx, rax
lea rax, [0x0059c1e0]
call fcn.00466f00
test cl, cl
jne 0x47f831
mov rax, qword [rsp + 0x88]
call fcn.0047f040
mov ecx, 1
mov rdi, rax
mov rsi, rbx
lea rax, [rsp + 0x30]
lea rbx, [0x004fcbd8]
call fcn.0044a860
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x28], rbx
nop dword [rax]
call fcn.0047fa00
mov rcx, qword [rsp + 0x88]
xor edx, edx
jmp 0x47f86d
lea rdx, [0x004d4160]
cmp rax, rdx
jne 0x47f85b
test byte [rbx], al
mov rax, rbx
mov rbp, qword [rsp + 0x78]
sub rsp, 0xffffffffffffff80
ret
call fcn.0045bac0
mov rbp, qword [rsp + 0x78]
sub rsp, 0xffffffffffffff80
ret
mov rbx, rdx
lea rcx, [0x004c1e00]
call fcn.0040a4e0
inc rdx
cmp rbx, rdx
jle 0x47f8b8
mov rsi, qword [rax + rdx*8]
cmp qword [rsi + 0x30], rcx
jne 0x47f86a
lea rax, [0x0059c1e0]
lea rbx, [0x004d4420]
lea rdi, [0x004d4160]
call fcn.004670c0
lea rdx, [0x004d4160]
nop dword [rax]
cmp rax, rdx
jne 0x47f9db
test byte [rbx], al
mov rax, rbx
mov rbp, qword [rsp + 0x78]
sub rsp, 0xffffffffffffff80
ret
lea rcx, [0x004bcf40]
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x70], 0
mov rcx, qword [rsp + 0x68]
mov qword [rsp + 0x58], rcx
lea rax, [0x004c8880]
nop
call fcn.0040d140
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x58]
test byte [rcx], al
cmp dword [0x005ef1b0], 0
jne 0x47f91a
mov rdx, qword [rcx]
mov qword [rax], rdx
movups xmm0, xmmword [rcx + 8]
movups xmmword [rax + 8], xmm0
movups xmm0, xmmword [rcx + 0x18]
movups xmmword [rax + 0x18], xmm0
movups xmm0, xmmword [rcx + 0x28]
movups xmmword [rax + 0x28], xmm0
jmp 0x47f929
mov rbx, rax
lea rax, [0x004c8880]
call fcn.004123a0
mov rax, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x28]
xor ecx, ecx
xor edi, edi
xor esi, esi
mov r8d, esi
nop dword [rax]
call fcn.0047eb00
call fcn.0045bb80
mov rsi, qword [rsp + 0x60]
mov dword [rsi + 0x28], eax
mov dword [rsi + 0x2c], 0
mov rcx, qword [rsp + 0x88]
mov edx, dword [rcx + 0x10]
xor eax, eax
jmp 0x47f976
imul edx, edx, 0x1000193
xor edx, 0x2a
mov eax, 1
cmp rax, 1
jl 0x47f968
mov dword [rsi + 0x10], edx
cmp dword [0x005ef1b0], 0
jne 0x47f98e
mov qword [rsi + 0x30], rcx
jmp 0x47f997
lea rdi, [rsi + 0x30]
call fcn.004600c0
lea rax, [0x0059c1e0]
lea rbx, [0x004d4420]
lea rdi, [0x004d4160]
call fcn.004670c0
lea rdx, [0x004d4160]
cmp rax, rdx
jne 0x47f9cc
test byte [rbx], al
mov rax, rbx
mov rbp, qword [rsp + 0x78]
sub rsp, 0xffffffffffffff80
ret
mov rbx, rdx
lea rcx, [0x004c1e00]
call fcn.0040a4e0
mov rbx, rdx
lea rcx, [0x004c1e00]
call fcn.0040a4e0
nop
mov qword [rsp + 8], rax
call fcn.0045de00
mov rax, qword [rsp + 8]
jmp fcn.0047f7a0
Function at 0x49f100
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
mov rcx, qword [rsp + 8]
mov rax, qword [rsp + 0x10]
mov rdx, qword [rsp + 0x18]
mov rbx, qword [rsp + 0x20]
movups xmm1, xmmword [rax]
movups xmm0, xmmword [rbx]
add rax, 0x10
pxor xmm0, xmm1
sub rcx, 0xc
je 0x49f13f
jb 0x49f154
movups xmm1, xmmword [rax]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x10]
aesdec xmm0, xmm1
add rax, 0x20
movups xmm1, xmmword [rax]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x10]
aesdec xmm0, xmm1
add rax, 0x20
movups xmm1, xmmword [rax]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x10]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x20]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x30]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x40]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x50]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x60]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x70]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x80]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x90]
aesdeclast xmm0, xmm1
movups xmmword [rdx], xmm0
ret
Function at 0x49f1c0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov rcx, qword [rsp + 8]
mov rax, qword [rsp + 0x10]
mov rbx, qword [rsp + 0x18]
mov rdx, qword [rsp + 0x20]
movups xmm0, xmmword [rax]
movups xmmword [rbx], xmm0
add rbx, 0x10
pxor xmm4, xmm4
cmp ecx, 0xc
je 0x49f290
jb 0x49f2ef
movups xmm2, xmmword [rax + 0x10]
movups xmmword [rbx], xmm2
add rbx, 0x10
aeskeygenassist xmm1, xmm2, 1
call fcn.0049f0a0
aeskeygenassist xmm1, xmm0, 1
call fcn.0049f0c0
aeskeygenassist xmm1, xmm2, 2
call fcn.0049f0a0
aeskeygenassist xmm1, xmm0, 2
call fcn.0049f0c0
aeskeygenassist xmm1, xmm2, 4
call fcn.0049f0a0
aeskeygenassist xmm1, xmm0, 4
call fcn.0049f0c0
aeskeygenassist xmm1, xmm2, 8
call fcn.0049f0a0
aeskeygenassist xmm1, xmm0, 8
call fcn.0049f0c0
aeskeygenassist xmm1, xmm2, 0x10
call fcn.0049f0a0
aeskeygenassist xmm1, xmm0, 0x10
call fcn.0049f0c0
aeskeygenassist xmm1, xmm2, 0x20
call fcn.0049f0a0
aeskeygenassist xmm1, xmm0, 0x20
call fcn.0049f0c0
aeskeygenassist xmm1, xmm2, 0x40
call fcn.0049f0a0
jmp 0x49f35d
movq xmm2, qword [rax + 0x10]
aeskeygenassist xmm1, xmm2, 1
call fcn.0049f000
aeskeygenassist xmm1, xmm2, 2
call fcn.0049f060
aeskeygenassist xmm1, xmm2, 4
call fcn.0049f000
aeskeygenassist xmm1, xmm2, 8
call fcn.0049f060
aeskeygenassist xmm1, xmm2, 0x10
call fcn.0049f000
aeskeygenassist xmm1, xmm2, 0x20
call fcn.0049f060
aeskeygenassist xmm1, xmm2, 0x40
call fcn.0049f000
aeskeygenassist xmm1, xmm2, 0x80
call fcn.0049f060
jmp 0x49f35d
aeskeygenassist xmm1, xmm0, 1
call fcn.0049efc0
aeskeygenassist xmm1, xmm0, 2
call fcn.0049efc0
aeskeygenassist xmm1, xmm0, 4
call fcn.0049efc0
aeskeygenassist xmm1, xmm0, 8
call fcn.0049efc0
aeskeygenassist xmm1, xmm0, 0x10
call fcn.0049efc0
aeskeygenassist xmm1, xmm0, 0x20
call fcn.0049efc0
aeskeygenassist xmm1, xmm0, 0x40
call fcn.0049efc0
aeskeygenassist xmm1, xmm0, 0x80
call fcn.0049efc0
aeskeygenassist xmm1, xmm0, 0x1b
call fcn.0049efc0
aeskeygenassist xmm1, xmm0, 0x36
call fcn.0049efc0
sub rbx, 0x10
movups xmm1, xmmword [rbx]
movups xmmword [rdx], xmm1
dec rcx
movups xmm1, xmmword [rbx - 0x10]
aesimc xmm0, xmm1
movups xmmword [rdx + 0x10], xmm0
sub rbx, 0x10
add rdx, 0x10
dec rcx
jne 0x49f36a
movups xmm0, xmmword [rbx - 0x10]
movups xmmword [rdx + 0x10], xmm0
ret
Function at 0x14000b1a0
Capabilities:
Parse pe header

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x20
mov esi, r8d
mov ebx, edx
mov r14d, ecx
test r8d, r8d
jne 0x14000af74
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000af74
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000af74
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000af74
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000af74
cmp dword [rcx + 0x84], 0xe
jbe 0x14000af74
cmp dword [rcx + 0xf8], esi
je 0x14000af74
mov ecx, r14d
call fcn.14000b0bc
mov ecx, 2
call fcn.140008be8
nop
cmp byte [0x140108060], 0
jne 0x14000b03e
mov r15d, 1
mov eax, r15d
xchg dword [0x140108050], eax
test ebx, ebx
jne 0x14000afe7
mov rdi, qword [0x140107a10]
mov edx, edi
and edx, 0x3f
lea ecx, [rbx + 0x40]
sub ecx, edx
xor eax, eax
ror rax, cl
xor rax, rdi
mov rcx, qword [0x140108058]
cmp rcx, rax
je 0x14000afde
xor rdi, rcx
mov ecx, edx
ror rdi, cl
mov rcx, rdi
call qword [fcn.14000d8f8]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call rdi
lea rcx, [0x140108088]
jmp 0x14000aff3
cmp ebx, r15d
jne 0x14000aff9
lea rcx, [0x1401080a0]
call fcn.14000c038
nop
test ebx, ebx
jne 0x14000b010
lea rdx, [0x140016330]
lea rcx, [0x140016310]
call fcn.14000bbac
lea rdx, [0x140016340]
lea rcx, [0x140016338]
call fcn.14000bbac
movzx eax, byte [0x140108060]
test esi, esi
cmove eax, r15d
mov byte [0x140108060], al
jmp 0x14000b03e
mov ecx, 2
call fcn.140008c3c
test esi, esi
jne 0x14000b055
mov ecx, r14d
call fcn.14000b070
int3
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret
xor r8d, r8d
xor edx, edx
jmp 0x14000af04
Function at 0x140011190
Capabilities:
Hash data using fnv

Disassembly:
jmp 0x140016d50
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x148
lea rbp, [rsp + 0x20]
lea rcx, [0x14002d0d6]
call fcn.14001167c
nop
mov dword [rbp + 4], 0x1000193
mov dword [rbp + 0x24], 0x811c9dc5
mov dword [rbp + 0x44], 0x811c9dc5
mov rax, qword [rbp + 0x140]
movsx eax, byte [rax]
test eax, eax
je 0x140016dc4
mov rax, qword [rbp + 0x140]
movzx eax, byte [rax]
mov ecx, dword [rbp + 0x44]
xor ecx, eax
mov eax, ecx
mov dword [rbp + 0x44], eax
mov rax, qword [rbp + 0x140]
inc rax
mov qword [rbp + 0x140], rax
imul eax, dword [rbp + 0x44], 0x1000193
mov dword [rbp + 0x44], eax
jmp 0x140016d85
mov eax, dword [rbp + 0x44]
lea rsp, [rbp + 0x128]
pop rdi
pop rbp
ret
Function at 0x1400112cb
Capabilities:
Create new key via cryptacquirecontext
Encrypt data using aes via winapi
Encrypt or decrypt via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
jmp 0x140014ca0
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x158
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x1a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x178]
mov rax, qword [0x140026040]
xor rax, rbp
mov qword [rbp + 0x118], rax
lea rcx, [0x14002d0d6]
call fcn.14001167c
nop
mov dword [rsp + 0x20], 0xf0000000
mov r9d, 0x18
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x140014d33
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Failed_in_CryptAcquireContextW___u__n
call fcn.14001130c
nop
jmp 0x140014e4a
lea rax, [rbp + 0x28]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x800c
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x140014d6f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Failed_in_CryptCreateHash___u__n
call fcn.14001130c
nop
jmp 0x140014e4a
xor r9d, r9d
mov r8d, dword [rbp + 0x158]
mov rdx, qword [rbp + 0x150]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x140014da8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Failed_in_CryptHashData___u__n
call fcn.14001130c
nop
jmp 0x140014e4a
lea rax, [rbp + 0x48]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8, qword [rbp + 0x28]
mov edx, 0x6610
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
jne 0x140014de2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Failed_in_CryptDeriveKey___u__n
call fcn.14001130c
nop
jmp 0x140014e4a
lea rax, [rbp + 0x148]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp + 0x140]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.ADVAPI32.dll_CryptDecrypt]
test eax, eax
jne 0x140014e27
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Failed_in_CryptDecrypt___u__n
call fcn.14001130c
nop
jmp 0x140014e4a
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
nop
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
nop
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
nop
lea rcx, [rbp - 0x30]
lea rdx, [0x140020f10]
call fcn.140011578
mov rcx, qword [rbp + 0x118]
xor rcx, rbp
call fcn.14001132f
lea rsp, [rbp + 0x128]
pop rdi
pop rbp
ret
Function at 0x14001139d
Capabilities:
Terminate process

Disassembly:
jmp 0x140018f70
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
add rsp, 0x28
ret

Function at 0x14001147e
Capabilities:
Parse pe header

Disassembly:
jmp 0x14001a2c0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14001a2e0
xor al, al
jmp 0x14001a361
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14001a2f3
xor al, al
jmp 0x14001a361
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14001a31d
xor al, al
jmp 0x14001a361
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x14001a331
xor al, al
jmp 0x14001a361
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x14001a343
xor al, al
jmp 0x14001a361
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001a35f
xor al, al
jmp 0x14001a361
mov al, 1
add rsp, 0x38
ret
Function at 0x1400180d0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.1400116b8
movzx eax, al
test eax, eax
jne 0x1400180f0
mov ecx, 7
call fcn.140011587
nop
mov byte [rsp + 0x20], 0
call fcn.1400115b9
mov byte [rsp + 0x21], al
cmp dword [0x140027348], 1
jne 0x140018114
mov ecx, 7
call fcn.140011587
nop
jmp 0x14001816c
cmp dword [0x140027348], 0
jne 0x140018167
mov dword [0x140027348], 1
lea rdx, [0x140020660]
lea rcx, [0x140020330]
call fcn.140011311
test eax, eax
je 0x140018148
mov eax, 0xff
jmp 0x140018271
lea rdx, [0x140020220]
lea rcx, [section..rdata]
call fcn.1400115a5
mov dword [0x140027348], 2
jmp 0x14001816c
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.14001156e
call fcn.1400114ba
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x1400181c9
mov rcx, qword [rsp + 0x30]
call fcn.14001127b
movzx eax, al
test eax, eax
je 0x1400181c9
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x14002e020]
nop
call fcn.140011514
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x1400181fd
mov rcx, qword [rsp + 0x38]
call fcn.14001127b
movzx eax, al
test eax, eax
je 0x1400181fd
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.14001163b
nop
call fcn.140018320
mov dword [rsp + 0x28], eax
call fcn.14001147e
movzx eax, al
test eax, eax
jne 0x14001821c
mov ecx, dword [rsp + 0x28]
call fcn.140011082
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x14001822b
call fcn.140011654
nop
xor edx, edx
mov cl, 1
call fcn.14001124e
mov eax, dword [rsp + 0x28]
jmp 0x140018271
add rsp, 0x68
ret
Function at 0x140004080
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x1400040dd
lea rbx, [0x1400d4020]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x1400040c4
cmp r10, 2
jb 0x1400040c4
cmp byte [r9], r8b
jne 0x1400040c4
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x1400040a0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14000411f
lea rbx, [0x1400d4020]
cmp r8b, 0x23
jne 0x140004103
cmp byte [r9], r8b
jne 0x140004103
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x1400040f0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x1400042e0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov rdi, r8
mov rbx, rcx
test rcx, rcx
jne 0x14000430f
mov r8d, 0x78f
lea rdx, str.E:PROJECTPrizrakX_tersPrizrakX_tersPrizrakX_tersimgui.cpp
lea rcx, str.filename__mode
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
test rdi, rdi
je 0x14000431b
mov qword [rdi], 0
lea rdx, [0x1400d3848]
mov rcx, rbx
call fcn.140004130
mov rbx, rax
test rax, rax
jne 0x14000433d
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 0x30], rbp
mov rcx, rbx
mov qword [rsp + 0x38], rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
cmp eax, 0xffffffff
je 0x140004416
xor edx, edx
mov r8d, 2
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140004416
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x140004416
xor r8d, r8d
mov edx, ebp
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140004416
cmp rsi, 0xffffffffffffffff
je 0x140004416
mov rax, qword [0x140137650]
test rax, rax
je 0x1400043b3
inc dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbp, rax
test rax, rax
je 0x140004416
mov r9, rbx
mov r8, rsi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rsi
je 0x140004403
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x140137650]
test rax, rax
je 0x1400043f8
dec dword [rax + 0xf4]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14000441f
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rdi, rdi
je 0x140004411
mov qword [rdi], rsi
mov rax, rbp
jmp 0x140004421
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140007eb0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x10], edx
push rdi
sub rsp, 0x20
cmp dword [rcx + 0xe8], 0
mov rbx, rcx
movsxd rdi, edx
jg 0x140007ee7
mov r8d, 0x705
lea rdx, str.E:PROJECTPrizrakX_tersPrizrakX_tersPrizrakX_tersimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rbx + 0xf0]
lea rdx, [0x1400d4020]
movsxd r8, dword [rbx + 0xe8]
mov ebx, dword [rax + r8*4 - 4]
not ebx
movzx eax, dil
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x39]
xor ebx, dword [rdx + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3a]
xor ebx, dword [rdx + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3b]
xor ebx, dword [rdx + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [rdx + rcx*4]
mov rcx, qword [0x140137650]
not ebx
cmp dword [rcx + 0x3f18], ebx
jne 0x140007f66
mov r8, rdi
mov edx, 4
mov ecx, ebx
call fcn.14001ec10
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret