joyce8/EMBER2024-capa huggingface dataset:
Function at 0x583a60
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 0x583b30
jb 0x583b8f
movups xmm2, xmmword [rax + 0x10]
movups xmmword [rbx], xmm2
add rbx, 0x10
aeskeygenassist xmm1, xmm2, 1
call fcn.00583cf0
aeskeygenassist xmm1, xmm0, 1
call fcn.00583d00
aeskeygenassist xmm1, xmm2, 2
call fcn.00583cf0
aeskeygenassist xmm1, xmm0, 2
call fcn.00583d00
aeskeygenassist xmm1, xmm2, 4
call fcn.00583cf0
aeskeygenassist xmm1, xmm0, 4
call fcn.00583d00
aeskeygenassist xmm1, xmm2, 8
call fcn.00583cf0
aeskeygenassist xmm1, xmm0, 8
call fcn.00583d00
aeskeygenassist xmm1, xmm2, 0x10
call fcn.00583cf0
aeskeygenassist xmm1, xmm0, 0x10
call fcn.00583d00
aeskeygenassist xmm1, xmm2, 0x20
call fcn.00583cf0
aeskeygenassist xmm1, xmm0, 0x20
call fcn.00583d00
aeskeygenassist xmm1, xmm2, 0x40
call fcn.00583cf0
jmp 0x583bfd
movq xmm2, qword [rax + 0x10]
aeskeygenassist xmm1, xmm2, 1
call fcn.00583c60
aeskeygenassist xmm1, xmm2, 2
call fcn.00583cb0
aeskeygenassist xmm1, xmm2, 4
call fcn.00583c60
aeskeygenassist xmm1, xmm2, 8
call fcn.00583cb0
aeskeygenassist xmm1, xmm2, 0x10
call fcn.00583c60
aeskeygenassist xmm1, xmm2, 0x20
call fcn.00583cb0
aeskeygenassist xmm1, xmm2, 0x40
call fcn.00583c60
aeskeygenassist xmm1, xmm2, 0x80
call fcn.00583cb0
jmp 0x583bfd
aeskeygenassist xmm1, xmm0, 1
call fcn.00583c30
aeskeygenassist xmm1, xmm0, 2
call fcn.00583c30
aeskeygenassist xmm1, xmm0, 4
call fcn.00583c30
aeskeygenassist xmm1, xmm0, 8
call fcn.00583c30
aeskeygenassist xmm1, xmm0, 0x10
call fcn.00583c30
aeskeygenassist xmm1, xmm0, 0x20
call fcn.00583c30
aeskeygenassist xmm1, xmm0, 0x40
call fcn.00583c30
aeskeygenassist xmm1, xmm0, 0x80
call fcn.00583c30
aeskeygenassist xmm1, xmm0, 0x1b
call fcn.00583c30
aeskeygenassist xmm1, xmm0, 0x36
call fcn.00583c30
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 0x583c0a
movups xmm0, xmmword [rbx - 0x10]
movups xmmword [rdx + 0x10], xmm0
ret
Function at 0x595290
Capabilities:
Hash data using sha384
Hash data using sha512

Disassembly:
mov rax, qword [rsp + 8]
mov rcx, qword [rax + 0xd0]
cmp rcx, 6
jne 0x59531c
movabs rcx, 0xcbbb9d5dc1059ed8
mov qword [rax], rcx
movabs rcx, 0x629a292a367cd507
mov qword [rax + 8], rcx
movabs rcx, 0x9159015a3070dd17
mov qword [rax + 0x10], rcx
movabs rcx, 0x152fecd8f70e5939
mov qword [rax + 0x18], rcx
movabs rcx, 0x67332667ffc00b31
mov qword [rax + 0x20], rcx
movabs rcx, 0x8eb44a8768581511
mov qword [rax + 0x28], rcx
movabs rcx, 0xdb0c2e0d64f98fa7
mov qword [rax + 0x30], rcx
movabs rcx, 0x47b5481dbefa4fa4
mov qword [rax + 0x38], rcx
xorps xmm0, xmm0
movups xmmword [rax + 0xc0], xmm0
ret
cmp rcx, 0xe
jne 0x595396
movabs rcx, 0x8c3d37c819544da2
mov qword [rax], rcx
movabs rcx, 0x73e1996689dcd4d6
mov qword [rax + 8], rcx
movabs rcx, 0x1dfab7ae32ff9c82
mov qword [rax + 0x10], rcx
movabs rcx, 0x679dd514582f9fcf
mov qword [rax + 0x18], rcx
movabs rcx, 0xf6d2b697bd44da8
mov qword [rax + 0x20], rcx
movabs rcx, 0x77e36f7304c48942
mov qword [rax + 0x28], rcx
movabs rcx, 0x3f9d85a86a1d36c8
mov qword [rax + 0x30], rcx
movabs rcx, 0x1112e6ad91d692a1
mov qword [rax + 0x38], rcx
jmp 0x595311
cmp rcx, 0xf
jne 0x595410
movabs rcx, 0x22312194fc2bf72c
mov qword [rax], rcx
movabs rcx, 0x9f555fa3c84c64c2
mov qword [rax + 8], rcx
movabs rcx, 0x2393b86b6f53b151
mov qword [rax + 0x10], rcx
movabs rcx, 0x963877195940eabd
mov qword [rax + 0x18], rcx
movabs rcx, 0x96283ee2a88effe3
mov qword [rax + 0x20], rcx
movabs rcx, 0xbe5e1e2553863992
mov qword [rax + 0x28], rcx
movabs rcx, 0x2b0199fc2c85b8aa
mov qword [rax + 0x30], rcx
movabs rcx, 0xeb72ddc81c52ca2
mov qword [rax + 0x38], rcx
jmp 0x595311
movabs rcx, 0x6a09e667f3bcc908
mov qword [rax], rcx
movabs rcx, 0xbb67ae8584caa73b
mov qword [rax + 8], rcx
movabs rcx, 0x3c6ef372fe94f82b
mov qword [rax + 0x10], rcx
movabs rcx, 0xa54ff53a5f1d36f1
mov qword [rax + 0x18], rcx
movabs rcx, 0x510e527fade682d1
mov qword [rax + 0x20], rcx
movabs rcx, 0x9b05688c2b3e6c1f
mov qword [rax + 0x28], rcx
movabs rcx, 0x1f83d9abfb41bd6b
mov qword [rax + 0x30], rcx
movabs rcx, 0x5be0cd19137e2179
mov qword [rax + 0x38], rcx
jmp 0x595311
Function at 0x59bfa0
Capabilities:
Encode data using base64

Disassembly:
mov rcx, qword gs:[0x28]
mov rcx, qword [rcx]
cmp rsp, qword [rcx + 0x10]
jbe 0x59c0d8
sub rsp, 0x38
mov qword [rsp + 0x30], rbp
lea rbp, [rsp + 0x30]
mov rax, qword [rsp + 0x58]
mov rcx, rax
sar rax, 0x3f
shr rax, 0x3d
add rax, rcx
sar rax, 3
shl rax, 3
sub rcx, rax
lea rax, [rcx - 8]
neg rax
cmp rax, 8
je 0x59c0d1
mov rdx, qword [rsp + 0x48]
test rdx, rdx
je 0x59c0ae
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea rax, [0x00798080]
mov qword [rsp], rax
mov qword [rsp + 8], rdx
mov qword [rsp + 0x10], rdx
call fcn.00449c50
mov rcx, qword [rsp + 0x20]
cmp rcx, 8
sbb eax, eax
mov rdx, qword [rsp + 0x18]
mov rbx, qword [rsp + 0x40]
movzx esi, byte [rbx]
shr sil, cl
and esi, eax
mov byte [rdx], sil
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x28]
mov r8d, 1
jmp 0x59c090
cmp rdi, 0x20
sbb r9d, r9d
movzx r10d, byte [r8 + rbx - 1]
mov r11, rcx
mov rcx, rdi
shl r10d, cl
and r10d, r9d
mov byte [rdx + r8], r10b
movzx r9d, byte [rbx + r8]
mov rcx, r11
shr r9b, cl
and r9d, eax
or r10d, r9d
mov byte [rdx + r8], r10b
inc r8
cmp r8, rsi
jl 0x59c05b
mov qword [rsp + 0x60], rdx
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x70], rsi
mov rbp, qword [rsp + 0x30]
add rsp, 0x38
ret
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rdx
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x70], rax
mov rbp, qword [rsp + 0x30]
add rsp, 0x38
ret
mov rdx, qword [rsp + 0x48]
jmp 0x59c0ae
call fcn.00461330
jmp fcn.0059bfa0
Function at 0x5b77c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov rcx, qword gs:[0x28]
mov rcx, qword [rcx]
cmp rsp, qword [rcx + 0x10]
jbe 0x5b79c7
sub rsp, 0x68
mov qword [rsp + 0x60], rbp
lea rbp, [rsp + 0x60]
lea rax, [0x0079e740]
mov qword [rsp], rax
call fcn.0040d180
mov rax, qword [rsp + 8]
mov qword [rsp + 0x58], rax
xor ecx, ecx
xor edx, edx
xor ebx, ebx
jmp 0x5b7855
movzx r8d, byte [rsi + rcx]
movzx r9d, byte [rdx + rdi]
xor r8d, r9d
mov byte [rcx + rsi], r8b
inc rdi
inc rsi
cmp rdi, rax
jge 0x5b7832
cmp rsi, rbx
jge 0x5b7832
jb 0x5b780a
jmp 0x5b79bb
mov rax, qword [rsp + 0x58]
movzx edi, byte [rax + 3]
lea r8d, [rdi + 1]
mov byte [rax + 3], r8b
cmp dil, 0xff
je 0x5b7978
mov rcx, rsi
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x78]
cmp rcx, rsi
jge 0x5b79b1
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x48], rbx
mov rax, qword [rsp + 0x88]
mov rcx, qword [rax + 0x38]
mov rdx, qword [rsp + 0x90]
mov qword [rsp], rdx
mov rbx, qword [rsp + 0x98]
mov qword [rsp + 8], rbx
mov rsi, qword [rsp + 0xa0]
mov qword [rsp + 0x10], rsi
mov rdi, qword [rsp + 0xa8]
mov qword [rsp + 0x18], rdi
call rcx
mov rax, qword [rsp + 0x88]
mov rcx, qword [rax + 0x38]
mov rdx, qword [rsp + 0x90]
mov qword [rsp], rdx
mov rbx, qword [rsp + 0x58]
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], 4
mov qword [rsp + 0x18], 4
call rcx
mov rax, qword [rsp + 0x88]
mov rcx, qword [rax + 0x30]
mov rdx, qword [rsp + 0x90]
mov qword [rsp], rdx
mov rbx, qword [rsp + 0x50]
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], 0
mov rbx, qword [rsp + 0x48]
mov qword [rsp + 0x18], rbx
call rcx
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x28]
mov qword [rsp + 0x40], rcx
mov rdx, qword [rsp + 0x30]
mov qword [rsp + 0x48], rdx
mov rbx, qword [rsp + 0x88]
mov rsi, qword [rbx + 0x20]
mov rdi, qword [rsp + 0x90]
mov qword [rsp], rdi
call rsi
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x38]
xor edi, edi
jmp 0x5b7821
movzx edi, byte [rax + 2]
lea r8d, [rdi + 1]
mov byte [rax + 2], r8b
cmp dil, 0xff
jne 0x5b784d
movzx edi, byte [rax + 1]
lea r8d, [rdi + 1]
mov byte [rax + 1], r8b
cmp dil, 0xff
jne 0x5b784d
movzx edi, byte [rax]
inc edi
mov byte [rax], dil
jmp 0x5b784d
mov rbp, qword [rsp + 0x60]
add rsp, 0x68
ret
mov rax, rsi
mov rcx, rbx
call fcn.00463d20
nop
call fcn.00461330
jmp fcn.005b77c0
Function at 0x5ca940
Capabilities:
Parse credit card information

Disassembly:
movzx eax, byte [rsp + 8]
cmp al, 0x61
jb 0x5ca953
cmp al, 0x7a
ja 0x5ca953
mov byte [rsp + 0x18], 0
ret
cmp al, 0x41
jb 0x5ca95b
cmp al, 0x5a
jbe 0x5ca94d
cmp al, 0x30
jb 0x5ca963
cmp al, 0x39
jbe 0x5ca94d
mov rcx, qword [rsp + 0x10]
cmp rcx, 3
jne 0x5caac3
cmp al, 0x2c
ja 0x5caaa2
lea edx, [rax - 0x21]
cmp dl, 1
ja 0x5ca988
mov byte [rsp + 0x18], 0
ret
cmp al, 0x24
je 0x5ca982
lea edx, [rax - 0x26]
cmp dl, 6
jbe 0x5ca982
cmp al, 0x2f
ja 0x5caa6c
cmp al, 0x26
ja 0x5caa45
cmp al, 0x24
jne 0x5caa3b
cmp rcx, 2
jg 0x5caa00
cmp rcx, 1
je 0x5ca9f8
cmp rcx, 2
jne 0x5ca9db
cmp al, 0x2f
jne 0x5ca9cc
mov eax, 1
mov byte [rsp + 0x18], al
ret
cmp al, 0x3b
je 0x5ca9c2
cmp al, 0x2c
je 0x5ca9c2
cmp al, 0x3f
sete al
jmp 0x5ca9c7
cmp rcx, 7
jne 0x5ca9f2
cmp al, 0x21
jne 0x5ca9eb
mov byte [rsp + 0x18], 0
ret
add eax, 0xffffffd8
cmp al, 2
jbe 0x5ca9e5
mov byte [rsp + 0x18], 1
ret
cmp al, 0x3f
sete byte [rsp + 0x18]
ret
cmp rcx, 5
jne 0x5caa23
cmp al, 0x40
jne 0x5caa14
mov eax, 1
mov byte [rsp + 0x18], al
ret
cmp al, 0x2f
je 0x5caa0a
cmp al, 0x3f
je 0x5caa0a
cmp al, 0x3a
sete al
jmp 0x5caa0f
cmp rcx, 6
je 0x5caa35
cmp rcx, 7
jne 0x5ca9db
mov byte [rsp + 0x18], 0
ret
mov byte [rsp + 0x18], 1
ret
cmp al, 0x26
je 0x5ca9ac
jmp 0x5ca9db
lea edx, [rax - 0x2b]
cmp dl, 1
jbe 0x5ca9ac
lea edx, [rax - 0x2d]
cmp dl, 1
ja 0x5caa5f
mov byte [rsp + 0x18], 0
ret
cmp al, 0x2f
je 0x5ca9ac
jmp 0x5ca9db
cmp al, 0x3d
ja 0x5caa89
lea edx, [rax - 0x3a]
cmp dl, 1
jbe 0x5ca9ac
cmp al, 0x3d
je 0x5ca9ac
jmp 0x5ca9db
lea edx, [rax - 0x3f]
cmp dl, 1
jbe 0x5ca9ac
cmp al, 0x5f
je 0x5caa59
cmp al, 0x7e
je 0x5caa59
jmp 0x5ca9db
lea edx, [rax - 0x3a]
cmp dl, 4
jbe 0x5ca982
cmp al, 0x5b
je 0x5ca982
cmp al, 0x5d
je 0x5ca982
jmp 0x5ca994
cmp rcx, 4
je 0x5ca972
jmp 0x5ca994
Function at 0x61cc5121
Capabilities:
Access peb ldr_data

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword gs:[0x60]
mov r11, qword [rax + 0x18]
mov ebx, ecx
add r11, 0x10
nop dword [rax + rax]
mov r11, qword [r11]
mov rcx, qword [r11 + 0x60]
test rcx, rcx
je 0x61cc5141
test ebx, ebx
je 0x61cc515a
call fcn.61cc50b1
cmp eax, ebx
jne 0x61cc5141
mov rax, qword [r11 + 0x30]
add rsp, 0x20
pop rbx
ret
Function at 0x61cc8380
Capabilities:
Write file on windows

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rbp, rcx
lea rcx, [0x61cd7260]
mov rdi, rdx
mov rsi, r8
mov r12, r9
call sym.libintl_8.dll_libintl_lock_lock_func
test eax, eax
jne 0x61cc8599
mov rbx, qword [0x61ce0320]
test rbx, rbx
je 0x61cc83f4
mov rdx, rbx
mov rcx, rbp
call sub.msvcrt.dll_strcmp
test eax, eax
je 0x61cc8570
mov rcx, qword [0x61ce0328]
test rcx, rcx
je 0x61cc83ec
call sub.msvcrt.dll_fclose
mov rbx, qword [0x61ce0320]
mov qword [0x61ce0328], 0
mov rcx, rbx
call sub.msvcrt.dll_free
mov rcx, rbp
call sub.msvcrt.dll_strlen
lea rbx, [rax + 1]
mov rcx, rbx
call sub.msvcrt.dll_malloc
test rax, rax
mov qword [0x61ce0320], rax
je 0x61cc854f
mov r8, rbx
mov rdx, rbp
mov rcx, rax
call sub.msvcrt.dll_memcpy
lea rdx, [0x61cdb677]
mov rcx, rbp
call sub.msvcrt.dll_fopen
test rax, rax
mov rbx, rax
mov qword [0x61ce0328], rax
je 0x61cc854f
lea rcx, str.domain
mov r9, rbx
mov r8d, 7
mov edx, 1
call sub.msvcrt.dll_fwrite
mov rcx, rdi
call sub.msvcrt.dll_strlen
lea r8, [rdi + rax]
mov rdx, rdi
mov rcx, rbx
call fcn.61cc82a0
mov edx, 4
mov rcx, rsi
call sub.msvcrt.dll_strchr
test rax, rax
mov rdi, rax
je 0x61cc84ba
lea rcx, str._nmsgctxt
mov r9, rbx
mov r8d, 9
mov edx, 1
call sub.msvcrt.dll_fwrite
mov rdx, rsi
lea rsi, [rdi + 1]
mov r8, rdi
mov rcx, rbx
call fcn.61cc82a0
lea rcx, str._nmsgid
mov r9, rbx
mov r8d, 7
mov edx, 1
call sub.msvcrt.dll_fwrite
mov rcx, rsi
call sub.msvcrt.dll_strlen
lea r8, [rsi + rax]
mov rdx, rsi
mov rcx, rbx
call fcn.61cc82a0
mov eax, dword [rsp + 0x70]
mov r9, rbx
test eax, eax
je 0x61cc8580
lea rcx, str._nmsgid_plural
mov r8d, 0xe
mov edx, 1
call sub.msvcrt.dll_fwrite
mov rcx, r12
call sub.msvcrt.dll_strlen
lea r8, [r12 + rax]
mov rdx, r12
mov rcx, rbx
call fcn.61cc82a0
lea rcx, str._nmsgstr_0_____n
mov r9, rbx
mov r8d, 0xe
mov edx, 1
call sub.msvcrt.dll_fwrite
mov rdx, rbx
mov ecx, 0xa
call sub.msvcrt.dll_putc
lea rcx, [0x61cd7260]
call sym.libintl_8.dll_libintl_lock_unlock_func
test eax, eax
jne 0x61cc8599
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rbx, qword [0x61ce0328]
jmp 0x61cc8448
lea rcx, str._nmsgstr____n
mov r8d, 0xb
mov edx, 1
call sub.msvcrt.dll_fwrite
jmp 0x61cc8542
call sub.msvcrt.dll_abort
nop
nop

Function at 0x61ccadb0
Capabilities:
Write file on windows

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x30
mov rbx, rdx
mov rdi, rcx
mov edx, 0x24
mov rcx, rbx
mov rsi, r8
call sub.msvcrt.dll_strchr
test rax, rax
je 0x61ccae40
lea rdx, [rsp + 0x28]
mov r8, rbx
xor ecx, ecx
mov r9, rsi
call sym.libintl_8.dll_libintl_vasnprintf
test rax, rax
mov rbx, rax
je 0x61ccae13
mov r8, qword [rsp + 0x28]
mov r9, rdi
mov edx, 1
mov rcx, rax
call sub.msvcrt.dll_fwrite
mov rcx, rbx
mov rsi, rax
call sub.msvcrt.dll_free
cmp rsi, qword [rsp + 0x28]
je 0x61ccae20
mov eax, 0xffffffff
add rsp, 0x30
pop rbx
pop rsi
pop rdi
ret
cmp rsi, 0x7fffffff
mov eax, esi
jbe 0x61ccae18
call qword [sym.imp.msvcrt.dll__errno]
mov dword [rax], 0x84
jmp 0x61ccae13
mov r8, rsi
mov rdx, rbx
mov rcx, rdi
call sub.msvcrt.dll_vfprintf
add rsp, 0x30
pop rbx
pop rsi
pop rdi
ret
Function at 0x140003950
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rax, qword [0x14000b008]
xor rax, rsp
mov qword [rsp + 0x28], rax
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, rax
lea rdx, [rsp + 0x20]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov rbx, rax
call fcn.140002da0
mov rcx, rbx
mov edi, eax
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, edi
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140005910
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x140005864
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rdx
lea r8, [rsp + 0x60]
mov ebx, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov r8d, ebx
mov ecx, 0x1300
neg eax
sbb r9d, r9d
and qword [rsp + 0x30], 0
and r9d, dword [rsp + 0x60]
xor edx, edx
and dword [rsp + 0x28], 0
mov dword [rsp + 0x60], r9d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x1400058e8
mov r8, qword [rdi]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x140007430]
cmp byte [rcx + rax], 0
je 0x1400058e8
dec r8
sub rdx, 1
jne 0x1400058ce
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x140006424
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000646e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000646e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000646e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000646e
cmp dword [rcx + 0x84], 0xe
jbe 0x14000646e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140006470
xor al, al
add rsp, 0x28
ret
Function at 0x140062d80
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x1400038af
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.14000a280
mov rbp, qword [rsp + 0x18]
add rsp, 0x20
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.140060ce0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp 0x140003880
cmp byte [0x140502d11], 0
je 0x140062d95
mov rcx, qword [rax + 8]
mov rax, qword [rax]
jmp 0x14005fde0
jmp 0x140003880

Function at 0x140062da0
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 [0x140503000]
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 [0x140502d11], 0
je 0x140062dd5
movq xmm0, rbx
pinsrd xmm0, dword [rax], 2
aesenc xmm0, xmmword [0x140503340]
aesenc xmm0, xmmword [0x140503350]
aesenc xmm0, xmmword [0x140503360]
movq rax, xmm0
ret
jmp 0x14000a480

Function at 0x140062de0
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 [0x140503000]
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 [0x140502d11], 0
je 0x140062e16
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x140503340]
aesenc xmm0, xmmword [0x140503350]
aesenc xmm0, xmmword [0x140503360]
movq rax, xmm0
ret
jmp 0x14000a4e0

Function at 0x140071f80
Capabilities:
Encode data using xor

Disassembly:
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdx, qword [rsp + 0x20]
test rdx, 0xf
jne 0x140071feb
mov rax, 0
movdqu xmm0, xmmword [rsi + rax]
movdqu xmm1, xmmword [rcx + rax]
pxor xmm0, xmm1
movdqu xmmword [rbx + rax], xmm0
add rax, 0x10
cmp rdx, rax
jne 0x140071fa4
ret
sub rdx, 1
mov dil, byte [rsi + rdx]
mov al, byte [rcx + rdx]
xor dil, al
mov byte [rbx + rdx], dil
test rdx, 7
jne 0x140071fc1
cmp rdx, 0
je 0x14007200d
test rdx, 0xf
je 0x140071f9d
test rdx, 7
jne 0x140071fc1
sub rdx, 8
mov rdi, qword [rsi + rdx]
mov rax, qword [rcx + rdx]
xor rdi, rax
mov qword [rbx + rdx], rdi
cmp rdx, 0x10
jge 0x140071f9d
ret
Function at 0x140081b20
Capabilities:
Encrypt 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 0x140081b5f
jb 0x140081b74
movups xmm1, xmmword [rax]
aesenc xmm0, xmm1
movups xmm1, xmmword [rax + 0x10]
aesenc xmm0, xmm1
add rax, 0x20
movups xmm1, xmmword [rax]
aesenc xmm0, xmm1
movups xmm1, xmmword [rax + 0x10]
aesenc xmm0, xmm1
add rax, 0x20
movups xmm1, xmmword [rax]
aesenc xmm0, xmm1
movups xmm1, xmmword [rax + 0x10]
aesenc xmm0, xmm1
movups xmm1, xmmword [rax + 0x20]
aesenc xmm0, xmm1
movups xmm1, xmmword [rax + 0x30]
aesenc xmm0, xmm1
movups xmm1, xmmword [rax + 0x40]
aesenc xmm0, xmm1
movups xmm1, xmmword [rax + 0x50]
aesenc xmm0, xmm1
movups xmm1, xmmword [rax + 0x60]
aesenc xmm0, xmm1
movups xmm1, xmmword [rax + 0x70]
aesenc xmm0, xmm1
movups xmm1, xmmword [rax + 0x80]
aesenc xmm0, xmm1
movups xmm1, xmmword [rax + 0x90]
aesenclast xmm0, xmm1
movups xmmword [rdx], xmm0
ret
Function at 0x140081be0
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 0x140081cb0
jb 0x140081d0f
movups xmm2, xmmword [rax + 0x10]
movups xmmword [rbx], xmm2
add rbx, 0x10
aeskeygenassist xmm1, xmm2, 1
call fcn.140081ac0
aeskeygenassist xmm1, xmm0, 1
call fcn.140081ae0
aeskeygenassist xmm1, xmm2, 2
call fcn.140081ac0
aeskeygenassist xmm1, xmm0, 2
call fcn.140081ae0
aeskeygenassist xmm1, xmm2, 4
call fcn.140081ac0
aeskeygenassist xmm1, xmm0, 4
call fcn.140081ae0
aeskeygenassist xmm1, xmm2, 8
call fcn.140081ac0
aeskeygenassist xmm1, xmm0, 8
call fcn.140081ae0
aeskeygenassist xmm1, xmm2, 0x10
call fcn.140081ac0
aeskeygenassist xmm1, xmm0, 0x10
call fcn.140081ae0
aeskeygenassist xmm1, xmm2, 0x20
call fcn.140081ac0
aeskeygenassist xmm1, xmm0, 0x20
call fcn.140081ae0
aeskeygenassist xmm1, xmm2, 0x40
call fcn.140081ac0
jmp 0x140081d7d
movq xmm2, qword [rax + 0x10]
aeskeygenassist xmm1, xmm2, 1
call fcn.140081a20
aeskeygenassist xmm1, xmm2, 2
call fcn.140081a80
aeskeygenassist xmm1, xmm2, 4
call fcn.140081a20
aeskeygenassist xmm1, xmm2, 8
call fcn.140081a80
aeskeygenassist xmm1, xmm2, 0x10
call fcn.140081a20
aeskeygenassist xmm1, xmm2, 0x20
call fcn.140081a80
aeskeygenassist xmm1, xmm2, 0x40
call fcn.140081a20
aeskeygenassist xmm1, xmm2, 0x80
call fcn.140081a80
jmp 0x140081d7d
aeskeygenassist xmm1, xmm0, 1
call fcn.1400819e0
aeskeygenassist xmm1, xmm0, 2
call fcn.1400819e0
aeskeygenassist xmm1, xmm0, 4
call fcn.1400819e0
aeskeygenassist xmm1, xmm0, 8
call fcn.1400819e0
aeskeygenassist xmm1, xmm0, 0x10
call fcn.1400819e0
aeskeygenassist xmm1, xmm0, 0x20
call fcn.1400819e0
aeskeygenassist xmm1, xmm0, 0x40
call fcn.1400819e0
aeskeygenassist xmm1, xmm0, 0x80
call fcn.1400819e0
aeskeygenassist xmm1, xmm0, 0x1b
call fcn.1400819e0
aeskeygenassist xmm1, xmm0, 0x36
call fcn.1400819e0
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 0x140081d8a
movups xmm0, xmmword [rbx - 0x10]
movups xmmword [rdx + 0x10], xmm0
ret
Function at 0x1400d08a0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x1400d0ab7
sub rsp, 0x50
mov qword [rsp + 0x48], rbp
lea rbp, [rsp + 0x48]
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x58], rax
add qword [rax + 0x58], rcx
mov rdx, qword [rax + 0x50]
test rdx, rdx
jle 0x1400d09ce
nop dword [rax + rax]
cmp rdx, 0x40
ja 0x1400d0aa9
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x60], rbx
lea rsi, [rdx - 0x40]
mov r8, rsi
neg rsi
cmp rcx, rsi
cmovl rsi, rcx
mov qword [rsp + 0x28], rsi
sar r8, 0x3f
and r8, rdx
lea rdx, [rax + r8]
lea rdx, [rdx + 0x10]
cmp rbx, rdx
je 0x1400d0942
mov rax, rdx
mov rcx, rsi
call fcn.140063d00
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x70]
mov rdx, qword [rax + 0x50]
add rdx, rsi
mov qword [rax + 0x50], rdx
cmp rdx, 0x40
jne 0x1400d09aa
mov qword [rsp], rax
lea rcx, [rax + 0x10]
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], 0x40
mov qword [rsp + 0x18], 0x40
call fcn.1400d0d20
xorps xmm15, xmm15
mov r14, qword [0x140502f28]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x58]
mov qword [rax + 0x50], 0
mov rcx, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x70]
cmp rcx, rsi
jb 0x1400d0aa1
sub rdi, rsi
mov rdx, rcx
sub rcx, rsi
mov r8, rdi
neg rdi
sar rdi, 0x3f
and rsi, rdi
add rbx, rsi
jmp 0x1400d09d4
mov rdx, rcx
mov r8, rdi
cmp rcx, 0x40
jl 0x1400d0a51
mov qword [rsp + 0x38], r8
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x40], rbx
mov qword [rsp], rax
mov qword [rsp + 8], rbx
and rcx, 0xffffffffffffffc0
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x10], rcx
mov qword [rsp + 0x18], r8
call fcn.1400d0d20
xorps xmm15, xmm15
mov r14, qword [0x140502f28]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x38]
mov rdx, rax
sub rax, rcx
sar rax, 0x3f
mov rcx, qword [rsp + 0x30]
and rax, rcx
and rax, 0xffffffffffffffc0
mov rbx, qword [rsp + 0x40]
add rbx, rax
sub rcx, rdx
mov rax, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x68]
test rcx, rcx
je 0x1400d0a8f
cmp rcx, 0x40
mov esi, 0x40
cmovl rsi, rcx
lea rdi, [rax + 0x10]
cmp rbx, rdi
je 0x1400d0a8b
mov qword [rsp + 0x38], rsi
mov rax, rdi
mov rcx, rsi
call fcn.140063d00
mov rax, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x38]
mov qword [rax + 0x50], rsi
mov rax, rdx
xor ebx, ebx
xor ecx, ecx
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
nop
ret
mov rax, rsi
call fcn.140063420
mov rax, rdx
mov ecx, 0x40
call fcn.140063420
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.140060ce0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.1400d08a0