joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14005b9f0
Capabilities:
Encode data using xor
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
mov rsi, qword [rdx]
mov r11d, dword [rdx + 0x18]
mov ebp, dword [rdx + 0x1c]
mov rax, rcx
mov r10d, r8d
mov ecx, r11d
mov edx, dword [rax + 0xb98]
sub ecx, ebp
mov r9d, 8
movzx edi, byte [rcx + rsi]
dec ecx
and edx, r10d
movzx r8d, byte [rcx + rsi]
mov ecx, r9d
lea rbx, [rax + 0xb9c]
sub cl, byte [rax + 0xb94]
shr r8d, cl
mov ecx, dword [rax + 0xb94]
shl edx, cl
add r8d, edx
lea rdx, [r8 + r8*2]
shl rdx, 9
add rbx, rdx
cmp dword [rax + 0x2e0], 7
jge 0x14005baac
lea r10d, [r9 - 7]
movzx r11d, dil
nop dword [rax]
dec r9d
mov r8d, r11d
movzx ecx, r9b
shr r8d, cl
mov rcx, qword [rax + 0x18]
and r8d, 1
mov dword [rax + rcx*4 + 0x28], r8d
mov ecx, r10d
lea rdx, [rbx + rcx*2]
mov rcx, qword [rax + 0x18]
lea r10d, [r8 + r10*2]
mov qword [rax + rcx*8 + 0x110], rdx
inc qword [rax + 0x18]
test r9d, r9d
jne 0x14005ba70
jmp 0x14005bb20
sub r11d, dword [rax + 0x2e4]
mov r9d, 0x100
movzx r8d, dil
sub r11d, ebp
dec r11d
add r8d, r9d
movzx r10d, byte [r11 + rsi]
nop dword [rax + rax]
mov rcx, qword [rax + 0x18]
mov edx, r8d
add r10d, r10d
shr edx, 7
and edx, 1
mov dword [rax + rcx*4 + 0x28], edx
mov ecx, r9d
mov edx, r8d
and ecx, r10d
shr edx, 8
add r8d, r8d
add ecx, r9d
add edx, ecx
mov rcx, qword [rax + 0x18]
lea rdx, [rbx + rdx*2]
mov qword [rax + rcx*8 + 0x110], rdx
inc qword [rax + 0x18]
mov ecx, r10d
xor ecx, r8d
not ecx
and r9d, ecx
cmp r8d, 0x10000
jb 0x14005bad0
mov ecx, dword [rax + 0x2e0]
cmp ecx, 3
jg 0x14005bb37
mov dword [rax + 0x2e0], 0
jmp 0x14005bb4a
cmp ecx, 9
jg 0x14005bb41
add ecx, 0xfffffffd
jmp 0x14005bb44
add ecx, 0xfffffffa
mov dword [rax + 0x2e0], ecx
mov rbx, qword [rsp + 8]
mov rbp, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
ret

Function at 0x140061060
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
mov rsi, rcx
xor r9d, r9d
lea rdi, [rcx + 0x10e98]
lea rbp, [0x1400d10a0]
nop dword [rax + rax]
mov r10d, r9d
mov ebx, 4
xor eax, eax
mov r11d, 1
mov ecx, r11d
mov r8d, r10d
shr r10d, 1
movzx edx, word [rsi + rcx*2 + 0x71e0]
and r8d, 1
mov ecx, r8d
shr rdx, 4
lea r11d, [r8 + r11*2]
neg ecx
shr rcx, 4
and ecx, 0x7f
xor rdx, rcx
movzx ecx, byte [rdx + rbp]
add eax, ecx
dec ebx
jne 0x1400610a0
inc r9d
mov dword [rdi], eax
add rdi, 4
cmp r9d, 0x10
jb 0x140061090
mov rbp, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x20]
mov dword [rsi + 0x10ed8], ebx
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x18]
ret
Function at 0x140061100
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
push r15
mov r14d, 4
mov r10, rcx
xor edi, edi
lea rbx, [rcx + 0x10290]
lea rsi, [rcx + 0x10694]
lea r15, [0x1400d10a0]
mov ebp, r14d
nop dword [rax + rax]
xor r11d, r11d
cmp dword [r10 + 0x10e90], r11d
jbe 0x1400611a4
nop dword [rax]
xor r9d, r9d
lea eax, [r11 + 0x40]
nop word [rax + rax]
mov edx, eax
shr eax, 1
and edx, 1
mov ecx, eax
add rcx, rdi
movzx r8d, word [r10 + rcx*2 + 0x6efc]
mov ecx, edx
neg ecx
shr r8, 4
shr rcx, 4
and ecx, 0x7f
xor r8, rcx
movzx ecx, byte [r8 + r15]
add r9d, ecx
cmp eax, 1
jne 0x140061160
mov dword [rbx + r11*4], r9d
inc r11d
cmp r11d, dword [r10 + 0x10e90]
jb 0x140061150
mov edx, recvfrom
cmp dword [r10 + 0x10e90], edx
jbe 0x1400611cf
mov eax, edx
lea rcx, [rbx + rax*4]
mov eax, edx
inc edx
shr eax, 1
sub eax, 5
shl eax, 4
add dword [rcx], eax
cmp edx, dword [r10 + 0x10e90]
jb 0x1400611b2
mov eax, dword [rbx]
add rsi, 0x200
add rbx, 0x100
mov dword [rsi - 0x204], eax
mov eax, dword [rbx - 0xfc]
add rdi, 0x40
mov dword [rsi - 0x200], eax
mov eax, dword [rbx - 0xf8]
mov dword [rsi - 0x1fc], eax
mov eax, dword [rbx - 0xf4]
mov dword [rsi - 0x1f8], eax
dec rbp
jne 0x140061140
lea rdi, [r10 + 0x108a0]
nop dword [rax]
cmp r14d, 4
ja 0x14006122b
mov edx, r14d
jmp 0x14006123d
bsr edx, r14d
mov eax, r14d
lea ecx, [rdx - 1]
shr eax, cl
and eax, 1
lea edx, [rax + rdx*2]
mov r9d, edx
mov eax, edx
mov ebx, r14d
and eax, 1
shr r9d, 1
mov r11d, edx
dec r9d
or eax, 2
mov ecx, r9d
shl eax, cl
sub ebx, eax
xor r8d, r8d
mov ebp, eax
lea esi, [r8 + 1]
mov eax, esi
mov edx, ebx
shr ebx, 1
sub rax, r11
and edx, 1
add rax, rbp
lea esi, [rdx + rsi*2]
movzx ecx, word [r10 + rax*2 + 0x70fa]
mov eax, edx
neg eax
shr rcx, 4
shr rax, 4
and eax, 0x7f
xor rcx, rax
movzx eax, byte [rcx + r15]
add r8d, eax
dec r9d
jne 0x140061264
mov ecx, dword [r10 + r11*4 + 0x10290]
inc r14d
add rdi, 4
add ecx, r8d
mov dword [rdi - 0x204], ecx
mov ecx, dword [r10 + r11*4 + 0x10390]
add ecx, r8d
mov dword [rdi - 4], ecx
mov ecx, dword [r10 + r11*4 + 0x10490]
add ecx, r8d
mov dword [rdi + 0x1fc], ecx
mov ecx, dword [r10 + r11*4 + 0x10590]
add ecx, r8d
mov dword [rdi + 0x3fc], ecx
cmp r14d, 0x80
jb 0x140061220
mov rbx, qword [rsp + 0x18]
mov rbp, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x30]
mov dword [r10 + 0x10e94], r9d
pop r15
pop r14
ret
Function at 0x140061400
Capabilities:
Encode data using xor

Disassembly:
push rdi
mov r10d, dword [rcx + 0xb94]
mov r11, rcx
mov ecx, 8
mov eax, dword [r11 + 0xb98]
sub ecx, r10d
shr r8d, cl
and eax, edx
mov ecx, r10d
shl eax, cl
xor r10d, r10d
add r8d, eax
lea rdi, [r8 + r8*2]
shl rdi, 9
add rdi, r11
lea r11, [0x1400d10a0]
test r9b, r9b
jne 0x140061486
mov ecx, dword [rsp + 0x38]
add ecx, 0x100
nop dword [rax]
mov r8d, ecx
shr ecx, 1
movzx r9d, word [rdi + rcx*2 + 0xb9c]
and r8d, 1
neg r8d
shr r9, 4
shr r8, 4
and r8d, 0x7f
xor r9, r8
movzx edx, byte [r9 + r11]
add r10d, edx
cmp ecx, 1
jne 0x140061450
mov eax, r10d
pop rdi
ret
mov r8d, dword [rsp + 0x38]
mov r9d, 0x100
mov qword [rsp + 0x10], rbx
mov ebx, dword [rsp + 0x30]
add r8d, r9d
nop dword [rax]
mov ecx, r8d
add ebx, ebx
mov eax, r9d
shr ecx, 8
and eax, ebx
add eax, r9d
add ecx, eax
movzx edx, word [rdi + rcx*2 + 0xb9c]
mov ecx, r8d
add r8d, r8d
shr ecx, 7
shr rdx, 4
and ecx, 1
neg ecx
shr rcx, 4
and ecx, 0x7f
xor rdx, rcx
movzx eax, byte [rdx + r11]
add r10d, eax
mov eax, ebx
xor eax, r8d
not eax
and r9d, eax
cmp r8d, 0x10000
jb 0x1400614a0
mov rbx, qword [rsp + 0x10]
mov eax, r10d
pop rdi
ret
Function at 0x140066870
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 8
mov eax, dword [rcx + 0x60]
movzx r9d, byte [rcx + 0x5c]
test eax, eax
jle 0x1400668c7
mov r8d, dword [rcx + 0x288]
mov qword [rsp], rbx
movzx r11d, r9b
lea rbx, [0x140144650]
mov r10d, eax
nop dword [rax]
mov edx, r8d
mov eax, r8d
shr rdx, 0x18
shl eax, 8
xor rdx, r11
mov r8d, dword [rbx + rdx*4]
xor r8d, eax
mov dword [rcx + 0x288], r8d
dec r10
jne 0x1400668a0
mov rbx, qword [rsp]
mov eax, dword [rcx + 0x5c]
mov byte [rax + rcx + 0x80], 1
movsxd r8, dword [rcx + 0x60]
mov edx, r8d
dec edx
je 0x140066966
dec edx
je 0x140066957
dec edx
je 0x140066948
mov byte [r8 + rcx + 0x7c], 1
movsxd rdx, dword [rcx + 0x6c]
mov rax, qword [rcx + 0x40]
mov byte [rdx + rax], r9b
inc dword [rcx + 0x6c]
movsxd rdx, dword [rcx + 0x6c]
mov rax, qword [rcx + 0x40]
mov byte [rdx + rax], r9b
inc dword [rcx + 0x6c]
movsxd rdx, dword [rcx + 0x6c]
mov rax, qword [rcx + 0x40]
mov byte [rdx + rax], r9b
inc dword [rcx + 0x6c]
movsxd rdx, dword [rcx + 0x6c]
mov rax, qword [rcx + 0x40]
mov byte [rdx + rax], r9b
inc dword [rcx + 0x6c]
movzx r8d, byte [rcx + 0x60]
movsxd rdx, dword [rcx + 0x6c]
mov rax, qword [rcx + 0x40]
sub r8b, 4
mov byte [rdx + rax], r8b
inc dword [rcx + 0x6c]
add rsp, 8
ret
movsxd rdx, dword [rcx + 0x6c]
mov rax, qword [rcx + 0x40]
mov byte [rdx + rax], r9b
inc dword [rcx + 0x6c]
mov rax, qword [rcx + 0x40]
movsxd rdx, dword [rcx + 0x6c]
mov byte [rdx + rax], r9b
inc dword [rcx + 0x6c]
mov rax, qword [rcx + 0x40]
movsxd rdx, dword [rcx + 0x6c]
mov byte [rdx + rax], r9b
inc dword [rcx + 0x6c]
add rsp, 8
ret
Function at 0x140091230
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
xor esi, esi
mov rdi, rcx
mov qword [rcx + 8], rsi
call fcn.140093800
mov edx, 0xa0
mov rcx, rdi
mov dword [rsp + 0x38], eax
call fcn.1400937d0
mov rbx, rax
test rax, rax
jne 0x140091286
mov rcx, rdi
call fcn.140093810
mov rcx, qword [rdi]
mov dword [rcx + 0x28], gethostname
mov rcx, qword [rdi]
mov dword [rcx + 0x2c], esi
mov rdx, qword [rdi]
mov rcx, rdi
call qword [rdx]
mov dword [rbx + 0x5c], 0x3b9aca00
lea rax, [fcn.140090dd0]
lea rcx, str.JPEGMEM
mov qword [rbx], rax
lea rax, [fcn.140090c00]
mov qword [rbx + 8], rax
lea rax, [fcn.140090cf0]
mov qword [rbx + 0x10], rax
lea rax, [fcn.140090b10]
mov qword [rbx + 0x18], rax
lea rax, [0x140091650]
mov qword [rbx + 0x20], rax
lea rax, [0x1400915a0]
mov qword [rbx + 0x28], rax
lea rax, [0x1400913c0]
mov qword [rbx + 0x30], rax
lea rax, [0x1400908c0]
mov qword [rbx + 0x38], rax
lea rax, [0x140090660]
mov qword [rbx + 0x40], rax
lea rax, [0x1400910e0]
mov qword [rbx + 0x48], rax
lea rax, [0x140091700]
mov qword [rbx + 0x50], rax
mov eax, dword [rsp + 0x38]
mov dword [rbx + 0x58], eax
mov qword [rbx + 0x68], rsi
mov qword [rbx + 0x78], rsi
mov qword [rbx + 0x60], rsi
mov qword [rbx + 0x70], rsi
mov qword [rbx + 0x80], rsi
mov qword [rbx + 0x88], rsi
mov qword [rbx + 0x90], 0xa0
mov qword [rdi + 8], rbx
call qword [sym.imp.msvcrt.dll_getenv]
test rax, rax
je 0x140091390
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x38]
lea rdx, str._ld_c
mov rcx, rax
mov byte [rsp + 0x30], 0x78
call qword [sym.imp.msvcrt.dll_sscanf]
test eax, eax
jle 0x140091390
movzx eax, byte [rsp + 0x30]
sub al, 0x4d
test al, 0xdf
jne 0x140091383
imul eax, dword [rsp + 0x38], 0x3e8
jmp 0x140091387
mov eax, dword [rsp + 0x38]
imul eax, eax, 0x3e8
mov dword [rbx + 0x58], eax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x1400a38c0
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x40
cmp dword [0x14014b180], 0
mov r14, rdx
mov r15, rcx
lea rbx, [0x14014b190]
jne 0x1400a390d
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov rcx, rbx
mov dword [0x14014b1b8], eax
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [0x14014b180], 1
mov ecx, dword [0x14014b1b8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbp, rax
test rax, rax
jne 0x1400a39e2
mov rcx, qword [0x1401493ec]
lea edx, [rax + 8]
lea r8d, [rax + 0x28]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbp, rax
test rax, rax
je 0x1400a3a0d
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [0x14014b188]
test rax, rax
je 0x1400a395d
mov qword [rax], rbp
mov rcx, rbx
mov qword [rbp + 8], rax
mov qword [0x14014b188], rbp
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
and dword [rsp + 0x30], 0
and dword [rsp + 0x28], 0
lea r9, [rbp + 0x20]
mov r8, rdi
mov rcx, rax
mov rdx, rbx
mov dword [rsp + 0x20], 0x100000
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov rdx, qword [rbp + 0x20]
lea rcx, [rbp + 0x18]
lea r8, [0x1400a3a28]
mov r9, rbp
mov dword [rsp + 0x28], 8
or dword [rsp + 0x20], 0xffffffff
call qword [sym.imp.KERNEL32.dll_RegisterWaitForSingleObject]
mov ecx, dword [0x14014b1b8]
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rcx, qword [0x1401493ec]
xor edx, edx
lea r8d, [rdx + 0x18]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
je 0x1400a3a0d
mov qword [rax + 8], r15
mov qword [rax + 0x10], r14
mov rcx, qword [rbp + 0x10]
mov qword [rax], rcx
mov qword [rbp + 0x10], rax
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
Function at 0x1400a4420
Capabilities:
Set thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov ebx, ecx
mov rcx, qword [0x1401493ec]
mov edx, 8
mov r8d, 0x250
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, dword [0x14014b680]
mov rdx, rax
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov qword [0x14014b6a0], rdi
and dword [rdi + 0x11c], 0
or eax, 0xffffffff
mov edx, ebx
mov rcx, rdi
mov dword [rdi + 0x118], 0xffffff
mov dword [rdi + 0xe8], 2
mov dword [rdi + 0xec], IsNetDrive
mov dword [rdi + 0x120], eax
mov dword [rdi + 0x124], eax
call fcn.1400a79e8
mov rbx, qword [rsp + 0x30]
lea rax, [0x1400a52d8]
mov qword [rdi + 0xb0], rax
lea rax, [0x1400a533c]
mov qword [rdi + 0xb8], rax
lea rax, [fcn.1400a4d7c]
mov qword [rdi + 0x20], rax
lea rax, [0x1400a4c2c]
mov qword [rdi + 0x60], rax
lea rax, [0x1400a53e0]
mov qword [rdi + 0xc8], rax
lea rax, [0x1400a5388]
mov qword [rdi + 0xc0], rax
lea rax, [0x1400a48b8]
mov qword [rdi + 0x68], rax
lea rax, [0x1400a485c]
mov qword [rdi + 0x48], rax
lea rax, [0x1400a4888]
mov qword [rdi + 0x50], rax
lea rax, [0x1400a470c]
mov qword [rdi + 0x58], rax
lea rax, [0x1400a50d0]
mov qword [rdi + 0x88], rax
mov rax, rdi
add rsp, 0x20
pop rdi
ret
Function at 0x1400ac024
Capabilities:
Encode data using xor

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

Function at 0x1400ace8c
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
mov r11d, dword [rsp + 0x68]
movsxd rsi, dword [rcx + 0x160]
mov edi, r8d
mov r12, rdx
mov rbx, rcx
test r11d, r11d
je 0x1400acf55
mov eax, dword [rsp + 0x50]
mov ecx, r8d
mov ebp, r8d
lea r10d, [rax + rax*2]
mov eax, esi
imul ecx, dword [rsp + 0x58]
movsxd r13, r10d
imul eax, r9d
mov r9d, dword [rsp + 0x48]
movsxd r10, eax
mov qword [rsp + 0x28], r10
neg ebp
mov eax, dword [rbx + 0x158]
movsxd r8, ecx
add r8, r13
add r8, r12
imul eax, r9d
movsxd rdx, eax
add rdx, qword [rbx + 0x150]
add rdx, r10
cmp dword [rsp + 0x60], 0
jle 0x1400acf3b
mov r10d, dword [rsp + 0x60]
mov al, byte [r8 + 2]
xor byte [rdx + 2], al
mov al, byte [r8 + 1]
xor byte [rdx + 1], al
mov al, byte [r8]
lea r8, [r8 + 3]
xor byte [rdx], al
add rdx, rsi
dec r10
jne 0x1400acf17
mov r10, qword [rsp + 0x28]
dec r11d
inc r9d
cmp dword [rbx + 0x174], 0
jne 0x1400acf4e
add ecx, ebp
jmp 0x1400acf50
add ecx, edi
test r11d, r11d
jne 0x1400aceeb
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x1407120b0
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.140712237
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x1407120e1
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1407120c7
add dl, dl
jne 0x1407120ee
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14071214e
xor eax, eax
add dl, dl
jne 0x1407120fd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140712205
add dl, dl
jne 0x14071210e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14071211b
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140712128
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140712135
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140712142
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1407120d6
mov eax, 1
add dl, dl
jne 0x14071215e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14071216b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140712153
sub eax, ebx
mov ebx, 1
jne 0x1407121a4
mov ecx, 1
add dl, dl
jne 0x140712186
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140712193
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14071217b
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1407120d6
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1407121c0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1407121cd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1407121b5
cmp eax, 0x7d00
jae 0x1407121f3
cmp eax, 0x500
jb 0x1407121ee
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1407120d6
cmp eax, 0x7f
ja 0x1407121f6
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1407120d6
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x14071222a
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x1407120d6
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x14001c390
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x47], 0
je 0x14001c3b3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x17]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x46
jb 0x14001c3a0
mov byte [rcx + 0x47], 0
mov rax, rcx
ret

Function at 0x14001c3c0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x70
mov r9, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x68], rcx
xor esi, esi
cmp byte [r8 + 6], sil
je 0x14001c3f4
mov ecx, esi
lea eax, [rcx - 0x17]
xor byte [r8 + rcx], al
inc rcx
cmp rcx, 5
jb 0x14001c3e0
mov byte [r8 + 6], sil
lea rax, [r8 + 5]
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x48], sil
cmp r9, rax
je 0x14001c429
mov r8d, 5
mov rdx, r9
lea rcx, [rsp + 0x48]
call fcn.140021840
nop
cmp byte [rbx + 0xa], 0
je 0x14001c453
mov rcx, rsi
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 0x17]
xor byte [rcx + rbx], al
inc rcx
cmp rcx, 9
jb 0x14001c440
mov byte [rbx + 0xa], 0
lea rax, [rbx + 9]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x28], 0
cmp rbx, rax
je 0x14001c488
mov r8d, 9
mov rdx, rbx
lea rcx, [rsp + 0x28]
call fcn.140021840
nop
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x28]
movzx edx, byte [rsp + 0x20]
mov rcx, rdi
call fcn.140024670
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x14001c4e1
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001c4db
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001c4db
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14015de00
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x14001c521
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001c51c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001c51c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14015de00
mov rax, rdi
add rsp, 0x70
pop rdi
pop rsi
pop rbx
ret
Function at 0x14001c530
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x50
mov r9, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x40], rcx
xor esi, esi
cmp byte [r8 + 7], sil
je 0x14001c564
mov eax, esi
lea ecx, [rax - 0x17]
xor byte [r8 + rax], cl
inc rax
cmp rax, 6
jb 0x14001c550
mov byte [r8 + 7], sil
lea rax, [r8 + 6]
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x20], sil
cmp r9, rax
je 0x14001c599
mov r8d, 6
mov rdx, r9
lea rcx, [rsp + 0x20]
call fcn.140021840
nop
mov r9, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x14001c5a7
mov rbx, qword [rbx]
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.140025940
mov qword [rdi], rsi
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rsi
movups xmm0, xmmword [rax]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdi + 0x10], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x14001c61e
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001c619
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001c619
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14015de00
mov rax, rdi
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret

Function at 0x14001c630
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x50
mov r9, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x40], rcx
xor esi, esi
cmp byte [r8 + 0xa], sil
je 0x14001c664
mov eax, esi
lea ecx, [rax - 0x17]
xor byte [r8 + rax], cl
inc rax
cmp rax, 9
jb 0x14001c650
mov byte [r8 + 0xa], sil
lea rax, [r8 + 9]
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x20], sil
cmp r9, rax
je 0x14001c699
mov r8d, 9
mov rdx, r9
lea rcx, [rsp + 0x20]
call fcn.140021840
nop
mov r9, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x14001c6a7
mov rbx, qword [rbx]
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.140025940
mov qword [rdi], rsi
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rsi
movups xmm0, xmmword [rax]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdi + 0x10], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x14001c71e
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001c719
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001c719
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14015de00
mov rax, rdi
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret

Function at 0x14001c730
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x136], 0
je 0x14001c758
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x17]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x135
jb 0x14001c740
mov byte [rcx + 0x136], 0
mov rax, rcx
ret