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

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
sub rsp, 0x250
mov rax, qword [0x140074010]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rsi, rdx
mov rbx, rcx
test rcx, rcx
je 0x14005ba70
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x14005ba70
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
movzx eax, byte [rsi]
test al, al
je 0x14005bb64
mov qword [rsp + 0x270], rdi
mov rcx, rsi
mov rdi, rsi
nop dword [rax]
cmp al, 0x2f
je 0x14005ba98
cmp al, 0x5c
jne 0x14005ba9b
mov rdi, rcx
movzx eax, byte [rcx + 1]
inc rcx
test al, al
jne 0x14005ba90
cmp rdi, rsi
je 0x14005bae6
sub rdi, rsi
lea rcx, [rsp + 0x130]
mov r8, rdi
mov rdx, rsi
call sub.VCRUNTIME140.dll_memcpy
cmp rdi, 0x104
jae 0x14005bb85
lea rdx, [rsp + 0x130]
mov byte [rsp + rdi + 0x130], 0
mov rcx, rbx
call fcn.14005ba30
mov byte [rsp + 0x20], 0
test rbx, rbx
je 0x14005bb0e
lea rcx, [rsp + 0x20]
sub rcx, rbx
nop dword [rax + rax]
movzx eax, byte [rbx]
mov byte [rcx + rbx], al
lea rbx, [rbx + 1]
test al, al
jne 0x14005bb00
lea rcx, [rsp + 0x20]
dec rcx
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x14005bb16
xor edx, edx
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rsi + rdx]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x14005bb30
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x14005bb5c
xor edx, edx
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov rdi, qword [rsp + 0x270]
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14005c2f0
mov rbx, qword [rsp + 0x278]
add rsp, 0x250
pop rsi
ret
call fcn.14005c490
int3
Function at 0x14005bf70
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov rbp, rcx
mov ecx, 0x258
call fcn.14005c310
mov rsi, rax
mov qword [rsp + 0x78], rax
xor edx, edx
mov r8d, 0x258
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
xor r15d, r15d
mov qword [rsi], r15
mov rdi, 0xffffffffffffffff
mov dword [rsi + 8], edi
mov dword [rsi + 0x138], edi
mov qword [rsi + 0x140], r15
mov qword [rsi + 0x148], r15
lea rbx, [rsi + 0x150]
mov rdx, rbx
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea rdi, [rdi + 1]
cmp byte [rbx + rdi], 0
jne 0x14005bfe6
movzx eax, byte [rdi + rsi + 0x14f]
cmp al, 0x5c
je 0x14005c016
cmp al, 0x2f
je 0x14005c016
dec rbx
lea rbx, [rbx + 1]
cmp byte [rbx], 0
jne 0x14005c003
movzx eax, word [0x140067acc]
mov word [rbx], ax
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [r9 + 1]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbp, rax
cmp rax, 0xffffffffffffffff
je 0x14005c0d6
mov r9d, 1
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov edi, eax
cmp eax, 0xffffffff
setne bl
mov ecx, 0x30
call fcn.14005c310
mov r14, rax
mov byte [rax], 1
mov byte [rax + 0x18], 1
mov byte [rax + 1], bl
mov qword [rax + 8], rbp
mov byte [rax + 0x10], 0
mov dword [rax + 0x14], r15d
cmp edi, 0xffffffff
je 0x14005c0a9
mov r9d, 1
xor r8d, r8d
xor edx, edx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [r14 + 0x14], eax
mov rcx, r14
call fcn.14005a2d0
mov qword [rsi], rax
test rax, rax
je 0x14005c0d6
mov dword [0x14007529c], r15d
mov ecx, 0x10
call fcn.14005c310
mov dword [rax], 1
mov qword [rax + 8], rsi
jmp 0x14005c11f
mov dword [0x14007529c], 0x200
mov rcx, qword [rsi + 0x140]
test rcx, rcx
je 0x14005c0f1
call fcn.14005c354
mov qword [rsi + 0x140], r15
mov rcx, qword [rsi + 0x148]
test rcx, rcx
je 0x14005c109
call fcn.14005c354
mov qword [rsi + 0x148], r15
mov edx, 0x258
mov rcx, rsi
call fcn.14005c354
xor eax, eax
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret

Function at 0x14005d070
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14005d0ba
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14005d0ba
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14005d0ba
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14005d0ba
cmp dword [rcx + 0x84], 0xe
jbe 0x14005d0ba
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14005d0bc
xor al, al
add rsp, 0x28
ret
Function at 0x14005d2e8
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 0x14005d36c
mov r8, qword [rdi]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x140060a80]
cmp byte [rcx + rax], 0
je 0x14005d36c
dec r8
sub rdx, 1
jne 0x14005d352
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x6d7d2280
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x6d7f35e4]
test esi, esi
mov rbx, rcx
mov rbp, rdx
mov rdi, r8
jle 0x6d7d2408
mov rax, qword [0x6d7f35e8]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp rbx, rdx
jb 0x6d7d22cc
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rbx, rdx
jb 0x6d7d2355
add ecx, 1
add rax, 0x28
cmp ecx, esi
jne 0x6d7d22b0
mov rcx, rbx
call sym.__mingw_GetSectionForAddress
test rax, rax
mov r12, rax
je 0x6d7d243d
mov rax, qword [0x6d7f35e8]
lea rsi, [rsi + rsi*4]
shl rsi, 3
add rax, rsi
mov qword [rax + 0x20], r12
mov dword [rax], 0
call sym._GetPEImageBase
mov ecx, dword [r12 + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x6d7f35e8]
mov qword [rax + rsi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x6d7d2420
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x6d7d234e
sub eax, 0x40
and eax, 0xffffffbf
jne 0x6d7d23b0
add dword [0x6d7f35e4], 1
cmp edi, 8
jae 0x6d7d2383
test dil, 4
jne 0x6d7d23f4
test edi, edi
je 0x6d7d2378
movzx eax, byte [rbp]
test dil, 2
mov byte [rbx], al
jne 0x6d7d240f
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov eax, edi
sub edi, 1
mov rdx, qword [rbp + rax - 8]
cmp edi, 8
mov qword [rbx + rax - 8], rdx
jb 0x6d7d2378
and edi, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov rcx, qword [rbp + rdx]
cmp eax, edi
mov qword [rbx + rdx], rcx
jb 0x6d7d239c
jmp 0x6d7d2378
add rsi, qword [0x6d7f35e8]
mov r8d, 0x40
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r9, rsi
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x6d7d234e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call sym.__report_error
mov eax, dword [rbp]
mov edi, edi
mov dword [rbx], eax
mov eax, dword [rbp + rdi - 4]
mov dword [rbx + rdi - 4], eax
jmp 0x6d7d2378
xor esi, esi
jmp 0x6d7d22d7
mov edi, edi
movzx eax, word [rbp + rdi - 2]
mov word [rbx + rdi - 2], ax
jmp 0x6d7d2378
mov rax, qword [0x6d7f35e8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [r12 + 8]
mov r8, qword [rax + rsi + 0x18]
call sym.__report_error
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call sym.__report_error
nop
nop dword [rax]

Function at 0x6d7d2b90
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x6d7f38c0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x6d7f38a0]
test rbx, rbx
je 0x6d7d2be4
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x6d7d2bdb
test rsi, rsi
je 0x6d7d2bdb
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x6d7d2bc0
lea rcx, [0x6d7f38c0]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x6d7d2e20
Capabilities:
Parse pe header

Disassembly:
cmp word [rcx], 0x5a4d
je 0x6d7d2e30
xor eax, eax
ret
jmp sym._ValidateImageBase.part.0

Function at 0x6d7d2e40
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
lea rax, [rcx + rax + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x6d7d2e81
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
mov r8d, dword [rax + 0xc]
cmp r8, rdx
mov rcx, r8
ja 0x6d7d2e78
add ecx, dword [rax + 8]
cmp rcx, rdx
ja 0x6d7d2e83
add rax, 0x28
cmp rax, r9
jne 0x6d7d2e64
xor eax, eax
ret

Function at 0x6d7d2f20
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x6d7f01f0]
cmp word [r8], 0x5a4d
mov rdx, rcx
jne 0x6d7d2f8d
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6d7d2f8d
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x6d7d2f8d
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x6d7d2f84
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x6d7d2f8f
add rax, 0x28
cmp rax, r9
jne 0x6d7d2f70
xor eax, eax
add rsp, 0x28
ret

Function at 0x6d7d3090
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x6d7f01f0]
xor eax, eax
cmp word [r8], 0x5a4d
mov rdx, rcx
je 0x6d7d30b0
add rsp, 0x28
ret
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6d7d30a8
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x6d7d310d
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x6d7d3104
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x6d7d3114
add rax, 0x28
cmp rax, r9
jne 0x6d7d30f0
xor eax, eax
add rsp, 0x28
ret
mov eax, dword [rax + 0x24]
not eax
shr eax, 0x1f
add rsp, 0x28
ret

Function at 0x6d7d3130
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r11, qword [0x6d7f01f0]
cmp word [r11], 0x5a4d
mov r9d, ecx
jne 0x6d7d319e
mov rcx, r11
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6d7d319e
movsxd rax, dword [r11 + 0x3c]
add rax, r11
mov edx, dword [rax + 0x90]
test edx, edx
je 0x6d7d319e
movzx ecx, word [rax + 0x14]
lea rcx, [rax + rcx + 0x18]
movzx eax, word [rax + 6]
test eax, eax
je 0x6d7d319e
sub eax, 1
lea rax, [rax + rax*4]
lea rax, [rcx + rax*8 + 0x28]
mov r10d, dword [rcx + 0xc]
cmp rdx, r10
mov r8, r10
jb 0x6d7d3195
add r8d, dword [rcx + 8]
cmp rdx, r8
jb 0x6d7d31a5
add rcx, 0x28
cmp rcx, rax
jne 0x6d7d3180
xor eax, eax
add rsp, 0x28
ret
add rdx, r11
jne 0x6d7d31b8
jmp 0x6d7d319e
sub r9d, 1
add rdx, 0x14
mov ecx, dword [rdx + 4]
test ecx, ecx
jne 0x6d7d31c6
mov eax, dword [rdx + 0xc]
test eax, eax
je 0x6d7d319e
test r9d, r9d
jg 0x6d7d31b0
mov eax, dword [rdx + 0xc]
add rax, r11
add rsp, 0x28
ret
Function at 0x6d7d3500
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call sym.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call sym.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop
nop
nop
nop
nop
nop
nop
Function at 0x140006762
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
sub rsp, 0x58
movaps xmmword [rsp + 0x40], xmm10
movaps xmmword [rsp + 0x30], xmm9
movaps xmmword [rsp + 0x20], xmm8
movaps xmmword [rsp + 0x10], xmm7
movaps xmmword [rsp], xmm6
aesimc xmm0, xmmword [rdx + 0x10]
aesimc xmm1, xmmword [rdx + 0x20]
aesimc xmm2, xmmword [rdx + 0x30]
aesimc xmm3, xmmword [rdx + 0x40]
aesimc xmm4, xmmword [rdx + 0x50]
aesimc xmm5, xmmword [rdx + 0x60]
aesimc xmm6, xmmword [rdx + 0x70]
aesimc xmm7, xmmword [rdx + 0x80]
aesimc xmm8, xmmword [rdx + 0x90]
movaps xmm9, xmmword [rdx]
movaps xmm10, xmmword [rdx + 0xa0]
movaps xmmword [rcx], xmm9
movdqa xmmword [rcx + 0x10], xmm0
movdqa xmmword [rcx + 0x20], xmm1
movdqa xmmword [rcx + 0x30], xmm2
movdqa xmmword [rcx + 0x40], xmm3
movdqa xmmword [rcx + 0x50], xmm4
movdqa xmmword [rcx + 0x60], xmm5
movdqa xmmword [rcx + 0x70], xmm6
movdqa xmmword [rcx + 0x80], xmm7
movdqa xmmword [rcx + 0x90], xmm8
movaps xmmword [rcx + 0xa0], xmm10
movaps xmm6, xmmword [rsp]
movaps xmm7, xmmword [rsp + 0x10]
movaps xmm8, xmmword [rsp + 0x20]
movaps xmm9, xmmword [rsp + 0x30]
movaps xmm10, xmmword [rsp + 0x40]
add rsp, 0x58
ret
Function at 0x140042561
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
sub rsp, 0x168
movdqa xmmword [rsp + 0x150], xmm15
movdqa xmmword [rsp + 0x140], xmm14
movdqa xmmword [rsp + 0x130], xmm13
movdqa xmmword [rsp + 0x120], xmm12
movdqa xmmword [rsp + 0x110], xmm11
movaps xmmword [rsp + 0x100], xmm10
movaps xmmword [rsp + 0xf0], xmm9
movaps xmmword [rsp + 0xe0], xmm8
movaps xmmword [rsp + 0xd0], xmm7
movaps xmmword [rsp + 0xc0], xmm6
mov rax, qword [rdx]
mov r8, qword [rdx + 8]
mov rdx, qword [rdx + 0x10]
mov r9, rdx
shr r9, 3
movdqa xmm0, xmmword [rcx + 0x150]
movdqa xmmword [rsp + 0xb0], xmm0
movdqa xmm1, xmmword [rcx + 0x140]
movdqa xmm2, xmmword [rcx + 0x130]
movdqa xmm3, xmmword [rcx + 0x120]
movdqa xmm4, xmmword [rcx + 0x110]
movdqa xmm5, xmmword [rcx + 0x100]
movdqa xmm6, xmmword [rcx + 0xf0]
movdqa xmm7, xmmword [rcx + 0xb0]
movdqa xmm8, xmmword [rcx + 0xc0]
movdqa xmm9, xmmword [rcx + 0xd0]
movdqa xmm10, xmmword [rcx + 0xe0]
xor ecx, ecx
Function at 0x140045c3e
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
sub rsp, 0x88
movaps xmmword [rsp + 0x70], xmm13
movaps xmmword [rsp + 0x60], xmm12
movaps xmmword [rsp + 0x50], xmm11
movaps xmmword [rsp + 0x40], xmm10
movaps xmmword [rsp + 0x30], xmm9
movaps xmmword [rsp + 0x20], xmm8
movaps xmmword [rsp + 0x10], xmm7
movaps xmmword [rsp], xmm6
movdqa xmm0, xmmword [str.Let_Me_Show_You_Let_]
aeskeygenassist xmm1, xmm0, 1
pshufd xmm1, xmm1, 0xff
pxor xmm1, xmmword [0x140120950]
aeskeygenassist xmm2, xmm1, 2
pshufd xmm3, xmm2, 0xff
movdqa xmm4, xmm1
pslldq xmm4, 4
movdqa xmm5, xmm1
pslldq xmm5, 8
movdqa xmm2, xmm1
pslldq xmm2, 0xc
pxor xmm2, xmm4
pxor xmm2, xmm5
pxor xmm2, xmm1
pxor xmm2, xmm3
aeskeygenassist xmm3, xmm2, 4
pshufd xmm4, xmm3, 0xff
movdqa xmm5, xmm2
pslldq xmm5, 4
movdqa xmm6, xmm2
pslldq xmm6, 8
movdqa xmm3, xmm2
pslldq xmm3, 0xc
pxor xmm3, xmm5
pxor xmm3, xmm6
pxor xmm3, xmm2
pxor xmm3, xmm4
aeskeygenassist xmm4, xmm3, 8
pshufd xmm5, xmm4, 0xff
movdqa xmm6, xmm3
pslldq xmm6, 4
movdqa xmm7, xmm3
pslldq xmm7, 8
movdqa xmm4, xmm3
pslldq xmm4, 0xc
pxor xmm4, xmm6
pxor xmm4, xmm7
pxor xmm4, xmm3
pxor xmm4, xmm5
aeskeygenassist xmm5, xmm4, 0x10
pshufd xmm6, xmm5, 0xff
movdqa xmm7, xmm4
pslldq xmm7, 4
movdqa xmm8, xmm4
pslldq xmm8, 8
movdqa xmm5, xmm4
pslldq xmm5, 0xc
pxor xmm5, xmm7
pxor xmm5, xmm8
pxor xmm5, xmm4
pxor xmm5, xmm6
aeskeygenassist xmm6, xmm5, 0x20
pshufd xmm7, xmm6, 0xff
movdqa xmm8, xmm5
pslldq xmm8, 4
movdqa xmm9, xmm5
pslldq xmm9, 8
movdqa xmm6, xmm5
pslldq xmm6, 0xc
pxor xmm6, xmm8
pxor xmm6, xmm9
pxor xmm6, xmm5
pxor xmm6, xmm7
aeskeygenassist xmm7, xmm6, 0x40
pshufd xmm8, xmm7, 0xff
movdqa xmm9, xmm6
pslldq xmm9, 4
movdqa xmm10, xmm6
pslldq xmm10, 8
movdqa xmm7, xmm6
pslldq xmm7, 0xc
pxor xmm7, xmm9
pxor xmm7, xmm10
pxor xmm7, xmm6
pxor xmm7, xmm8
aeskeygenassist xmm8, xmm7, 0x80
pshufd xmm9, xmm8, 0xff
movdqa xmm10, xmm7
pslldq xmm10, 4
movdqa xmm11, xmm7
pslldq xmm11, 8
movdqa xmm8, xmm7
pslldq xmm8, 0xc
pxor xmm8, xmm10
pxor xmm8, xmm11
pxor xmm8, xmm7
pxor xmm8, xmm9
aeskeygenassist xmm9, xmm8, 0x1b
pshufd xmm10, xmm9, 0xff
movdqa xmm11, xmm8
pslldq xmm11, 4
movdqa xmm12, xmm8
pslldq xmm12, 8
movdqa xmm9, xmm8
pslldq xmm9, 0xc
pxor xmm9, xmm11
pxor xmm9, xmm12
pxor xmm9, xmm8
pxor xmm9, xmm10
aeskeygenassist xmm10, xmm9, 0x36
pshufd xmm10, xmm10, 0xff
movdqa xmm11, xmm9
pslldq xmm11, 4
movdqa xmm12, xmm9
pslldq xmm12, 8
movdqa xmm13, xmm9
pslldq xmm13, 0xc
pxor xmm13, xmm11
pxor xmm13, xmm12
pxor xmm13, xmm9
pxor xmm13, xmm10
movdqa xmmword [rcx], xmm0
movdqa xmmword [rcx + 0x10], xmm1
movdqa xmmword [rcx + 0x20], xmm2
movdqa xmmword [rcx + 0x30], xmm3
movdqa xmmword [rcx + 0x40], xmm4
movdqa xmmword [rcx + 0x50], xmm5
movdqa xmmword [rcx + 0x60], xmm6
movdqa xmmword [rcx + 0x70], xmm7
movdqa xmmword [rcx + 0x80], xmm8
movdqa xmmword [rcx + 0x90], xmm9
movdqa xmmword [rcx + 0xa0], xmm13
movaps xmm6, xmmword [rsp]
movaps xmm7, xmmword [rsp + 0x10]
movaps xmm8, xmmword [rsp + 0x20]
movaps xmm9, xmmword [rsp + 0x30]
movaps xmm10, xmmword [rsp + 0x40]
movaps xmm11, xmmword [rsp + 0x50]
movaps xmm12, xmmword [rsp + 0x60]
movaps xmm13, xmmword [rsp + 0x70]
add rsp, 0x88
ret
Function at 0x140052110
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rax, rdx
mov rsi, qword [rsp + 0x90]
mov rdi, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x80]
mov ebx, ecx
shr ebx, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov r15, rax
movzx r14d, byte [rax + 1]
add rax, 2
lea r10, [r11 + r14]
cmp byte [r15], bl
jne 0x1400521a0
cmp r11, r10
ja 0x140052216
cmp r10, rdx
ja 0x14005222a
add r11, r9
xor r15d, r15d
nop word cs:[rax + rax]
cmp r14, r15
je 0x1400521a2
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x140052180
jmp 0x140052204
ja 0x1400521aa
mov r11, r10
cmp rax, r8
jne 0x140052144
add rsi, rdi
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r8, [rdi + 1]
movzx edx, byte [rdi]
test dl, dl
js 0x1400521e0
mov rdi, r8
sub ecx, edx
jns 0x1400521fb
jmp 0x140052206
cmp r8, rsi
je 0x14005223b
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x140052206
xor al, 1
cmp rdi, rsi
jne 0x1400521c0
jmp 0x140052206
xor eax, eax
and al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.14011a690
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.14011a400
ud2
lea rcx, str.called__Option::unwrap____on_a__None__value
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.14011a470
ud2

Function at 0x1400785e0
Capabilities:
Get system information on windows

Disassembly:
push rsi
sub rsp, 0x50
xorps xmm0, xmm0
lea rsi, [rsp + 0x20]
movaps xmmword [rsi + 0x20], xmm0
and byte [rdi], cl
sub dword [rsi + 0x10], eax
Function at 0x14007a985
Capabilities:
Link many functions at runtime

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x40
lea rbp, [rsp + 0x40]
mov qword [rbp - 8], 0xfffffffffffffffe
mov rsi, rcx
mov rdx, qword [0x1401cb840]
test rdx, rdx
jne 0x14007aad1
lea rcx, str.api_ms_win_core_synch_l1_2_0.dll
call sub.kernel32.dll_GetModuleHandleA
test rax, rax
je 0x14007a9fd
mov rbx, rax
lea rdx, str.WaitOnAddress
mov rcx, rax
call sub.kernel32.dll_GetProcAddress
test rax, rax
je 0x14007a9fd
mov rdi, rax
lea rdx, str.WakeByAddressSingle
mov rcx, rbx
call sub.kernel32.dll_GetProcAddress
test rax, rax
je 0x14007a9fd
mov qword [rbp - 0x18], rax
xor eax, eax
mov qword [rbp - 0x10], rax
jmp 0x14007aa87
lea rcx, [0x14015daf8]
call sub.kernel32.dll_GetModuleHandleA
test rax, rax
je 0x14007aae4
mov rdi, rax
lea rdx, str.NtCreateKeyedEvent
mov rcx, rax
call sub.kernel32.dll_GetProcAddress
test rax, rax
je 0x14007aae4
mov rbx, rax
lea rdx, str.NtReleaseKeyedEvent
mov rcx, rdi
call sub.kernel32.dll_GetProcAddress
test rax, rax
je 0x14007aae4
mov r14, rax
lea rdx, str.NtWaitForKeyedEvent
mov rcx, rdi
call sub.kernel32.dll_GetProcAddress
test rax, rax
je 0x14007aae4
mov rdi, rax
lea rcx, [rbp - 0x20]
mov edx, 0xc0000000
xor r8d, r8d
xor r9d, r9d
call rbx
test eax, eax
jne 0x14007aae4
mov qword [rbp - 0x10], r14
mov rax, qword [rbp - 0x20]
mov qword [rbp - 0x18], rax
push 0x18
pop rcx
call fcn.14007a664
mov rdx, rax
mov rax, qword [rbp - 0x10]
mov qword [rdx], rax
mov qword [rdx + 8], rdi
mov rax, qword [rbp - 0x18]
mov qword [rdx + 0x10], rax
xor eax, eax
lock cmpxchg qword [0x1401cb840], rdx
je 0x14007aad1
mov rdi, rax
mov rcx, qword [rdx]
mov qword [rbp - 0x10], rdx
mov rdx, qword [rdx + 0x10]
call fcn.14000f078
mov rcx, qword [rbp - 0x10]
call fcn.14006d950
mov rdx, rdi
and qword [rsi + 8], 0
mov qword [rsi], rdx
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
lea rcx, str.parking_lot_requires_either_NT_Keyed_Events__WinXP__or_WaitOnAddress_WakeByAddress__Win8_C:UsersAdministrator.cargo_registry_srcindex.crates.io_6f17d22bba15001fparking_lot_core_0.9.7_src_thread_parkerwindowsmod.rs
lea r8, [0x14015dc08]
push 0x5b
pop rdx
call fcn.14011b869
ud2
Function at 0x14007e6de
Capabilities:
Generate random numbers via rtlgenrandom
Generate random numbers via winapi

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rdi, rcx
mov r12d, 0x20
mov r13d, 0xffffffff
mov rbp, qword [sym.imp.bcrypt.dll_BCryptGenRandom]
mov rsi, qword [sym.imp.ADVAPI32.dll_SystemFunction036]
test r12, r12
je 0x14007e771
mov r14, rdi
cmp r12, r13
mov r15d, 0xffffffff
cmovb r15, r12
add rdi, r15
sub r12, r15
xor ecx, ecx
mov rdx, r14
mov r8d, r15d
mov r9d, 2
call rbp
cmp eax, 0xc0000000
jb 0x14007e70b
mov ebx, eax
mov rcx, r14
mov edx, r15d
call rsi
test al, al
jne 0x14007e70b
xor ebx, 0x80000000
je 0x14007e771
mov al, byte [0x1401cb9f0]
mov ecx, 4
mov edx, 4
call fcn.140041f50
test rax, rax
je 0x14007e784
mov dword [rax], ebx
jmp 0x14007e773
xor eax, eax
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov ecx, 4
mov edx, 4
call fcn.14011a0d0
ud2

Function at 0x140087730
Capabilities:
Encode data using xor

Disassembly:
mov rax, rdx
sub rdx, rcx
cmp rdx, 0x20
jae fcn.140049860
cmp rax, rcx
je 0x140087755
cmp rdx, 4
jae 0x140087758
xor eax, eax
xor r8d, r8d
jmp 0x1400877f0
xor eax, eax
ret
mov r8, rdx
and r8, 0xfffffffffffffffc
pxor xmm0, xmm0
xor eax, eax
movdqa xmm2, xmmword [0x140120970]
movdqa xmm3, xmmword [0x140120980]
pxor xmm1, xmm1
nop dword [rax]
movzx r9d, word [rcx + rax]
movd xmm4, r9d
movzx r9d, word [rcx + rax + 2]
movd xmm5, r9d
pcmpgtb xmm4, xmm2
punpcklbw xmm4, xmm4
pshuflw xmm4, xmm4, 0xd4
pshufd xmm4, xmm4, 0xd4
pand xmm4, xmm3
paddq xmm0, xmm4
pcmpgtb xmm5, xmm2
punpcklbw xmm5, xmm5
pshuflw xmm4, xmm5, 0xd4
pshufd xmm4, xmm4, 0xd4
pand xmm4, xmm3
paddq xmm1, xmm4
add rax, 4
cmp r8, rax
jne 0x140087780
paddq xmm1, xmm0
pshufd xmm0, xmm1, 0xee
paddq xmm0, xmm1
movq rax, xmm0
cmp r8, rdx
je 0x140087807
nop dword [rax]
xor r9d, r9d
cmp byte [rcx + r8], 0xc0
setge r9b
add rax, r9
inc r8
cmp rdx, r8
jne 0x1400877f0
ret