joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180008920
Capabilities:
Set registry value

Disassembly:
mov dword [rsp + 0x18], r8d
sub rsp, 0x38
mov rcx, qword [rcx]
lea rax, [rsp + 0x50]
mov dword [rsp + 0x28], 4
mov r9d, 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add rsp, 0x38
ret

Function at 0x180008960
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x38
mov r9, r8
mov r10, rdx
test r8, r8
jne 0x180008978
lea eax, [r8 + 0xd]
add rsp, 0x38
ret
xor r8d, r8d
mov rdx, r9
nop
or rax, 0xffffffffffffffff
inc rax
cmp word [rdx + rax*2], 0
jne 0x180008984
inc eax
lea rdx, [rdx + rax*2]
lea r8d, [r8 + rax*2]
cmp eax, 1
jne 0x180008980
mov rcx, qword [rcx]
mov rdx, r10
mov dword [rsp + 0x28], r8d
xor r8d, r8d
mov qword [rsp + 0x20], r9
lea r9d, [rax + 6]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add rsp, 0x38
ret
Function at 0x14001139d
Capabilities:
Terminate process

Disassembly:
jmp 0x140018830
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x140011492
Capabilities:
Parse pe header

Disassembly:
jmp 0x140019b80
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140019ba0
xor al, al
jmp 0x140019c21
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140019bb3
xor al, al
jmp 0x140019c21
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x140019bdd
xor al, al
jmp 0x140019c21
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140019bf1
xor al, al
jmp 0x140019c21
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140019c03
xor al, al
jmp 0x140019c21
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140019c1f
xor al, al
jmp 0x140019c21
mov al, 1
add rsp, 0x38
ret
Function at 0x14001675c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x1400167da
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x1400167d1
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x1400167d1
mov rax, qword [rbp - 8]
jmp 0x1400167ef
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x1400167a4
mov eax, 0
add rsp, 0x20
pop rbp
ret

Function at 0x140004000
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
cld
and rsp, 0xfffffffffffffff0
call fcn.1400040d6
push r9
push r8
push rdx
push rcx
xor rdx, rdx
push rsi
mov rdx, qword gs:[rdx + 0x60]
mov rdx, qword [rdx + 0x18]
mov rdx, qword [rdx + 0x20]
mov rsi, qword [rdx + 0x50]
xor r9, r9
movzx rcx, word [rdx + 0x4a]
xor rax, rax
lodsb al, byte [rsi]
cmp al, 0x61
jl 0x140004037
sub al, 0x20
ror r9d, 0xd
add r9d, eax
loop 0x14000402d
push rdx
mov rdx, qword [rdx + 0x20]
mov eax, dword [rdx + 0x3c]
add rax, rdx
cmp word [rax + 0x18], 0x20b
push r9
jne 0x1400040cb
mov eax, dword [rax + 0x88]
test rax, rax
je 0x1400040cb
add rax, rdx
mov ecx, dword [rax + 0x18]
mov r8d, dword [rax + 0x20]
push rax
add r8, rdx
jrcxz 0x1400040ca
dec rcx
xor r9, r9
mov esi, dword [r8 + rcx*4]
add rsi, rdx
xor rax, rax
lodsb al, byte [rsi]
ror r9d, 0xd
add r9d, eax
cmp al, ah
jne 0x140004081
add r9, qword [rsp + 8]
cmp r9d, r10d
jne 0x140004072
pop rax
mov r8d, dword [rax + 0x24]
add r8, rdx
mov cx, word [r8 + rcx*2]
mov r8d, dword [rax + 0x1c]
add r8, rdx
mov eax, dword [r8 + rcx*4]
add rax, rdx
pop r8
pop r8
pop rsi
pop rcx
pop rdx
pop r8
pop r9
pop r10
sub rsp, 0x20
push r10
jmp rax
pop rax
pop r9
pop rdx
mov rdx, qword [rdx]
jmp 0x140004021

Function at 0x140f6f0b4
Capabilities:
Encode data using xor

Disassembly:
jmp 0x140f6f0be
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x140f6f0e7
pop rbp
sub rbp, 0x33
sub rbp, 0xf6f0b4
sub rsp, 0x20
jmp 0x140f6f106
mov rax, 0xf6f0b4
add rax, rbp
add rax, 0x84
mov rcx, 0x60b
mov rdx, 0x2591f5d2
xor byte [rax], dl
inc rax
dec rcx
jne 0x140f6f125
jmp 0x140f6f13c
invalid
Function at 0x140001330
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x180
mov rax, qword [0x140006008]
xor rax, rsp
mov qword [rsp + 0x170], rax
mov rdi, rcx
mov qword [rsp + 0x58], rcx
xor r14d, r14d
mov dword [rsp + 0x30], r14d
lea rdx, [rsp + 0x60]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], r14
lea rax, [rsp + 0x60]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], r14b
jne 0x140001391
movabs rsi, 0x7fffffffffffffff
cmp rbx, rsi
ja 0x14000157d
mov qword [rdi + 0x18], 0xf
cmp rbx, 0x10
jae 0x1400013d8
mov qword [rdi + 0x10], rbx
mov r8, rbx
lea rdx, [rsp + 0x60]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov byte [rdi + rbx], r14b
jmp 0x14000147d
mov r8, qword [rdi + 0x18]
mov rcx, rbx
or rcx, 0xf
cmp rcx, rsi
ja 0x140001423
mov rdx, r8
shr rdx, 1
mov rax, rsi
sub rax, rdx
cmp r8, rax
ja 0x140001423
lea rax, [rdx + r8]
mov rsi, rcx
cmp rcx, rax
cmovb rsi, rax
lea rcx, [rsi + 1]
cmp rcx, 0x1000
jb 0x140001450
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140001583
jmp 0x140001431
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.1400021e0
test rax, rax
je 0x140001543
lea r14, [rax + 0x27]
and r14, 0xffffffffffffffe0
mov qword [r14 - 8], rax
jmp 0x14000145d
test rcx, rcx
je 0x14000145d
call fcn.1400021e0
mov r14, rax
mov qword [rdi], r14
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], rsi
mov r8, rbx
lea rdx, [rsp + 0x60]
mov rcx, r14
call sub.VCRUNTIME140.dll_memcpy
mov byte [r14 + rbx], 0
mov dword [rsp + 0x30], 1
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.140001bc0
mov dword [rsp + 0x30], 3
lea r9, [rsp + 0x38]
mov rsi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x50]
cmp rbp, 0x10
cmovae r9, rsi
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
mov rax, rdx
sub rax, rcx
mov r14, qword [rsp + 0x48]
cmp r14, rax
ja 0x1400014fe
lea rax, [r14 + rcx]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0x10
jb 0x1400014e5
mov rax, qword [rdi]
lea rbx, [rax + rcx]
mov r8, r14
mov rdx, r9
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + r14], 0
jmp 0x140001518
mov qword [rsp + 0x20], r14
mov rdx, r14
mov rcx, rdi
call fcn.140001df0
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x38]
cmp rbp, 0x10
jb 0x140001552
lea rdx, [rbp + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x14000154a
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000154a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.14000221c
mov rax, rdi
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.1400021c0
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
call fcn.1400011a0
int3
call fcn.140001100
int3
Function at 0x140001590
Capabilities:
Create process on windows

Disassembly:
mov r11, rsp
push rbp
push rsi
push r12
push r15
lea rbp, [r11 - 0x38]
sub rsp, 0x118
mov rax, qword [0x140006008]
xor rax, rsp
mov qword [rbp], rax
mov r15, qword [rcx + 0x10]
xorps xmm0, xmm0
xor eax, eax
mov dword [rbp - 0x70], 0x68
mov dword [rbp - 0xc], eax
mov rsi, rcx
mov qword [rsp + 0x68], rax
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
xor r12d, r12d
sub rax, r15
movups xmmword [rbp - 0x6c], xmm0
movups xmmword [rbp - 0x5c], xmm0
movups xmmword [rbp - 0x4c], xmm0
movups xmmword [rbp - 0x3c], xmm0
movups xmmword [rbp - 0x2c], xmm0
movups xmmword [rbp - 0x1c], xmm0
movups xmmword [rsp + 0x58], xmm0
cmp rax, 4
jb 0x1400017aa
cmp qword [rsi + 0x18], 0x10
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rdi
mov qword [r11 - 0x28], r14
jb 0x14000161d
mov rsi, qword [rsi]
lea r14, [r15 + 4]
mov ebx, 0xf
lea rdi, [rsp + 0x70]
xorps xmm1, xmm1
movups xmmword [rsp + 0x70], xmm0
movdqu xmmword [rbp - 0x80], xmm1
cmp r14, rbx
jbe 0x1400016b8
mov rbx, r14
or rbx, 0xf
cmp rbx, rcx
jbe 0x140001679
movabs rax, 0x8000000000000000
mov rbx, rcx
add rax, 0x27
mov rcx, rax
call fcn.1400021e0
test rax, rax
je 0x14000176c
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x1400016b3
mov eax, 0x16
cmp rbx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x1400016a1
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400017b0
jmp 0x14000165a
test rcx, rcx
je 0x1400016b0
call fcn.1400021e0
mov rdi, rax
jmp 0x1400016b3
mov rdi, r12
mov qword [rsp + 0x70], rdi
mov r8, r15
mov qword [rbp - 0x80], r14
mov rdx, rsi
mov qword [rbp - 0x78], rbx
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov dword [rdi + r15], 0x6578652e
lea rax, [rsp + 0x58]
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x70]
mov byte [rdi + r14], r12b
lea rax, [rbp - 0x70]
cmp qword [rbp - 0x78], 0x10
mov qword [rsp + 0x40], rax
cmovae rdx, qword [rsp + 0x70]
xor r9d, r9d
mov qword [rsp + 0x38], r12
xor r8d, r8d
mov qword [rsp + 0x30], r12
xor ecx, ecx
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r12d
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x140001739
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x140001778
mov rcx, qword [rsp + 0x70]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001773
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001773
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000221c
mov rdi, qword [rsp + 0x150]
mov rbx, qword [rsp + 0x148]
mov r14, qword [rsp + 0x110]
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.1400021c0
add rsp, 0x118
pop r15
pop r12
pop rsi
pop rbp
ret
call fcn.1400011a0
int3
call fcn.140001100
int3
Function at 0x140002b54
Capabilities:
Parse pe header

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

Function at 0x1414e1058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1414e11df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, pe_nt_image_headers64
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x1414e1089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1414e106f
add dl, dl
jne 0x1414e1096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1414e10f6
xor eax, eax
add dl, dl
jne 0x1414e10a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1414e11ad
add dl, dl
jne 0x1414e10b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1414e10c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1414e10d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1414e10dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1414e10ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1414e107e
mov eax, 1
add dl, dl
jne 0x1414e1106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1414e1113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1414e10fb
sub eax, ebx
mov ebx, 1
jne 0x1414e114c
mov ecx, 1
add dl, dl
jne 0x1414e112e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1414e113b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1414e1123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1414e107e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1414e1168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1414e1175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1414e115d
cmp eax, 0x7d00
jae 0x1414e119b
cmp eax, 0x500
jb 0x1414e1196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1414e107e
cmp eax, 0x7f
ja 0x1414e119e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1414e107e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1414e11d2
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 0x1414e107e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140006e70
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov dword [rsp + 0x20], r9d
push rdi
sub rsp, 0x30
mov rbx, rcx
mov dword [rsp + 0x58], 0
mov rcx, qword [rcx + 8]
mov rdi, r8
mov rsi, rdx
test rcx, rcx
je 0x140006ed7
lea rdx, [rsp + 0x58]
call qword [0x140076260]
cmp dword [rsp + 0x58], 0x103
jne 0x140006ec5
xor al, al
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov rcx, qword [rbx + 8]
call qword [0x140076170]
mov qword [rbx + 8], 0
lea rax, [rsp + 0x58]
mov r9, rdi
mov qword [rsp + 0x28], rax
mov r8, rsi
mov edx, 0x100000
mov dword [rsp + 0x20], 0x10000
xor ecx, ecx
call fcn.14002fb30
mov rsi, qword [rsp + 0x48]
test rax, rax
mov qword [rbx + 8], rax
mov rbx, qword [rsp + 0x40]
setne al
add rsp, 0x30
pop rdi
ret
Function at 0x140031250
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140030fb4
Function at 0x14003e870
Capabilities:
Encode data using xor

Disassembly:
push rbx
xor r10d, r10d
mov rbx, r8
test r8, r8
je 0x14003e922
test rcx, rcx
je 0x14003e928
mov r11d, 2
lea rax, [rcx + 1]
nop dword [rax]
nop dword [rax + rax]
movsx r8d, byte [rax - 1]
lea ecx, [r11 - 2]
and ecx, 0xf
lea rax, [rax + 4]
mov r9d, r8d
movzx edx, byte [rcx + rbx]
lea ecx, [r11 - 1]
add dl, r10b
and ecx, 0xf
xor dl, r8b
movsx r8d, byte [rax - 4]
mov byte [rax - 5], dl
mov r10d, r8d
movzx edx, byte [rcx + rbx]
mov rcx, r11
add dl, r9b
and ecx, 0xf
xor dl, r8b
movsx r8d, byte [rax - 3]
mov byte [rax - 4], dl
mov r9d, r8d
movzx edx, byte [rcx + rbx]
lea ecx, [r11 + 1]
add dl, r10b
and ecx, 0xf
xor dl, r8b
add r11d, 4
movsx r8d, byte [rax - 2]
mov byte [rax - 3], dl
mov r10d, r8d
movzx edx, byte [rcx + rbx]
add dl, r9b
lea ecx, [r11 - 2]
xor dl, r8b
mov byte [rax - 2], dl
cmp ecx, 0x10
jb 0x14003e8a0
pop rbx
ret
pop rbx
jmp 0x14003e9f0
pop rbx
ret
sub rsp, 8
xor r11d, r11d
test rcx, rcx
je 0x14003ea50
mov qword [rsp + 0x10], rbx
mov r10d, r11d
mov qword [rsp], rdi
lea ebx, [r11 + 0x10]
lea rdi, [0x140080860]
nop dword [rax]
nop word [rax + rax]
movsx r8d, byte [rcx]
lea rcx, [rcx + 1]
mov rax, r10
inc r10
and eax, 0xf
movzx edx, byte [rdi + rax*4]
add dl, r11b
mov r11d, r8d
xor dl, r8b
mov byte [rcx - 1], dl
sub rbx, 1
jne 0x14003ea20
mov rdi, qword [rsp]
mov rbx, qword [rsp + 0x10]
add rsp, 8
ret

Function at 0x14003e9f0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push rbx
xor r10d, r10d
mov rbx, r8
test r8, r8
je 0x14003e922
test rcx, rcx
je 0x14003e928
mov r11d, 2
lea rax, [rcx + 1]
nop dword [rax]
nop dword [rax + rax]
movsx r8d, byte [rax - 1]
lea ecx, [r11 - 2]
and ecx, 0xf
lea rax, [rax + 4]
mov r9d, r8d
movzx edx, byte [rcx + rbx]
lea ecx, [r11 - 1]
add dl, r10b
and ecx, 0xf
xor dl, r8b
movsx r8d, byte [rax - 4]
mov byte [rax - 5], dl
mov r10d, r8d
movzx edx, byte [rcx + rbx]
mov rcx, r11
add dl, r9b
and ecx, 0xf
xor dl, r8b
movsx r8d, byte [rax - 3]
mov byte [rax - 4], dl
mov r9d, r8d
movzx edx, byte [rcx + rbx]
lea ecx, [r11 + 1]
add dl, r10b
and ecx, 0xf
xor dl, r8b
add r11d, 4
movsx r8d, byte [rax - 2]
mov byte [rax - 3], dl
mov r10d, r8d
movzx edx, byte [rcx + rbx]
add dl, r9b
lea ecx, [r11 - 2]
xor dl, r8b
mov byte [rax - 2], dl
cmp ecx, 0x10
jb 0x14003e8a0
pop rbx
ret
pop rbx
jmp 0x14003e9f0
pop rbx
ret
sub rsp, 8
xor r11d, r11d
test rcx, rcx
je 0x14003ea50
mov qword [rsp + 0x10], rbx
mov r10d, r11d
mov qword [rsp], rdi
lea ebx, [r11 + 0x10]
lea rdi, [0x140080860]
nop dword [rax]
nop word [rax + rax]
movsx r8d, byte [rcx]
lea rcx, [rcx + 1]
mov rax, r10
inc r10
and eax, 0xf
movzx edx, byte [rdi + rax*4]
add dl, r11b
mov r11d, r8d
xor dl, r8b
mov byte [rcx - 1], dl
sub rbx, 1
jne 0x14003ea20
mov rdi, qword [rsp]
mov rbx, qword [rsp + 0x10]
add rsp, 8
ret
Function at 0x14003ea60
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
xor r11d, r11d
test rcx, rcx
je 0x14003ea95
test edx, edx
je 0x14003ea95
mov r9d, r11d
mov r10d, edx
mov rax, r9
lea rcx, [rcx + 1]
and eax, 0xf
inc r9
movzx edx, byte [r8 + rax*4]
add dl, r11b
xor byte [rcx - 1], dl
movsx r11d, byte [rcx - 1]
sub r10, 1
jne 0x14003ea72
ret
Function at 0x1400e77c0
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
sub rsp, 0x50
mov r12, r9
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
test r8, r8
jne 0x1400e77ed
xor al, al
jmp 0x1400e794f
mov rax, qword [0x140108710]
lea rcx, [rsp]
xor r11d, r11d
mov qword [rcx], rax
mov rax, qword [0x140108718]
mov qword [rsp + 0x60], rbp
mov qword [rcx + 8], rax
mov rax, qword [0x140108720]
mov rdx, r11
mov qword [rcx + 0x10], rax
mov rax, qword [0x140108728]
mov qword [rcx + 0x18], rax
mov rax, qword [0x140108730]
mov qword [rcx + 0x20], rax
mov rax, qword [0x140108738]
mov qword [rcx + 0x28], rax
mov rax, qword [0x140108740]
mov qword [rcx + 0x30], rax
mov rax, qword [0x140108748]
mov qword [rcx + 0x38], rax
movzx eax, byte [0x140108750]
mov byte [rcx + 0x40], al
mov rax, qword [r9]
mov rcx, r8
lea rbp, [r8 + rax]
test rbx, rbx
je 0x1400e7941
add r8, 4
nop word [rax + rax]
movzx r9d, byte [rdx + rdi]
inc rdx
shl r9d, 0x10
cmp rdx, rbx
jne 0x1400e7899
mov r11d, 2
jmp 0x1400e78bd
movzx eax, byte [rdx + rdi]
inc rdx
shl eax, 8
or r9d, eax
cmp rdx, rbx
jne 0x1400e78b3
mov r11d, 1
jmp 0x1400e78bd
movzx eax, byte [rdx + rdi]
or r9d, eax
inc rdx
mov r10d, r9d
and r9d, 0x3f
cmp r8, rbp
ja 0x1400e7965
mov rax, r10
shr rax, 0x12
and eax, 0x3f
movzx eax, byte [rsp + rax]
mov byte [rcx], al
mov rax, r10
shr rax, 0xc
and eax, 0x3f
movzx eax, byte [rsp + rax]
mov byte [rcx + 1], al
cmp r11, 1
jbe 0x1400e7902
mov byte [rcx + 2], 0x3d
add rcx, 3
add r8, 3
jmp 0x1400e791a
shr r10, 6
add rcx, 3
and r10d, 0x3f
add r8, 3
movzx eax, byte [rsp + r10]
mov byte [rcx - 1], al
test r11, r11
je 0x1400e792a
mov byte [rcx], 0x3d
inc rcx
inc r8
jmp 0x1400e7938
movzx eax, byte [rsp + r9]
inc rcx
inc r8
mov byte [rcx - 1], al
cmp rdx, rbx
jb 0x1400e7880
sub rcx, rsi
mov al, 1
mov qword [r12], rcx
mov rbp, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r12
ret
xor al, al
jmp 0x1400e794a
Function at 0x14070af86
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
btc bx, r10w
mov qword [rsp + 0x10], rsi
mov sil, spl
sbb rbx, rbx
push rdi
sub rsp, 0x20
and bx, bp
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
xor dh, bh
nop
or dh, 0xfd
cdq
cmp dword [rbx + 0x44], 0
mov rdx, rdi
jmp 0x14070afbf
jne 0x14070b001
mov r8d, dword [rbx + 0xc]
mov rcx, qword [rbx + 0x30]
inc al
shr ah, cl
mov rax, rdi
sub r8d, dword [rbx + 0x40]
cmc
test spl, 3
sub rax, rcx
stc
cmc
clc
cmp rax, r8
jmp 0x14070afeb
jbe 0x14070b001
lea rdx, [r8 + rcx]
movzx rcx, bp
not cx
mov ecx, 0x348c0b75
mov r8, rsi
movzx rcx, bp
movsx ecx, dx
mov rcx, rbx
call fcn.140709108
test eax, eax
jmp 0x14070b01a
jne 0x14070b0a4
mov eax, dword [rbx + 0xc]
stc
cmp edi, 0x31f9352e
clc
cmp dword [rbx + 0x40], eax
jmp 0x14070b033
jb 0x14070b03c
mov dword [rbx + 0x44], eax
mov rdx, rdi
movsxd rcx, edx
bswap ecx
movzx rcx, bx
mov rcx, rbx
jmp 0x14070b050
call fcn.14070ae1a
cmp qword [rbx + 0x30], rdi
jmp 0x14070b05e
jae 0x14070b080
cmp qword [rbx + 0x20], rsi
jae 0x14070b080
cmp dword [rbx + 0x5c], 0x112
jmp 0x14070b07a
jb 0x14070afb3
cmp dword [rbx + 0x5c], 0x112
jbe 0x14070b09d
mov dword [rbx + 0x5c], 0x112
rcr bx, 0xbd
btr di, r9w
xor eax, eax
btc di, 0xac
mov rbx, qword [rsp + 0x30]
movzx rsi, r13w
movzx edi, cx
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
xchg dil, dil
setbe dil
movzx edi, bp
pop rdi
jmp 0x14070b0c9
ret
Function at 0x14000720c
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
call fcn.14000719c
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateThread]
lea rcx, [0x140021170]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400205b8]
jmp 0x140007248
cmp qword [rbx + 0x18], rdi
je 0x14000724f
mov rbx, qword [rbx]
test rbx, rbx
jne 0x14000723f
jmp 0x140007269
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbx + 0x10]
lea rcx, [0x1400205b8]
call fcn.140011c68
lea rcx, [0x140021170]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
invalid