joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000a34f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
push rdi
push rsi
push r12
push r13
push r14
lea rsp, [rsp - 0x28]
mov rbx, rcx
mov r14d, dword [rbx + 0x34]
nop dword [rax]
mov rax, rbx
mov edx, dword [rax + 0x48]
mov ecx, dword [rax + 0x8c]
sub edx, ecx
sub edx, dword [rax + 0x84]
mov esi, edx
test edx, edx
jne 0x1000a353f
mov rax, rbx
cmp dword [rax + 0x84], 0
jne 0x1000a353f
cmp dword [rax + 0x8c], 0
jne 0x1000a353f
mov esi, r14d
jmp 0x1000a3618
cmp esi, 0xffffffff
jne 0x1000a354f
sub esi, 1
jmp 0x1000a3618
mov ecx, dword [rbx + 0x84]
mov eax, r14d
lea rdx, [rax - 0x106]
add rax, rdx
cmp rcx, rax
jl 0x1000a3618
mov rdx, qword [rbx + 0x40]
mov eax, r14d
lea rcx, [rdx + rax]
mov rdx, qword [rbx + 0x40]
mov r8d, r14d
call fcn.100003ea0
sub dword [rbx + 0x88], r14d
sub dword [rbx + 0x84], r14d
mov eax, r14d
sub dword [rbx + 0x74], eax
mov edi, dword [rbx + 0x64]
mov rdx, qword [rbx + 0x58]
mov eax, edi
lea r12, [rdx + rax*2]
nop dword [rax + rax]
sub r12, 2
movzx eax, word [r12]
mov r13d, eax
cmp r14d, r13d
ja 0x1000a35c8
mov eax, r13d
mov edx, r14d
sub eax, edx
mov word [r12], ax
jmp 0x1000a35cf
mov word [r12], 0
sub edi, 1
jne 0x1000a35a8
mov edi, r14d
mov rdx, qword [rbx + 0x50]
mov eax, edi
lea r12, [rdx + rax*2]
nop dword [rax]
sub r12, 2
movzx eax, word [r12]
mov r13d, eax
cmp r14d, r13d
ja 0x1000a3608
mov eax, r13d
mov edx, r14d
sub eax, edx
mov word [r12], ax
jmp 0x1000a360f
mov word [r12], 0
sub edi, 1
jne 0x1000a35e8
add esi, r14d
nop
mov rax, qword [rbx]
cmp dword [rax + 8], 0
je 0x1000a36b8
nop dword [rax]
mov rax, rbx
mov rcx, qword [rax + 0x40]
mov edx, dword [rax + 0x84]
mov eax, dword [rax + 0x8c]
add rax, rdx
lea rdx, [rcx + rax]
mov rcx, qword [rbx]
mov r8d, esi
call fcn.1000a30c0
mov edi, eax
add dword [rbx + 0x8c], edi
cmp dword [rbx + 0x8c], 3
jb 0x1000a369c
mov rax, rbx
mov rdx, qword [rax + 0x40]
mov eax, dword [rax + 0x84]
movzx eax, byte [rdx + rax]
mov dword [rbx + 0x60], eax
mov rax, rbx
mov rcx, qword [rax + 0x40]
mov edx, dword [rax + 0x84]
movzx r9d, byte [rcx + rdx + 1]
mov edx, dword [rax + 0x70]
mov r8d, dword [rax + 0x60]
mov ecx, edx
shl r8d, cl
xor r9d, r8d
and r9d, dword [rax + 0x6c]
mov dword [rbx + 0x60], r9d
mov rax, rbx
cmp dword [rax + 0x8c], 0x106
jae 0x1000a36b8
mov rax, qword [rax]
cmp dword [rax + 8], 0
jne 0x1000a3508
nop
lea rsp, [rsp + 0x28]
pop r14
pop r13
pop r12
pop rsi
pop rdi
pop rbx
ret
Function at 0x1000a9770
Capabilities:
Encrypt data using blowfish

Disassembly:
push rbp
mov rbp, rsp
lea rsp, [rsp - 0xb0]
mov qword [rbp - 0x88], rdi
mov qword [rbp - 0x80], rsi
mov qword [rbp - 0x20], rcx
mov qword [rbp - 0x18], rdx
mov qword [rbp - 8], r8
mov dword [rbp - 0x10], r9d
mov rax, qword [rbp - 8]
lea rdi, [rbp - 0x78]
mov rsi, rax
mov ecx, 7
rep movsq qword [rdi], qword [rsi]
cmp qword [rbp - 0x18], 1
jne 0x1000a97c0
mov rcx, qword [rbp - 0x20]
mov rax, qword [rbp - 0x20]
call qword [rax + 0x68]
mov qword [rbp - 0x20], rax
cmp qword [rbp - 0x20], 0
je 0x1000a998b
nop
nop
mov qword [rbp - 0x40], 0xffffffffffffffff
mov rax, qword [rbp - 0x20]
lea rdx, [rax + 8]
lea rcx, [0x1000e9670]
mov r8d, 0x48
call fcn.100003ea0
mov rax, qword [rbp - 0x20]
lea rdx, [rax + 0x50]
lea rcx, [0x1000e96c0]
mov r8d, 0x1000
call fcn.100003ea0
mov dword [rbp - 0x28], 0
mov dword [rbp - 0x24], 0xffffffff
nop
add dword [rbp - 0x24], 1
mov dword [rbp - 0x30], 0
mov dword [rbp - 0x2c], 0xffffffff
nop word [rax + rax]
add dword [rbp - 0x2c], 1
mov eax, dword [rbp - 0x28]
movzx edx, byte [rbp + rax - 0x78]
mov eax, dword [rbp - 0x30]
shl eax, 8
or edx, eax
mov dword [rbp - 0x30], edx
add dword [rbp - 0x28], 1
mov eax, dword [rbp - 0x28]
cmp eax, dword [rbp - 0x10]
jl 0x1000a985c
mov dword [rbp - 0x28], 0
nop
cmp dword [rbp - 0x2c], 3
jl 0x1000a9830
mov r8, qword [rbp - 0x20]
mov edx, dword [rbp - 0x24]
mov eax, edx
mov ecx, dword [r8 + rax*4 + 8]
mov eax, dword [rbp - 0x30]
xor eax, ecx
and edx, edx
mov dword [r8 + rdx*4 + 8], eax
cmp dword [rbp - 0x24], 0x11
jl 0x1000a9818
mov dword [rbp - 0x38], 0
mov dword [rbp - 0x34], 0
mov dword [rbp - 0x24], 0
nop
lea rdx, [rbp - 0x38]
mov rcx, qword [rbp - 0x20]
call fcn.1000a99a0
mov rcx, qword [rbp - 0x20]
mov eax, dword [rbp - 0x24]
mov edx, dword [rbp - 0x38]
mov dword [rcx + rax*4 + 8], edx
mov rax, qword [rbp - 0x20]
movsxd rdx, dword [rbp - 0x24]
mov ecx, dword [rbp - 0x34]
mov dword [rax + rdx*4 + 0xc], ecx
add dword [rbp - 0x24], 2
cmp dword [rbp - 0x24], 0x11
jle 0x1000a9898
mov dword [rbp - 0x28], 0xffffffff
nop dword [rax + rax]
add dword [rbp - 0x28], 1
mov dword [rbp - 0x24], 0
nop dword [rax + rax]
lea rdx, [rbp - 0x38]
mov rcx, qword [rbp - 0x20]
call fcn.1000a99a0
mov rdx, qword [rbp - 0x20]
mov eax, dword [rbp - 0x28]
shl rax, 0xa
mov ecx, dword [rbp - 0x24]
lea rax, [rdx + rax + 0x50]
mov edx, dword [rbp - 0x38]
mov dword [rax + rcx*4], edx
mov rdx, qword [rbp - 0x20]
mov eax, dword [rbp - 0x28]
shl rax, 0xa
movsxd rcx, dword [rbp - 0x24]
lea rax, [rdx + rax + 0x54]
mov edx, dword [rbp - 0x34]
mov dword [rax + rcx*4], edx
add dword [rbp - 0x24], 2
cmp dword [rbp - 0x24], 0xff
jle 0x1000a98e8
cmp dword [rbp - 0x28], 3
jl 0x1000a98d8
mov qword [rbp - 0x40], 1
cmp qword [rbp - 0x20], 0
je 0x1000a998b
cmp qword [rbp - 0x18], 0
je 0x1000a998b
mov rcx, qword [rbp - 0x20]
mov rax, qword [rbp - 0x20]
mov rax, qword [rax]
call qword [rax + 0x88]
nop
jmp 0x1000a998b
mov rax, qword [rbp - 0x20]
mov rdi, qword [rbp - 0x88]
mov rsi, qword [rbp - 0x80]
lea rsp, [rbp]
pop rbp
ret
Function at 0x1000a99a0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rdi
push rsi
push r12
push r13
mov r10d, dword [rdx]
mov ebx, dword [rdx + 4]
mov eax, 0xffffffff
nop word [rax + rax]
add eax, 1
mov r8d, eax
mov r9d, r10d
xor r9d, dword [rcx + r8*4 + 8]
mov r10d, r9d
mov r8d, r10d
mov r9d, r8d
and r9d, 0xff
shr r8d, 8
mov esi, r8d
and esi, 0xff
shr r8d, 8
mov edi, r8d
and edi, 0xff
shr r8d, 8
and r8d, 0xff
lea r12, [rcx + 0x50]
and r8d, 0xff
and edi, 0xff
mov r13d, dword [r12 + r8*4]
mov r8d, dword [r12 + rdi*4 + 0x400]
add r8d, r13d
mov edi, r8d
and esi, 0xff
xor edi, dword [rcx + rsi*4 + 0x850]
mov r8d, edi
mov esi, r8d
and r9d, 0xff
add esi, dword [rcx + r9*4 + 0xc50]
mov r8d, esi
xor r8d, ebx
mov ebx, r8d
mov r11d, r10d
mov r10d, ebx
mov ebx, r11d
cmp eax, 0xf
jl 0x1000a99b8
xor r10d, dword [rcx + 0x48]
xor ebx, dword [rcx + 0x4c]
mov dword [rdx], ebx
mov dword [rdx + 4], r10d
pop r13
pop r12
pop rsi
pop rdi
pop rbx
ret

Function at 0x1000a9a70
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rdi
push rsi
push r12
push r13
mov r10d, dword [rdx]
mov ebx, dword [rdx + 4]
mov eax, 0x12
nop word [rax + rax]
sub eax, 1
mov r8d, eax
mov r9d, r10d
xor r9d, dword [rcx + r8*4 + 8]
mov r10d, r9d
mov r8d, r10d
mov r9d, r8d
and r9d, 0xff
shr r8d, 8
mov esi, r8d
and esi, 0xff
shr r8d, 8
mov edi, r8d
and edi, 0xff
shr r8d, 8
and r8d, 0xff
lea r12, [rcx + 0x50]
and r8d, 0xff
and edi, 0xff
mov r13d, dword [r12 + r8*4]
mov r8d, dword [r12 + rdi*4 + 0x400]
add r8d, r13d
mov edi, r8d
and esi, 0xff
xor edi, dword [rcx + rsi*4 + 0x850]
mov r8d, edi
mov esi, r8d
and r9d, 0xff
add esi, dword [rcx + r9*4 + 0xc50]
mov r8d, esi
xor r8d, ebx
mov ebx, r8d
mov r11d, r10d
mov r10d, ebx
mov ebx, r11d
cmp eax, 2
jg 0x1000a9a88
xor r10d, dword [rcx + 0xc]
xor ebx, dword [rcx + 8]
mov dword [rdx], ebx
mov dword [rdx + 4], r10d
pop r13
pop r12
pop rsi
pop rdi
pop rbx
ret
Function at 0x1000df820
Capabilities:
Access the windows event log

Disassembly:
push rbp
mov rbp, rsp
lea rsp, [rsp - 0xa0]
mov qword [rbp - 0x50], rbx
mov qword [rbp - 0x48], rdi
mov qword [rbp - 0x40], rsi
mov qword [rbp - 0x38], r12
mov qword [rbp - 0x30], r13
mov qword [rbp - 0x28], r14
mov qword [rbp - 0x20], r15
mov rsi, rcx
mov edi, edx
mov r14, r8
mov edx, edi
mov rcx, rsi
call fcn.1000dfc20
mov bx, ax
mov edx, edi
mov r12, rsi
mov rcx, r12
call fcn.1000dfc70
mov esi, eax
mov edx, edi
mov rcx, r12
call fcn.1000dfcb0
mov r13w, ax
mov rax, r14
test r14, r14
jne 0x1000df889
lea rax, [0x100164470]
mov qword [rbp - 8], rax
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x30], 0
mov word [rsp + 0x28], 1
mov qword [rsp + 0x20], 0
lea rax, [rbp - 8]
mov qword [rsp + 0x38], rax
mov ecx, dword [r12 + 0x68]
mov r9d, esi
movzx r8d, bx
movzx edx, r13w
call sub.advapi32.dll_ReportEventA
test eax, eax
jne 0x1000df930
mov al, byte [r12 + 0x79]
or al, al
setne al
and eax, 0xff
neg eax
je 0x1000df930
call sub.kernel32.dll_GetLastError
mov r15d, eax
mov qword [rsp + 0x20], 0
mov dword [rbp - 0x10], r15d
mov qword [rbp - 0x18], 0
lea r9, [rbp - 0x18]
mov r8, qword [str.Failed_to_log_entry__error__d_]
mov edx, 1
lea rcx, [0x10013b5e0]
call fcn.10002b340
mov rcx, rax
lea rdx, [0x1000df8eb]
mov r8, rbp
call fcn.100016930
nop
mov rbx, qword [rbp - 0x50]
mov rdi, qword [rbp - 0x48]
mov rsi, qword [rbp - 0x40]
mov r12, qword [rbp - 0x38]
mov r13, qword [rbp - 0x30]
mov r14, qword [rbp - 0x28]
mov r15, qword [rbp - 0x20]
lea rsp, [rbp]
pop rbp
ret
Function at 0x140001000
Capabilities:
Encrypt data using rc4 via systemfunction032

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov dword [rsp + 0x20], 0
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x44], eax
lea rcx, str.Advapi32
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, str.SystemFunction032
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
call qword [rsp + 0x28]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x1400010a3
mov edx, dword [rsp + 0x20]
lea rcx, str.____SystemFunction032_FAILED_With_Error_:_0x_0.8X_n
call fcn.140001740
xor eax, eax
jmp 0x1400010a8
mov eax, 1
add rsp, 0x58
ret
Function at 0x140002224
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000226e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000226e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000226e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000226e
cmp dword [rcx + 0x84], 0xe
jbe 0x14000226e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140002270
xor al, al
add rsp, 0x28
ret

Function at 0x140005db0
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140005bdc
Function at 0x140001220
Capabilities:
Parse pe header
Terminate process

Disassembly:
mov rax, rsp
sub rsp, 0xc8
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rdi
lea rcx, [rax - 0x78]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
cmp word [0x140000000], 0x5a4d
je 0x14000125c
xor ebx, ebx
mov dword [rsp + 0xd0], ebx
lea rdi, [0x140000000]
jmp 0x1400012ea
movsxd rax, dword [0x14000003c]
lea rdi, [0x140000000]
add rax, rdi
cmp dword [rax], 0x4550
je 0x140001280
xor ebx, ebx
mov dword [rsp + 0xd0], ebx
jmp 0x1400012ea
movzx ecx, word [rax + 0x18]
cmp ecx, 0x10b
je 0x1400012c7
cmp ecx, 0x20b
je 0x14000129f
xor ebx, ebx
mov dword [rsp + 0xd0], ebx
jmp 0x1400012ea
cmp dword [rax + 0x84], 0xe
ja 0x1400012b3
xor ebx, ebx
mov dword [rsp + 0xd0], ebx
jmp 0x1400012ea
xor ebx, ebx
cmp dword [rax + 0xf8], ebx
setne bl
mov dword [rsp + 0xd0], ebx
jmp 0x1400012ea
cmp dword [rax + 0x74], 0xe
ja 0x1400012d8
xor ebx, ebx
mov dword [rsp + 0xd0], ebx
jmp 0x1400012ea
xor ebx, ebx
cmp dword [rax + 0xe8], ebx
setne bl
mov dword [rsp + 0xd0], ebx
mov ecx, 2
call qword [sym.imp.msvcrt.dll___set_app_type]
mov qword [0x1400c59f0], 0xffffffffffffffff
mov qword [0x1400c59f8], 0xffffffffffffffff
mov rcx, qword [sym.imp.msvcrt.dll__fmode]
mov eax, dword [0x1400c16cc]
mov dword [rcx], eax
mov rcx, qword [sym.imp.msvcrt.dll__commode]
mov eax, dword [0x1400c16c8]
mov dword [rcx], eax
call fcn.1400014f0
cmp dword [section..data], 0
jne 0x140001344
lea rcx, [fcn.1400014f0]
call qword [sym.imp.msvcrt.dll___setusermatherr]
lea rdx, [0x1400a8920]
lea rcx, [0x1400a8918]
call sub.msvcrt.dll__initterm
mov r11d, dword [0x1400c16c4]
mov dword [rsp + 0xd8], r11d
lea rax, [rsp + 0xd8]
mov qword [rsp + 0x20], rax
mov r9d, dword [0x1400c16c0]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x3c]
call qword [sym.imp.msvcrt.dll___wgetmainargs]
lea rdx, [0x1400a8910]
lea rcx, [0x1400a88d0]
call sub.msvcrt.dll__initterm
mov r8, qword [sym.imp.msvcrt.dll__wcmdln]
cmp qword [r8], 0
jne 0x1400013b9
mov eax, 0xff
jmp 0x140001489
mov r8, qword [r8]
mov qword [rsp + 0x30], r8
cmp word [r8], 0x22
jne 0x140001400
nop
nop
add r8, 2
mov qword [rsp + 0x30], r8
movzx eax, word [r8]
test ax, ax
je 0x1400013ea
cmp ax, 0x22
je 0x1400013ea
jmp 0x1400013d0
cmp word [r8], 0x22
jne 0x140001412
add r8, 2
mov qword [rsp + 0x30], r8
jmp 0x140001412
cmp word [r8], 0x20
jbe 0x140001412
add r8, 2
mov qword [rsp + 0x30], r8
jmp 0x140001400
movzx eax, word [r8]
test ax, ax
je 0x14000142c
cmp ax, 0x20
ja 0x14000142c
add r8, 2
mov qword [rsp + 0x30], r8
jmp 0x140001412
test byte [rsp + 0x8c], 1
je 0x140001441
movzx r9d, word [rsp + 0x90]
jmp 0x140001447
mov r9d, 0xa
xor edx, edx
mov rcx, rdi
call fcn.140088690
mov edi, eax
mov dword [rsp + 0x38], eax
test ebx, ebx
jne 0x140001463
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
call qword [sym.imp.msvcrt.dll__cexit]
jmp 0x140001487
mov eax, edi
mov rbx, qword [rsp + 0xe0]
mov rdi, qword [rsp + 0xe8]
add rsp, 0xc8
ret
Function at 0x140002ea0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov r9, rcx
mov rsi, rdx
mov rdx, qword [rcx + 0x148]
mov rax, qword [r9 + 0x158]
mov rcx, qword [rcx + 0x150]
xor ebx, ebx
mov qword [rsi], rax
mov rax, qword [r9 + 0x160]
shl rdx, 3
shl rcx, 3
cmp rdx, rbx
mov qword [rsi + 8], rax
jne 0x140002ef0
cmp rcx, rbx
je 0x140002fd7
xor eax, eax
lea rdi, [r9 + 0x178]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rax
mov rax, rcx
shr rax, 0x38
mov byte [rsp + 0x27], cl
mov byte [rsp + 0x2f], dl
mov byte [rsp + 0x20], al
mov rax, rcx
shr rax, 0x30
mov byte [rsp + 0x21], al
mov rax, rcx
shr rax, 0x28
mov byte [rsp + 0x22], al
mov rax, rcx
shr rax, 0x20
mov byte [rsp + 0x23], al
mov rax, rcx
shr rax, 0x18
mov byte [rsp + 0x24], al
mov rax, rcx
shr rax, 0x10
mov byte [rsp + 0x25], al
mov rax, rcx
mov rcx, rbx
shr rax, 8
mov byte [rsp + 0x26], al
mov rax, rdx
shr rax, 0x38
mov byte [rsp + 0x28], al
mov rax, rdx
shr rax, 0x30
mov byte [rsp + 0x29], al
mov rax, rdx
shr rax, 0x28
mov byte [rsp + 0x2a], al
mov rax, rdx
shr rax, 0x20
mov byte [rsp + 0x2b], al
mov rax, rdx
shr rax, 0x18
mov byte [rsp + 0x2c], al
mov rax, rdx
shr rax, 0x10
mov byte [rsp + 0x2d], al
mov rax, rdx
shr rax, 8
mov byte [rsp + 0x2e], al
mov al, byte [rsp + rcx + 0x20]
xor byte [rdi + rcx], al
add rcx, 1
cmp rcx, 0x10
jb 0x140002fa8
mov r8, rdi
mov rdx, rdi
mov rcx, r9
call fcn.140002c80
mov al, byte [rdi + rbx]
xor byte [rbx + rsi], al
add rbx, 1
cmp rbx, 0x10
jb 0x140002fc7
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
xor eax, eax
add rsp, 0x30
pop rdi
ret
Function at 0x1400031f0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0x30
mov rbx, rcx
xor ecx, ecx
xor edi, edi
cmp rbx, rdi
mov qword [rax - 0x18], rcx
mov rdx, rcx
mov qword [rax - 0x10], rcx
mov qword [rax + 8], rdi
je 0x14000323b
lea r9, [rax + 8]
lea r8, [rax - 0x18]
lea rdx, [rax - 0x18]
mov rcx, rbx
call fcn.140002be4
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x20]
jmp 0x140003240
mov eax, 0xffff9f00
cmp eax, edi
jne 0x1400033ab
movzx eax, byte [rsp + 0x21]
movzx r8d, cl
movzx ecx, byte [rsp + 0x24]
shl r8d, 8
movzx edx, dl
shl ecx, 8
or r8d, eax
movzx eax, byte [rsp + 0x22]
shl edx, 8
shl r8d, 8
mov qword [rbx + 0xc8], rdi
mov qword [rbx + 0x48], rdi
or r8d, eax
movzx eax, byte [rsp + 0x23]
mov r9d, 4
shl r8d, 8
or r8, rax
movzx eax, byte [rsp + 0x25]
or ecx, eax
movzx eax, byte [rsp + 0x26]
shl r8, 0x20
shl ecx, 8
or eax, ecx
movzx ecx, byte [rsp + 0x2c]
shl eax, 8
shl ecx, 8
or r8, rax
movzx eax, byte [rsp + 0x27]
or r8, rax
movzx eax, byte [rsp + 0x29]
or edx, eax
movzx eax, byte [rsp + 0x2a]
mov qword [rbx + 0x108], r8
shl edx, 8
or edx, eax
movzx eax, byte [rsp + 0x2b]
shl edx, 8
or rdx, rax
movzx eax, byte [rsp + 0x2d]
or ecx, eax
movzx eax, byte [rsp + 0x2e]
shl rdx, 0x20
shl ecx, 8
or eax, ecx
shl eax, 8
or rdx, rax
movzx eax, byte [rsp + 0x2f]
or rdx, rax
mov qword [rbx + 0x88], rdx
mov ecx, edx
mov rax, r8
shr rdx, 1
shl rax, 0x3f
and ecx, 1
or rdx, rax
mov rax, r8
shr rax, 1
imul ecx, ecx, 0xe1000000
shl rcx, 0x20
mov r8, rcx
xor r8, rax
movsxd rax, r9d
sar r9d, 1
cmp r9d, edi
mov qword [rbx + rax*8 + 0x48], rdx
mov qword [rbx + rax*8 + 0xc8], r8
jg 0x140003307
mov edx, 2
mov rcx, rdx
cmp rcx, 1
lea rax, [rbx + rcx*8 + 0x48]
lea r8, [rbx + rcx*8 + 0xc8]
mov rdi, qword [r8]
mov rsi, qword [rax]
jle 0x14000339c
lea r9, [rax + 8]
lea r10, [rbx + 0x50]
sub r8, rax
lea r11, [rcx - 1]
mov rax, qword [r10 + 0x80]
xor rax, rdi
mov qword [r8 + r9], rax
mov rax, qword [r10]
add r10, 8
xor rax, rsi
mov qword [r9], rax
add r9, 8
sub r11, 1
jne 0x140003377
lea eax, [rdx + rdx]
add rcx, rcx
cmp eax, 8
mov edx, eax
jle 0x14000334f
xor eax, eax
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x140004c60
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rdi
sub rsp, 0x20
test rcx, rcx
mov ebp, r8d
mov rbx, rdx
mov rdi, rcx
je 0x140004df5
test rdx, rdx
je 0x140004df5
mov r11d, dword [rcx + 4]
mov ecx, dword [rdx + 4]
mov qword [rsp + 0x30], rsi
mov esi, ecx
or esi, r11d
bt esi, 0xa
jae 0x140004cd1
and ecx, r11d
bt ecx, 0xa
jae 0x140004deb
mov eax, dword [rdx + 8]
cmp dword [rdi + 8], eax
jne 0x140004deb
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
movzx edx, byte [rdi]
cmp dl, byte [rbx]
je 0x140004d16
cmp dl, 0x5f
jne 0x140004cee
mov rcx, qword [rdi + 0x10]
mov rdx, rbx
call fcn.140004c60
cmp eax, 2
jl 0x140004d0f
cmp byte [rbx], 0x5f
jne 0x140004deb
mov rdx, qword [rbx + 0x10]
mov r8d, ebp
mov rcx, rdi
call fcn.140004c60
cmp eax, 2
jge 0x140004deb
mov eax, 1
jmp 0x140004cbc
cmp dl, 0x9a
je 0x140004d5c
cmp dl, 0x9c
je 0x140004d5c
mov rax, qword [rdi + 8]
test rax, rax
je 0x140004d5c
mov r10, qword [rbx + 8]
sub r10, rax
movzx r9d, byte [rax]
movzx r8d, byte [rax + r10]
sub r9d, r8d
jne 0x140004d47
add rax, 1
test r8d, r8d
jne 0x140004d30
test r9d, r9d
je 0x140004d5c
xor ecx, ecx
cmp dl, 0x5f
setne cl
lea eax, [rcx + 1]
jmp 0x140004cbc
xor ecx, r11d
test cl, 0x10
jne 0x140004deb
bt esi, 0xe
jb 0x140004cba
bt esi, 0xb
jb 0x140004deb
mov rdx, qword [rbx + 0x10]
mov rcx, qword [rdi + 0x10]
mov r8d, ebp
call fcn.140004c60
test eax, eax
jne 0x140004deb
mov rdx, qword [rbx + 0x18]
mov rcx, qword [rdi + 0x18]
mov r8d, ebp
call fcn.140004c60
test eax, eax
jne 0x140004deb
mov rdx, qword [rbx + 0x20]
mov rcx, qword [rdi + 0x20]
mov r8d, ebp
call fcn.140004b90
test eax, eax
jne 0x140004deb
bt esi, 0xd
jb 0x140004cba
cmp byte [rdi], 0x61
je 0x140004cba
movzx eax, word [rbx + 0x30]
cmp word [rdi + 0x30], ax
jne 0x140004deb
mov ecx, dword [rdi + 0x2c]
mov eax, dword [rbx + 0x2c]
cmp ecx, eax
je 0x140004cba
cmp ecx, ebp
jne 0x140004deb
test eax, eax
js 0x140004cba
mov eax, 2
jmp 0x140004cbc
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
xor ecx, ecx
cmp rdx, rdi
mov eax, 2
cmove eax, ecx
add rsp, 0x20
pop rdi
ret

Function at 0x140007b30
Capabilities:
Encode data using xor

Disassembly:
mov r9, rcx
movzx ecx, byte [rcx]
xor eax, eax
test cl, cl
je 0x140007b70
lea r10, [0x1400ab830]
nop
nop
nop
nop
movzx edx, cl
lea ecx, [rax*8]
add r9, 1
movzx r8d, byte [rdx + r10]
xor r8d, ecx
mov cl, byte [r9]
xor eax, r8d
test cl, cl
jne 0x140007b50
ret 0
Function at 0x1400113b0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov r9, qword [rcx + 0x10]
mov r11, rdx
mov r10, rcx
test r9, r9
lea rbx, [0x1400ab830]
je 0x140011410
mov r8, rdx
movzx edx, byte [rdx]
xor eax, eax
test dl, dl
je 0x1400113fd
nop
nop
nop
movzx ecx, dl
add r8, 1
movzx edx, byte [rcx + rbx]
lea ecx, [rax*8]
xor edx, ecx
xor eax, edx
mov dl, byte [r8]
test dl, dl
jne 0x1400113e0
xor edx, edx
div dword [r10]
mov ecx, edx
shl rcx, 4
add rcx, r9
mov r10d, dword [rcx]
jmp 0x140011414
mov r10d, dword [rcx + 4]
test r10d, r10d
mov r9, qword [rcx + 8]
je 0x14001148c
nop
mov rdx, qword [r9 + 0x18]
sub r10d, 1
test rdx, rdx
jne 0x140011437
mov rax, r11
neg rax
sbb edx, edx
jmp 0x140011480
test r11, r11
je 0x140011484
movzx ecx, byte [rdx]
mov r8, r11
test cl, cl
je 0x14001146f
nop
nop
nop
movzx eax, byte [r8]
movzx ecx, cl
movzx eax, byte [rax + rbx]
cmp byte [rcx + rbx], al
jne 0x14001146f
mov cl, byte [rdx + 1]
add rdx, 1
add r8, 1
test cl, cl
jne 0x140011450
movzx eax, byte [r8]
movzx ecx, byte [rax + rbx]
movzx eax, byte [rdx]
movzx edx, byte [rax + rbx]
sub edx, ecx
test edx, edx
je 0x140011494
test r10d, r10d
mov r9, qword [r9]
jne 0x140011420
xor eax, eax
mov rbx, qword [rsp + 8]
ret
mov rax, qword [r9 + 0x10]
mov rbx, qword [rsp + 8]
ret
Function at 0x1400119e0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rdi
mov ebp, dword [rcx + 0x28]
mov ebx, 1
xor r9d, r9d
cmp ebp, ebx
mov rdi, r8
mov r11, rdx
jle 0x140011b8e
mov qword [rsp + 0x20], rsi
mov rsi, qword [rcx + 0x20]
mov qword [rsp + 0x28], r12
lea r12, [0x1400ab830]
cmp ebx, 2
jge 0x140011a21
mov eax, ebx
xor eax, 1
jmp 0x140011a23
mov eax, ebx
movsxd rdx, eax
shl rdx, 5
test rdi, rdi
mov r10, qword [rdx + rsi + 0x18]
je 0x140011a8a
mov rdx, qword [rdx + rsi]
test rdx, rdx
je 0x140011b63
movzx ecx, byte [rdi]
mov r8, rdi
test cl, cl
je 0x140011a71
nop
nop
movzx eax, byte [rdx]
movzx ecx, cl
movzx eax, byte [rax + r12]
cmp byte [rcx + r12], al
jne 0x140011a71
mov cl, byte [r8 + 1]
add r8, 1
add rdx, 1
test cl, cl
jne 0x140011a50
movzx eax, byte [rdx]
movzx edx, byte [rax + r12]
movzx eax, byte [r8]
movzx ecx, byte [rax + r12]
sub ecx, edx
jne 0x140011b63
mov r9, qword [r10 + 0x30]
test r9, r9
je 0x140011adb
movzx eax, byte [r11]
xor r8d, r8d
mov rdx, r11
test al, al
je 0x140011ac0
movzx eax, al
add rdx, 1
movzx ecx, byte [rax + r12]
lea eax, [r8*8]
xor ecx, eax
mov al, byte [rdx]
xor r8d, ecx
test al, al
jne 0x140011aa1
xor edx, edx
mov eax, r8d
div dword [r10 + 0x20]
mov ecx, edx
shl rcx, 4
add rcx, r9
mov r9, qword [rcx + 8]
mov r10d, dword [rcx]
jmp 0x140011ae3
mov r9, qword [r10 + 0x28]
mov r10d, dword [r10 + 0x24]
test r10d, r10d
je 0x140011b60
nop
nop
mov rdx, qword [r9 + 0x18]
sub r10d, 1
test rdx, rdx
jne 0x140011b07
mov rax, r11
neg rax
sbb edx, edx
jmp 0x140011b54
test r11, r11
je 0x140011b58
movzx ecx, byte [rdx]
mov r8, r11
test cl, cl
je 0x140011b41
nop
nop
nop
movzx eax, byte [r8]
movzx ecx, cl
movzx eax, byte [rax + r12]
cmp byte [rcx + r12], al
jne 0x140011b41
mov cl, byte [rdx + 1]
add rdx, 1
add r8, 1
test cl, cl
jne 0x140011b20
movzx eax, byte [r8]
movzx ecx, byte [rax + r12]
movzx eax, byte [rdx]
movzx edx, byte [rax + r12]
sub edx, ecx
test edx, edx
je 0x140011b83
test r10d, r10d
mov r9, qword [r9]
jne 0x140011af0
xor r9d, r9d
add ebx, 1
cmp ebx, ebp
jl 0x140011a15
mov rsi, qword [rsp + 0x20]
mov r12, qword [rsp + 0x28]
mov rax, r9
mov rbx, qword [rsp + 0x30]
pop rdi
pop rbp
ret
mov r9, qword [r9 + 0x10]
test r9, r9
jne 0x140011b6e
jmp 0x140011b63
mov rax, r9
mov rbx, qword [rsp + 0x30]
pop rdi
pop rbp
ret