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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0xb0
mov rax, qword [0x140075040]
xor rax, rsp
mov qword [rsp + 0xa8], rax
movzx esi, r8b
xor ebp, ebp
lea rcx, [rsp + 0x58]
call fcn.140001fa0
mov r14, rax
mov qword [rsp + 0x50], rax
mov rdi, qword [0x1400782c0]
mov rdx, rax
lea rcx, [rsp + 0x78]
call fcn.140001fa0
mov byte [rsp + 0x98], sil
mov qword [rsp + 0xa0], rdi
lea ecx, [rbp + 0x30]
call fcn.1400322e4
mov rbx, rax
movups xmm0, xmmword [rsp + 0x78]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rsp + 0x88]
movups xmmword [rax + 0x10], xmm1
mov qword [rsp + 0x88], rbp
mov qword [rsp + 0x90], reloc.OLEAUT32.dll_SafeArrayDestroy
mov byte [rsp + 0x78], bpl
mov byte [rax + 0x20], sil
mov qword [rax + 0x28], rdi
mov qword [rsp + 0x30], rbp
lea rcx, [rsp + 0x30]
call fcn.140012380
mov qword [rsp + 0x30], rbx
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ebp
mov r9, rbx
lea r8, [0x140012540]
xor edx, edx
xor ecx, ecx
call fcn.14003d6d8
mov qword [rsp + 0x40], rax
test rax, rax
je 0x14002970b
cmp dword [rsp + 0x48], ebp
je 0x140029700
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x30]
call fcn.140031a14
test eax, eax
jne 0x140029700
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x40], xmm0
mov rdx, qword [r14 + 0x18]
cmp rdx, 0xf
jbe 0x1400296c8
inc rdx
mov rcx, qword [r14]
cmp rdx, 0x1000
jb 0x1400296c3
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14002971a
mov rcx, r8
call fcn.1400322b0
mov qword [r14 + 0x10], rbp
mov qword [r14 + 0x18], reloc.OLEAUT32.dll_SafeArrayDestroy
mov byte [r14], 0
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.140032290
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
mov ecx, 1
call fcn.140031978
nop
mov dword [rsp + 0x48], ebp
mov ecx, 6
call fcn.140031978
nop
call fcn.1400390dc
int3
Function at 0x140029e10
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xc0
mov rax, qword [0x140075040]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov rbx, rcx
xor esi, esi
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [rbx + 0xe0]
test rcx, rcx
je 0x140029e5c
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r8d, dword [rbx + 0xa0]
xor edx, edx
mov ecx, 0xc3a
call qword [0x1400781e0]
mov qword [rbx + 0xe0], rax
lea rcx, [rbx + 0x60]
call fcn.14002f130
mov dword [rbp - 0x29], esi
mov dword [rbp - 0x39], esi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rbp - 0x29]
call qword [sym.imp.KERNEL32.dll_IsWow64Process]
test eax, eax
je 0x140029efb
lea rdx, [rbp - 0x39]
mov rcx, qword [rbx + 0xe0]
call qword [sym.imp.KERNEL32.dll_IsWow64Process]
test eax, eax
je 0x140029efb
mov eax, dword [rbp - 0x39]
cmp dword [rbp - 0x29], eax
je 0x140029efb
lea r8, [0x140078410]
cmp qword [0x140078428], 7
cmova r8, qword [0x140078410]
lea rdx, [0x140078650]
cmp qword [0x140078668], 7
cmova rdx, qword [0x140078650]
xor ecx, ecx
lea r9d, [rcx + 0x10]
call qword [sym.imp.USER32.dll_MessageBoxW]
xor al, al
jmp 0x140029fba
cmp qword [rbx + 0xe0], rsi
jne 0x140029fb8
lea rdx, [0x1400785f0]
lea rcx, [rbp - 9]
call fcn.140012020
lea rdx, [0x140078410]
lea rcx, [rbp + 0x17]
call fcn.140012020
mov dword [rbp + 0x37], 0x10
mov ecx, 0x48
call fcn.1400322e4
mov rbx, rax
mov qword [rbp - 0x29], rax
mov qword [rbp - 0x39], rax
lea rdx, [rbp - 9]
mov rcx, rax
call fcn.140012020
nop
lea rcx, [rbx + 0x20]
lea rdx, [rbp + 0x17]
call fcn.140012020
mov ecx, dword [rbp + 0x37]
mov dword [rbx + 0x40], ecx
mov qword [rbp - 0x29], rbx
lea rax, [rbp - 0x11]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], esi
mov r9, rbx
lea r8, [0x14001a390]
xor edx, edx
xor ecx, ecx
call fcn.14003d6d8
mov qword [rbp - 0x19], rax
test rax, rax
je 0x140029fdf
lea rcx, [rbp - 9]
call fcn.140015290
cmp dword [rbp - 0x11], 0
je 0x140029fed
movaps xmm0, xmmword [rbp - 0x19]
movdqa xmmword [rbp - 0x29], xmm0
lea rcx, [rbp - 0x29]
call fcn.140031a14
test eax, eax
jne 0x140029fed
jmp 0x140029fba
mov al, 1
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.140032290
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
mov dword [rbp - 0x11], esi
mov ecx, 6
call fcn.140031978
nop
mov ecx, 1
call fcn.140031978
int3
Function at 0x14002f5b0
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x90
mov rax, qword [0x140075040]
xor rax, rsp
mov qword [rsp + 0x88], rax
xor edi, edi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], r8
mov r9, rdx
xor r8d, r8d
xor edx, edx
mov rcx, qword [rcx + 0x80]
call qword [0x1400781f8]
mov rbx, rax
test rax, rax
jne 0x14002f73d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rsp + 0x68]
call fcn.14002a650
nop
lea r8, [0x140078630]
cmp qword [0x140078648], 7
cmova r8, qword [0x140078630]
mov r9, qword [0x140078640]
mov rcx, rax
call fcn.140007420
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], rdi
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x58], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
lea r8, [0x140078410]
cmp qword [0x140078428], 7
cmova r8, qword [0x140078410]
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 7
cmova rdx, qword [rsp + 0x48]
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 7
jbe 0x14002f6e5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002f6e0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002f786
call fcn.1400322b0
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], 7
mov word [rsp + 0x48], di
mov rdx, qword [rsp + 0x80]
cmp rdx, 7
jbe 0x14002f739
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002f734
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002f780
call fcn.1400322b0
xor al, al
jmp 0x14002f75f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov edx, 0xffffffff
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140032290
mov rbx, qword [rsp + 0xb8]
add rsp, 0x90
pop rdi
ret
call fcn.1400390dc
nop
call fcn.1400390dc
nop
int3
Function at 0x14002f790
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x90
mov rax, qword [0x140075040]
xor rax, rsp
mov qword [rsp + 0x88], rax
xor edi, edi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], r8
mov r9, rdx
xor r8d, r8d
xor edx, edx
mov rcx, qword [rcx + 0x80]
call qword [0x1400781f8]
mov rbx, rax
test rax, rax
jne 0x14002f91d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rsp + 0x68]
call fcn.14002a650
nop
lea r8, [0x140078630]
cmp qword [0x140078648], 7
cmova r8, qword [0x140078630]
mov r9, qword [0x140078640]
mov rcx, rax
call fcn.140007420
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], rdi
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x58], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
lea r8, [0x140078410]
cmp qword [0x140078428], 7
cmova r8, qword [0x140078410]
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 7
cmova rdx, qword [rsp + 0x48]
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 7
jbe 0x14002f8c5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002f8c0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002f958
call fcn.1400322b0
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], 7
mov word [rsp + 0x48], di
mov rdx, qword [rsp + 0x80]
cmp rdx, 7
jbe 0x14002f919
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002f914
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002f952
call fcn.1400322b0
xor al, al
jmp 0x14002f931
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140032290
mov rbx, qword [rsp + 0xb8]
add rsp, 0x90
pop rdi
ret
call fcn.1400390dc
nop
call fcn.1400390dc
nop
int3
Function at 0x140032fbc
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140033006
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140033006
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140033006
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140033006
cmp dword [rcx + 0x84], 0xe
jbe 0x140033006
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140033008
xor al, al
add rsp, 0x28
ret

Function at 0x14003d24c
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x14003d0df
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14003d0df
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14003d0df
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14003d0df
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14003d0df
cmp dword [rcx + 0x84], 0xe
jbe 0x14003d0df
cmp dword [rcx + 0xf8], 0
je 0x14003d0df
mov ecx, ebx
call fcn.14003d180
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.14003cf70
cmp dword [rbp + 0x20], 0
je 0x14003d12c
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14003d134
int3
xor r8d, r8d
xor edx, edx
jmp 0x14003d078
Function at 0x140054270
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140054298
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140054298
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140001570
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x460
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x450], rax
xor r12d, r12d
lea r8, str.ntdll.dll
mov rdi, 0xffffffffffffffff
mov dword [rsp + 0x28], r12d
mov r9d, edi
mov qword [rsp + 0x20], r12
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movsxd rbx, eax
mov eax, 2
mul rbx
cmovb rax, rdi
mov rcx, rax
call fcn.140002404
mov r9d, edi
mov dword [rsp + 0x28], ebx
lea r8, str.ntdll.dll
mov qword [rsp + 0x20], rax
xor edx, edx
mov ecx, 0xfde9
mov r14, rax
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov rcx, qword gs:[0x60]
mov rdx, qword [rcx + 0x18]
mov rsi, qword [rdx + 0x20]
test rsi, rsi
je 0x1400016fd
cmp word [rsi + 0x48], r12w
je 0x1400016fd
mov rbp, qword [rsi + 0x50]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rcx, r14
movsxd rdi, eax
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd r15, eax
cmp edi, 0x104
jge 0x1400016f1
cmp r15d, 0x104
jge 0x1400016f1
mov rbx, r12
test rdi, rdi
jle 0x14000168b
nop word [rax + rax]
movzx ecx, word [rbp + rbx*2]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov word [rsp + rbx*2 + 0x240], ax
inc rbx
cmp rbx, rdi
jl 0x140001670
add rbx, rbx
cmp rbx, 0x208
jae 0x140001737
mov word [rsp + rbx + 0x240], r12w
mov rbx, r12
test r15d, r15d
jle 0x1400016c8
nop dword [rax]
movzx ecx, word [r14 + rbx*2]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov word [rsp + rbx*2 + 0x30], ax
inc rbx
cmp rbx, r15
jl 0x1400016b0
add rbx, rbx
cmp rbx, 0x208
jae 0x140001737
lea rdx, [rsp + 0x30]
mov word [rsp + rbx + 0x30], r12w
lea rcx, [rsp + 0x240]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x140001731
mov rsi, qword [rsi]
test rsi, rsi
jne 0x140001622
xor eax, eax
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.140002100
lea r11, [rsp + 0x460]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
ret
mov rax, qword [rsi + 0x20]
jmp 0x1400016ff
call fcn.140002228
int3
Function at 0x140001740
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0xf0
mov edi, edx
mov r8, rcx
test rcx, rcx
je 0x140001884
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140001884
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
cmp dword [rax], 0x4550
jne 0x140001884
movups xmm0, xmmword [rax + 0x18]
lea rcx, [rsp]
xor r9d, r9d
movups xmm1, xmmword [rax + 0x28]
movups xmmword [rcx], xmm0
movups xmm0, xmmword [rax + 0x38]
movups xmmword [rcx + 0x10], xmm1
movups xmm1, xmmword [rax + 0x48]
movups xmmword [rcx + 0x20], xmm0
movups xmm0, xmmword [rax + 0x58]
movups xmmword [rcx + 0x30], xmm1
movups xmm1, xmmword [rax + 0x68]
movups xmmword [rcx + 0x40], xmm0
movups xmm0, xmmword [rax + 0x78]
movups xmmword [rcx + 0x50], xmm1
movups xmmword [rcx + 0x60], xmm0
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rax + 0x88]
sub rax, 0xffffffffffffff68
movups xmmword [rcx - 0x10], xmm0
movups xmm1, xmmword [rax]
movups xmm0, xmmword [rax + 0x10]
movups xmmword [rcx], xmm1
movups xmm1, xmmword [rax + 0x20]
movups xmmword [rcx + 0x10], xmm0
movups xmm0, xmmword [rax + 0x30]
movups xmmword [rcx + 0x20], xmm1
movups xmm1, xmmword [rax + 0x40]
movups xmmword [rcx + 0x30], xmm0
movups xmm0, xmmword [rax + 0x50]
movups xmmword [rcx + 0x40], xmm1
movups xmm1, xmmword [rax + 0x60]
movups xmmword [rcx + 0x50], xmm0
movups xmmword [rcx + 0x60], xmm1
mov eax, dword [rsp + 0x70]
add rax, r8
mov r10d, dword [rax + 0x20]
mov ebp, dword [rax + 0x1c]
add r10, r8
mov r11d, dword [rax + 0x24]
add rbp, r8
mov esi, dword [rax + 0x14]
add r11, r8
test esi, esi
je 0x140001884
nop dword [rax]
nop dword [rax + rax]
movzx eax, word [r11]
mov ecx, dword [r10]
add rcx, r8
mov ebx, dword [rbp + rax*4]
mov eax, 0xab
add rbx, r8
movsx edx, byte [rcx]
test edx, edx
je 0x140001870
nop dword [rax]
imul eax, eax, 0x21
lea rcx, [rcx + 1]
add eax, edx
movsx edx, byte [rcx]
test edx, edx
jne 0x140001860
cmp edi, eax
je 0x14000189f
inc r9d
add r11, 2
add r10, 4
cmp r9d, esi
jb 0x140001840
xor eax, eax
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
mov rax, rbx
jmp 0x140001886
Function at 0x140001d10
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:
sub rsp, 0x68
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov r9d, 0x18
mov dword [rsp + 0x30], 0x19800
xor r8d, r8d
mov dword [rsp + 0x20], 0xf0000000
xor edx, edx
lea rcx, [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x140001e26
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x48]
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov edx, 0x800c
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x140001e26
mov rcx, qword [rsp + 0x48]
lea rdx, [0x1400060a0]
xor r9d, r9d
mov r8d, 0x10
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x140001e26
mov r8, qword [rsp + 0x48]
lea rax, [rsp + 0x50]
mov rcx, qword [rsp + 0x40]
xor r9d, r9d
mov edx, 0x6610
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
je 0x140001e26
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
xor r9d, r9d
lea rax, [0x1400060b0]
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_CryptDecrypt]
test eax, eax
je 0x140001e26
mov rcx, qword [rsp + 0x40]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
xor eax, eax
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140002100
add rsp, 0x68
ret
mov eax, 0xffffffff
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140002100
add rsp, 0x68
ret
Function at 0x140002bac
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140002bf6
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140002bf6
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140002bf6
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140002bf6
cmp dword [rcx + 0x84], 0xe
jbe 0x140002bf6
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140002bf8
xor al, al
add rsp, 0x28
ret
Function at 0x14000720c
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
call fcn.14000719c
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateThread]
lea rcx, [0x140021170]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400205b8]
jmp 0x140007248
cmp qword [rbx + 0x18], rdi
je 0x14000724f
mov rbx, qword [rbx]
test rbx, rbx
jne 0x14000723f
jmp 0x140007269
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbx + 0x10]
lea rcx, [0x1400205b8]
call fcn.140011c68
lea rcx, [0x140021170]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sar byte [rcx - 0x41d85176], 1
stosb byte [rdi], al
and al, 0xc
invalid
test cl, dh
int1
invalid
jp 0x14003f563
mov cl, 0xf9
jns 0x14003f5dc
and dword [rbx + 0x53d7cf57], esi
out 0x16, al
retf
mov al, 0x57
fucomi st(1)
adc byte [rbp + rdi*2 - 0x65], cl
loop 0x14003f5ab
insd dword [rdi], dx
mov ebx, 0xc7504338
int3
push rax
invalid
pop rcx
imul esi, dword [rdx + 0x18997f60], 0xce427b80
in al, 6
mov dl, 0x60
jg 0x14003f579
sbb byte [rax - 0xd31bd85], al
in al, 6
cld
or dword [rcx], edi
xchg edx, eax
invalid
push rdi
pop rax
jmp 0x14003f5da
mov esp, 0xf456b2ab
cmovge ebp, dword [r15 + 0x7ea7c63e]
jle 0x14003f6a9
cwde
jle 0x14003f6a9
cwde
jne 0x14003f5c1
iretq
sbb al, 0xab
cmp bl, byte [rdx - 0x4f]
popfq
sub byte [0x135bdcf7c], dh
pop rdi
add edi, dword [rdx - 0x60631698]
stosq qword [rdi], rax
jnp 0x14003f628
push 0xffffffffffffffbc
add eax, 0x582824c2
and al, 0x28
pop rax
or dl, byte [rsi + 0x3b]
invalid
invalid
test dword [rcx], eax
fcmovnbe st(0), st(1)
invalid
or al, 0xc8
retf
xchg edi, eax
imul eax, dword [rsi + 0x7d], 0xffffffcc
retf
mov edx, 0x2d86c654
jle 0x14003f69a
xchg byte [0x11991e42d], ch
add cl, byte [0xe0410653]
or eax, 0xa03d0f9e
invalid
invalid
push rax
rcr dword [rax - 0x17], 0x41
mov ebp, 0xfefedc6c
xor eax, 0x1b038159
add ebx, dword [rbx]
in al, dx
adc ebx, dword [rbp - 0x4b]
xor dword [rdx - 0x3e], ebx
lahf
push rsp
sub rax, 0xffffffffd360ae73
jecxz 0x14003f6c2
ret
Function at 0x140010370
Capabilities:
Encrypt data using salsa20 or chacha
Generate random numbers via rtlgenrandom
Generate random numbers via winapi

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xa0
mov rsi, rdx
mov rdi, rcx
xorps xmm0, xmm0
movaps xmmword [rsp + 0x30], xmm0
movaps xmmword [rsp + 0x20], xmm0
lea rdx, [rsp + 0x20]
xor ecx, ecx
mov r8d, 0x20
mov r9d, 2
call qword [sym.imp.bcrypt.dll_BCryptGenRandom]
cmp eax, 0xc0000000
jb 0x1400103c7
mov ebx, eax
lea rcx, [rsp + 0x20]
mov edx, 0x20
call qword [sym.imp.ADVAPI32.dll_SystemFunction036]
test al, al
je 0x140010476
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
movaps xmmword [rsp + 0x50], xmm1
movaps xmmword [rsp + 0x40], xmm0
mov rax, qword [0x14017de88]
test rax, rax
je 0x1400104aa
and eax, 0x4000
xor ecx, ecx
lea rbx, [rsp + 0x70]
or rax, rcx
je 0x140010412
lea r8, [0x140168ec0]
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.1400534c0
jmp 0x140010434
movaps xmm0, xmmword [rsp + 0x40]
movaps xmm1, xmmword [rsp + 0x50]
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x80], xmm1
xorps xmm0, xmm0
movaps xmmword [rsp + 0x90], xmm0
movaps xmm0, xmmword [rbx]
movaps xmm1, xmmword [rbx + 0x10]
movaps xmm2, xmmword [rbx + 0x20]
movaps xmmword [rdi + 0x20], xmm2
movaps xmmword [rdi + 0x10], xmm1
movaps xmmword [rdi], xmm0
mov qword [rdi + 0x40], 0
mov rax, 0xffffffffffffff00
add rax, qword [rdi + 0x30]
mov qword [rdi + 0x38], rax
mov rcx, rdi
mov rdx, rsi
add rsp, 0xa0
pop rbx
pop rdi
pop rsi
jmp fcn.140051230
movzx eax, byte [0x14017dea0]
mov edx, 4
xor ecx, ecx
call fcn.1400f8170
test rax, rax
je 0x1400104b4
and ebx, 0x7fffffff
mov dword [rax], ebx
mov rcx, qword [0x14017de28]
xor edx, edx
mov r8, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x14001044a
call fcn.14011edc0
jmp 0x1400103eb
mov ecx, 4
mov edx, 4
call fcn.140118750
int3
Function at 0x140018a50
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
sub rsp, 0x48
movdqa xmmword [rsp + 0x30], xmm9
movdqa xmmword [rsp + 0x20], xmm8
movdqa xmmword [rsp + 0x10], xmm7
movdqa xmmword [rsp], xmm6
cmp r8, 0x80
jb 0x140018c6e
movdqu xmm4, xmmword [rdx]
movdqu xmm3, xmmword [rdx + 0x10]
movdqu xmm2, xmmword [rdx + 0x20]
movdqu xmm1, xmmword [rdx + 0x30]
not ecx
movd xmm0, ecx
pxor xmm0, xmm4
add rdx, 0x40
add r8, 0xffffffffffffffc0
movabs rax, 0x154442bd4
movq xmm4, rax
movdqa xmm5, xmmword [0x140121710]
nop word cs:[rax + rax]
movdqa xmm6, xmm0
pclmulqdq xmm6, xmm4, 0
movdqa xmm7, xmm0
pclmulqdq xmm7, xmm5, 0x11
movdqu xmm0, xmmword [rdx]
pxor xmm0, xmm6
pxor xmm0, xmm7
movdqu xmm6, xmmword [rdx + 0x10]
movdqu xmm7, xmmword [rdx + 0x20]
movdqu xmm8, xmmword [rdx + 0x30]
movdqa xmm9, xmm3
pclmulqdq xmm9, xmm4, 0
pxor xmm9, xmm6
pclmulqdq xmm3, xmm5, 0x11
pxor xmm3, xmm9
movdqa xmm6, xmm2
pclmulqdq xmm6, xmm4, 0
pxor xmm6, xmm7
pclmulqdq xmm2, xmm5, 0x11
pxor xmm2, xmm6
movdqa xmm6, xmm1
pclmulqdq xmm6, xmm4, 0
pxor xmm6, xmm8
pclmulqdq xmm1, xmm5, 0x11
pxor xmm1, xmm6
add rdx, 0x40
add r8, 0xffffffffffffffc0
cmp r8, 0x3f
ja 0x140018ac0
movabs rax, 0x1751997d0
movq xmm4, rax
movdqa xmm6, xmm0
pclmulqdq xmm6, xmm4, 0
pmovzxdq xmm5, qword [0x140121730]
pclmulqdq xmm0, xmm5, 0x11