joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18004ff90
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 [0x18017dfdc]
mov ebx, edi
test ecx, ecx
je 0x1800500cd
mov rax, qword [0x18017dfd0]
add rax, 0x20
nop
movzx edx, byte [rax]
shr edx, 1
and edx, 1
cmp edx, esi
jne 0x18004ffe8
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x18004ffc0
mov eax, edi
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
cmp ebx, 0xffffffff
je 0x1800500cd
mov r8d, edi
lea rcx, [rsp + 0x20]
test esi, esi
mov edx, 0xffffffff
setne r8b
call fcn.18004fcd0
mov r8d, dword [0x18017dfdc]
cmp ebx, r8d
jae 0x180050058
nop word [rax + rax]
mov eax, ebx
imul rcx, rax, 0x38
mov rax, qword [0x18017dfd0]
movzx edx, byte [rcx + rax + 0x20]
shr edx, 1
and edx, 1
cmp edx, esi
je 0x180050051
mov edx, esi
mov ecx, ebx
call fcn.18004fe80
mov edi, eax
test eax, eax
jne 0x180050058
mov r8d, dword [0x18017dfdc]
inc ebx
cmp ebx, r8d
jb 0x180050020
cmp qword [rsp + 0x20], 0
je 0x1800500cd
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x1800500b9
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
mov ecx, 0x5a
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x1800500aa
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 0x180050080
mov rbp, qword [rsp + 0x40]
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x18017d4e0]
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 0x1800503d0
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rdi
push r14
sub rsp, 0x30
xor r14d, r14d
mov edi, 1
mov ebp, r14d
mov ebx, r14d
xor eax, eax
lock cmpxchg dword [0x18017d4d8], edi
je 0x180050418
cmp rbx, 0x20
jae 0x180050401
xor ecx, ecx
jmp 0x180050403
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x18017d4d8], edi
jne 0x1800503f7
cmp qword [0x18017d4e0], rbp
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x60], r15
je 0x1800505a8
mov ecx, dword [0x18017dfdc]
mov ebx, r14d
test ecx, ecx
je 0x180050455
mov rdx, qword [0x18017dfd0]
mov rax, rdx
cmp qword [rax], rbp
je 0x18005045f
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x180050446
mov ebp, 4
jmp 0x1800505ad
cmp ebx, 0xffffffff
je 0x180050455
mov eax, ebx
mov r15d, ebx
imul r13, rax, 0x38
test byte [rdx + r13 + 0x20], 2
je 0x18005050c
xor r8d, r8d
lea rcx, [rsp + 0x20]
mov edx, ebx
call fcn.18004fcd0
xor edx, edx
mov ecx, ebx
call fcn.18004fe80
mov ebp, eax
cmp qword [rsp + 0x20], r14
je 0x1800504fd
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x1800504e9
mov rdi, qword [rsp + 0x20]
mov qword [rsp + 0x50], rsi
mov esi, eax
nop
mov r8d, dword [rdi]
xor edx, edx
mov ecx, 0x5a
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rbx, rax
test rax, rax
je 0x1800504da
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rdi, 4
sub rsi, 1
jne 0x1800504b0
mov rsi, qword [rsp + 0x50]
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x18017d4e0]
call qword [sym.imp.KERNEL32.dll_HeapFree]
test ebp, ebp
jne 0x1800505ad
mov rdx, qword [0x18017dfd0]
mov rcx, qword [rdx + r13 + 0x10]
call fcn.18004f2e0
mov edx, dword [0x18017dfdc]
dec edx
cmp r15d, edx
jae 0x18005055c
mov eax, edx
imul rcx, rax, 0x38
mov rax, qword [0x18017dfd0]
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 [0x18017dfd8]
mov eax, ecx
mov dword [0x18017dfdc], edx
shr eax, 1
cmp eax, 0x20
jb 0x1800505ad
cmp eax, edx
jb 0x1800505ad
mov r8, qword [0x18017dfd0]
mov eax, ecx
mov rcx, qword [0x18017d4e0]
xor edx, edx
shr rax, 1
imul r9, rax, 0x38
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
test rax, rax
je 0x1800505ad
shr dword [0x18017dfd8], 1
mov qword [0x18017dfd0], rax
jmp 0x1800505ad
mov ebp, 2
xchg dword [0x18017d4d8], r14d
mov r15, qword [rsp + 0x60]
mov eax, ebp
mov r13, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x68]
add rsp, 0x30
pop r14
pop rdi
pop rbp
ret
Function at 0x1800505d0
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 [0x18017d4d8], ebp
je 0x180050627
cmp rbx, 0x20
jae 0x180050610
xor ecx, ecx
jmp 0x180050612
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x18017d4d8], ebp
jne 0x180050606
cmp qword [0x18017d4e0], r15
je 0x180050723
test rdi, rdi
jne 0x180050647
mov ecx, esi
call fcn.18004ff90
mov ebp, eax
jmp 0x180050728
mov ecx, dword [0x18017dfdc]
mov ebx, r15d
test ecx, ecx
je 0x18005066f
mov r8, qword [0x18017dfd0]
mov rax, r8
nop
cmp rdi, qword [rax]
je 0x180050679
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x180050660
mov ebp, 4
jmp 0x180050728
cmp ebx, 0xffffffff
je 0x18005066f
mov eax, ebx
imul rdx, rax, 0x38
movzx eax, byte [rdx + r8 + 0x20]
shr eax, 1
and eax, ebp
cmp eax, esi
je 0x18005071a
mov r8d, ebp
lea rcx, [rsp + 0x20]
mov edx, ebx
call fcn.18004fcd0
mov edx, esi
mov ecx, ebx
call fcn.18004fe80
mov ebp, eax
cmp qword [rsp + 0x20], r15
je 0x180050728
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x180050704
mov rbx, qword [rsp + 0x20]
mov esi, eax
nop word [rax + rax]
mov r8d, dword [rbx]
xor edx, edx
mov ecx, 0x5a
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rdi, rax
test rax, rax
je 0x1800506fa
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 0x1800506d0
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x18017d4e0]
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x180050728
neg esi
sbb ebp, ebp
add ebp, 6
jmp 0x180050728
mov ebp, 2
xchg dword [0x18017d4d8], 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 0x180056200
Capabilities:
Create thread

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x18017b040]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rsi, r8
mov edi, edx
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
test edi, edi
jne 0x18005622e
call fcn.180056020
mov r8, rsi
mov edx, edi
mov rcx, rbx
call fcn.1800dc3e4
test eax, eax
je 0x1800562f6
cmp edi, 1
jne 0x18005633a
xor ecx, ecx
call fcn.180077e30
mov qword [0x18017d8f8], rax
test rax, rax
je 0x1800562f6
movabs rax, 0x26e845d5e8a2273b
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x40], rax
movabs rax, 0xf92a3fc609ee9a3f
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x48], rax
movabs rax, 0xded5bea5fb6542ca
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x50], rax
movabs rax, 0x1edf16f0e9ca39c4
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x58], rax
call fcn.180056350
mov rcx, rax
call fcn.180077e30
test rax, rax
je 0x1800562f6
mov rcx, rbx
mov qword [0x18017d900], rbx
call fcn.180053860
test al, al
jne 0x18005630d
call fcn.180056020
xor eax, eax
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1800dbb40
add rsp, 0x70
pop rdi
pop rsi
pop rbx
ret
xor eax, eax
lea r8, [0x1800561b0]
mov qword [rsp + 0x28], rax
mov r9, rbx
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x18005633a
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x1800562f8
Function at 0x180059f90
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 [0x18017d968]
mov rbx, rdx
movzx eax, word [rcx + 0x50]
cmp eax, 0xffff
je 0x18005a036
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 0x18005a029
mov r9, qword [r10]
mov r8, rbp
mov rax, r9
cmp byte [r9], 0
je 0x180059ff8
nop
inc rax
cmp byte [rax], 0
jne 0x180059ff0
mov edx, 0
sub rax, r9
je 0x18005a024
nop dword [rax]
nop word [rax + rax]
movsx rcx, byte [r9 + rdx]
inc rdx
xor r8, rcx
imul r8, rsi
cmp rdx, rax
jb 0x18005a010
cmp r8, rbx
je 0x18005a04d
movzx eax, word [rdi + r11*8 + 0xa]
cmp eax, 0xffff
jne 0x180059fd1
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 0x18005a038
Function at 0x180060f30
Capabilities:
Write file on windows

Disassembly:
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xd0
mov rax, qword [0x18017b040]
xor rax, rsp
mov qword [rbp + 0x47], rax
call fcn.180077e30
mov rcx, rax
test rax, rax
je 0x180061167
movabs rax, 0x48d220d789a65516
mov qword [rsp + 0xe8], rbx
mov qword [rbp - 0x49], rax
lea rdx, [rbp - 0x29]
mov rax, qword [rbp - 0x49]
movabs rbx, 0x269b45a3e8c32755
mov qword [rbp - 0x29], rax
movabs rax, 0xf92a5cd36fefff32
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, 0xf94f3fb2099d9a46
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.180078100
mov rcx, rax
test rax, rax
jne 0x18006114f
mov dl, 3
call fcn.180076b10
movabs rax, 0x52bb21c684aa4633
lea rdx, [rbp - 0x19]
mov qword [rbp - 0x49], rax
movabs rcx, 0x9cdba7ce527ed72a
mov rax, qword [rbp - 0x49]
mov r8d, edx
mov qword [rbp - 0x19], rax
movabs rax, 0xba6d1fc66cfaba29
mov qword [rbp - 0x49], rax
mov rax, qword [rbp - 0x49]
mov qword [rbp - 0x11], rax
movabs rax, 0xaad7f7a48f2a27d5
mov qword [rbp - 0x49], rax
mov rax, qword [rbp - 0x49]
mov qword [rbp - 9], rax
movabs rax, 0x3efd739388ac4bcd
mov qword [rbp - 0x49], rax
mov rax, qword [rbp - 0x49]
mov qword [rbp - 1], rax
movabs rax, 0x1204619a4b8ec448
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, 0xdeb9bec1fb4b42a7
mov qword [rbp - 0x49], rax
mov rax, qword [rbp - 0x49]
mov qword [rbp + 0x27], rax
movabs rax, 0x1edf16f0e9ca39a8
mov qword [rbp - 0x49], rax
mov rax, qword [rbp - 0x49]
mov qword [rbp + 0x2f], rax
movabs rax, 0x127712ff39eaa029
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 0x18006112b
nop word [rax + rax]
inc rax
mov r8, rax
cmp byte [rax], 0
jne 0x180061120
mov rcx, qword [0x18017bed8]
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 0x180061157
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.1800dbb40
add rsp, 0xd0
pop rbp
ret
Function at 0x18006c530
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0xb0
mov rax, qword [0x18017b040]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov rax, qword [0x18017d718]
mov rbx, rcx
mov rcx, qword [0x18017d720]
cmp rax, rcx
je 0x18006c57c
cmp qword [rax], rbx
je 0x18006c56f
add rax, 0x10
cmp rax, rcx
jne 0x18006c561
cmp rax, rcx
je 0x18006c57c
mov eax, dword [rax + 8]
jmp 0x18006c75b
mov dl, 3
mov qword [rsp + 0xc8], rdi
call fcn.180076b10
mov rdi, rax
lea rdx, [rsp + 0x40]
movabs rax, 0x52bb21c684aa4633
mov r8d, edx
mov qword [rsp + 0x30], rax
movabs rax, 0x966f5bdc60fbba29
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x30], rax
movabs rax, 0xb1df9eb59e3824c1
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x30], rax
movabs rax, 0x3ebb7a9580ac19da
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, 0x61167adf519ec95e
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x60], rax
movabs rax, 0x9cdba7ce525eed42
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x68], rax
movabs rax, 0x269b45a3e8c32755
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x70], rax
movabs rax, 0xf94f3fb2099d9a46
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x78], rax
movabs rax, 0xdeb9bec1fb4b42a7
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x80], rax
movabs rax, 0x1edf16f0e9ca39a8
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x88], rax
movabs rax, 0x127712ff39eaa029
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x90], rax
movabs rax, 0x9cdba7ce527ed72a
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 0x18006c720
inc rcx
mov r8, rcx
cmp byte [rcx], 0
jne 0x18006c715
mov rcx, qword [0x18017bed8]
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.18006c7c0
mov rdi, qword [rsp + 0xc8]
xor eax, eax
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1800dbb40
add rsp, 0xb0
pop rbx
ret
Function at 0x18006c7c0
Capabilities:
Encrypt data using rc4 ksa
Write file on windows

Disassembly:
push rbx
sub rsp, 0x90
mov rax, qword [0x18017b040]
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 0x18006c801
mov r8d, 0x10
lea r11, [0x180163bf0]
jmp 0x18006c823
test dl, 0x10
je 0x18006c80e
mov r8d, 8
jmp 0x18006c823
mov r8, rax
test dl, 0x20
je 0x18006c826
mov r8d, 2
lea r11, [0x180163bf4]
mov eax, r8d
mov byte [rsp + 0x72], 0
lea rcx, [rsp + 0x72]
test r9, r9
jne 0x18006c844
lea rcx, [rsp + 0x71]
mov byte [rsp + 0x71], 0x30
jmp 0x18006c98f
lea r10, [0x180000000]
cmp eax, 0xa
jne 0x18006c8f3
cmp r9, 0x64
jb 0x18006c8b9
mov qword [rsp + 0xa0], rdi
movabs rdi, 0x47ae147ae147ae15
nop dword [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 + 0x12e181]
mov byte [rcx - 1], al
sub rcx, 2
movzx eax, byte [r10 + r9*2 + 0x12e180]
mov r9, r8
mov byte [rcx], al
cmp r8, 0x64
jae 0x18006c870
mov rdi, qword [rsp + 0xa0]
dec rcx
mov rdx, rcx
cmp r9, 0xa
jae 0x18006c8d5
movzx eax, byte [r9 + r10 + 0x163838]
mov byte [rcx], al
jmp 0x18006c98f
movzx eax, byte [r10 + r9*2 + 0x12e180]
dec rcx
mov byte [rcx], al
movzx eax, byte [r10 + r9*2 + 0x12e181]
mov byte [rdx], al
jmp 0x18006c98f
cmp eax, 0x10
jne 0x18006c971
cmp r9, 0x100
jb 0x18006c93d
nop dword [rax]
nop word [rax + rax]
movzx eax, r9b
shr r9, 8
lea rdx, [rax*2 + 0x12df70]
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 0x18006c910
dec rcx
mov rdx, rcx
cmp r9, 0x10
jae 0x18006c956
movzx eax, byte [r9 + r10 + 0x163838]
mov byte [rcx], al
jmp 0x18006c98f
movzx eax, byte [r10 + r9*2 + 0x12df70]
dec rcx
mov byte [rcx], al
movzx eax, byte [r10 + r9*2 + 0x12df71]
mov byte [rdx], al
jmp 0x18006c98f
xor edx, edx
mov rax, r9
div r8
dec rcx
mov r9, rax
movzx eax, byte [rdx + r10 + 0x163838]
mov byte [rcx], al
test r9, r9
jne 0x18006c971
test r11, r11
je 0x18006c9ac
test byte [rbx + 8], 2
je 0x18006c9ac
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 [0x18017bed8]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rax, rbx
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1800dbb40
add rsp, 0x90
pop rbx
ret
Function at 0x18006c9f0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
mov r8d, ecx
test r9d, r9d
je 0x18006ca05
lea eax, [r9 - 2]
cmp eax, 0x22
jbe 0x18006ca05
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 0x18006ca2f
dec rcx
mov rax, rcx
mov byte [rcx], 0x30
ret
cmp r9d, 0xa
jne 0x18006cac5
lea r9, [0x18012e180]
cmp r8d, 0x64
jb 0x18006ca80
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 0x18006ca50
dec rcx
cmp r8d, 0xa
jae 0x18006ca9a
mov eax, r8d
lea r10, str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ
movzx eax, byte [rax + r10]
jmp 0x18006cab0
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 0x18006cb69
dec rcx
mov rax, rcx
mov byte [rcx], 0x2d
ret
cmp r9d, 0x10
jne 0x18006cb40
lea r9, [0x18012df70]
cmp r8d, 0x100
jb 0x18006cb09
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 0x18006cae0
dec rcx
cmp r8d, 0x10
jae 0x18006cb24
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 0x18006cb50
mov rax, rcx
ret
Function at 0x1800729f0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rsi
sub rsp, 0x18
movsxd rsi, dword [rsp + 0x58]
mov r11, rdx
mov qword [rsp + 0x30], rbx
mov r10, rcx
mov qword [rsp + 0x38], rdi
mov rbp, rdx
lea rdi, [r8 - 1]
mov qword [rsp + 0x40], r12
sar rdi, 1
mov rbx, rdx
mov qword [rsp + 8], r14
mov r14, r8
cmp rdx, rdi
jge 0x180072aa1
mov qword [rsp + 0x10], r13
mov r13d, 0x30
mov qword [rsp], r15
nop word [rax + rax]
lea rdx, [rbx + rbx]
lea rax, [rdx + rdx*2]
lea r8, [r10 + rax*8]
movss xmm0, dword [rsi + r8 + 0x30]
lea rax, [r11 + r11*2]
comiss xmm0, dword [rsi + r8 + 0x18]
seta cl
movzx ebx, cl
xor rbx, 1
inc rbx
add rbx, rdx
mov edx, 0x18
test cl, cl
mov r11, rbx
cmove rdx, r13
movups xmm0, xmmword [rdx + r8]
movups xmmword [r10 + rax*8], xmm0
movsd xmm1, qword [rdx + r8 + 0x10]
movsd qword [r10 + rax*8 + 0x10], xmm1
cmp rbx, rdi
jl 0x180072a40
mov r15, qword [rsp]
mov r13, qword [rsp + 0x10]
cmp rbx, rdi
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
jne 0x180072adb
test r14b, 1
jne 0x180072adb
lea rax, [r11 + r11*2]
lea rcx, [r14 + r14*2]
movups xmm0, xmmword [r10 + rcx*8 - 0x18]
lea r11, [r14 - 1]
movups xmmword [r10 + rax*8], xmm0
movsd xmm1, qword [r10 + rcx*8 - 8]
movsd qword [r10 + rax*8 + 0x10], xmm1
mov r14, qword [rsp + 8]
mov r12, qword [rsp + 0x40]
cmp rbp, r11
jge 0x180072b30
movsxd r8, dword [rsp + 0x60]
nop
lea rcx, [r11 - 1]
sar rcx, 1
lea rdx, [rcx + rcx*2]
lea rax, [rsi + rdx*8]
movss xmm0, dword [rax + r10]
comiss xmm0, dword [r8 + r9]
jbe 0x180072b30
lea rax, [r11 + r11*2]
mov r11, rcx
movups xmm0, xmmword [r10 + rdx*8]
movups xmmword [r10 + rax*8], xmm0
movsd xmm1, qword [r10 + rdx*8 + 0x10]
movsd qword [r10 + rax*8 + 0x10], xmm1
cmp rbp, rcx
jl 0x180072af0
movups xmm0, xmmword [r9]
lea rax, [r11 + r11*2]
movups xmmword [r10 + rax*8], xmm0
movsd xmm1, qword [r9 + 0x10]
movsd qword [r10 + rax*8 + 0x10], xmm1
add rsp, 0x18
pop rsi
pop rbp
ret
Function at 0x180076b10
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x1a0
mov rax, qword [0x18017b040]
xor rax, rsp
mov qword [rsp + 0x190], rax
xor esi, esi
movzx ecx, dl
mov word [0x18017c038], si
mov edi, esi
sub ecx, 1
je 0x180076b63
sub ecx, 1
je 0x180076b5a
cmp ecx, 1
jne 0x180076b6a
lea rdi, str._error_
jmp 0x180076b6a
lea rdi, str._warning_
jmp 0x180076b6a
lea rdi, str._info_
xor ecx, ecx
call fcn.1800e8064
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x38]
call fcn.1800e805c
movzx ebx, byte [0x18017c030]
lea r9, [rsp + 0x38]
lea r8, str._n__d__m__Y__T_
mov edx, 0x20
lea rcx, [rsp + 0x60]
call fcn.18005b4d0
mov rcx, qword [0x18017bed8]
lea rdx, [rsp + 0x60]
sub rax, rbx
mov qword [rsp + 0x20], rsi
add rdx, rbx
mov r8d, eax
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_WriteFile]
xor edx, edx
lea rcx, [rsp + 0x80]
mov r8d, 0x104
call fcn.180101720
lea r8, [rsp + 0x80]
test rdi, rdi
je 0x180076c12
movzx eax, byte [rdi]
lea r8, [rsp + 0x80]
test al, al
je 0x180076c0f
sub rdi, r8
nop
mov byte [r8], al
inc r8
movzx eax, byte [rdi + r8]
test al, al
jne 0x180076c00
mov byte [r8], sil
cmp byte [rsp + 0x80], sil
je 0x180076c44
mov rcx, qword [0x18017bed8]
lea rax, [rsp + 0x80]
sub r8d, eax
mov qword [rsp + 0x20], rsi
xor r9d, r9d
lea rdx, [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov byte [0x18017c030], sil
lea rax, [0x18017c030]
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.1800dbb40
lea r11, [rsp + 0x1a0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret