joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14015c714
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x30
movsxd rbp, ecx
mov r9, r8
mov rax, rbp
lea rcx, [0x140191c00]
and eax, 0x3f
mov r10, rbp
sar r10, 6
xor edi, edi
mov rsi, rdx
mov r14, rbp
lea r8, [rax + rax*8]
mov rax, qword [rcx + r10*8]
mov ecx, 4
mov qword [rsp + 0x78], rcx
mov r11, qword [rax + r8*8 + 0x28]
lea r12d, [rcx + 6]
test r9, r9
je 0x14015c772
cmp word [rdx], r12w
jne 0x14015c772
or byte [rax + r8*8 + 0x38], cl
jmp 0x14015c778
and byte [rax + r8*8 + 0x38], 0xfb
lea rdx, [rdx + r9*2]
mov rcx, rsi
mov rbx, rsi
cmp rsi, rdx
jae 0x14015c8d3
mov r9d, 0x1a
lea r13d, [r9 - 0xd]
movzx eax, word [rcx]
cmp ax, r9w
je 0x14015c8ae
lea r9, [rcx + 2]
cmp ax, r13w
je 0x14015c7b1
mov rcx, r9
jmp 0x14015c7d4
cmp r9, rdx
jae 0x14015c7eb
cmp word [r9], r12w
mov eax, 2
cmove rax, qword [rsp + 0x78]
add rcx, rax
mov eax, r12d
cmp word [r9], r12w
cmovne ax, r13w
mov word [rbx], ax
mov r9d, 0x1a
add rbx, 2
cmp rcx, rdx
jb 0x14015c795
jmp 0x14015c8d3
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rdi
mov r8d, 2
lea rdx, [rsp + 0x70]
mov rcx, r11
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14015c8a8
cmp dword [rsp + 0x80], edi
je 0x14015c8a8
mov rdx, r14
lea r11, [0x140191c00]
sar rdx, 6
and r14d, 0x3f
mov rax, qword [r11 + rdx*8]
lea r8, [r14 + r14*8]
test byte [rax + r8*8 + 0x38], 0x48
je 0x14015c881
movzx eax, word [rsp + 0x70]
cmp ax, r12w
jne 0x14015c854
mov word [rbx], r12w
jmp 0x14015c8cf
mov word [rbx], r13w
mov word [rsp + 0x78], ax
mov rax, qword [r11 + rdx*8]
lea rcx, [rax + r8*8]
mov al, byte [rsp + rdi + 0x78]
mov byte [rcx + rdi + 0x3a], al
inc rdi
cmp rdi, 2
jl 0x14015c85d
mov rax, qword [r11 + rdx*8]
mov byte [rax + r8*8 + 0x3c], r12b
jmp 0x14015c8cf
cmp word [rsp + 0x70], r12w
jne 0x14015c88e
cmp rbx, rsi
je 0x14015c84e
mov rdx, 0xfffffffffffffffe
mov ecx, ebp
lea r8d, [rdx + 3]
call fcn.140161ef8
cmp word [rsp + 0x70], r12w
je 0x14015c8d3
mov word [rbx], r13w
jmp 0x14015c8cf
lea r11, [0x140191c00]
mov rcx, qword [r11 + r10*8]
mov al, byte [rcx + r8*8 + 0x38]
test al, 0x40
jne 0x14015c8cb
or al, 2
mov byte [rcx + r8*8 + 0x38], al
jmp 0x14015c8d3
mov word [rbx], r9w
add rbx, 2
sub rbx, rsi
sar rbx, 1
lea eax, [rbx + rbx]
add rsp, 0x30
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140161b14
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov rsi, rcx
test rcx, rcx
jne 0x140161b46
call fcn.140149c40
mov dword [rax], 0x16
call fcn.140149ad4
jmp 0x140161c65
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x140161c65
mov eax, dword [rcx + 0x14]
shr eax, 0xc
test al, 1
jne 0x140161c65
mov eax, dword [rcx + 0x14]
shr eax, 1
test al, 1
je 0x140161b75
lock or dword [rcx + 0x14], 0x10
jmp 0x140161c65
lock or dword [rcx + 0x14], 1
mov eax, dword [rcx + 0x14]
test eax, 0x4c0
jne 0x140161b89
call fcn.1401691a0
mov rdi, qword [rsi + 8]
mov rcx, rsi
mov ebx, dword [rsi + 0x20]
mov qword [rsi], rdi
call fcn.140160124
mov r8d, ebx
mov rdx, rdi
mov ecx, eax
call fcn.14015cbc0
mov dword [rsi + 0x10], eax
lea ecx, [rax + 1]
cmp ecx, 1
jbe 0x140161c53
mov eax, dword [rsi + 0x14]
or edi, 0xffffffff
test al, 6
jne 0x140161c1e
mov rcx, rsi
call fcn.140160124
cmp eax, edi
je 0x140161c09
mov rcx, rsi
call fcn.140160124
cmp eax, 0xfffffffe
je 0x140161c09
mov rcx, rsi
call fcn.140160124
movsxd rbx, eax
lea r14, [0x140191c00]
mov rcx, rsi
sar rbx, 6
call fcn.140160124
and eax, 0x3f
lea rcx, [rax + rax*8]
mov rax, qword [r14 + rbx*8]
lea rdx, [rax + rcx*8]
jmp 0x140161c10
lea rdx, [0x1401903f0]
mov al, byte [rdx + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x140161c1e
lock or dword [rsi + 0x14], 0x20
cmp dword [rsi + 0x20], 0x200
jne 0x140161c42
mov eax, dword [rsi + 0x14]
shr eax, 6
test al, 1
je 0x140161c42
mov eax, dword [rsi + 0x14]
shr eax, 8
test al, 1
jne 0x140161c42
mov dword [rsi + 0x20], 0x1000
mov rax, qword [rsi]
add dword [rsi + 0x10], edi
movzx edi, byte [rax]
inc rax
mov qword [rsi], rax
jmp 0x140161c68
neg eax
sbb eax, eax
and eax, 8
add eax, 8
lock or dword [rsi + 0x14], eax
and dword [rsi + 0x10], 0
or edi, 0xffffffff
mov rbx, qword [rsp + 0x30]
mov eax, edi
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop r14
ret

Function at 0x1401621ac
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x28
mov rdx, rcx
test rcx, rcx
jne 0x140162189
call fcn.140149c40
mov dword [rax], 0x16
call fcn.140149ad4
or eax, 0xffffffff
jmp 0x1401621a6
sub dword [rcx + 0x10], 1
jns 0x140162198
add rsp, 0x28
jmp fcn.140161b14
mov rax, qword [rcx]
movzx ecx, byte [rax]
inc rax
mov qword [rdx], rax
mov eax, ecx
add rsp, 0x28
ret
jmp 0x140162168
Function at 0x14016287c
Capabilities:
Clear file content

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, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.140161ef8
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.140161ef8
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x1401629cc
cmp rax, 0xffffffffffffffff
je 0x1401629cc
xor edi, edi
test rbp, rbp
jle 0x140162977
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.140160d2c
mov rbx, rax
test rax, rax
jne 0x140162904
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x14016296d
mov edx, 0x8000
mov ecx, r14d
call fcn.14015c404
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.14015db04
cmp eax, 0xffffffff
je 0x14016294d
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140162914
mov edx, r15d
mov ecx, r14d
call fcn.14015c404
jmp 0x14016296d
cmp byte [rsi + 0x38], dil
je 0x140162964
cmp dword [rsi + 0x34], 5
jne 0x140162964
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x14016296d
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14015ed50
jmp 0x1401629e0
jns 0x1401629e0
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.140161ef8
cmp rax, 0xffffffffffffffff
jne 0x140162998
cmp byte [rsi + 0x30], dil
je 0x1401629e0
mov edi, dword [rsi + 0x2c]
jmp 0x1401629e0
mov ecx, r14d
call fcn.14016276c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1401629e0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x1401629e0
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x1401629d9
mov eax, dword [rsi + 0x2c]
jmp 0x1401629de
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.140161ef8
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x14016619c
Capabilities:
Query environment variable

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, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x1401661cc
xor eax, eax
jmp 0x14016628f
mov rbp, rbx
cmp word [rax], si
je 0x1401661f1
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1401661d8
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1401661d4
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.140163204
movsxd r14, eax
test eax, eax
jne 0x14016622f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1401661c5
mov rcx, r14
call fcn.14015ed8c
mov rdi, rax
test rax, rax
jne 0x140166248
xor ecx, ecx
call fcn.14015ed50
jmp 0x140166224
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.140163204
test eax, eax
jne 0x140166279
mov rcx, rdi
call fcn.14015ed50
jmp 0x140166283
xor ecx, ecx
call fcn.14015ed50
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x1401662ac
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x140166333
mov rsi, rbx
cmp word [rax], bp
je 0x1401662f2
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x1401662dc
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x1401662d8
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.14015ed8c
mov rdi, rax
test rax, rax
je 0x140166320
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.140144dd0
mov rbp, rdi
xor ecx, ecx
call fcn.14015ed50
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140167998
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1401679b8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140149bb4
or eax, 0xffffffff
jmp 0x1401679ba
xor eax, eax
add rsp, 0x28
ret

Function at 0x14016accc
Capabilities:
Set environment variable

Disassembly:
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.14014f100
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14016ad56
cmp byte [rbp - 0x21], r15b
je 0x14016ad51
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x14016ad8c
call fcn.140160fbc
test eax, eax
jne 0x14016ad78
cmp byte [rbp - 0x21], r15b
je 0x14016ad70
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14016ad8c
cmp byte [rbp - 0x21], r15b
je 0x14016ad89
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.140158954
test eax, eax
jne 0x14016ae2c
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14014f100
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14016adcb
cmp byte [rbp - 0x21], r15b
je 0x14016ae00
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14016ae00
call fcn.140160fbc
test eax, eax
jne 0x14016adec
cmp byte [rbp - 0x21], r15b
je 0x14016ade5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x14016ae00
cmp byte [rbp - 0x21], r15b
je 0x14016adfd
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.140158954
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14016ae2c
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14016ae2f
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14016ae3d
mov rcx, rdi
call fcn.14015ed50
cmp byte [rbp + 0x3f], r15b
je 0x14016ae4c
mov rcx, qword [rbp + 0x27]
call fcn.14015ed50
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 0x14000c880
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 0x14000c910
cmp r10, r11
jb 0x14000c986
cmp r10, rdx
ja 0x14000c99a
add r11, r9
xor r15d, r15d
nop word cs:[rax + rax]
cmp r14, r15
je 0x14000c912
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x14000c8f0
jmp 0x14000c974
ja 0x14000c91a
mov r11, r10
cmp rax, r8
jne 0x14000c8b4
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 0x14000c950
mov rdi, r8
sub ecx, edx
jns 0x14000c96b
jmp 0x14000c976
cmp r8, rsi
je 0x14000c9ab
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x14000c976
xor al, 1
cmp rdi, rsi
jne 0x14000c930
jmp 0x14000c976
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.1401450d0
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.140144eb0
ud2
lea rcx, [0x1401d1846]
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.140144ec0
ud2
Function at 0x140025510
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov r9, r8
mov r8, qword [rdx + 8]
mov r11d, dword [rdx]
mov r10d, dword [rdx + 4]
mov dword [rsp + 0x20], r11d
lea rax, [rsp + 0x24]
mov dword [rsp + 0x24], r10d
cmp qword [r8 + 0x20], r11
jbe 0x1400255aa
mov rdi, qword [r8 + 0x18]
test rdi, rdi
je 0x1400255aa
imul rbx, r11, 0x130
cmp dword [rdi + rbx + 0x88], 2
je 0x1400255aa
lea rsi, [rdi + rbx]
cmp dword [rsi + 0xb8], r10d
jne 0x1400255aa
mov ebp, dword [rsi + 0x4c]
xor edx, edx
test ebp, ebp
cmovg edx, ebp
jle 0x1400255a0
add rdi, rbx
add rdi, 0x88
mov dword [rsp + 0x20], r11d
mov dword [rsp + 0x24], r10d
cmp dword [rdi], 2
je 0x1400255f5
cmp dword [rsi + 0xb8], r10d
jne 0x1400255f5
sub dword [rsi + 0x4c], edx
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
jmp fcn.140025020
nop
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
ret
mov qword [rsp + 0x28], rax
lea rax, [0x14001aab0]
mov qword [rsp + 0x30], rax
lea rax, str.dangling_store_key_for_stream_id
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], 1
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x28]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], 1
lea rdx, [0x1401735b8]
jmp 0x14002563e
mov qword [rsp + 0x28], rax
lea rax, [0x14001aab0]
mov qword [rsp + 0x30], rax
lea rax, str.dangling_store_key_for_stream_id
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], 1
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x28]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], 1
lea rdx, [0x1401735d0]
lea rcx, [rsp + 0x38]
call fcn.140144de0
ud2
Function at 0x140027720
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
mov rax, rcx
add qword [rcx + 0x30], r8
mov r11, qword [rcx + 0x40]
test r11, r11
je 0x140027762
mov r10d, 8
sub r10, r11
cmp r8, r10
mov rdi, r10
cmovb rdi, r8
cmp rdi, 3
jbe 0x14002776a
mov esi, dword [rdx]
mov r9d, 4
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jb 0x14002777b
jmp 0x140027792
xor r10d, r10d
jmp 0x14002781d
xor r9d, r9d
xor esi, esi
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jae 0x140027792
movzx ebx, word [rdx + r9]
lea ecx, [r9*8]
shl rbx, cl
or rsi, rbx
or r9, 2
cmp r9, rdi
jae 0x1400277a9
movzx edi, byte [rdx + r9]
shl r9d, 3
mov ecx, r9d
shl rdi, cl
or rsi, rdi
lea ecx, [r11*8]
shl rsi, cl
or rsi, qword [rax + 0x38]
mov qword [rax + 0x38], rsi
cmp r10, r8
jbe 0x1400277c9
add r11, r8
jmp 0x1400278fa
mov r11, qword [rax + 0x18]
mov r9, qword [rax + 0x10]
mov rcx, qword [rax]
add rcx, r9
rol r9, 0xd
xor r11, rsi
xor r9, rcx
rol rcx, 0x20
mov rdi, qword [rax + 8]
add rdi, r11
rol r11, 0x10
xor r11, rdi
add rcx, r11
rol r11, 0x15
xor r11, rcx
add rdi, r9
rol r9, 0x11
mov qword [rax + 0x18], r11
xor r9, rdi
rol rdi, 0x20
mov qword [rax + 0x10], r9
mov qword [rax + 8], rdi
xor rcx, rsi
mov qword [rax], rcx
sub r8, r10
mov r11d, r8d
and r11d, 7
and r8, 0xfffffffffffffff8
cmp r10, r8
jae 0x140027892
mov rcx, qword [rax]
mov r9, qword [rax + 8]
mov rdi, qword [rax + 0x18]
mov rsi, qword [rax + 0x10]
nop
add rcx, rsi
rol rsi, 0xd
mov rbx, qword [rdx + r10]
xor rsi, rcx
rol rcx, 0x20
xor rdi, rbx
add r9, rdi
rol rdi, 0x10
xor rdi, r9
add rcx, rdi
rol rdi, 0x15
add r9, rsi
rol rsi, 0x11
xor rsi, r9
rol r9, 0x20
xor rdi, rcx
xor rcx, rbx
add r10, 8
cmp r10, r8
jb 0x140027840
mov qword [rax + 0x18], rdi
mov qword [rax + 0x10], rsi
mov qword [rax + 8], r9
mov qword [rax], rcx
cmp r11d, 3
jbe 0x1400278b0
mov r9d, dword [rdx + r10]
mov r8d, 4
mov rcx, r8
or rcx, 1
cmp rcx, r11
jb 0x1400278c2
jmp 0x1400278dc
xor r8d, r8d
xor r9d, r9d
mov rcx, r8
or rcx, 1
cmp rcx, r11
jae 0x1400278dc
lea rcx, [r8 + r10]
movzx esi, word [rdx + rcx]
lea ecx, [r8*8]
shl rsi, cl
or r9, rsi
or r8, 2
cmp r8, r11
jae 0x1400278f6
add r10, r8
movzx edx, byte [rdx + r10]
shl r8d, 3
mov ecx, r8d
shl rdx, cl
or r9, rdx
mov qword [rax + 0x38], r9
mov qword [rax + 0x40], r11
pop rbx
pop rdi
pop rsi
ret
Function at 0x14003e960
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x78
mov rsi, rdx
cmp dword [rcx], 2
jne 0x14003e9f6
movdqu xmm0, xmmword [rcx + 8]
pshufd xmm1, xmm0, 0x44
pxor xmm1, xmmword [str.uespemosarenegylmodnarodsetybdet_________________t_t_t_t_t_t_t_t_t_t_t_t_t_t_t_t]
movdqa xmmword [rsp + 0x30], xmm1
pshufd xmm1, xmm0, 0xee
pxor xmm1, xmmword [0x14014f6c0]
movdqa xmmword [rsp + 0x40], xmm1
movdqa xmmword [rsp + 0x50], xmm0
pxor xmm0, xmm0
movdqa xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], 0
mov rdi, qword [rsi + 0x18]
xor eax, eax
test rdi, rdi
setne al
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x28]
mov r8d, 8
call fcn.140027720
test rdi, rdi
je 0x14003ea85
mov rdx, qword [rsi]
mov r8, qword [rsi + 8]
lea rcx, [rsp + 0x30]
jmp 0x14003ea9d
mov rdx, qword [rsi + 0x18]
xor ecx, ecx
test rdx, rdx
setne cl
movabs rax, 0xcbf29ce484222325
xor rax, rcx
movabs rcx, 0x1efac7090aef4a21
imul rax, rcx
test rdx, rdx
je 0x14003eb95
mov r9, qword [rsi + 8]
test r9, r9
je 0x14003ec18
mov rcx, qword [rsi]
movabs rdx, 0x100000001b3
mov r10, r9
and r10, 7
je 0x14003eba4
mov r11, rax
mov r8, rcx
nop word cs:[rax + rax]
movzx eax, byte [r8]
inc r8
xor rax, r11
imul rax, rdx
mov r11, rax
dec r10
jne 0x14003ea60
cmp r9, 8
jae 0x14003ebad
jmp 0x14003ec18
movzx eax, byte [rsi]
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x28]
mov r8d, 8
call fcn.140027720
mov rcx, qword [rsp + 0x40]
mov r9, qword [rsp + 0x60]
shl r9, 0x38
or r9, qword [rsp + 0x68]
mov rax, qword [rsp + 0x48]
mov r8, qword [rsp + 0x30]
add r8, rcx
rol rcx, 0xd
xor rax, r9
xor rcx, r8
rol r8, 0x20
mov rdx, qword [rsp + 0x38]
add rdx, rax
rol rax, 0x10
xor rax, rdx
add r8, rax
rol rax, 0x15
add rdx, rcx
rol rcx, 0x11
xor rax, r8
xor rcx, rdx
rol rdx, 0x20
xor r8, r9
add r8, rcx
rol rcx, 0xd
xor rcx, r8
rol r8, 0x20
xor rdx, 0xff
add rdx, rax
rol rax, 0x10
xor rax, rdx
add r8, rax
rol rax, 0x15
add rdx, rcx
rol rcx, 0x11
xor rcx, rdx
rol rdx, 0x20
xor rax, r8
add r8, rcx
rol rcx, 0xd
xor rcx, r8
rol r8, 0x20
add rdx, rax
rol rax, 0x10
xor rax, rdx
add r8, rax
rol rax, 0x15
add rdx, rcx
rol rcx, 0x11
xor rcx, rdx
rol rdx, 0x20
xor rax, r8
add r8, rcx
rol rcx, 0xd
xor rcx, r8
add rdx, rax
shl rax, 0x10
xor rax, rdx
shr rax, 0x2b
add rdx, rcx
shr rcx, 0x2f
xor rcx, rax
mov rax, rdx
shr rax, 0x20
xor rax, rdx
xor rax, rcx
jmp 0x14003ec18
movzx edx, byte [rsi]
xor rax, rdx
imul rax, rcx
jmp 0x14003ec18
mov r8, rcx
cmp r9, 8
jb 0x14003ec18
add rcx, r9
movzx r9d, byte [r8]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 1]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 2]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 3]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 4]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 5]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 6]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 7]
add r8, 8
xor rax, r9
imul rax, rdx
cmp r8, rcx
jne 0x14003ebb0
and eax, 0x7fff
add rsp, 0x78
pop rdi
pop rsi
ret
Function at 0x14007f710
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x100
mov r9, r8
mov r8, rdx
mov rsi, rcx
mov qword [rsp + 0xf8], 0
mov qword [rsp + 0xd8], 0
mov qword [rsp + 0xe8], 0
lea rcx, [rsp + 0x80]
lea rdx, [rsp + 0xd8]
call fcn.14010f610
mov edi, dword [rsp + 0x98]
cmp edi, 2
jne 0x14007f811
movzx ebx, byte [rsp + 0x80]
mov rcx, qword [0x1401e4bf8]
test rcx, rcx
jne 0x14007f799
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x14007f968
mov rcx, rax
mov qword [0x1401e4bf8], rax
mov r8d, 1
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapAlloc]
test rax, rax
je 0x14007f968
mov rdi, rax
mov byte [rax], bl
mov rcx, qword [0x1401e4bf8]
test rcx, rcx
jne 0x14007f7da
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x14007f957
mov rcx, rax
mov qword [0x1401e4bf8], rax
mov r8d, 0x70
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapAlloc]
test rax, rax
je 0x14007f957
mov qword [rax], rdi
lea rcx, [0x14019e3b0]
mov qword [rax + 8], rcx
mov dword [rax + 0x28], 2
mov word [rax + 0x68], 0
jmp 0x14007f942
mov rbx, qword [rsp + 0x80]
movups xmm0, xmmword [rsp + 0x88]
movaps xmmword [rsp + 0x70], xmm0
movups xmm0, xmmword [rsp + 0x9c]
movaps xmmword [rsp + 0x40], xmm0
movups xmm0, xmmword [rsp + 0xac]
movaps xmmword [rsp + 0x50], xmm0
mov eax, dword [rsp + 0xbc]
mov dword [rsp + 0x60], eax
movzx eax, byte [rsp + 0xc0]
movups xmm0, xmmword [rsp + 0xc1]
movaps xmmword [rsp + 0x20], xmm0
mov rcx, qword [rsp + 0xd0]
mov qword [rsp + 0x2f], rcx
test al, al
je 0x14007f8b3
mov qword [rsi], rbx
movaps xmm0, xmmword [rsp + 0x70]
movups xmmword [rsi + 8], xmm0
mov dword [rsi + 0x18], edi
movaps xmm0, xmmword [rsp + 0x40]
movaps xmm1, xmmword [rsp + 0x50]
movups xmmword [rsi + 0x1c], xmm0
movups xmmword [rsi + 0x2c], xmm1
mov ecx, dword [rsp + 0x60]
mov dword [rsi + 0x3c], ecx
mov byte [rsi + 0x40], al
movaps xmm0, xmmword [rsp + 0x20]
movups xmmword [rsi + 0x41], xmm0
mov rax, qword [rsp + 0x2f]
mov qword [rsi + 0x50], rax
jmp 0x14007f94c
mov rcx, qword [0x1401e4bf8]
test rcx, rcx
jne 0x14007f8d8
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x14007f957
mov rcx, rax
mov qword [0x1401e4bf8], rax
mov r8d, 0x70
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapAlloc]
test rax, rax
je 0x14007f957
mov qword [rax], 1
lea rcx, [0x14019e158]
mov qword [rax + 8], rcx
mov word [rax + 0x68], 0
mov qword [rax + 0x10], rbx
movaps xmm0, xmmword [rsp + 0x70]
movups xmmword [rax + 0x18], xmm0
mov dword [rax + 0x28], edi
movaps xmm0, xmmword [rsp + 0x40]
movaps xmm1, xmmword [rsp + 0x50]
movups xmmword [rax + 0x2c], xmm0
movups xmmword [rax + 0x3c], xmm1
mov ecx, dword [rsp + 0x60]
mov dword [rax + 0x4c], ecx
mov byte [rax + 0x50], 0
movaps xmm0, xmmword [rsp + 0x20]
movups xmmword [rax + 0x51], xmm0
mov rcx, qword [rsp + 0x2f]
mov qword [rax + 0x60], rcx
mov qword [rsi], rax
mov dword [rsi + 0x18], 2
add rsp, 0x100
pop rbx
pop rdi
pop rsi
ret
mov ecx, 0x70
mov edx, 8
call fcn.140144b00
ud2
mov ecx, 1
mov edx, 1
call fcn.140144b00
ud2
Function at 0x1400810d0
Capabilities:
Generate random numbers via winapi

Disassembly:
sub rsp, 0x38
test rcx, rcx
je 0x1400810f1
mov r8, qword [rcx]
mov rax, qword [rcx + 8]
mov rdx, qword [rcx + 0x10]
mov qword [rcx], 0
cmp r8, 1
je 0x140081127
xorps xmm0, xmm0
movaps xmmword [rsp + 0x20], xmm0
lea rdx, [rsp + 0x20]
xor ecx, ecx
mov r8d, 0x10
mov r9d, 2
call qword [sym.imp.bcrypt.dll_BCryptGenRandom]
test eax, eax
js 0x140081122
mov rax, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
jmp 0x140081127
call fcn.1400f5d20
mov ecx, dword [0x1401e4c88]
mov r8, qword gs:[0x58]
mov rcx, qword [r8 + rcx*8]
mov qword [rcx + 0x48], 1
mov qword [rcx + 0x50], rax
mov qword [rcx + 0x58], rdx
add rsp, 0x38
ret