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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
mov eax, 0x1060
call fcn.140027fd0
sub rsp, rax
mov rax, qword [0x1400a7430]
xor rax, rsp
mov qword [rsp + 0x1050], rax
test byte [rcx + 0x50], 0x20
mov rdi, rcx
jne 0x14000c230
call fcn.14000b460
test eax, eax
jne 0x14000c36a
lea rax, str.nvdrssel.bin
mov edx, 0x400
lea rbx, [rdi + 0x58]
mov qword [rsp + 0x20], rax
mov r9, rbx
lea r8, str._s_s
lea rcx, [rsp + 0x50]
call fcn.14000ddc0
lea rcx, [rsp + 0x50]
call fcn.14000a410
test eax, eax
jne 0x14000c2a9
xor esi, esi
lea r8d, [rax + 3]
mov qword [rsp + 0x30], rsi
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x28], 0x80
xor r9d, r9d
mov edx, 0xc0000000
mov dword [rsp + 0x20], 4
call qword [sym.imp.KERNEL32.dll_CreateFileW]
cmp rax, 0xffffffffffffffff
jne 0x14000c2b3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rdi
call fcn.14000b3b0
mov eax, 8
jmp 0x14000c36a
or dword [rdi + 0x50], 0x10
lea r9, [rsp + 0x44]
mov r8d, 1
mov qword [rdi + 0x20], rax
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x20], rsi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14000c365
cmp dword [rsp + 0x44], 1
jne 0x14000c365
movzx eax, byte [rsp + 0x40]
lea r8, str._s_nvdrsdb_d.bin
mov r9, rbx
mov dword [rsp + 0x20], eax
mov edx, 0x400
lea rcx, [rsp + 0x850]
call fcn.14000ddc0
lea rcx, [rsp + 0x850]
call fcn.14000a410
test eax, eax
jne 0x14000c2a9
lea rdx, [rsp + 0x850]
mov rcx, rdi
call fcn.14000c390
test eax, eax
jne 0x14000c36a
test rbx, rbx
je 0x14000c361
lea rdx, str.SYSTEM_DB
mov ecx, esi
sub rdx, rbx
cmp ecx, 0x3ff
jae 0x14000c35e
movzx eax, word [rdx + rbx]
inc ecx
mov word [rbx], ax
add rbx, 2
cmp word [rdx + rbx], si
jne 0x14000c343
mov word [rbx], si
xor eax, eax
jmp 0x14000c36a
mov eax, 0xf
mov rcx, qword [rsp + 0x1050]
xor rcx, rsp
call fcn.140027f90
lea r11, [rsp + 0x1060]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x14000c390
Capabilities:
Get file size

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
xor ebp, ebp
mov rsi, rdx
mov ebx, ebp
mov rdi, rcx
nop
xor r9d, r9d
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x28], 0x80
mov edx, 0x80000000
mov rcx, rsi
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
cmp rax, 0xffffffffffffffff
jne 0x14000c42e
call qword [sym.imp.KERNEL32.dll_GetLastError]
add eax, 0xfffffffe
cmp eax, 1
jbe 0x14000c40c
cmp ebx, 0xbb8
jae 0x14000c40c
mov ecx, 0x3c
call qword [sym.imp.KERNEL32.dll_Sleep]
add ebx, 0x3c
cmp ebx, 0xbb8
jb 0x14000c3b0
mov rcx, rdi
call fcn.14000b3b0
mov eax, 8
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
or dword [rdi + 0x50], 8
lea rdx, [rsp + 0x60]
mov rcx, rax
mov qword [rdi + 0x28], rax
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14000c40c
cmp dword [rsp + 0x64], ebp
jne 0x14000c40c
mov rcx, qword [rdi + 0x28]
xor r9d, r9d
mov ebx, dword [rsp + 0x60]
xor edx, edx
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x20], ebp
lea r8d, [r9 + 2]
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
test rax, rax
je 0x14000c40c
or dword [rdi + 0x50], 4
xor r9d, r9d
mov qword [rsp + 0x28], rbp
xor r8d, r8d
mov rcx, rax
mov qword [rdi + 0x30], rax
mov qword [rsp + 0x20], rbx
lea edx, [r9 + 4]
call qword [sym.imp.KERNEL32.dll_MapViewOfFileEx]
mov qword [rdi], rax
test rax, rax
je 0x14000c40c
mov rcx, qword [rsp + 0x60]
mov r8d, 0x400
mov dword [rdi + 8], ecx
mov rdx, rsi
mov dword [rdi + 0xc], ecx
lea rcx, [rdi + 0x58]
mov qword [rdi + 0x10], rax
call fcn.14000d900
xor eax, eax
jmp 0x14000c419
Function at 0x14000c710
Capabilities:
Clear file content
Persist via application shimming
Write file on windows

Disassembly:
push rbx
push rsi
sub rsp, 0x868
mov rax, qword [0x1400a7430]
xor rax, rsp
mov qword [rsp + 0x850], rax
lea rbx, [rcx + 0x58]
movzx eax, dl
mov rsi, rcx
mov dword [rsp + 0x20], eax
mov r9, rbx
lea r8, str._s_nvdrsdb_d.bin
mov edx, 0x400
lea rcx, [rsp + 0x50]
call fcn.14000ddc0
lea rcx, [rsp + 0x50]
call fcn.14000a410
test eax, eax
je 0x14000c76b
mov eax, 8
jmp 0x14000c7fa
mov qword [rsp + 0x890], rbp
xor ebp, ebp
mov qword [rsp + 0x860], rdi
mov edi, ebp
nop
mov qword [rsp + 0x30], rbp
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x28], 0x80
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 2
mov edx, 0x40000000
call qword [sym.imp.KERNEL32.dll_CreateFileW]
cmp rax, 0xffffffffffffffff
jne 0x14000c814
call qword [sym.imp.KERNEL32.dll_GetLastError]
add eax, 0xfffffffe
cmp eax, 1
jbe 0x14000c7dd
cmp edi, 0xbb8
jae 0x14000c7dd
mov ecx, 0x3c
call qword [sym.imp.KERNEL32.dll_Sleep]
add edi, 0x3c
cmp edi, 0xbb8
jb 0x14000c780
mov rcx, rsi
call fcn.14000b3b0
mov eax, 8
mov rbp, qword [rsp + 0x890]
mov rdi, qword [rsp + 0x860]
mov rcx, qword [rsp + 0x850]
xor rcx, rsp
call fcn.140027f90
add rsp, 0x868
pop rsi
pop rbx
ret
mov r8d, dword [rsi + 0xc]
lea r9, [rsp + 0x40]
mov rdx, qword [rsi]
mov rcx, rax
or dword [rsi + 0x50], 8
mov qword [rsi + 0x28], rax
mov qword [rsp + 0x20], rbp
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov edi, eax
test eax, eax
je 0x14000c846
mov rcx, qword [rsi + 0x28]
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov rcx, qword [rsi + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [rsi + 0x50], 0xfffffff7
mov qword [rsi + 0x28], rbp
test edi, edi
je 0x14000c7dd
mov eax, dword [rsi + 0xc]
cmp dword [rsp + 0x40], eax
jne 0x14000c7dd
mov rcx, rbx
test rbx, rbx
je 0x14000c8a2
mov edx, ebp
cmp word [rsp + 0x50], dx
je 0x14000c89f
lea r8, [rsp + 0x50]
sub r8, rbx
cmp edx, 0x3ff
jae 0x14000c89f
movzx eax, word [r8 + rcx]
inc edx
mov word [rcx], ax
add rcx, 2
cmp word [r8 + rcx], bp
jne 0x14000c882
mov word [rcx], bp
lea rcx, str.SYSTEM_DB
test rbx, rbx
je 0x14000c8d0
mov edx, ebp
cmp edx, 0x3ff
jae 0x14000c8cd
movzx eax, word [rcx]
inc edx
mov word [rbx], ax
add rcx, 2
add rbx, 2
cmp word [rcx], bp
jne 0x14000c8b0
mov word [rbx], bp
xor eax, eax
jmp 0x14000c7ea
Function at 0x14000c8e0
Capabilities:
Clear file content
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
xor ebp, ebp
mov rbx, rdx
mov edi, ebp
mov rsi, rcx
nop
mov qword [rsp + 0x30], rbp
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
xor r8d, r8d
mov edx, 0x40000000
mov dword [rsp + 0x20], 2
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateFileW]
cmp rax, 0xffffffffffffffff
jne 0x14000c97d
call qword [sym.imp.KERNEL32.dll_GetLastError]
add eax, 0xfffffffe
cmp eax, 1
jbe 0x14000c95b
cmp edi, 0xbb8
jae 0x14000c95b
mov ecx, 0x3c
call qword [sym.imp.KERNEL32.dll_Sleep]
add edi, 0x3c
cmp edi, 0xbb8
jb 0x14000c900
mov rcx, rsi
call fcn.14000b3b0
mov eax, 8
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
mov r8d, dword [rsi + 0xc]
lea r9, [rsp + 0x60]
mov rdx, qword [rsi]
mov rcx, rax
or dword [rsi + 0x50], 8
mov qword [rsi + 0x28], rax
mov qword [rsp + 0x20], rbp
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov edi, eax
test eax, eax
je 0x14000c9af
mov rcx, qword [rsi + 0x28]
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov rcx, qword [rsi + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [rsi + 0x50], 0xfffffff7
mov qword [rsi + 0x28], rbp
test edi, edi
je 0x14000c95b
mov eax, dword [rsi + 0xc]
cmp dword [rsp + 0x60], eax
jne 0x14000c95b
test rbx, rbx
je 0x14000ca04
lea rax, [rsi + 0x58]
test rax, rax
je 0x14000ca04
mov edx, ebp
cmp word [rbx], dx
je 0x14000ca01
sub rbx, rax
cmp edx, 0x3ff
jae 0x14000ca01
movzx ecx, word [rbx + rax]
inc edx
mov word [rax], cx
add rax, 2
cmp word [rbx + rax], bp
jne 0x14000c9e6
mov word [rax], bp
xor eax, eax
jmp 0x14000c968

Function at 0x14000cab0
Capabilities:
Query environment variable

Disassembly:
push rbx
mov eax, 0x18a0
call fcn.140027fd0
sub rsp, rax
mov rax, qword [0x1400a7430]
xor rax, rsp
mov qword [rsp + 0x1890], rax
mov rbx, rcx
mov qword [rcx], 0
lea rcx, str.PROGRAMDATA
mov r8d, 0x104
lea rdx, [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x14000cbbd
lea r9, [rsp + 0x90]
mov qword [rsp + 0x20], 0
lea r8, str._sNVIDIA_CorporationDrs_nvdrsdb_d.bin
mov edx, 0x400
lea rcx, [rsp + 0x890]
call fcn.14000ddc0
lea r9, [rsp + 0x90]
mov dword [rsp + 0x20], 1
lea r8, str._sNVIDIA_CorporationDrs_nvdrsdb_d.bin
mov edx, 0x400
lea rcx, [rsp + 0x1090]
call fcn.14000ddc0
lea r8, [rsp + 0x40]
xor edx, edx
lea rcx, [rsp + 0x890]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
je 0x14000cbbd
lea r8, [rsp + 0x68]
xor edx, edx
lea rcx, [rsp + 0x1090]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
je 0x14000cbbd
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x7c]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x80]
mov dword [rsp + 0x34], eax
mov rcx, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rcx
cmovae rcx, qword [rsp + 0x38]
xor eax, eax
mov qword [rbx], rcx
jmp 0x14000cbc2
mov eax, 8
mov rcx, qword [rsp + 0x1890]
xor rcx, rsp
call fcn.140027f90
add rsp, 0x18a0
pop rbx
ret
Function at 0x14000cde0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
mov rsi, qword [rsp + 0x40]
xor r12d, r12d
mov word [rcx + 0x7fe], r12w
mov edi, r8d
mov dword [r9], r12d
mov r15, r9
mov r14, rcx
mov ebx, r12d
mov dword [rsi], r12d
mov r10, rcx
mov r11d, r12d
mov rdx, rcx
mov r8d, r12d
cmp word [rcx], r12w
je 0x14000ce58
nop
cmp r8d, 0x400
jae 0x14000ce58
movzx ecx, word [rdx]
lea eax, [rcx - 0x41]
cmp ax, 0x19
ja 0x14000ce4c
add cx, 0x20
mov word [rdx], cx
add rdx, 2
inc r8d
cmp word [rdx], bx
jne 0x14000ce30
movzx eax, word [r14]
mov ebp, 0x2f
test ax, ax
je 0x14000ce88
cmp ax, 0x5c
jne 0x14000ce76
mov word [r10], bp
mov dword [rsi], 1
movzx eax, word [r10 + 2]
add r10, 2
test ax, ax
jne 0x14000ce66
movzx eax, word [r14]
mov rcx, r14
test ax, ax
je 0x14000cec6
cmp ax, 0x22
jne 0x14000ceaa
xor r11d, 1
lea rax, [rcx + 2]
test rbx, rbx
cmovne rax, rbx
mov rbx, rax
jmp 0x14000ceb9
test r11d, r11d
jne 0x14000ceb9
cmp ax, 0x20
jne 0x14000ceb9
test edi, edi
jne 0x14000cec6
movzx eax, word [rcx + 2]
add rcx, 2
test ax, ax
jne 0x14000ce90
test rbx, rbx
mov r9, rbx
cmove r9, r14
cmp rcx, r9
jbe 0x14000cef7
mov eax, 0xffdd
nop word [rax + rax]
movzx edx, word [rcx]
test ax, dx
jne 0x14000cf18
cmp dx, 2
je 0x14000cf18
sub rcx, 2
cmp rcx, r9
ja 0x14000cee0
mov word [r9], r12w
xor eax, eax
mov rbx, qword [rsp + 0x20]
mov rbp, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
pop r15
pop r14
pop r12
ret
lea rax, [r9 + 6]
cmp rcx, rax
jb 0x14000cf40
cmp word [rcx - 6], 0x2e
jne 0x14000cf40
cmp word [rcx - 4], 0x65
jne 0x14000cf40
cmp word [rcx - 2], 0x78
jne 0x14000cf40
cmp dx, 0x65
je 0x14000cfe7
lea r10, [rcx + 0xa]
lea rax, [r14 + 0x800]
cmp r10, rax
jae 0x14000cfe7
test rbx, rbx
jne 0x14000cf92
mov r8, rcx
mov r11d, 0x4c5c
cmp dx, 0x2e
je 0x14000cfbb
cmp dx, 0x22
je 0x14000cf92
cmp dx, 0x5c
mov eax, r12d
sete al
or dword [rsi], eax
cmp word [r8], r11w
jne 0x14000cf84
mov word [r8], bp
movzx edx, word [r8 + 2]
add r8, 2
test dx, dx
jne 0x14000cf62
cmp dword [r15], r12d
jne 0x14000cff3
test byte [r14 + 0x818], 2
je 0x14000cff3
mov dword [rcx + 2], 0x65002e
mov rax, r9
mov dword [rcx + 6], 0x650078
mov word [r10], r12w
jmp 0x14000cefd
cmp word [r8 + 2], 0x65
jne 0x14000cf92
cmp word [r8 + 4], 0x78
jne 0x14000cf92
cmp word [r8 + 6], 0x65
jne 0x14000cf92
mov word [r8 + 8], r12w
mov rax, r9
mov dword [r15], 1
jmp 0x14000cefd
mov word [rcx + 2], r12w
mov dword [r15], 1
mov rax, r9
jmp 0x14000cefd
Function at 0x14000d9c0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x40
lea rcx, [rsp + 0x68]
mov rbx, rdx
call qword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov eax, dword [rsp + 0x68]
lea r9, [rsp + 0x60]
mov dword [rsp + 0x30], eax
lea rdx, [rsp + 0x30]
mov eax, dword [rsp + 0x6c]
mov r8d, 8
mov rcx, rbx
mov dword [rsp + 0x34], eax
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14000da19
cmp dword [rsp + 0x60], 8
jne 0x14000da19
xor eax, eax
add rsp, 0x40
pop rbx
ret
mov eax, 8
add rsp, 0x40
pop rbx
ret
Function at 0x1400137e0
Capabilities:
Delete file

Disassembly:
push rbx
sub rsp, 0x840
mov rax, qword [0x1400a7430]
xor rax, rsp
mov qword [rsp + 0x830], rax
test byte [rcx + 0x50], 0x20
mov rbx, rcx
jne 0x14000bae1
call fcn.14000b460
test eax, eax
jne 0x14000bc00
lea rax, str.nvdrssel.bin
add rbx, 0x58
mov r9, rbx
mov qword [rsp + 0x20], rax
lea r8, str._s_s
mov edx, 0x400
lea rcx, [rsp + 0x30]
call fcn.14000ddc0
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rax, str.nvdrswr.lk
mov r9, rbx
lea r8, str._s_s
mov qword [rsp + 0x20], rax
mov edx, 0x400
lea rcx, [rsp + 0x30]
call fcn.14000ddc0
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rax, str.update.bin
mov r9, rbx
lea r8, str._s_s
mov qword [rsp + 0x20], rax
mov edx, 0x400
lea rcx, [rsp + 0x30]
call fcn.14000ddc0
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov r9, rbx
mov qword [rsp + 0x20], 0
lea r8, str._s_nvdrsdb_d.bin
mov edx, 0x400
lea rcx, [rsp + 0x30]
call fcn.14000ddc0
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov r9, rbx
mov dword [rsp + 0x20], 1
lea r8, str._s_nvdrsdb_d.bin
mov edx, 0x400
lea rcx, [rsp + 0x30]
call fcn.14000ddc0
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rax, str.nvAppTimestamps
mov r9, rbx
lea r8, str._s_s
mov qword [rsp + 0x20], rax
mov edx, 0x400
lea rcx, [rsp + 0x30]
call fcn.14000ddc0
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
xor eax, eax
mov rcx, qword [rsp + 0x830]
xor rcx, rsp
call fcn.140027f90
add rsp, 0x840
pop rbx
ret
add rcx, 0x838
jmp 0x14000bab0
Function at 0x1400153b0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x68
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov rbp, r8
mov r13, rdx
mov rsi, rcx
mov edi, 0x32f54a96
mov eax, dword [rdx + 8]
test eax, eax
je 0x140015415
mov r9, qword [rdx]
mov r10d, eax
nop
movzx eax, word [r9]
imul ecx, eax, 0xc5
imul eax, edi, 0x34c3
add ecx, eax
mov eax, edi
shr eax, 2
mov edi, ecx
xor edi, eax
lea r9, [r9 + 2]
sub r10, 1
jne 0x1400153f0
and edi, 0x3fffffff
mov ecx, dword [rsi + 8]
mov r14d, 1
mov eax, r14d
shl eax, cl
dec eax
mov dword [rsp + 0xb0], eax
mov ebx, eax
and ebx, edi
mov dword [rsp + 0xc8], ebx
nop dword [rax]
mov rdx, r13
lea rcx, [rsp + 0x38]
call fcn.1400270b0
mov qword [rsp + 0x20], rax
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.1400270b0
mov r12, rax
mov qword [rsp + 0x30], rax
mov r15d, ebx
shl r15, 5
mov rdx, qword [rsi]
add rdx, r15
mov ecx, dword [rdx]
test cl, 1
jne 0x1400154cd
test cl, 2
je 0x140015485
dec dword [rsi + 0x10]
mov ecx, dword [rdx]
or ecx, 1
mov dword [rdx], ecx
mov rax, qword [rsi]
and dword [r15 + rax], 0xfffffffd
mov rdx, qword [rsi]
mov ecx, dword [rdx + r15]
and ecx, 3
lea eax, [rdi*4]
or ecx, eax
mov dword [rdx + r15], ecx
mov rcx, qword [rsi]
add rcx, 8
add rcx, r15
mov rdx, r12
call fcn.1400272a0
mov rcx, qword [rsi]
mov eax, dword [rbp]
mov dword [r15 + rcx + 0x18], eax
inc dword [rsi + 0xc]
xor ebp, ebp
jmp 0x1400154f1
add rdx, 8
mov rcx, r12
call fcn.140027510
test al, al
je 0x1400154ec
mov rcx, qword [rsi]
mov eax, dword [rbp]
mov dword [r15 + rcx + 0x18], eax
xor ebp, ebp
jmp 0x1400154f1
mov ebp, 2
mov rcx, r12
call fcn.140027ab0
mov rcx, qword [rsp + 0x20]
call fcn.140027ab0
nop
cmp ebp, 2
jne 0x140015569
add ebx, r14d
and ebx, dword [rsp + 0xb0]
inc r14d
cmp ebx, dword [rsp + 0xc8]
mov rbp, qword [rsp + 0xc0]
jne 0x140015440
mov ecx, dword [rsi + 0x14]
lea eax, [rcx + 1]
mov dword [rsi + 0x14], eax
cmp ecx, 4
jbe 0x14001555c
mov rcx, rsi
call fcn.140021ae0
test al, al
jne 0x140015555
mov rcx, r13
call fcn.140027ab0
nop
mov eax, 0xffffffff
jmp 0x14001557e
mov dword [rsi + 0x14], 0
mov rcx, r13
call fcn.140027ab0
nop
xor eax, eax
jmp 0x14001557e
mov edi, 0xffffffff
test ebp, ebp
cmove edi, ebx
mov rcx, r13
call fcn.140027ab0
nop
mov eax, edi
add rsp, 0x68
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140015590
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x58
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov r15, rdx
mov r14, rcx
mov r9d, 0x32f54a96
mov eax, dword [rdx + 8]
test eax, eax
je 0x1400155f9
mov r10, qword [rdx]
mov r11d, eax
nop dword [rax]
movzx eax, word [r10]
imul ecx, eax, 0xc5
imul eax, r9d, 0x34c3
add ecx, eax
mov eax, r9d
shr eax, 2
mov r9d, ecx
xor r9d, eax
lea r10, [r10 + 2]
sub r11, 1
jne 0x1400155d0
mov ecx, dword [r14 + 8]
mov r13d, 1
shl r13d, cl
dec r13d
mov ebx, r13d
and ebx, r9d
and ebx, 0x3fffffff
mov dword [rsp + 0xa0], ebx
mov esi, 1
mov rdx, r15
lea rcx, [rsp + 0x30]
call fcn.1400270b0
mov r12, rax
mov qword [rsp + 0xb8], rax
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.1400270b0
mov rbp, rax
mov qword [rsp + 0x28], rax
mov edi, ebx
shl rdi, 5
mov rcx, qword [r14]
test byte [rdi + rcx], 2
jne 0x140015692
lea rdx, [rcx + 8]
add rdx, rdi
mov rcx, rax
call fcn.140027510
test al, al
je 0x140015692
mov rcx, qword [r14]
test byte [rcx + rdi], 1
je 0x14001568b
mov rax, qword [rsp + 0xb0]
mov eax, dword [rax]
mov dword [rcx + rdi + 0x18], eax
xor edi, edi
jmp 0x140015697
mov edi, 1
jmp 0x140015697
mov edi, 2
mov rcx, rbp
call fcn.140027ab0
mov rcx, r12
call fcn.140027ab0
nop
cmp edi, 2
jne 0x140015700
add ebx, esi
and ebx, r13d
inc esi
cmp ebx, dword [rsp + 0xa0]
jne 0x140015621
mov ecx, dword [r14 + 0x14]
lea eax, [rcx + 1]
mov dword [r14 + 0x14], eax
cmp ecx, 4
jbe 0x1400156f3
mov rcx, r14
call fcn.140021ae0
test al, al
jne 0x1400156eb
mov rcx, r15
call fcn.140027ab0
nop
lea eax, [rdi - 3]
jmp 0x140015715
mov dword [r14 + 0x14], 0
mov rcx, r15
call fcn.140027ab0
nop
xor eax, eax
jmp 0x140015715
mov esi, 0xffffffff
test edi, edi
cmove esi, ebx
mov rcx, r15
call fcn.140027ab0
nop
mov eax, esi
add rsp, 0x58
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140015730
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0xa0], rbx
mov r14, rdx
mov r15, rcx
mov r8d, 0x32f54a96
mov eax, dword [rdx + 8]
test eax, eax
je 0x140015799
mov r9, qword [rdx]
mov r10d, eax
nop
movzx eax, word [r9]
imul ecx, eax, 0xc5
imul eax, r8d, 0x34c3
add ecx, eax
mov eax, r8d
shr eax, 2
mov r8d, ecx
xor r8d, eax
lea r9, [r9 + 2]
sub r10, 1
jne 0x140015770
mov ecx, dword [r15 + 8]
mov r13d, 1
shl r13d, cl
dec r13d
mov ebx, r13d
and ebx, r8d
and ebx, 0x3fffffff
mov dword [rsp + 0x90], ebx
mov esi, 1
mov rdx, r14
lea rcx, [rsp + 0x30]
call fcn.1400270b0
mov r12, rax
mov qword [rsp + 0xa8], rax
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.1400270b0
mov rbp, rax
mov qword [rsp + 0x28], rax
mov edx, ebx
shl rdx, 5
mov rcx, qword [r15]
mov eax, dword [rdx + rcx]
test al, 3
jne 0x140015805
mov edi, 1
jmp 0x140015825
test al, 1
je 0x140015820
add rcx, 8
add rdx, rcx
mov rcx, rbp
call fcn.140027510
test al, al
je 0x140015820
xor edi, edi
jmp 0x140015825
mov edi, 2
mov rcx, rbp
call fcn.140027ab0
mov rcx, r12
call fcn.140027ab0
nop
cmp edi, 2
jne 0x14001588e
add ebx, esi
and ebx, r13d
inc esi
cmp ebx, dword [rsp + 0x90]
jne 0x1400157c1
mov ecx, dword [r15 + 0x14]
lea eax, [rcx + 1]
mov dword [r15 + 0x14], eax
cmp ecx, 4
jbe 0x140015881
mov rcx, r15
call fcn.140021ae0
test al, al
jne 0x140015879
mov rcx, r14
call fcn.140027ab0
nop
lea eax, [rdi - 3]
jmp 0x1400158a3
mov dword [r15 + 0x14], 0
mov rcx, r14
call fcn.140027ab0
nop
xor eax, eax
jmp 0x1400158a3
mov esi, 0xffffffff
test edi, edi
cmove esi, ebx
mov rcx, r14
call fcn.140027ab0
nop
mov eax, esi
mov rbx, qword [rsp + 0xa0]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14001cf60
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov r11, qword [rcx + 8]
mov rdi, rdx
mov rsi, rcx
test r11, r11
je 0x14001d030
mov eax, dword [rdx + 8]
mov r10d, 0x811c9dc5
test eax, eax
je 0x14001cfad
mov r8, qword [rdx]
mov r9d, eax
movzx eax, word [r8]
lea r8, [r8 + 2]
xor rax, r10
imul r10, rax, 0x1000193
sub r9, 1
jne 0x14001cf95
imul rax, r10, 0x2001
mov ebx, 1
mov rcx, rax
shr rcx, 7
xor rcx, rax
lea rdx, [rcx + rcx*8]
mov ecx, dword [rsi + 0x20]
shl rbx, cl
mov rax, rdx
shr rax, 0x11
dec rbx
xor rax, rdx
imul rax, rax, 0x21
and rbx, rax
mov rbx, qword [r11 + rbx*8]
test rbx, rbx
je 0x14001d030
mov rdx, rdi
mov rcx, rbx
call fcn.140027510
test al, al
jne 0x14001d01d
nop dword [rax]
mov eax, dword [rbx + 0x18]
shr eax, 0x1f
test al, al
jne 0x14001d030
mov rbx, qword [rbx + 0x28]
mov rdx, rdi
mov rcx, rbx
call fcn.140027510
test al, al
je 0x14001d000
mov rax, rbx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x30]
lea rax, [rsi + 0x18]
mov rsi, qword [rsp + 0x38]
or rax, 1
add rsp, 0x20
pop rdi
ret
Function at 0x14006387c
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400635fc
Function at 0x1400793a4
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
jne 0x14007904a
call fcn.140068014
mov dword [rax], 0x16
call fcn.140067e68
jmp 0x140079195
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x140079195
mov eax, dword [rcx + 0x14]
shr eax, 0xc
test al, 1
jne 0x140079195
mov eax, dword [rcx + 0x14]
shr eax, 1
test al, 1
je 0x140079079
lock or dword [rcx + 0x14], 0x10
jmp 0x140079195
lock or dword [rcx + 0x14], 1
mov eax, dword [rcx + 0x14]
test eax, 0x4c0
jne 0x14007908d
call fcn.1400793ac
mov esi, dword [rbx + 0x10]
cmp esi, 1
jne 0x14007909d
mov rax, qword [rbx]
mov bpl, byte [rax]
jmp 0x1400790a0
xor bpl, bpl
mov rdi, qword [rbx + 8]
mov rcx, rbx
mov qword [rbx], rdi
call fcn.14006ae68
mov r8d, dword [rbx + 0x20]
mov ecx, eax
mov rdx, rdi
call fcn.140081518
mov dword [rbx + 0x10], eax
lea ecx, [rax + 1]
cmp ecx, 2
jbe 0x140079183
mov eax, dword [rbx + 0x14]
test al, 6
jne 0x140079131
mov rcx, rbx
call fcn.14006ae68
cmp eax, 0xffffffff
je 0x14007911c
mov rcx, rbx
call fcn.14006ae68
cmp eax, 0xfffffffe
je 0x14007911c
mov rcx, rbx
call fcn.14006ae68
movsxd rdi, eax
lea r14, [0x1400a93a0]
mov rcx, rbx
sar rdi, 6
call fcn.14006ae68
mov rcx, qword [r14 + rdi*8]
and eax, 0x3f
shl rax, 6
lea rdx, [rax + rcx]
jmp 0x140079123
lea rdx, [0x1400a7730]
mov al, byte [rdx + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x140079131
lock or dword [rbx + 0x14], 0x20
cmp dword [rbx + 0x20], 0x200
jne 0x140079155
mov eax, dword [rbx + 0x14]
shr eax, 6
test al, 1
je 0x140079155
mov eax, dword [rbx + 0x14]
shr eax, 8
test al, 1
jne 0x140079155
mov dword [rbx + 0x20], 0x1000
mov rax, qword [rbx]
cmp esi, 1
jne 0x140079173
movzx ecx, byte [rax]
dec dword [rbx + 0x10]
shl cx, 8
movzx eax, bpl
or cx, ax
inc qword [rbx]
jmp 0x14007917e
movzx ecx, word [rax]
add dword [rbx + 0x10], 0xfffffffe
add qword [rbx], 2
movzx eax, cx
jmp 0x14007919a
neg eax
sbb eax, eax
and eax, 8
add eax, 8
lock or dword [rbx + 0x14], eax
and dword [rbx + 0x10], 0
mov eax, 0xffff
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
jmp 0x140079014