joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400041ec
Capabilities:
Set environment variable

Disassembly:
jmp 0x14009e098
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.1400023ce
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14009e122
cmp byte [rbp - 0x21], r15b
je 0x14009e11d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x14009e158
call fcn.140004606
test eax, eax
jne 0x14009e144
cmp byte [rbp - 0x21], r15b
je 0x14009e13c
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14009e158
cmp byte [rbp - 0x21], r15b
je 0x14009e155
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.140004822
test eax, eax
jne 0x14009e1f8
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.1400023ce
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14009e197
cmp byte [rbp - 0x21], r15b
je 0x14009e1cc
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14009e1cc
call fcn.140004606
test eax, eax
jne 0x14009e1b8
cmp byte [rbp - 0x21], r15b
je 0x14009e1b1
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x14009e1cc
cmp byte [rbp - 0x21], r15b
je 0x14009e1c9
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.140004822
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14009e1f8
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14009e1fb
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14009e209
mov rcx, rdi
call fcn.140001190
cmp byte [rbp + 0x3f], r15b
je 0x14009e218
mov rcx, qword [rbp + 0x27]
call fcn.140001190
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret

Function at 0x1400042f0
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400438f0
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x14004365c
Function at 0x14002d0c4
Capabilities:
Parse pe header

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

Function at 0x140052a80
Capabilities:
Get disk information

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x140139798]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp ecx, 0x1a
jbe 0x140052aca
call fcn.140003175
mov dword [rax], 0xf
call fcn.14000231a
mov dword [rax], 0xd
call fcn.1400014bf
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140002955
add rsp, 0x30
pop rbx
ret
xor ebx, ebx
test ecx, ecx
jne 0x140052ad5
lea eax, [rbx + 1]
jmp 0x140052ab7
add cx, 0x40
mov dword [rsp + 0x22], 0x5c003a
mov word [rsp + 0x20], cx
lea rcx, [rsp + 0x20]
mov word [rsp + 0x26], bx
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
test eax, eax
je 0x140052ab5
cmp eax, 1
setne bl
mov eax, ebx
jmp 0x140052ab7

Function at 0x140053904
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.140001942
sub rsp, rax
mov rax, qword [0x140139798]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.140004426
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x140053953
mov rax, rbp
jmp 0x140053a5b
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x13db70]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.14000226b
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x13db70]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x140053a57
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140053a57
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.14000226b
test rax, rax
js 0x140053a57
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x140053a57
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x140053a49
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x140053a49
cmp byte [rcx], 0xd
jne 0x140053a2f
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x140053a3e
cmp byte [rcx + 1], 0xa
jne 0x140053a3e
inc rcx
jmp 0x140053a3e
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x13a360]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x140053a11
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x140053a5b
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.140002955
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140089188
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x14008919e
mov al, 1
jmp 0x1400891fe
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x1400891af
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x1400891fc
mov ecx, dword [rcx + 0x18]
nop
call fcn.1400045a2
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400891fc
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1400891fc
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1400891fc
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x1400891fe
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x1400963e4
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x14013db70]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x14009643b
cmp word [rdx], r13w
jne 0x14009643b
or byte [rax + rdi*8 + 0x38], cl
jmp 0x140096440
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x140096565
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x140096586
lea r9, [rdx + 2]
cmp cx, r11w
je 0x140096479
mov rdx, r9
mov word [rbx], cx
jmp 0x1400964a0
cmp r9, r8
jae 0x1400964b0
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x14009645a
jmp 0x140096565
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14009655a
cmp dword [rsp + 0x80], esi
je 0x14009655a
lea r8, [0x14013db70]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x140096532
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x140096502
mov word [rbx], r13w
jmp 0x140096562
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x14009650f
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x140096562
cmp word [rsp + 0x70], r13w
jne 0x14009653f
cmp rbx, r14
je 0x1400964fc
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.14000185c
cmp word [rsp + 0x70], r13w
je 0x140096565
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x14013db70]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x14009655f
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x140096565
Function at 0x1400115e1
Capabilities:
Terminate process

Disassembly:
jmp 0x140025a90
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x140011758
Capabilities:
Parse pe header

Disassembly:
jmp 0x140027d90
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140027db0
xor al, al
jmp 0x140027e31
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140027dc3
xor al, al
jmp 0x140027e31
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x140027ded
xor al, al
jmp 0x140027e31
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140027e01
xor al, al
jmp 0x140027e31
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140027e13
xor al, al
jmp 0x140027e31
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140027e2f
xor al, al
jmp 0x140027e31
mov al, 1
add rsp, 0x38
ret
Function at 0x140011b4f
Capabilities:
Enumerate processes

Disassembly:
jmp 0x1400148c0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x278
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x66
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x298]
mov rax, qword [0x14003d040]
xor rax, rbp
mov qword [rbp + 0x248], rax
lea rcx, [0x140045370]
call fcn.140011a50
xor edx, edx
mov ecx, 2
call fcn.1400114e7
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0xffffffffffffffff
jne 0x140014930
lea rcx, str.CreateToolhelp32Snapshot_Error__n
call fcn.1400114d3
xor eax, eax
jmp 0x14001498d
mov dword [rbp + 0x30], 0x130
lea rdx, [rbp + 0x30]
mov rcx, qword [rbp + 8]
call fcn.140011898
mov dword [rbp + 0x174], eax
cmp dword [rbp + 0x174], 0
je 0x140014981
mov rdx, qword [rbp + 0x270]
lea rcx, [rbp + 0x5c]
call fcn.140011b54
test eax, eax
jne 0x14001496c
mov eax, dword [rbp + 0x38]
jmp 0x14001498d
lea rdx, [rbp + 0x30]
mov rcx, qword [rbp + 8]
call fcn.140011a64
mov dword [rbp + 0x174], eax
jmp 0x14001494a
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x1400366f0]
call fcn.1400118b1
mov rax, rdi
mov rcx, qword [rbp + 0x248]
xor rcx, rbp
call fcn.14001150a
lea rsp, [rbp + 0x258]
pop rdi
pop rbp
ret
Function at 0x140002bd0
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.140003e70
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.140003e70
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 0x140002c40
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1400090a4]
mov rbx, rcx
test esi, esi
jle 0x140002d70
mov rax, qword [0x1400090a8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x140002c8b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140002d15
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140002c70
mov rcx, rbx
call fcn.140003690
mov rdi, rax
test rax, rax
je 0x140002d92
mov rax, qword [0x1400090a8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.1400037d0
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1400090a8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140002d77
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x140002d0e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140002d20
add dword [0x1400090a4], 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 [0x1400090a8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140002d0e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140002bd0
nop dword [rax]
xor esi, esi
jmp 0x140002c98
mov rax, qword [0x1400090a8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.140002bd0
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.140002bd0
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140003300
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x140009100]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400090e0]
test rbx, rbx
je 0x14000335c
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 0x140003353
test rsi, rsi
je 0x140003353
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140003338
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 0x140003690
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1400069f0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1400036b0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1400036b8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400036b0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14000370d
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 0x140003704
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x1400036b0
add rax, 0x28
cmp rax, r9
jne 0x1400036f0
xor eax, eax
ret

Function at 0x140003710
Capabilities:
Parse pe header

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

Function at 0x1400037d0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400069f0]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x1400037ef
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x1400037f8
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x140001920
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
lea rbp, [rcx + 2]
mov qword [rsp + 0x20], 4
mov qword [rsp + 0x18], rbp
nop word [rax + rax]
movzx r9d, byte [rbp - 1]
movzx edx, byte [rbp - 2]
movzx ebx, r9b
movzx r8d, byte [rbp]
movzx eax, dl
shr al, 7
movzx r10d, r8b
movzx eax, al
add r10b, r10b
imul eax, eax, 0x1b
add bl, bl
movzx ecx, byte [rbp + 1]
mov byte [rsp], dl
add dl, dl
mov byte [rsp + 0x80], r9b
mov byte [rsp + 0x88], r8b
xor dl, al
mov dword [rsp + 8], eax
movzx eax, dl
movzx esi, dl
shr al, 7
add sil, sil
movzx eax, al
imul eax, eax, 0x1b
xor sil, al
mov dword [rsp + 4], eax
movzx eax, r9b
shr al, 7
movzx eax, al
imul r14d, eax, 0x1b
xor bl, r14b
movzx eax, bl
movzx r9d, bl
shr al, 7
add r9b, r9b
movzx eax, al
imul eax, eax, 0x1b
xor r9b, al
mov dword [rsp + 0xc], eax
movzx eax, r8b
shr al, 7
movzx eax, al
imul r12d, eax, 0x1b
xor r10b, r12b
movzx eax, r10b
movzx r8d, r10b
shr al, 7
xor r10b, dl
movzx eax, al
add r8b, r8b
imul ebp, eax, 0x1b
movzx eax, cl
shr al, 7
add cl, cl
movzx eax, al
imul r13d, eax, 0x1b
xor r8b, bpl
xor cl, r13b
mov dword [rsp + 0x10], r13d
movzx eax, cl
shr al, 7
movzx eax, al
imul r15d, eax, 0x1b
movzx eax, cl
add al, al
xor al, r15b
xor r10b, al
mov byte [rsp + 0x78], al
shr al, 7
xor r10b, r8b
movzx eax, al
xor r10b, r9b
imul edi, eax, 0x1b
xor r10b, sil
movzx eax, r8b
mov byte [rsp + 1], r10b
shr al, 7
movzx eax, al
imul r11d, eax, 0x1b
movzx eax, r9b
shr al, 7
movzx eax, al
imul r10d, eax, 0x1b
movzx eax, sil
xor byte [rsp + 0x78], cl
shr al, 7
movzx eax, al
imul edx, eax, 0x1b
mov r13, qword [rsp + 0x18]
movzx eax, byte [rsp + 1]
xor al, byte [rsp + 0x80]
xor al, byte [rsp]
add al, al
movzx ecx, byte [rsp + 0x78]
xor al, dl
xor cl, r8b
xor al, r10b
mov r8d, dword [rsp + 0xc]
xor al, r11b
xor cl, r9b
xor al, dil
movzx r9d, byte [r13 + 1]
xor al, bpl
xor cl, bl
xor al, r14b
movzx ebx, byte [rsp + 0x88]
xor al, byte [rsp + 4]
xor cl, sil
xor al, byte [rsp + 8]
xor al, byte [r13 + 1]
xor al, byte [rsp + 0x88]
xor al, byte [rsp + 0x80]
movzx esi, byte [rsp + 0x80]
mov byte [r13 - 2], al
movzx eax, cl
xor al, bl
xor cl, r9b
xor al, sil
add al, al
xor al, dl
xor al, r10b
xor al, r11b
xor al, dil
xor al, r15b
xor al, r12b
xor al, r8b
xor al, r14b
mov r14, r13
movzx r14d, byte [rsp]
xor al, r9b
xor al, bl
xor cl, r14b
xor al, r14b
add cl, cl
mov byte [r13 - 1], al
xor cl, dl
mov r13d, dword [rsp + 0x10]
xor cl, r10b
movzx eax, byte [rsp + 1]
xor cl, r11b
xor al, r9b
xor cl, dil
xor al, bl
xor cl, r15b
add al, al
xor cl, r13b
xor al, dl
xor cl, r8b
xor cl, byte [rsp + 8]
xor al, r10b
xor al, r11b
xor al, dil
xor al, r13b
xor al, bpl
mov rbp, qword [rsp + 0x18]
xor al, r12b
xor al, byte [rsp + 4]
xor al, r9b
xor al, sil
xor al, r14b
mov byte [rbp], al
xor cl, bl
xor cl, sil
xor cl, r14b
mov byte [rbp + 1], cl
add rbp, 4
sub qword [rsp + 0x20], 1
mov qword [rsp + 0x18], rbp
jne 0x140001950
mov rbx, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140001ec0
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov r10, rdx
mov rsi, rdx
sub r10, rcx
mov rbx, rcx
mov r8, rcx
mov r11d, 4
nop dword [rax]
mov r9d, 4
nop word [rax + rax]
movzx eax, byte [r10 + r8 + 0xa0]
xor byte [r8], al
inc r8
sub r9, 1
jne 0x140001f00
sub r11, 1
jne 0x140001ef0
mov dil, 9
lea rbp, [0x140001100]
movzx eax, byte [rbx + 9]
mov r8, rbx
movzx ecx, byte [rbx + 0xd]
mov r9d, 4
mov byte [rbx + 0xd], al
movzx eax, byte [rbx + 5]
mov byte [rbx + 9], al
movzx eax, byte [rbx + 1]
mov byte [rbx + 5], al
movzx eax, byte [rbx + 0xa]
mov byte [rbx + 1], cl
movzx ecx, byte [rbx + 2]
mov byte [rbx + 2], al
movzx eax, byte [rbx + 0xe]
mov byte [rbx + 0xa], cl
movzx ecx, byte [rbx + 6]
mov byte [rbx + 6], al
movzx eax, byte [rbx + 7]
mov byte [rbx + 0xe], cl
movzx ecx, byte [rbx + 3]
mov byte [rbx + 3], al
movzx eax, byte [rbx + 0xb]
mov byte [rbx + 7], al
movzx eax, byte [rbx + 0xf]
mov byte [rbx + 0xb], al
mov byte [rbx + 0xf], cl
nop dword [rax]
nop word [rax + rax]
mov rcx, r8
mov edx, 4
nop dword [rax + rax]
movzx eax, byte [rcx]
lea rcx, [rcx + 4]
movzx eax, byte [rax + rbp]
mov byte [rcx - 4], al
sub rdx, 1
jne 0x140001fa0
inc r8
sub r9, 1
jne 0x140001f90
movzx r8d, dil
lea r9d, [rdx + 4]
shl r8, 4
mov rax, rbx
sub r8, rbx
add r8, rsi
nop dword [rax]
nop word [rax + rax]
mov edx, 4
nop word [rax + rax]
movzx ecx, byte [r8 + rax]
xor byte [rax], cl
inc rax
sub rdx, 1
jne 0x140001ff0
sub r9, 1
jne 0x140001fe0
test dil, dil
je 0x14000201c
mov rcx, rbx
call fcn.140001920
add dil, 0xff
jmp 0x140001f25
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400047c0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 8]
sub rsp, 0x108
mov eax, 0x8000
mov qword [rsp + 0x100], r14
mov qword [rbp + 0x48], rax
mov dword [rbp + 0x38], 0x5c6c00
mov dword [rbp + 0x30], 0x5c6a00
mov dword [rbp + 0x40], 0x1000
call fcn.1400060a0
call fcn.140004980
xor ecx, ecx
call qword [0x140001250]
mov rcx, qword [rbp + 0x48]
lea rdx, [rsp + 0x20]
add rcx, rax
mov dword [rsp + 0x20], 0xefb823d6
mov qword [rbp + 0x48], rcx
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x24], 0xc3ce2662
mov dword [rsp + 0x28], 0x12554ce2
mov dword [rsp + 0x2c], 0xe773e87d
mov dword [rsp + 0x30], 0x6b779c83
mov dword [rsp + 0x34], 0x573ba9b1
mov dword [rsp + 0x38], 0xeadb5fb2
mov dword [rsp + 0x3c], 0xa28eb60d
call fcn.1400012d0
mov r14, qword [rbp + 0x48]
mov esi, dword [rbp + 0x38]
mov rbx, r14
mov dword [rbp - 0x10], 0x2d314218
mov dword [rbp - 0xc], 0xb6daeffc
mov dword [rbp - 8], 0xdf149b9
mov dword [rbp - 4], 0xbd7e7e03
test rsi, rsi
je 0x1400048dd
lea rdi, [rbp - 0x10]
sub rdi, r14
dec rsi
shr rsi, 4
inc rsi
nop
movups xmm0, xmmword [rbx]
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.140001ec0
mov ecx, 0x10
nop word [rax + rax]
movzx eax, byte [rdi + rbx]
xor byte [rbx], al
inc rbx
sub rcx, 1
jne 0x1400048c0
sub rdi, 0x10
movaps xmmword [rbp - 0x10], xmm0
sub rsi, 1
jne 0x1400048a0
mov ecx, dword [rbp + 0x30]
call fcn.1400049d0
mov r8d, dword [rbp + 0x30]
lea rdx, [r14 + 0x10]
mov rcx, rax
mov rbx, rax
call fcn.140004a70
mov r8d, dword [rbp + 0x38]
xor edx, edx
mov rcx, qword [rbp + 0x48]
call fcn.1400049a0
call fcn.140003600
mov r14, qword [rsp + 0x100]
mov rsi, rax
test rax, rax
je 0x140004965
mov r8, qword [rax + 0x30]
mov edx, 0x28
lea ecx, [rdx + 0x18]
call r8
mov rdi, rax
test rax, rax
je 0x140004965
mov qword [rax + 0x10], rsi
mov rdx, rbx
mov dword [rax + 0x18], 1
mov rcx, rdi
xor eax, eax
mov qword [rdi + 0x1c], rax
lea r8d, [rax + 1]
call fcn.140002700
test eax, eax
jne 0x140004965
mov rbx, qword [rsi + 0x38]
mov rcx, rdi
call rbx
mov rcx, rsi
call rbx
add rsp, 0x108
pop rdi
pop rsi
pop rbx
pop rbp
ret

Function at 0x140005bc0
Capabilities:
Resolve function by fnv-1a hash

Disassembly:
push rdi
sub rsp, 0x30
lea rax, [rsp + 0x20]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx edx, byte [rsp + 0x20]
mov ecx, 0x53b2070f
call fcn.140005bf0
add rsp, 0x30
pop rdi
ret

Function at 0x140006050
Capabilities:
Hash data using fnv

Disassembly:
mov byte [rsp + 0x10], dl
mov qword [rsp + 8], rcx
movsx eax, byte [rsp + 0x10]
mov rcx, qword [rsp + 8]
mov ecx, dword [rcx]
xor ecx, eax
mov eax, ecx
mov eax, eax
imul rax, rax, 0x1000193
mov rcx, qword [rsp + 8]
mov dword [rcx], eax
ret