joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180004a08
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x180000000], ax
jne 0x180004a93
movsxd rcx, dword [0x18000003c]
lea rdx, [0x180000000]
add rcx, rdx
cmp dword [rcx], 0x4550
jne 0x180004a93
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x180004a93
sub r8, rdx
movzx eax, word [rcx + 0x14]
lea rdx, [rcx + 0x18]
add rdx, rax
movzx eax, word [rcx + 6]
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
mov qword [rsp], rdx
cmp rdx, r9
je 0x180004a8f
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x180004a89
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jae 0x180004a89
test rdx, rdx
je 0x180004a8f
cmp dword [rdx + 0x24], 0
jge 0x180004a85
xor al, al
jmp 0x180004a99
mov al, 1
jmp 0x180004a99
add rdx, 0x28
jmp 0x180004a5b
xor al, al
jmp 0x180004a99
xor al, al
jmp 0x180004a99
add rsp, 0x18
ret
Function at 0x1df1230
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x1df123d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x1df124d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x1df1235
lea eax, [rcx + 1]
jmp 0x1df125b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x1df126e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x1df1254
sub eax, 3
jb 0x1df128e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x1df12dd
sar eax, 1
movsxd rbp, eax
jb 0x1df12c4
jmp 0x1df129c
add ebx, ebx
jne 0x1df129a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1df12c4
inc ecx
add ebx, ebx
jne 0x1df12aa
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1df12c4
call r11
adc ecx, ecx
add ebx, ebx
jne 0x1df12bd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x1df12ac
add ecx, 2
jmp 0x1df12c9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.01df11f2
jmp 0x1df123d
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x19d0000]
mov eax, dword [rdi]
or eax, eax
je 0x1df1339
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x19f1000]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x1df12e9
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x1df1333
mov qword [rbx], rax
add rbx, 8
jmp 0x1df1309
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x1df137d
cmp al, 0xef
ja 0x1df1365
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x1df1345
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0x1df1354
mov eax, dword [rdi]
add rdi, 4
jmp 0x1df1354
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x1df13d1
sub rsp, 0xffffffffffffff80
jmp 0x46c820
Function at 0x1406ca058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1406ca1df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x1406ca089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1406ca06f
add dl, dl
jne 0x1406ca096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1406ca0f6
xor eax, eax
add dl, dl
jne 0x1406ca0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1406ca1ad
add dl, dl
jne 0x1406ca0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406ca0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406ca0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406ca0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1406ca0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1406ca07e
mov eax, 1
add dl, dl
jne 0x1406ca106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406ca113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1406ca0fb
sub eax, ebx
mov ebx, 1
jne 0x1406ca14c
mov ecx, 1
add dl, dl
jne 0x1406ca12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1406ca13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1406ca123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1406ca07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1406ca168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1406ca175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1406ca15d
cmp eax, 0x7d00
jae 0x1406ca19b
cmp eax, 0x500
jb 0x1406ca196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1406ca07e
cmp eax, 0x7f
ja 0x1406ca19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1406ca07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1406ca1d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x1406ca07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x14000436c
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push rbx
sub rsp, 0x20
mov eax, 0x3e8
lea rcx, [rsp + 0x30]
cdq
idiv dword [0x140097020]
movsxd rbx, eax
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rcx, qword [rsp + 0x30]
sub rcx, qword [0x140097740]
imul rax, rcx, 0x3e8
mov rcx, rbx
cqo
idiv qword [0x140097748]
sub rcx, rax
cmp rcx, 2
jle 0x1400043d6
sub ebx, eax
lea ecx, [rbx - 2]
call fcn.140006fe8
jmp 0x1400043d6
movsxd rcx, dword [0x140097750]
mov rdx, rax
sub rdx, qword [0x140097740]
cmp rdx, rcx
jg 0x1400043ea
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
mov rax, qword [rsp + 0x30]
jne 0x1400043c0
mov qword [0x140097740], rax
add rsp, 0x20
pop rbx
ret
Function at 0x1400066cc
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x40
mov r14, rcx
xor ebx, ebx
call qword [sym.imp.USER32.dll_GetFocus]
lea rdx, str.PB_WindowID
mov rcx, r14
xor ebp, ebp
mov rdi, rax
call qword [sym.imp.USER32.dll_GetPropW]
mov rsi, rax
lea eax, [rbx + 9]
test rsi, rsi
je 0x14000678e
lea rdx, [rsp + 0x68]
mov rcx, r14
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
test eax, eax
je 0x1400068cf
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x68], eax
jne 0x1400068cf
mov rcx, qword [0x1400977c0]
lea rdx, [rsi - 1]
call fcn.140019404
mov ebp, 1
cmp dword [rax + 0x20], 0
mov rbx, rax
jle 0x1400068cf
mov rax, qword [rax + 8]
movsxd r8, dword [rbx + 0x20]
xor edx, edx
xor ecx, ecx
lea r10d, [rbp + 8]
cmp word [rcx + rax + 2], r10w
jne 0x14000677f
mov r9d, 0xfa01
cmp word [rcx + rax + 4], r9w
je 0x1400068c8
inc rdx
add rcx, 6
cmp rdx, r8
jl 0x140006765
mov eax, r10d
mov sil, pe_nt_image_headers64
test rdi, rdi
je 0x140006861
mov ecx, eax
call qword [sym.imp.USER32.dll_GetKeyState]
test sil, al
je 0x140006861
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
test sil, al
jne 0x140006861
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetKeyState]
test sil, al
jne 0x140006861
mov ecx, 0x12
call qword [sym.imp.USER32.dll_GetKeyState]
test sil, al
jne 0x140006861
lea rdx, [rsp + 0x20]
mov r8d, 0x10
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetClassNameW]
test ebp, ebp
jne 0x140006861
lea r8d, [rbp + 5]
lea rdx, str.RichE
lea rcx, [rsp + 0x20]
call sub.msvcrt.dll_wcsncmp
test eax, eax
je 0x14000682d
lea r8d, [rbp + 4]
lea rdx, str.RICHE
lea rcx, [rsp + 0x20]
call sub.msvcrt.dll_wcsncmp
test eax, eax
jne 0x14000684c
xor r9d, r9d
xor r8d, r8d
mov edx, 0x44e
mov rcx, rdi
call qword [sym.imp.USER32.dll_SendMessageW]
bt rax, 0xb
jae 0x1400068d9
lea rdx, str.Scintilla
lea rcx, [rsp + 0x20]
call sub.msvcrt.dll_wcscmp
test eax, eax
je 0x1400068d9
test r14, r14
je 0x1400068a3
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
test sil, al
jne 0x140006896
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetKeyState]
test sil, al
jne 0x140006896
mov ecx, 0x12
call qword [sym.imp.USER32.dll_GetKeyState]
test sil, al
je 0x1400068a3
mov edx, 1
mov rcx, r14
call fcn.1400068f0
test rdi, rdi
je 0x1400068bd
lea rdx, str.PB_Hotkey
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetPropW]
test rax, rax
jne 0x1400068d9
test rbx, rbx
je 0x1400068d9
mov rax, qword [rbx + 0x10]
jmp 0x1400068db
xor ebp, ebp
jmp 0x14000678b
mov eax, 9
jmp 0x14000678e
xor eax, eax
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x70]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret
Function at 0x140006f54
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
sub rsp, 0x28
cmp qword [0x140097100], 0
jne 0x140006fba
lea rcx, [0x140097100]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x140006fa6
movabs rax, 0x20c49ba5e353f7cf
lea rcx, [0x140097108]
imul qword [0x140097100]
sar rdx, 7
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov qword [0x140097100], rdx
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
cmp qword [0x140097100], 0
jne 0x140006fba
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov eax, eax
jmp 0x140006fe0
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rsp + 0x30]
sub rax, qword [0x140097108]
cqo
idiv qword [0x140097100]
add rsp, 0x28
ret

Function at 0x14000749c
Capabilities:
Check if file exists
Get disk information
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x380]
sub rsp, 0x480
or rbx, 0xffffffffffffffff
xor edi, edi
test rcx, rcx
je 0x1400075fe
cmp word [rcx], di
je 0x1400075fe
mov rdx, rcx
lea rcx, [rsp + 0x20]
mov r8d, 0x104
call sub.msvcrt.dll_wcsncpy
lea rcx, [rsp + 0x20]
mov word [rbp + 0x128], di
call sub.msvcrt.dll_wcslen
mov rdx, rax
cdqe
lea rcx, [rsp + rax*2 + 0x1e]
lea eax, [rdx - 2]
cmp eax, 1
ja 0x14000753b
cmp word [rsp + 0x22], 0x3a
jne 0x14000753b
cmp edx, 2
jne 0x140007522
lea rdx, [0x140047d04]
lea rcx, [rsp + 0x20]
call sub.msvcrt.dll_wcscat
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x1400075fe
jmp 0x1400075d6
cmp word [rcx], 0x5c
je 0x140007547
cmp word [rcx], 0x2f
jne 0x140007550
mov word [rcx], di
sub rcx, 2
jmp 0x14000753b
lea rdx, [rbp + 0x130]
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rcx, rax
cmp rax, rbx
je 0x140007597
test byte [rbp + 0x130], 0x10
je 0x14000757c
mov rbx, 0xfffffffffffffffe
jmp 0x14000758f
mov ebx, dword [rbp + 0x14c]
mov eax, dword [rbp + 0x150]
shl rbx, 0x20
or rbx, rax
call qword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x1400075fe
movzx ecx, word [rsp + 0x20]
movzx eax, word [rsp + 0x22]
cmp cx, 0x5c
jne 0x1400075ac
cmp ax, cx
je 0x1400075c2
cmp cx, 0x2f
jne 0x1400075b7
cmp ax, cx
je 0x1400075c2
cmp cx, 0x2e
jne 0x1400075fe
cmp ax, cx
jne 0x1400075fe
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400075df
test al, 0x10
je 0x1400075fe
mov rbx, 0xfffffffffffffffe
jmp 0x1400075fe
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov rcx, rbx
mov rbx, 0xfffffffffffffffe
cmp eax, 1
cmova rcx, rbx
mov rbx, rcx
lea r11, [rsp + 0x480]
mov rax, rbx
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret

Function at 0x140008b84
Capabilities:
Allocate thread local storage

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x140097a40], eax
add rsp, 0x28
ret
Function at 0x140008bd0
Capabilities:
Set thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
xor edi, edi
mov rbx, rcx
test rcx, rcx
je 0x140008c45
call qword [rcx + 0xb0]
mov edx, dword [rbx + 0xf4]
mov dword [rbx + 0x108], edx
mov edx, dword [rbx + 0xf8]
mov rdi, rax
mov dword [rbx + 0x10c], edx
test rax, rax
jne 0x140008c45
mov rax, qword [rbx + 0xe0]
test rax, rax
je 0x140008c1d
xor edx, edx
mov rcx, rbx
call rax
mov rcx, qword [0x140096e50]
mov r8, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, dword [0x140097a40]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
and qword [0x140097a60], 0
mov rax, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140008cac
Capabilities:
Set thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, qword [0x140097a60]
test rbx, rbx
je 0x140008d05
mov rcx, rbx
call qword [rbx + 0xb8]
mov rax, qword [rbx + 0xe0]
test rax, rax
je 0x140008cdd
mov edx, 1
mov rcx, rbx
call rax
mov rcx, qword [0x140096e50]
mov r8, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, dword [0x140097a40]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
and qword [0x140097a60], 0
add rsp, 0x20
pop rbx
ret

Function at 0x140008da4
Capabilities:
Set thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov ebx, ecx
mov rcx, qword [0x140096e50]
mov edx, 8
mov r8d, 0x250
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, dword [0x140097a40]
mov rdx, rax
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov qword [0x140097a60], rdi
and dword [rdi + 0x11c], 0
or eax, 0xffffffff
mov edx, ebx
mov rcx, rdi
mov dword [rdi + 0x118], 0xffffff
mov dword [rdi + 0xe8], 2
mov dword [rdi + 0xec], 0x3f
mov dword [rdi + 0x120], eax
mov dword [rdi + 0x124], eax
call fcn.14000c36c
mov rbx, qword [rsp + 0x30]
lea rax, [0x140009c5c]
mov qword [rdi + 0xb0], rax
lea rax, [0x140009cc0]
mov qword [rdi + 0xb8], rax
lea rax, [fcn.140009700]
mov qword [rdi + 0x20], rax
lea rax, [0x1400095b0]
mov qword [rdi + 0x60], rax
lea rax, [0x140009d64]
mov qword [rdi + 0xc8], rax
lea rax, [0x140009d0c]
mov qword [rdi + 0xc0], rax
lea rax, [0x14000923c]
mov qword [rdi + 0x68], rax
lea rax, [0x1400091e0]
mov qword [rdi + 0x48], rax
lea rax, [0x14000920c]
mov qword [rdi + 0x50], rax
lea rax, [0x140009090]
mov qword [rdi + 0x58], rax
lea rax, [0x140009a54]
mov qword [rdi + 0x88], rax
mov rax, rdi
add rsp, 0x20
pop rdi
ret
Function at 0x1400109a8
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
mov r10d, dword [rsp + 0x68]
movsxd rsi, dword [rcx + 0x160]
mov ebx, r8d
mov r12, rdx
mov r11, rcx
test r10d, r10d
je 0x140010a6f
mov eax, dword [rsp + 0x50]
mov ecx, ebx
mov ebp, ebx
shl eax, 2
imul ecx, dword [rsp + 0x58]
movsxd r13, eax
mov eax, esi
imul eax, r9d
mov r9d, dword [rsp + 0x48]
neg ebp
movsxd rdi, eax
mov qword [rsp + 0x28], rdi
mov eax, dword [r11 + 0x158]
movsxd r8, ecx
add r8, r13
add r8, r12
imul eax, r9d
movsxd rdx, eax
add rdx, qword [r11 + 0x150]
add rdx, rdi
cmp dword [rsp + 0x60], 0
jle 0x140010a54
mov edi, dword [rsp + 0x60]
mov al, byte [r8 + 2]
xor byte [rdx + 2], al
mov al, byte [r8 + 1]
xor byte [rdx + 1], al
mov al, byte [r8]
lea r8, [r8 + 4]
xor byte [rdx], al
add rdx, rsi
dec rdi
jne 0x140010a30
mov rdi, qword [rsp + 0x28]
dec r10d
inc r9d
cmp dword [r11 + 0x174], 0
jne 0x140010a68
add ecx, ebp
jmp 0x140010a6a
add ecx, ebx
test r10d, r10d
jne 0x140010a04
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
pop r14
pop r13
pop r12
pop rdi
ret

Function at 0x140011810
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
mov r11d, dword [rsp + 0x68]
movsxd rsi, dword [rcx + 0x160]
mov edi, r8d
mov r12, rdx
mov rbx, rcx
test r11d, r11d
je 0x1400118d9
mov eax, dword [rsp + 0x50]
mov ecx, r8d
mov ebp, r8d
lea r10d, [rax + rax*2]
mov eax, esi
imul ecx, dword [rsp + 0x58]
movsxd r13, r10d
imul eax, r9d
mov r9d, dword [rsp + 0x48]
movsxd r10, eax
mov qword [rsp + 0x28], r10
neg ebp
mov eax, dword [rbx + 0x158]
movsxd r8, ecx
add r8, r13
add r8, r12
imul eax, r9d
movsxd rdx, eax
add rdx, qword [rbx + 0x150]
add rdx, r10
cmp dword [rsp + 0x60], 0
jle 0x1400118bf
mov r10d, dword [rsp + 0x60]
mov al, byte [r8 + 2]
xor byte [rdx + 2], al
mov al, byte [r8 + 1]
xor byte [rdx + 1], al
mov al, byte [r8]
lea r8, [r8 + 3]
xor byte [rdx], al
add rdx, rsi
dec r10
jne 0x14001189b
mov r10, qword [rsp + 0x28]
dec r11d
inc r9d
cmp dword [rbx + 0x174], 0
jne 0x1400118d2
add ecx, ebp
jmp 0x1400118d4
add ecx, edi
test r11d, r11d
jne 0x14001186f
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x140013500
Capabilities:
Get file size
Read file on windows

Disassembly:
xor r8d, r8d
jmp 0x140013508
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x40
mov rax, rdx
xor ebx, ebx
mov r14, rcx
mov qword [rsp + 0x30], rbx
lea r8d, [rbx + 1]
xor r9d, r9d
mov edx, 0x80000000
mov rcx, rax
mov dword [rsp + 0x28], pe_nt_image_headers64
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbp, rax
cmp rax, 0xffffffffffffffff
je 0x1400135cb
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov rcx, qword [0x140096e50]
xor edx, edx
mov r8d, eax
mov edi, eax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rsi, rax
test rax, rax
je 0x1400135c2
lea r9, [rsp + 0x78]
mov r8d, edi
mov rdx, rax
mov rcx, rbp
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400135b0
cmp dword [rsp + 0x78], edi
jne 0x1400135b0
mov r8d, edi
mov rdx, rsi
mov rcx, r14
call fcn.1400135e4
mov rbx, rax
mov rcx, qword [0x140096e50]
mov r8, rsi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbp, qword [rsp + 0x68]
mov rax, rbx
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret

Function at 0x140013508
Capabilities:
Get file size
Read file on windows

Disassembly:
xor r8d, r8d
jmp 0x140013508
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x40
mov rax, rdx
xor ebx, ebx
mov r14, rcx
mov qword [rsp + 0x30], rbx
lea r8d, [rbx + 1]
xor r9d, r9d
mov edx, 0x80000000
mov rcx, rax
mov dword [rsp + 0x28], pe_nt_image_headers64
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbp, rax
cmp rax, 0xffffffffffffffff
je 0x1400135cb
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov rcx, qword [0x140096e50]
xor edx, edx
mov r8d, eax
mov edi, eax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rsi, rax
test rax, rax
je 0x1400135c2
lea r9, [rsp + 0x78]
mov r8d, edi
mov rdx, rax
mov rcx, rbp
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400135b0
cmp dword [rsp + 0x78], edi
jne 0x1400135b0
mov r8d, edi
mov rdx, rsi
mov rcx, r14
call fcn.1400135e4
mov rbx, rax
mov rcx, qword [0x140096e50]
mov r8, rsi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbp, qword [rsp + 0x68]
mov rax, rbx
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret
Function at 0x14003a280
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
mov r11d, edx
mov r10, rcx
mov r8d, 0x80000000
test rcx, rcx
je 0x14003a2ef
mov qword [rsp], rbx
lea rbx, [0x14004d840]
test r10b, 1
je 0x14003a2e3
mov ecx, r11d
mov eax, r8d
mov edx, 0x80000000
and ecx, 0x1f
xor r8d, r8d
mov r9d, dword [rbx + rcx*4]
nop dword [rax + rax]
test r9d, edx
je 0x14003a2d0
lea ecx, [rdx - 1]
xor r8d, eax
test r9d, ecx
je 0x14003a2e3
shr edx, 1
test al, 1
je 0x14003a2df
shr eax, 1
xor eax, 0xedb88320
jmp 0x14003a2c0
shr eax, 1
jmp 0x14003a2c0
inc r11d
sar r10, 1
jne 0x14003a2a0
mov rbx, qword [rsp]
mov eax, r8d
add rsp, 8
ret
Function at 0x1400032e0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r13
push r14
push r15
sub rsp, 0x80
mov rax, qword [0x140021008]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov r15, rdx
mov rsi, rcx
xor edi, edi
mov qword [rsp + 0x58], rdi
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
lea rbx, [rcx + 0x10]
mov qword [rsp + 0x50], rbx
mov rcx, rbx
call fcn.140006048
test eax, eax
jne 0x1400034a2
cmp qword [rsi], rdi
je 0x140003468
mov rdx, r15
lea rcx, [rsp + 0x30]
call fcn.140003080
lea rcx, [rsp + 0x30]
mov rbp, qword [rsp + 0x30]
mov r14, qword [rsp + 0x48]
cmp r14, 0x10
cmovae rcx, rbp
movabs r9, 0xcbf29ce484222325
mov rdx, qword [rsp + 0x40]
test rdx, rdx
je 0x140003394
movabs r8, 0x100000001b3
movzx eax, byte [rdi + rcx]
xor r9, rax
imul r9, r8
inc rdi
cmp rdi, rdx
jb 0x140003381
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x20]
lea rcx, [rsi + 0x68]
call fcn.1400045c0
mov rdi, qword [rax + 8]
test rdi, rdi
jne 0x1400033b4
mov rdi, qword [rsi + 0x70]
cmp r14, 0x10
jb 0x1400033eb
lea rdx, [r14 + 1]
mov rax, rbp
cmp rdx, 0x1000
jb 0x1400033e3
add rdx, 0x27
mov rbp, qword [rbp - 8]
sub rax, rbp
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000349c
mov rcx, rbp
call fcn.140004704
cmp rdi, qword [rsi + 0x70]
je 0x1400033f7
mov rdi, qword [rdi + 0x30]
jmp 0x140003468
mov rdx, r15
lea rcx, [rsp + 0x60]
call qword [sym.imp.ntdll.dll_RtlInitAnsiStringEx]
test eax, eax
js 0x14000341f
lea r9, [rsp + 0x58]
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsi]
call qword [sym.imp.ntdll.dll_LdrGetProcedureAddress]
mov rdi, qword [rsp + 0x58]
test rdi, rdi
je 0x140003468
cmp byte [rsi + 0x60], 0
je 0x140003446
mov rdx, rdi
mov rcx, qword [rsi + 0xa8]
call fcn.140003650
mov rdi, rax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x20], r15
mov qword [rsp + 0x28], rdi
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x30]
lea rcx, [rsi + 0x68]
call fcn.140003a50
mov rdi, qword [rsp + 0x58]
mov rcx, rbx
call fcn.140006050
mov rax, rdi
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1400046a0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rsi
ret
call fcn.14000ba98
nop
mov ecx, eax
call fcn.140005b08
int3