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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x50
mov r12, rcx
mov rcx, r9
mov rsi, r8
mov r15, rdx
xor ebx, ebx
call fcn.1400138e0
mov rcx, qword [0x14001b8d8]
lea edi, [rsi + 0x18]
xor edx, edx
movsxd r8, edi
mov r14, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r13, rax
test rax, rax
je 0x140009545
mov r9d, edi
mov r8, rax
mov edx, esi
mov rcx, r15
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 5
call fcn.140009b54
movsxd rdi, eax
test eax, eax
je 0x1400094a4
cmp rdi, rsi
jge 0x1400094a4
mov r15, r13
jmp 0x1400094a6
mov edi, esi
mov rcx, r14
call sub.msvcrt.dll_strlen
mov rcx, qword [r12]
lea r9, [rbp + 0x30]
mov word [rbp - 0x10], ax
movsxd rax, edi
lea rdx, [rbp - 0x20]
mov r8d, 0x12
mov qword [rbp - 0x20], rsi
mov qword [rsp + 0x20], rbx
mov qword [rbp - 0x18], rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [rbp + 0x30], 0x12
jne 0x14000952b
movsx r8d, word [rbp - 0x10]
mov rcx, qword [r12]
lea r9, [rbp + 0x30]
mov rdx, r14
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
movsx r11d, word [rbp - 0x10]
cmp r11d, dword [rbp + 0x30]
jne 0x14000952b
mov rcx, qword [r12]
lea r9, [rbp + 0x30]
mov r8d, edi
mov rdx, r15
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp edi, dword [rbp + 0x30]
mov eax, 1
cmove rbx, rax
mov rcx, r12
call fcn.140009708
mov rcx, qword [0x14001b8d8]
mov r8, r13
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, r14
call fcn.1400139c0
lea r11, [rsp + 0x50]
mov rax, rbx
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x140009774
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
mov rbp, rsp
sub rsp, 0x60
cmp qword [rcx + 8], 0
mov rbx, rcx
mov esi, 0x40
jne 0x1400098e8
mov rcx, qword [0x14001b8d8]
xor edx, edx
mov r8d, 0x200
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
and dword [rbx + 0x14], 0
lea edi, [rsi - 0x3c]
mov qword [rbx + 8], rax
mov edx, edi
xor r9d, r9d
mov rcx, qword [rbx]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
and qword [rsp + 0x20], 0
cmp dword [rbx + 0x1c], 0x706c7a31
mov rcx, qword [rbx]
lea r9, [rbp + 0x20]
jne 0x140009817
lea rdx, [rbp - 0x18]
mov r8d, 0x18
call qword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [rbp + 0x20], 0x18
jne 0x1400098e8
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x30], rax
mov rax, qword [rbp - 0x10]
mov qword [rbp - 0x28], rax
movzx eax, word [rbp - 8]
mov word [rbp - 0x20], ax
jmp 0x140009831
lea rdx, [rbp - 0x30]
mov r8d, 0x12
call qword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [rbp + 0x20], 0x12
jne 0x1400098e8
cmp dword [rbx + 0x14], esi
jl 0x14000985a
mov r8, qword [rbx + 8]
mov rcx, qword [0x14001b8d8]
add esi, 0x40
movsxd r9, esi
mov edx, 8
shl r9, 3
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov qword [rbx + 8], rax
movsx r8, word [rbp - 0x20]
mov rcx, qword [0x14001b8d8]
xor edx, edx
add r8, 0x19
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rcx, qword [rbp - 0x30]
and qword [rsp + 0x20], 0
mov qword [rax], rcx
mov rcx, qword [rbp - 0x28]
lea rdx, [rax + 0x14]
mov qword [rax + 8], rcx
movsx r8d, word [rbp - 0x20]
mov rcx, qword [rbx]
lea r9, [rbp + 0x20]
mov r12, rax
call qword [sym.imp.KERNEL32.dll_ReadFile]
movsx r11, word [rbp - 0x20]
mov byte [r11 + r12 + 0x14], 0
cmp dword [rbx + 0x1c], 0x706c7a31
movsx rax, word [rbp - 0x20]
jne 0x1400098bf
lea edi, [rdi + rax + 0x18]
jmp 0x1400098c3
lea edi, [rdi + rax + 0x12]
mov dword [r12 + 0x10], edi
movsxd rcx, dword [rbx + 0x14]
add edi, dword [rbp - 0x28]
mov rax, qword [rbx + 8]
mov r9d, 1
mov qword [rax + rcx*8], r12
inc dword [rbx + 0x14]
mov edx, dword [rbp - 0x28]
jmp 0x1400097c1
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r12
pop rdi
pop rbp
ret

Function at 0x14000b884
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov ebx, edx
mov rdx, rcx
mov rcx, qword [0x14001c6b0]
call fcn.140011d14
mov rsi, rax
test rax, rax
je 0x14000b8fd
mov rcx, qword [rax + 8]
mov rax, qword [rcx + 0x28]
test rax, rax
je 0x14000b8c2
mov edx, ebx
mov rcx, rsi
call rax
jmp 0x14000b8fd
mov rcx, qword [rsi]
call qword [sym.imp.USER32.DLL_GetWindowTextLengthA]
mov edx, ebx
mov ecx, eax
mov edi, eax
call fcn.140012ef0
lea r8d, [rdi + 1]
mov byte [rax], 0
mov rcx, qword [rsi]
mov rdx, rax
mov rbx, rax
call qword [sym.imp.USER32.DLL_GetWindowTextA]
mov rcx, rbx
call sub.msvcrt.dll_strlen
sub edi, eax
mov ecx, edi
call fcn.140013090
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x14000bdec
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x160
lea rcx, [rsp + 0x20]
mov ebx, 0xc8
mov dword [rsp + 0x20], 0x94
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x14000bf01
mov eax, dword [rsp + 0x30]
dec eax
je 0x14000bede
dec eax
jne 0x14000bf01
lea rcx, [rsp + 0xc0]
xor edi, edi
mov dword [rsp + 0xc0], 0x9c
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x14000be59
lea eax, [rdi + 1]
cmp byte [rsp + 0x15a], al
cmove edi, eax
mov eax, dword [rsp + 0x24]
sub eax, 3
je 0x14000bed7
dec eax
je 0x14000bed0
dec eax
je 0x14000bea6
dec eax
jne 0x14000bf01
mov eax, dword [rsp + 0x28]
test eax, eax
je 0x14000be9a
dec eax
je 0x14000be8e
dec eax
jne 0x14000bf01
neg edi
sbb ebx, ebx
and ebx, 0xfffffffb
add ebx, 0x5f
jmp 0x14000bf01
neg edi
sbb ebx, ebx
and ebx, 0xfffffffb
add ebx, 0x55
jmp 0x14000bf01
neg edi
sbb ebx, ebx
and ebx, 0xfffffffb
add ebx, 0x4b
jmp 0x14000bf01
mov eax, dword [rsp + 0x28]
test eax, eax
je 0x14000bec9
dec eax
je 0x14000bec2
dec eax
jne 0x14000bf01
neg edi
sbb ebx, ebx
and ebx, 0xfffffffb
add ebx, 0x41
jmp 0x14000bf01
mov ebx, 0x3c
jmp 0x14000bf01
mov ebx, 0x32
jmp 0x14000bf01
mov ebx, 0x14
jmp 0x14000bf01
mov ebx, 5
jmp 0x14000bf01
mov eax, dword [rsp + 0x28]
test eax, eax
je 0x14000befc
cmp eax, 0xa
je 0x14000bef5
cmp eax, 0x5a
jne 0x14000bf01
lea ebx, [rax - 0x32]
jmp 0x14000bf01
mov ebx, 0x1e
jmp 0x14000bf01
mov ebx, 0xa
movsxd rax, ebx
mov rbx, qword [rsp + 0x170]
add rsp, 0x160
pop rdi
ret
Function at 0x14000d240
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.USER32.DLL_GetFocus]
mov rdi, rax
test rax, rax
je 0x14000d2e9
mov ecx, 9
call qword [sym.imp.USER32.DLL_GetKeyState]
test al, al
jns 0x14000d2e9
mov ecx, 0x11
call qword [sym.imp.USER32.DLL_GetKeyState]
test al, al
js 0x14000d2e9
mov ecx, 0x10
call qword [sym.imp.USER32.DLL_GetKeyState]
test al, al
js 0x14000d2e9
mov ecx, 0x12
call qword [sym.imp.USER32.DLL_GetKeyState]
test al, al
js 0x14000d2e9
lea rdx, [rsp + 0x40]
mov r8d, 5
mov rcx, rdi
call qword [sym.imp.USER32.DLL_GetClassNameA]
lea rdx, str.Rich
lea rcx, [rsp + 0x40]
mov r8d, 4
call sub.msvcrt.dll_strncmp
test eax, eax
jne 0x14000d2e9
xor r9d, r9d
xor r8d, r8d
mov edx, 0x44e
mov rcx, rdi
call qword [sym.imp.USER32.DLL_SendMessageA]
bt rax, 0xb
jae 0x14000d393
test rbx, rbx
je 0x14000d328
mov ecx, 0x11
call qword [sym.imp.USER32.DLL_GetKeyState]
test al, al
js 0x14000d31b
mov ecx, 0x10
call qword [sym.imp.USER32.DLL_GetKeyState]
test al, al
js 0x14000d31b
mov ecx, 0x12
call qword [sym.imp.USER32.DLL_GetKeyState]
test al, al
jns 0x14000d328
mov edx, 1
mov rcx, rbx
call fcn.14000d1ec
test rdi, rdi
je 0x14000d342
lea rdx, str.PB_Hotkey
mov rcx, rdi
call qword [sym.imp.USER32.DLL_GetPropA]
test rax, rax
jne 0x14000d393
lea rdx, str.PB_WindowID
mov rcx, rbx
call qword [sym.imp.USER32.DLL_GetPropA]
mov rdi, rax
test rax, rax
je 0x14000d393
lea rdx, [rsp + 0x38]
mov rcx, rbx
call qword [sym.imp.USER32.DLL_GetWindowThreadProcessId]
test eax, eax
je 0x14000d393
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x38], eax
jne 0x14000d393
mov rcx, qword [0x14001c6d0]
lea rdx, [rdi - 1]
call fcn.140011d14
test rax, rax
je 0x14000d393
mov rax, qword [rax + 0x10]
jmp 0x14000d395
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14000f034
Capabilities:
Allocate thread local storage

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x14001c850], eax
add rsp, 0x28
ret

Function at 0x14000f04c
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov edx, ecx
mov esi, 0x104
mov ecx, esi
call fcn.140012ef0
mov ecx, esi
mov rdx, rax
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
movsxd rbx, eax
test eax, eax
je 0x14000f08b
cmp byte [rbx + rdi - 1], 0x5c
je 0x14000f08b
mov byte [rbx + rdi], 0x5c
inc ebx
sub esi, ebx
mov ecx, esi
call fcn.140013090
mov rsi, qword [rsp + 0x38]
movsxd r11, ebx
mov rbx, qword [rsp + 0x30]
mov byte [r11 + rdi], 0
add rsp, 0x20
pop rdi
ret

Function at 0x14000f0ac
Capabilities:
Set current directory

Disassembly:
sub rsp, 0x28
test rcx, rcx
je 0x14000f0bf
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
cdqe
jmp 0x14000f0c1
xor eax, eax
add rsp, 0x28
ret
Function at 0x14000f164
Capabilities:
Delete file

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
je 0x14000f18f
test dl, 2
je 0x14000f182
mov edx, pe_nt_image_headers64
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
cdqe
jmp 0x14000f191
xor eax, eax
add rsp, 0x20
pop rbx
ret
xor edx, edx
jmp 0x14000f164

Function at 0x14000f198
Capabilities:
Delete file
Set file attributes

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
je 0x14000f18f
test dl, 2
je 0x14000f182
mov edx, pe_nt_image_headers64
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
cdqe
jmp 0x14000f191
xor eax, eax
add rsp, 0x20
pop rbx
ret
xor edx, edx
jmp 0x14000f164

Function at 0x14000f29c
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edx, ecx
mov ebx, 0x104
mov ecx, ebx
call fcn.140012ef0
mov ecx, ebx
mov rdx, rax
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
lea rcx, str.Kernel32.DLL
mov edi, eax
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbp, rax
test rax, rax
je 0x14000f30e
lea rdx, [0x140018c08]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14000f305
mov r8d, ebx
mov rdx, rsi
mov rcx, rsi
call rax
mov edi, eax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
sub ebx, edi
mov ecx, ebx
call fcn.140013090
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
movsxd r11, edi
mov byte [r11 + rsi], 0
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x14000f334
Capabilities:
Create directory

Disassembly:
sub rsp, 0x138
test rcx, rcx
je 0x14000f3a7
mov rdx, rcx
lea rcx, [rsp + 0x20]
mov r8d, 0x104
call sub.msvcrt.dll_strncpy
lea rcx, [rsp + 0x20]
mov byte [rsp + 0x124], 0
call sub.msvcrt.dll_strlen
lea rcx, [rsp + rax + 0x20]
lea rax, [rsp + 0x20]
cmp rcx, rax
jbe 0x14000f393
lea rdx, [rcx - 1]
mov al, byte [rdx]
cmp al, 0x20
je 0x14000f386
cmp al, 0x5c
je 0x14000f386
cmp al, 0x2f
jne 0x14000f393
lea rax, [rsp + 0x20]
mov rcx, rdx
cmp rdx, rax
ja 0x14000f374
mov byte [rcx], 0
lea rcx, [rsp + 0x20]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
cdqe
jmp 0x14000f3a9
xor eax, eax
add rsp, 0x138
ret

Function at 0x14000f3c0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x30
xor eax, eax
mov rbx, rcx
mov dword [rsp + 0x40], eax
cmp dword [rcx + 0x1c], eax
jne 0x14000f406
mov r8d, dword [rcx + 0x10]
mov rdx, qword [rcx + 8]
lea r9, [rsp + 0x40]
sub r8d, dword [rcx + 0x14]
mov rcx, qword [rcx]
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov r11d, dword [rbx + 0x10]
movsxd rax, dword [rsp + 0x40]
mov dword [rbx + 0x14], r11d
add rsp, 0x30
pop rbx
ret
cdqe
add rsp, 0x30
pop rbx
ret
Function at 0x14000fb10
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
xor ebx, ebx
mov edi, r8d
mov rsi, rdx
mov dword [rsp + 0x48], ebx
test rdx, rdx
je 0x14000fb88
test r8d, r8d
je 0x14000fb88
mov rdx, rcx
mov rcx, qword [0x14001c860]
call fcn.140011d14
test rax, rax
je 0x14000fb84
mov r8d, edi
mov rdx, rsi
cmp qword [rax + 8], rbx
je 0x14000fb71
mov rcx, rax
call fcn.14000fba0
mov ebx, eax
cdqe
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov rcx, qword [rax]
lea r9, [rsp + 0x48]
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov ebx, dword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
movsxd rax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x14000fba0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
cmp dword [rcx + 0x1c], 1
movsxd rdi, r8d
mov rsi, rdx
mov rbx, rcx
mov dword [rsp + 0x50], 0
jne 0x14000fbea
mov edx, dword [rcx + 0x14]
mov rcx, qword [rcx]
mov r9d, 1
neg edx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [rbx + 0x10]
mov dword [rbx + 0x1c], 0
mov dword [rbx + 0x14], eax
mov ecx, dword [rbx + 0x14]
cmp ecx, edi
jle 0x14000fc26
mov eax, dword [rbx + 0x10]
mov edx, edi
sub eax, ecx
movsxd rcx, eax
add rcx, qword [rbx + 8]
dec edx
je 0x14000fc1f
dec edx
je 0x14000fc17
cmp edx, 2
je 0x14000fc11
mov rdx, rsi
jmp 0x14000fc74
mov eax, dword [rsi]
mov dword [rcx], eax
jmp 0x14000fc7c
movzx eax, word [rsi]
mov word [rcx], ax
jmp 0x14000fc7c
movzx eax, byte [rsi]
mov byte [rcx], al
jmp 0x14000fc7c
mov rcx, rbx
call fcn.14000f3c0
mov r11d, dword [rbx + 0x10]
mov rdx, rsi
cmp edi, r11d
jl 0x14000fc69
mov rcx, qword [rbx]
lea r9, [rsp + 0x50]
mov r8d, edi
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
movsxd rax, dword [rsp + 0x50]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
sub r11d, dword [rbx + 0x14]
movsxd rcx, r11d
add rcx, qword [rbx + 8]
mov r8, rdi
call sub.msvcrt.dll_memcpy
sub dword [rbx + 0x14], edi
mov rsi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
mov rax, rdi
add rsp, 0x30
pop rdi
ret
Function at 0x140010e70
Capabilities:
Hash data with crc32
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rdx
push rbx
push rdi
push r12
push r14
sub rsp, 0x58
or ebx, 0xffffffff
xor r12d, r12d
mov r14, r8
mov edi, 0x80000
test rcx, rcx
je 0x1400110db
mov qword [rsp + 0x30], r12
lea r8d, [r12 + 1]
xor r9d, r9d
mov edx, 0x80000000
mov dword [rsp + 0x28], pe_nt_image_headers64
mov qword [rsp + 0x40], r15
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov r15, rax
cmp rax, 0xffffffffffffffff
je 0x1400110d6
mov rcx, qword [0x14001b8d8]
xor edx, edx
mov r8d, edi
mov qword [rsp + 0x48], r13
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r13, rax
test rax, rax
je 0x1400110c8
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x90], rbp
mov qword [rsp + 0x50], rsi
test rax, rax
jle 0x140010f23
lea r8, [rsp + 0x8c]
xor r9d, r9d
mov edx, eax
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
lea ebp, [r14 + 0x80000]
lea rsi, [0x140018c90]
add r12d, 0x80000
sub ebp, 0x80000
cmp r14, 0xffffffffffffffff
je 0x140010f4d
movsxd rax, r12d
cmp rax, r14
cmovg edi, ebp
lea r9, [rsp + 0x80]
mov r8d, edi
mov rdx, r13
mov rcx, r15
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov r10d, dword [rsp + 0x80]
mov r11, r13
mov r9d, r10d
cmp r10d, 8
jb 0x14001107b
mov esi, r10d
lea r10, [0x140018c90]
shr rsi, 3
nop word [rax + rax]
movzx ecx, byte [r11]
mov eax, ebx
shr ebx, 8
xor rcx, rax
add r11, 8
add r9d, 0xfffffff8
movzx eax, cl
movzx ecx, byte [r11 - 7]
mov edx, dword [r10 + rax*4]
xor edx, ebx
mov eax, edx
shr edx, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r11 - 6]
mov r8d, dword [r10 + rax*4]
xor r8d, edx
mov eax, r8d
shr r8d, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r11 - 5]
mov edx, dword [r10 + rax*4]
xor edx, r8d
mov eax, edx
shr edx, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r11 - 4]
mov r8d, dword [r10 + rax*4]
xor r8d, edx
mov eax, r8d
shr r8d, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r11 - 3]
mov edx, dword [r10 + rax*4]
xor edx, r8d
mov eax, edx
shr edx, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r11 - 2]
mov r8d, dword [r10 + rax*4]
xor r8d, edx
mov eax, r8d
shr r8d, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r11 - 1]
mov edx, dword [r10 + rax*4]
xor edx, r8d
mov eax, edx
shr edx, 8
xor rcx, rax
movzx eax, cl
mov ebx, dword [r10 + rax*4]
xor ebx, edx
dec rsi
jne 0x140010fa0
mov r10d, dword [rsp + 0x80]
lea rsi, [0x140018c90]
test r9d, r9d
je 0x14001109c
movzx ecx, byte [r11]
mov eax, ebx
inc r11
xor rcx, rax
shr eax, 8
movzx edx, cl
mov ebx, dword [rsi + rdx*4]
xor ebx, eax
dec r9d
jne 0x140011080
cmp r10d, 0x80000
je 0x140010f31
mov rcx, qword [0x14001b8d8]
mov r8, r13
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rsi, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x90]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r13, qword [rsp + 0x48]
mov r15, qword [rsp + 0x40]
not ebx
movsxd rax, ebx
add rsp, 0x58
pop r14
pop r12
pop rdi
pop rbx
ret
or r8, 0xffffffffffffffff
xor edx, edx
jmp 0x140010e70
Function at 0x1400110f0
Capabilities:
Encode data using xor
Hash data with crc32
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rdx
push rbx
push rdi
push r12
push r14
sub rsp, 0x58
or ebx, 0xffffffff
xor r12d, r12d
mov r14, r8
mov edi, 0x80000
test rcx, rcx
je 0x1400110db
mov qword [rsp + 0x30], r12
lea r8d, [r12 + 1]
xor r9d, r9d
mov edx, 0x80000000
mov dword [rsp + 0x28], pe_nt_image_headers64
mov qword [rsp + 0x40], r15
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov r15, rax
cmp rax, 0xffffffffffffffff
je 0x1400110d6
mov rcx, qword [0x14001b8d8]
xor edx, edx
mov r8d, edi
mov qword [rsp + 0x48], r13
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r13, rax
test rax, rax
je 0x1400110c8
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x90], rbp
mov qword [rsp + 0x50], rsi
test rax, rax
jle 0x140010f23
lea r8, [rsp + 0x8c]
xor r9d, r9d
mov edx, eax
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
lea ebp, [r14 + 0x80000]
lea rsi, [0x140018c90]
add r12d, 0x80000
sub ebp, 0x80000
cmp r14, 0xffffffffffffffff
je 0x140010f4d
movsxd rax, r12d
cmp rax, r14
cmovg edi, ebp
lea r9, [rsp + 0x80]
mov r8d, edi
mov rdx, r13
mov rcx, r15
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov r10d, dword [rsp + 0x80]
mov r11, r13
mov r9d, r10d
cmp r10d, 8
jb 0x14001107b
mov esi, r10d
lea r10, [0x140018c90]
shr rsi, 3
nop word [rax + rax]
movzx ecx, byte [r11]
mov eax, ebx
shr ebx, 8
xor rcx, rax
add r11, 8
add r9d, 0xfffffff8
movzx eax, cl
movzx ecx, byte [r11 - 7]
mov edx, dword [r10 + rax*4]
xor edx, ebx
mov eax, edx
shr edx, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r11 - 6]
mov r8d, dword [r10 + rax*4]
xor r8d, edx
mov eax, r8d
shr r8d, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r11 - 5]
mov edx, dword [r10 + rax*4]
xor edx, r8d
mov eax, edx
shr edx, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r11 - 4]
mov r8d, dword [r10 + rax*4]
xor r8d, edx
mov eax, r8d
shr r8d, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r11 - 3]
mov edx, dword [r10 + rax*4]
xor edx, r8d
mov eax, edx
shr edx, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r11 - 2]
mov r8d, dword [r10 + rax*4]
xor r8d, edx
mov eax, r8d
shr r8d, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r11 - 1]
mov edx, dword [r10 + rax*4]
xor edx, r8d
mov eax, edx
shr edx, 8
xor rcx, rax
movzx eax, cl
mov ebx, dword [r10 + rax*4]
xor ebx, edx
dec rsi
jne 0x140010fa0
mov r10d, dword [rsp + 0x80]
lea rsi, [0x140018c90]
test r9d, r9d
je 0x14001109c
movzx ecx, byte [r11]
mov eax, ebx
inc r11
xor rcx, rax
shr eax, 8
movzx edx, cl
mov ebx, dword [rsi + rdx*4]
xor ebx, eax
dec r9d
jne 0x140011080
cmp r10d, 0x80000
je 0x140010f31
mov rcx, qword [0x14001b8d8]
mov r8, r13
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rsi, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x90]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r13, qword [rsp + 0x48]
mov r15, qword [rsp + 0x40]
not ebx
movsxd rax, ebx
add rsp, 0x58
pop r14
pop r12
pop rdi
pop rbx
ret
or r8, 0xffffffffffffffff
xor edx, edx
jmp 0x140010e70
Function at 0x140021a4f
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
aeskeygenassist xmm0, xmmword [rdx], 2
movdqa xmmword [rcx], xmm0
ret
Function at 0x14009bca0
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 0x14009bd30
cmp r11, r10
ja 0x14009bda6
cmp r10, rdx
ja 0x14009bdb8
add r11, r9
xor r15d, r15d
nop word cs:[rax + rax]
cmp r14, r15
je 0x14009bd32
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x14009bd10
jmp 0x14009bd94
ja 0x14009bd3a
mov r11, r10
cmp rax, r8
jne 0x14009bcd4
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 0x14009bd70
mov rdi, r8
sub ecx, edx
jns 0x14009bd8b
jmp 0x14009bd96
cmp r8, rsi
je 0x14009bdc7
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x14009bd96
xor al, 1
cmp rdi, rsi
jne 0x14009bd50
jmp 0x14009bd96
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.140334480
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.1403341b0
lea rcx, str.librarycore_srcunicodeprintable.rs
call fcn.140334660
int3