joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180054b30
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov eax, ecx
lea r9, [rsp + 0x30]
imul rbx, rax, 0x38
mov esi, edx
add rbx, qword [0x1801d1ea0]
mov r8, qword [rbx]
movzx eax, byte [rbx + 0x20]
and al, 1
movzx ecx, al
lea rdi, [r8 - 5]
cmove rdi, r8
mov r8d, 0x40
lea rbp, [rcx*2 + 5]
mov rcx, rdi
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x180054b94
mov eax, 0xa
jmp 0x180054c27
test esi, esi
je 0x180054bb6
mov byte [rdi], 0xe9
mov eax, dword [rbx + 8]
sub eax, edi
sub eax, 5
mov dword [rdi + 1], eax
test byte [rbx + 0x20], 1
je 0x180054bd9
mov rax, qword [rbx]
mov word [rax], 0xf9eb
jmp 0x180054bd9
mov eax, dword [rbx + 0x18]
test byte [rbx + 0x20], 1
mov dword [rdi], eax
je 0x180054bd2
movzx eax, word [rbx + 0x1c]
mov word [rdi + 4], ax
movzx eax, byte [rbx + 0x1e]
mov byte [rdi + 6], al
jmp 0x180054bd9
movzx eax, byte [rbx + 0x1c]
mov byte [rdi + 4], al
mov r8d, dword [rsp + 0x30]
lea r9, [rsp + 0x30]
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, rbp
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
movzx ecx, sil
shl sil, 2
add cl, cl
xor cl, byte [rbx + 0x20]
and cl, 2
xor cl, byte [rbx + 0x20]
xor sil, cl
and sil, 4
xor sil, cl
mov byte [rbx + 0x20], sil
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x180054c40
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, ecx
mov ecx, dword [0x1801d1eac]
mov ebx, edi
test ecx, ecx
je 0x180054d7b
mov rax, qword [0x1801d1ea0]
add rax, 0x20
nop
movzx edx, byte [rax]
shr edx, 1
and edx, 1
cmp edx, esi
jne 0x180054c98
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x180054c70
mov eax, edi
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
cmp ebx, 0xffffffff
je 0x180054d7b
mov r8d, edi
lea rcx, [rsp + 0x20]
test esi, esi
mov edx, 0xffffffff
setne r8b
call fcn.180054980
mov r8d, dword [0x1801d1eac]
cmp ebx, r8d
jae 0x180054d08
nop word [rax + rax]
mov eax, ebx
imul rcx, rax, 0x38
mov rax, qword [0x1801d1ea0]
movzx edx, byte [rcx + rax + 0x20]
shr edx, 1
and edx, 1
cmp edx, esi
je 0x180054d01
mov edx, esi
mov ecx, ebx
call fcn.180054b30
mov edi, eax
test eax, eax
jne 0x180054d08
mov r8d, dword [0x1801d1eac]
inc ebx
cmp ebx, r8d
jb 0x180054cd0
cmp qword [rsp + 0x20], 0
je 0x180054d7b
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x180054d67
mov rbx, qword [rsp + 0x20]
mov qword [rsp + 0x40], rbp
mov ebp, eax
nop dword [rax]
nop dword [rax + rax]
mov r8d, dword [rbx]
xor edx, edx
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x180054d58
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rbx, 4
sub rbp, 1
jne 0x180054d30
mov rbp, qword [rsp + 0x40]
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x1801d0bb0]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x48]
mov eax, edi
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x180055090
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
push r14
push r15
sub rsp, 0x30
xor r15d, r15d
mov edi, 1
mov r14d, r15d
mov ebx, r15d
xor eax, eax
lock cmpxchg dword [0x1801d0ba8], edi
je 0x1800550d9
cmp rbx, 0x20
jae 0x1800550c2
xor ecx, ecx
jmp 0x1800550c4
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x1801d0ba8], edi
jne 0x1800550b8
cmp qword [0x1801d0bb0], r14
mov qword [rsp + 0x60], r13
je 0x18005526b
mov ecx, dword [0x1801d1eac]
mov ebx, r15d
test ecx, ecx
je 0x180055111
mov rdx, qword [0x1801d1ea0]
mov rax, rdx
cmp qword [rax], r14
je 0x18005511c
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x180055102
mov r14d, 4
jmp 0x180055271
cmp ebx, 0xffffffff
je 0x180055111
mov eax, ebx
imul r13, rax, 0x38
test byte [rdx + r13 + 0x20], 2
je 0x1800551d0
xor r8d, r8d
lea rcx, [rsp + 0x20]
mov edx, ebx
call fcn.180054980
xor edx, edx
mov ecx, ebx
call fcn.180054b30
mov r14d, eax
cmp qword [rsp + 0x20], r15
je 0x1800551c0
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x1800551ac
mov rdi, qword [rsp + 0x20]
mov qword [rsp + 0x50], rbp
mov ebp, eax
mov qword [rsp + 0x58], rsi
nop
mov r8d, dword [rdi]
xor edx, edx
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x180055198
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rdi, 4
sub rbp, 1
jne 0x180055170
mov rsi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x50]
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x1801d0bb0]
call qword [sym.imp.KERNEL32.dll_HeapFree]
test r14d, r14d
jne 0x180055271
mov rdx, qword [0x1801d1ea0]
mov rcx, qword [rdx + r13 + 0x10]
call fcn.180053fb0
mov edx, dword [0x1801d1eac]
dec edx
cmp ebx, edx
jae 0x18005521f
mov eax, edx
imul rcx, rax, 0x38
mov rax, qword [0x1801d1ea0]
movups xmm0, xmmword [rcx + rax]
movups xmmword [rax + r13], xmm0
movups xmm1, xmmword [rcx + rax + 0x10]
movups xmmword [rax + r13 + 0x10], xmm1
movups xmm0, xmmword [rcx + rax + 0x20]
movups xmmword [rax + r13 + 0x20], xmm0
movsd xmm1, qword [rcx + rax + 0x30]
movsd qword [rax + r13 + 0x30], xmm1
mov ecx, dword [0x1801d1ea8]
mov eax, ecx
mov dword [0x1801d1eac], edx
shr eax, 1
cmp eax, 0x20
jb 0x180055271
cmp eax, edx
jb 0x180055271
mov r8, qword [0x1801d1ea0]
mov eax, ecx
mov rcx, qword [0x1801d0bb0]
xor edx, edx
shr rax, 1
imul r9, rax, 0x38
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
test rax, rax
je 0x180055271
shr dword [0x1801d1ea8], 1
mov qword [0x1801d1ea0], rax
jmp 0x180055271
mov r14d, 2
xchg dword [0x1801d0ba8], r15d
mov r13, qword [rsp + 0x60]
mov eax, r14d
mov rbx, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret
Function at 0x180055290
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r15
sub rsp, 0x30
xor r15d, r15d
mov esi, edx
mov ebx, r15d
xor eax, eax
mov rdi, rcx
mov ebp, 1
lock cmpxchg dword [0x1801d0ba8], ebp
je 0x1800552e7
cmp rbx, 0x20
jae 0x1800552d0
xor ecx, ecx
jmp 0x1800552d2
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x1801d0ba8], ebp
jne 0x1800552c6
cmp qword [0x1801d0bb0], r15
je 0x1800553e1
test rdi, rdi
jne 0x180055307
mov ecx, esi
call fcn.180054c40
mov ebp, eax
jmp 0x1800553e6
mov ecx, dword [0x1801d1eac]
mov ebx, r15d
test ecx, ecx
je 0x18005532f
mov r8, qword [0x1801d1ea0]
mov rax, r8
nop
cmp rdi, qword [rax]
je 0x180055339
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x180055320
mov ebp, 4
jmp 0x1800553e6
cmp ebx, 0xffffffff
je 0x18005532f
mov eax, ebx
imul rdx, rax, 0x38
movzx eax, byte [rdx + r8 + 0x20]
shr eax, 1
and eax, ebp
cmp eax, esi
je 0x1800553d8
mov r8d, ebp
lea rcx, [rsp + 0x20]
mov edx, ebx
call fcn.180054980
mov edx, esi
mov ecx, ebx
call fcn.180054b30
mov ebp, eax
cmp qword [rsp + 0x20], r15
je 0x1800553e6
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x1800553c2
mov rbx, qword [rsp + 0x20]
mov esi, eax
nop word [rax + rax]
mov r8d, dword [rbx]
xor edx, edx
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rdi, rax
test rax, rax
je 0x1800553b8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rbx, 4
sub rsi, 1
jne 0x180055390
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x1801d0bb0]
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x1800553e6
neg esi
sbb ebp, ebp
add ebp, 6
jmp 0x1800553e6
mov ebp, 2
xchg dword [0x1801d0ba8], r15d
mov rbx, qword [rsp + 0x40]
mov eax, ebp
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r15
ret
Function at 0x180058110
Capabilities:
Create thread

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x1801a7040]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rsi, r8
mov ebx, edx
mov rdi, rcx
test edx, edx
jne 0x180058138
call fcn.180057f90
mov r8, rsi
mov edx, ebx
mov rcx, rdi
call fcn.1800f41ac
test eax, eax
je 0x1800581f9
cmp ebx, 1
jne 0x18005823d
xor ecx, ecx
call fcn.18008e720
mov qword [0x1801d0fb8], rax
test rax, rax
je 0x1800581f9
movabs rax, 0xc977e9c06b99fb59
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x40], rax
movabs rax, 0xe8452d932d23f505
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x48], rax
movabs rax, 0xcc247f788f9722e4
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x50], rax
movabs rax, 0x43f7adb5344dc36a
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x58], rax
call fcn.180058250
mov rcx, rax
call fcn.18008e720
test rax, rax
je 0x1800581f9
mov rcx, rdi
call fcn.180055db0
test al, al
jne 0x180058210
call fcn.180057f90
xor eax, eax
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1800f39f0
add rsp, 0x70
pop rdi
pop rsi
pop rbx
ret
xor eax, eax
lea r8, [0x1800580c0]
mov qword [rsp + 0x28], rax
mov r9, rdi
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x18005823d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x1800581fb
Function at 0x18005d280
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
mov rcx, qword [0x1801d11e8]
mov rbx, rdx
movzx eax, word [rcx + 0x50]
cmp eax, 0xffff
je 0x18005d326
mov rdi, qword [rcx + 0x40]
movabs rbp, 0xcbf29ce484222325
movabs rsi, 0x100000001b3
mov r11d, eax
add r11, r11
mov r10, qword [rdi + r11*8]
test r10, r10
je 0x18005d319
mov r9, qword [r10]
mov r8, rbp
mov rax, r9
cmp byte [r9], 0
je 0x18005d2e8
nop
inc rax
cmp byte [rax], 0
jne 0x18005d2e0
mov edx, 0
sub rax, r9
je 0x18005d314
nop dword [rax]
nop word [rax + rax]
movsx rcx, byte [r9 + rdx]
inc rdx
xor r8, rcx
imul r8, rsi
cmp rdx, rax
jb 0x18005d300
cmp r8, rbx
je 0x18005d33d
movzx eax, word [rdi + r11*8 + 0xa]
cmp eax, 0xffff
jne 0x18005d2c1
xor eax, eax
mov rbx, qword [rsp + 8]
mov rbp, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
ret
mov rax, r10
jmp 0x18005d328
Function at 0x180066580
Capabilities:
Write file on windows

Disassembly:
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xd0
mov rax, qword [0x1801a7040]
xor rax, rsp
mov qword [rbp + 0x47], rax
call fcn.18008e720
mov rcx, rax
test rax, rax
je 0x1800667b7
movabs rax, 0x56cfb6804d050cc4
mov qword [rsp + 0xe8], rbx
mov qword [rbp - 0x49], rax
lea rdx, [rbp - 0x29]
mov rax, qword [rbp - 0x49]
movabs rbx, 0x3886d3f42c607e87
mov qword [rbp - 0x29], rax
movabs rax, 0x223189ecb9ff2c38
mov qword [rbp - 0x49], rax
mov rax, qword [rbp - 0x49]
mov qword [rbp - 0x21], rax
mov qword [rbp - 0x49], rbx
mov rax, qword [rbp - 0x49]
mov qword [rbp - 0x39], rax
mov qword [rsp + 0xf0], rdi
movabs rdi, 0x2254ea8ddf8d494c
mov qword [rbp - 0x49], rdi
mov rax, qword [rbp - 0x49]
movdqa xmm0, xmmword [rbp - 0x29]
mov qword [rbp - 0x31], rax
xorps xmm0, xmmword [rbp - 0x39]
movdqa xmmword [rbp - 0x29], xmm0
call fcn.18008ea00
mov rcx, rax
test rax, rax
jne 0x18006679f
mov dl, 3
call fcn.18008d420
movabs rax, 0x4ca6b79140091fe1
lea rdx, [rbp - 0x19]
mov qword [rbp - 0x49], rax
movabs rcx, 0x5d147ab9df83fe10
mov rax, qword [rbp - 0x49]
mov r8d, edx
mov qword [rbp - 0x19], rax
movabs rax, 0x6176caf9baea6923
mov qword [rbp - 0x49], rax
mov rax, qword [rbp - 0x49]
mov qword [rbp - 0x11], rax
movabs rax, 0x1ddf03f752f56f23
mov qword [rbp - 0x49], rax
mov rax, qword [rbp - 0x49]
mov qword [rbp - 9], rax
movabs rax, 0xeccbad401c6729c3
mov qword [rbp - 0x49], rax
mov rax, qword [rbp - 0x49]
mov qword [rbp - 1], rax
movabs rax, 0x7237652553dc16ca
mov qword [rbp - 0x49], rax
mov rax, qword [rbp - 0x49]
mov qword [rbp + 7], rax
mov qword [rbp - 0x49], rcx
mov rax, qword [rbp - 0x49]
mov qword [rbp + 0xf], rax
mov qword [rbp - 0x49], rbx
mov rax, qword [rbp - 0x49]
mov qword [rbp + 0x17], rax
mov qword [rbp - 0x49], rdi
mov rax, qword [rbp - 0x49]
mov qword [rbp + 0x1f], rax
movabs rax, 0x69b14a9226940a51
mov qword [rbp - 0x49], rax
mov rax, qword [rbp - 0x49]
mov qword [rbp + 0x27], rax
movabs rax, 0xcce9c8237d015ba6
mov qword [rbp - 0x49], rax
mov rax, qword [rbp - 0x49]
mov qword [rbp + 0x2f], rax
movabs rax, 0x7244164021b872ab
mov qword [rbp - 0x49], rax
mov rax, qword [rbp - 0x49]
mov qword [rbp + 0x37], rax
mov qword [rbp - 0x49], rcx
mov rax, qword [rbp - 0x49]
movdqa xmm2, xmmword [rbp - 0x19]
xorps xmm2, xmmword [rbp + 0x17]
movdqa xmm0, xmmword [rbp - 9]
movq rcx, xmm2
movdqa xmm1, xmmword [rbp + 7]
xorps xmm0, xmmword [rbp + 0x27]
mov qword [rbp + 0x3f], rax
lea rax, [rbp - 0x19]
xorps xmm1, xmmword [rbp + 0x37]
movdqa xmmword [rbp - 0x19], xmm2
movdqa xmmword [rbp - 9], xmm0
movdqa xmmword [rbp + 7], xmm1
test cl, cl
je 0x18006677b
nop word [rax + rax]
inc rax
mov r8, rax
cmp byte [rax], 0
jne 0x180066770
mov rcx, qword [0x1801ceca8]
sub r8d, edx
lea rdx, [rbp - 0x19]
mov qword [rsp + 0x20], 0
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_WriteFile]
xor eax, eax
jmp 0x1800667a7
mov eax, dword [rax + 3]
mov rax, qword [rax + rcx + 7]
mov rbx, qword [rsp + 0xe8]
mov rdi, qword [rsp + 0xf0]
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.1800f39f0
add rsp, 0xd0
pop rbp
ret
Function at 0x180076d90
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0xb0
mov rax, qword [0x1801a7040]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov rax, qword [0x1801d0f08]
mov rbx, rcx
mov rcx, qword [0x1801d0f10]
cmp rax, rcx
je 0x180076ddc
cmp qword [rax], rbx
je 0x180076dcf
add rax, 0x10
cmp rax, rcx
jne 0x180076dc1
cmp rax, rcx
je 0x180076ddc
mov eax, dword [rax + 8]
jmp 0x180076fbb
mov dl, 3
mov qword [rsp + 0xc8], rdi
call fcn.18008d420
mov rdi, rax
lea rdx, [rsp + 0x40]
movabs rax, 0x4ca6b79140091fe1
mov r8d, edx
mov qword [rsp + 0x30], rax
movabs rax, 0x4d748ee3b6eb6923
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x30], rax
movabs rax, 0x6d76ae643e76c37
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x30], rax
movabs rax, 0xec8da44614677bd4
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x50], rcx
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x58], rax
movabs rax, 0x1257e6049cc1bdc
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x60], rax
movabs rax, 0x5d147ab9dfa3c478
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x68], rax
movabs rax, 0x3886d3f42c607e87
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x70], rax
movabs rax, 0x2254ea8ddf8d494c
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x78], rax
movabs rax, 0x69b14a9226940a51
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x80], rax
movabs rax, 0xcce9c8237d015ba6
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x88], rax
movabs rax, 0x7244164021b872ab
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x90], rax
movabs rax, 0x5d147ab9df83fe10
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
movdqa xmm2, xmmword [rsp + 0x40]
xorps xmm2, xmmword [rsp + 0x70]
movdqa xmm0, xmmword [rsp + 0x50]
movdqa xmm1, xmmword [rsp + 0x60]
xorps xmm0, xmmword [rsp + 0x80]
mov qword [rsp + 0x98], rax
movq rax, xmm2
xorps xmm1, xmmword [rsp + 0x90]
movdqa xmmword [rsp + 0x40], xmm2
movdqa xmmword [rsp + 0x50], xmm0
movdqa xmmword [rsp + 0x60], xmm1
test al, al
je 0x180076f80
inc rcx
mov r8, rcx
cmp byte [rcx], 0
jne 0x180076f75
mov rcx, qword [0x1801ceca8]
sub r8d, edx
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x20], 0
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_WriteFile]
or word [rdi + 8], 6
mov rdx, rbx
mov rcx, rdi
call fcn.180077020
mov rdi, qword [rsp + 0xc8]
xor eax, eax
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1800f39f0
add rsp, 0xb0
pop rbx
ret
Function at 0x180077020
Capabilities:
Encrypt data using rc4 ksa
Write file on windows

Disassembly:
push rbx
sub rsp, 0x90
mov rax, qword [0x1801a7040]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov r9, rdx
xor r11d, r11d
movzx edx, word [rcx + 8]
mov rbx, rcx
mov eax, 0xa
test dl, 4
je 0x18007705f
lea r8d, [rax + 6]
lea r11, [0x18018b0d8]
jmp 0x180077081
test dl, 0x10
je 0x18007706c
mov r8d, 8
jmp 0x180077081
mov r8, rax
test dl, 0x20
je 0x180077084
mov r8d, 2
lea r11, [0x18018b0dc]
mov eax, r8d
mov byte [rsp + 0x72], 0
lea rcx, [rsp + 0x72]
test r9, r9
jne 0x1800770a2
lea rcx, [rsp + 0x71]
mov byte [rsp + 0x71], 0x30
jmp 0x1800771ef
lea r10, [0x180000000]
cmp eax, 0xa
jne 0x180077153
cmp r9, 0x64
jb 0x180077119
mov qword [rsp + 0xa0], rdi
movabs rdi, 0x47ae147ae147ae15
nop word [rax + rax]
mov r8, r9
mov rax, rdi
mul r9
sub r8, rdx
shr r8, 1
add r8, rdx
shr r8, 6
imul rax, r8, 0x64
sub r9, rax
movzx eax, byte [r10 + r9*2 + 0x1549d1]
mov byte [rcx - 1], al
sub rcx, 2
movzx eax, byte [r10 + r9*2 + 0x1549d0]
mov r9, r8
mov byte [rcx], al
cmp r8, 0x64
jae 0x1800770d0
mov rdi, qword [rsp + 0xa0]
dec rcx
mov rdx, rcx
cmp r9, 0xa
jae 0x180077135
movzx eax, byte [r9 + r10 + 0x18ab88]
mov byte [rcx], al
jmp 0x1800771ef
movzx eax, byte [r10 + r9*2 + 0x1549d0]
dec rcx
mov byte [rcx], al
movzx eax, byte [r10 + r9*2 + 0x1549d1]
mov byte [rdx], al
jmp 0x1800771ef
cmp eax, 0x10
jne 0x1800771d1
cmp r9, 0x100
jb 0x18007719d
nop dword [rax]
nop word [rax + rax]
movzx eax, r9b
shr r9, 8
lea rdx, [rax*2 + 0x1547c0]
movzx eax, byte [rdx + r10 + 1]
mov byte [rcx - 1], al
sub rcx, 2
movzx eax, byte [rdx + r10]
mov byte [rcx], al
cmp r9, 0x100
jae 0x180077170
dec rcx
mov rdx, rcx
cmp r9, 0x10
jae 0x1800771b6
movzx eax, byte [r9 + r10 + 0x18ab88]
mov byte [rcx], al
jmp 0x1800771ef
movzx eax, byte [r10 + r9*2 + 0x1547c0]
dec rcx
mov byte [rcx], al
movzx eax, byte [r10 + r9*2 + 0x1547c1]
mov byte [rdx], al
jmp 0x1800771ef
xor edx, edx
mov rax, r9
div r8
dec rcx
mov r9, rax
movzx eax, byte [rdx + r10 + 0x18ab88]
mov byte [rcx], al
test r9, r9
jne 0x1800771d1
test r11, r11
je 0x18007720c
test byte [rbx + 8], 2
je 0x18007720c
movzx eax, byte [r11 + 1]
mov byte [rcx - 1], al
sub rcx, 2
movzx eax, byte [r11]
mov byte [rcx], al
lea r8, [rsp + 0x72]
mov qword [rsp + 0x20], 0
sub r8d, ecx
mov rdx, rcx
mov rcx, qword [0x1801ceca8]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rax, rbx
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1800f39f0
add rsp, 0x90
pop rbx
ret
Function at 0x180077250
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
mov r8d, ecx
test r9d, r9d
je 0x180077265
lea eax, [r9 - 2]
cmp eax, 0x22
jbe 0x180077265
mov rax, rdx
ret
mov r11d, r8d
mov byte [rdx + 0x40], 0
mov eax, r8d
shr r11d, 0x1f
neg eax
lea rcx, [rdx + 0x40]
test r11b, r11b
cmovne r8d, eax
test r8d, r8d
jne 0x18007728f
dec rcx
mov rax, rcx
mov byte [rcx], 0x30
ret
cmp r9d, 0xa
jne 0x180077325
lea r9, [0x1801549d0]
cmp r8d, 0x64
jb 0x1800772e0
nop word [rax + rax]
mov eax, 0x51eb851f
mul r8d
shr edx, 5
imul eax, edx, 0x64
sub r8d, eax
add r8d, r8d
movzx eax, byte [r8 + r9 + 1]
mov byte [rcx - 1], al
sub rcx, 2
movzx eax, byte [r8 + r9]
mov r8d, edx
mov byte [rcx], al
cmp edx, 0x64
jae 0x1800772b0
dec rcx
cmp r8d, 0xa
jae 0x1800772fa
mov eax, r8d
lea r10, str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ
movzx eax, byte [rax + r10]
jmp 0x180077310
lea eax, [r8 + r8]
mov edx, eax
movzx eax, byte [rax + r9 + 1]
mov byte [rcx], al
dec rcx
movzx eax, byte [rdx + r9]
mov byte [rcx], al
test r11b, r11b
je 0x1800773c9
dec rcx
mov rax, rcx
mov byte [rcx], 0x2d
ret
cmp r9d, 0x10
jne 0x1800773a0
lea r9, [0x1801547c0]
cmp r8d, 0x100
jb 0x180077369
nop dword [rax + rax]
movzx eax, r8b
add eax, eax
shr r8d, 8
mov edx, eax
movzx eax, byte [rax + r9 + 1]
mov byte [rcx - 1], al
sub rcx, 2
movzx eax, byte [rdx + r9]
mov byte [rcx], al
cmp r8d, 0x100
jae 0x180077340
dec rcx
cmp r8d, 0x10
jae 0x180077384
lea r10, str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ
movzx eax, byte [r8 + r10]
mov byte [rcx], al
mov rax, rcx
ret
lea eax, [r8 + r8]
mov edx, eax
movzx eax, byte [rax + r9 + 1]
mov byte [rcx], al
dec rcx
movzx eax, byte [rdx + r9]
mov byte [rcx], al
mov rax, rcx
ret
lea r10, str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ
nop word [rax + rax]
xor edx, edx
mov eax, r8d
div r9d
dec rcx
mov r8d, eax
movzx edx, byte [rdx + r10]
mov byte [rcx], dl
test eax, eax
jne 0x1800773b0
mov rax, rcx
ret
Function at 0x180078d50
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
sub rsp, 0x28
mov rax, qword [rcx]
lea rdx, [rsp + 0x30]
call qword [rax + 0x120]
mov r9, qword [rsp + 0x30]
test r9, r9
jne 0x180078d73
xor al, al
add rsp, 0x28
ret
mov r9, qword [r9 + 8]
movabs rdx, 0xcbf29ce484222325
mov rax, r9
cmp byte [r9], 0
je 0x180078d98
nop word [rax + rax]
inc rax
cmp byte [rax], 0
jne 0x180078d90
mov r8d, 0
sub rax, r9
je 0x180078dc4
movabs r10, 0x100000001b3
nop dword [rax]
movsx rcx, byte [r9 + r8]
inc r8
xor rdx, rcx
imul rdx, r10
cmp r8, rax
jb 0x180078db0
movabs rax, 0x36346e513acca5de
cmp rdx, rax
sete al
add rsp, 0x28
ret
Function at 0x18007cf60
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test r8, r8
jg 0x18007cf91
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], rdi
je 0x18007d00b
mov rdi, r14
mov rcx, rbx
call fcn.18007e2b0
test rax, rax
jle 0x18007cfe3
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov rax, qword [rbx + 0x38]
mov r8, rbp
mov rdx, qword [rax]
call fcn.180124980
mov rax, qword [rbx + 0x50]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x18007cffb
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x18007d003
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x18007cfa5
sub r14, rdi
jmp 0x18007d0ef
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x18007d022
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x18007d024
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x18007d056
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.180124980
mov rax, qword [rbx + 0x50]
add rsi, rdi
sub rbp, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x18007d0ec
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x18007d091
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
cmp rbp, 0xfff
jbe 0x18007d0cd
nop word [rax + rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.1800fc4a8
add rsi, rax
sub rbp, rax
cmp rax, 0xfff
jne 0x18007d0ec
cmp rbp, rax
ja 0x18007d0a0
test rbp, rbp
je 0x18007d0ec
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.1800fc4a8
sub rbp, rax
sub r14, rbp
mov rbp, qword [rsp + 0x30]
mov rax, r14
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret