joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400049bc
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
mov ebx, dword [0x140020f20]
mov eax, 1
test ebx, ebx
je 0x1400049ec
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov dword [rsp + 0x4c], 0xc3d6806f
mov dword [rsp + 0x48], 0xc3d63a6d
mov dword [rsp + 0x44], 0x5772835b
mov dword [rsp + 0x40], 0x57720c3d
mov dword [rsp + 0x3c], 0x57720c1d
mov dword [rsp + 0x38], 0x57720c21
mov dword [rsp + 0x34], 0x57720c25
call fcn.1400049b0
mov rax, qword [rax + 0x18]
mov r8, qword [rax + 0x10]
mov rax, qword [r8 + 0x30]
test rax, rax
je 0x140004bfc
mov ecx, 0
jmp 0x140004a51
mov r8, qword [r8]
mov rax, qword [r8 + 0x30]
test rax, rax
je 0x140004aad
mov edx, dword [rsp + 0x40]
mov r11, rax
lea edx, [rdx - 0x57720c01]
mov edx, dword [rax + rdx]
mov edx, dword [rax + rdx + 0x88]
test edx, edx
je 0x140004a45
mov edx, edx
lea rcx, [rax + rdx]
mov edx, dword [rcx + 0xc]
add rax, rdx
mov edx, dword [rsp + 0x4c]
mov r9d, dword [rax]
or r9d, 0x20202020
sub edx, 0x57720c01
cmp r9d, edx
jne 0x140004a45
mov edx, dword [rsp + 0x48]
mov r9d, dword [rax + 4]
or r9d, 0x20202020
lea eax, [rdx - 0x57720c01]
cmp r9d, eax
jne 0x140004a45
jmp 0x140004ab6
test rcx, rcx
je 0x140004c06
mov r13d, dword [rcx + 0x18]
mov eax, dword [rsp + 0x3c]
lea eax, [rax - 0x57720c01]
mov r14d, dword [rax + rcx]
add r14, r11
mov eax, dword [rsp + 0x38]
lea eax, [rax - 0x57720c01]
mov r12d, dword [rax + rcx]
add r12, r11
mov eax, dword [rsp + 0x34]
lea eax, [rax - 0x57720c01]
mov eax, dword [rax + rcx]
add rax, r11
test r13d, r13d
je 0x140004be9
mov r10d, ebx
mov esi, ebx
lea r15, [0x140020f20]
lea rdi, [r15 - 4]
mov edx, ebx
jmp 0x140004b2d
mov r8d, 0xa88df3ff
jmp 0x140004b83
add esi, 1
add r10d, 1
cmp r10d, r13d
jae 0x140004bec
cmp esi, 0x1f3
ja 0x140004bec
mov ebp, r10d
mov ecx, dword [r12 + rbp*4]
add rcx, r11
mov r8d, dword [rsp + 0x44]
movzx r9d, word [rcx]
sub r8d, 0x57720c01
cmp r9d, r8d
jne 0x140004b14
cmp byte [rcx], 0
je 0x140004b09
mov r9d, edx
mov r8d, 0xa88df3ff
mov ebx, 0
mov dword [rsp + 0x2c], edx
movzx edx, word [rcx + rbx]
mov ebx, r8d
ror ebx, 8
add edx, ebx
add r8d, edx
add r9d, 1
mov ebx, r9d
cmp byte [rcx + rbx], 0
jne 0x140004b63
mov edx, dword [rsp + 0x2c]
mov ecx, esi
shl rcx, 3
lea rbx, [0x140020f24]
lea r9, [rcx + rbx]
mov dword [r9], r8d
movzx r8d, word [rax + rbp*2]
mov r8d, dword [r14 + r8*4]
mov dword [r9 + 4], r8d
test esi, esi
je 0x140004b11
lea r8, [rcx + r15]
lea ecx, [rsi - 1]
lea rcx, [r15 + rcx*8 + 4]
mov r9d, dword [r8 + 8]
cmp r9d, dword [rcx + 4]
jae 0x140004b11
mov ebx, dword [r8 + 4]
mov rbp, qword [rcx]
mov qword [r8 + 4], rbp
mov dword [rcx], ebx
mov dword [rcx + 4], r9d
sub r8, 8
sub rcx, 8
cmp rcx, rdi
jne 0x140004bb8
jmp 0x140004b11
mov esi, r13d
mov dword [0x140020f20], esi
mov eax, 1
jmp 0x1400049db
mov eax, 0
jmp 0x1400049db
mov eax, 0
jmp 0x1400049db
Function at 0x140004c60
Capabilities:
Execute syscall

Disassembly:
pop rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov rcx, r10
call fcn.140004c10
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret

Function at 0x14000e260
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.140016da0
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.140016da0
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]
Function at 0x14000e2d0
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x14002ab14]
test esi, esi
mov rdi, rcx
mov rbp, rdx
mov rbx, r8
jle 0x14000e460
mov rax, qword [0x14002ab18]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp rdi, rdx
jb 0x14000e31c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rdi, rdx
jb 0x14000e3a5
add ecx, 1
add rax, 0x28
cmp ecx, esi
jne 0x14000e300
mov rcx, rdi
call fcn.14000ee30
test rax, rax
mov r12, rax
je 0x14000e4b2
mov rax, qword [0x14002ab18]
lea rsi, [rsi + rsi*4]
shl rsi, 3
add rax, rsi
mov qword [rax + 0x20], r12
mov dword [rax], 0
call fcn.14000ef70
mov ecx, dword [r12 + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x14002ab18]
mov qword [rax + rsi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x14000e495
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x14000e39e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x14000e410
add dword [0x14002ab14], 1
cmp ebx, 8
jae 0x14000e3d1
test bl, 4
jne 0x14000e470
test ebx, ebx
je 0x14000e3c6
movzx eax, byte [rbp]
test bl, 2
mov byte [rdi], al
jne 0x14000e484
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov eax, ebx
sub ebx, 1
mov rdx, qword [rbp + rax - 8]
cmp ebx, 8
mov qword [rdi + rax - 8], rdx
jb 0x14000e3c6
and ebx, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov rcx, qword [rbp + rdx]
cmp eax, ebx
mov qword [rdi + rdx], rcx
jb 0x14000e3ea
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
cmp eax, 2
mov r8d, 4
mov eax, 0x40
mov rcx, qword [rsp + 0x20]
cmovne r8d, eax
mov rdx, qword [rsp + 0x38]
add rsi, qword [0x14002ab18]
mov r9, rsi
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14000e39e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.14000e260
xor esi, esi
jmp 0x14000e327
mov eax, dword [rbp]
mov ebx, ebx
mov dword [rdi], eax
mov eax, dword [rbp + rbx - 4]
mov dword [rdi + rbx - 4], eax
jmp 0x14000e3c6
mov ebx, ebx
movzx eax, word [rbp + rbx - 2]
mov word [rdi + rbx - 2], ax
jmp 0x14000e3c6
mov rax, qword [0x14002ab18]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [r12 + 8]
mov r8, qword [rax + rsi + 0x18]
call fcn.14000e260
lea rcx, str.Address__p_has_no_image_section
mov rdx, rdi
call fcn.14000e260
nop
nop dword [rax]
nop word cs:[rax + rax]
Function at 0x14000ea80
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x14002ab80]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14002ab60]
test rbx, rbx
je 0x14000ead4
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x14000eacb
test rsi, rsi
je 0x14000eacb
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x14000eab0
lea rcx, [0x14002ab80]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x14000ee30
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r9, qword [0x140025cd0]
xor edx, edx
cmp word [r9], 0x5a4d
mov r8, rcx
jne 0x14000ee9f
mov rcx, r9
call fcn.14000ed00
test eax, eax
je 0x14000ee9f
movsxd rax, dword [r9 + 0x3c]
mov rcx, r8
sub rcx, r9
add r9, rax
movzx eax, word [r9 + 0x14]
lea rdx, [r9 + rax + 0x18]
movzx eax, word [r9 + 6]
test eax, eax
je 0x14000ee9d
sub eax, 1
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
mov r8d, dword [rdx + 0xc]
cmp rcx, r8
mov rax, r8
jb 0x14000ee94
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x14000ee9f
add rdx, 0x28
cmp rdx, r9
jne 0x14000ee80
xor edx, edx
mov rax, rdx
add rsp, 0x28
ret
Function at 0x140019160
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
lea rcx, [0x140022080]
jmp 0x14000fc60

Function at 0x140019170
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
lea rcx, [0x140022080]
jmp 0x14000fc60
Function at 0x1800025d0
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rax, qword gs:[0x60]
mov rbp, rcx
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rdx, dword [r10 + 0x3c]
mov ebx, dword [rdx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x180002677
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x180002677
mov r11d, dword [rbx + 0x20]
nop word [rax + rax]
dec r9d
mov r8d, 0x3f4c22ee
lea rdx, [r11 + r9*4]
mov ecx, dword [rdx + r10]
add rcx, r10
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x180002672
nop
movsx edx, dl
lea rcx, [rcx + 1]
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx - 1]
test dl, dl
jne 0x180002650
cmp r8d, 0x97974f08
je 0x18000267c
test r9d, r9d
jne 0x180002630
mov rax, qword [rax]
jmp 0x180002600
mov ecx, dword [rbx + 0x24]
mov edx, dword [rbx + 0x1c]
add rcx, r10
add rdx, r10
movzx ecx, word [rcx + r9*2]
mov eax, dword [rdx + rcx*4]
mov rcx, rbp
add rax, r10
call rax
mov rcx, 0xffffffffffffffff
lea rsi, [rax + 1]
mov eax, 2
mul rsi
cmovo rax, rcx
mov rcx, rax
call fcn.18000f660
mov rcx, qword gs:[0x60]
mov rdi, rax
mov rcx, qword [rcx + 0x18]
mov rcx, qword [rcx + 0x10]
nop dword [rax + rax]
mov r10, qword [rcx + 0x30]
movsxd rdx, dword [r10 + 0x3c]
mov r11d, dword [rdx + r10 + 0x88]
add r11, r10
cmp r11, r10
je 0x180002745
mov r9d, dword [r11 + 0x18]
test r9d, r9d
je 0x180002745
mov ebx, dword [r11 + 0x20]
nop word [rax + rax]
dec r9d
lea rdx, [rbx + r9*4]
mov r8d, dword [rdx + r10]
mov edx, 0x36479795
add r8, r10
movzx eax, byte [r8]
inc r8
test al, al
je 0x180002740
nop
movsx eax, al
lea r8, [r8 + 1]
xor eax, edx
imul edx, eax, 0x1000193
movzx eax, byte [r8 - 1]
test al, al
jne 0x180002720
cmp edx, 0x66a2e315
je 0x18000274a
test r9d, r9d
jne 0x180002700
mov rcx, qword [rcx]
jmp 0x1800026d0
mov ecx, dword [r11 + 0x24]
mov r8, rsi
add rcx, r10
mov rdx, rbp
movzx r9d, word [rcx + r9*2]
mov ecx, dword [r11 + 0x1c]
add rcx, r10
mov eax, dword [rcx + r9*4]
mov rcx, rdi
add rax, r10
call rax
mov rbx, qword [rsp + 0x30]
mov rax, rdi
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x180002790
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rax, qword gs:[0x60]
mov rsi, rcx
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax]
nop word [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rdx, dword [r10 + 0x3c]
mov ebx, dword [rdx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x180002837
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x180002837
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0xb354a66e
lea rcx, [rdi + r9*4]
mov edx, dword [rcx + r10]
add rdx, r10
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x180002832
nop
movsx ecx, cl
lea rdx, [rdx + 1]
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx - 1]
test cl, cl
jne 0x180002810
cmp r8d, 0x5c086ca2
je 0x18000283c
test r9d, r9d
jne 0x1800027f0
mov rax, qword [rax]
jmp 0x1800027c0
mov ecx, dword [rbx + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
lea rcx, [rsp + 0x30]
add rax, r10
call rax
movd xmm0, dword [rsp + 0x30]
mov rax, rsi
movd xmm2, dword [rsp + 0x34]
mov rbx, qword [rsp + 0x38]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm2, xmm2
cvtps2pd xmm1, xmm0
cvtps2pd xmm0, xmm2
movsd qword [rsi], xmm1
movsd qword [rsi + 8], xmm0
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x180002c20
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x110
movaps xmmword [rax - 0x18], xmm6
mov r14, r8
movaps xmmword [rax - 0x28], xmm7
mov rsi, rdx
movaps xmmword [rax - 0x38], xmm8
mov rbp, rcx
movaps xmmword [rax - 0x48], xmm9
movaps xmmword [rax - 0x58], xmm10
movaps xmmword [rax - 0x68], xmm11
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax]
nop word [rax + rax]
mov r10, qword [rax + 0x30]
movsxd r9, dword [r10 + 0x3c]
mov edi, dword [r9 + r10 + 0x88]
add rdi, r10
cmp rdi, r10
je 0x180002cf7
mov r9d, dword [rdi + 0x18]
test r9d, r9d
je 0x180002cf7
mov ebx, dword [rdi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x360ed8d2
lea rcx, [rbx + r9*4]
mov edx, dword [rcx + r10]
add rdx, r10
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x180002cf2
nop
movsx ecx, cl
lea rdx, [rdx + 1]
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx - 1]
test cl, cl
jne 0x180002cd0
cmp r8d, 0x21255a7c
je 0x180002cfc
test r9d, r9d
jne 0x180002cb0
mov rax, qword [rax]
jmp 0x180002c80
mov ecx, dword [rdi + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rdi + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
mov rcx, rbp
add rax, r10
call rax
movsd xmm7, qword [rsi]
mov rcx, rbp
movsd xmm8, qword [rsi + 8]
addsd xmm7, qword [0x180012b70]
addsd xmm8, qword [0x180012b70]
movups xmm9, xmmword [0x180012aa8]
movups xmm10, xmmword [0x180019318]
movaps xmm11, xmmword [r14]
movaps xmm6, xmmword [rsi]
call fcn.1800025d0
cmp word [rax], 0
je 0x180002d76
mov rcx, 0xffffffffffffffff
nop
inc rcx
cmp word [rax + rcx*2], 0
jne 0x180002d60
xor edx, edx
add ecx, 1
je 0x180002d7a
mov rdx, rax
jmp 0x180002d7a
xor edx, edx
mov ecx, edx
mov rax, qword [0x1800157c8]
movaps xmm0, xmmword [0x180012de0]
mov rbx, qword [0x180015818]
mov qword [rsp + 0x20], rax
mov rax, qword [0x1800197d8]
movsd qword [rsp + 0x38], xmm6
unpckhpd xmm6, xmm6
movsd qword [rsp + 0x40], xmm6
movsd qword [rsp + 0x80], xmm7
movsd qword [rsp + 0x88], xmm8
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x34], ecx
mov dword [rsp + 0x68], 0
mov word [rsp + 0x90], 0x100
mov byte [rsp + 0x92], 1
movups xmmword [rsp + 0x48], xmm0
movups xmmword [rsp + 0x58], xmm11
movups xmmword [rsp + 0x6c], xmm10
movups xmmword [rsp + 0x94], xmm9
test rax, rax
jne 0x180002e28
mov rax, qword [0x180015938]
lea r8, str.Canvas.K2_DrawText
add rax, 0x13efec8
xor r9d, r9d
xor edx, edx
xor ecx, ecx
call rax
mov qword [0x1800197d8], rax
mov r9, qword [rbx]
lea r8, [rsp + 0x20]
mov rdx, rax
mov rcx, rbx
call qword [r9 + 0x260]
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm11, xmmword [r11 - 0x60]
mov rsp, r11
pop r14
ret
Function at 0x180002e80
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x100
movaps xmmword [rax - 0x18], xmm6
mov r14, r8
movaps xmmword [rax - 0x28], xmm7
mov rsi, rdx
movaps xmmword [rax - 0x38], xmm8
mov rbp, rcx
movaps xmmword [rax - 0x48], xmm9
movaps xmmword [rax - 0x58], xmm10
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax]
mov r10, qword [rax + 0x30]
movsxd r9, dword [r10 + 0x3c]
mov edi, dword [r9 + r10 + 0x88]
add rdi, r10
cmp rdi, r10
je 0x180002f47
mov r9d, dword [rdi + 0x18]
test r9d, r9d
je 0x180002f47
mov ebx, dword [rdi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0xc3076804
lea rcx, [rbx + r9*4]
mov edx, dword [rcx + r10]
add rdx, r10
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x180002f42
nop
movsx ecx, cl
lea rdx, [rdx + 1]
xor ecx, r8d
imul r8d, ecx, 0x1000193
movzx ecx, byte [rdx - 1]
test cl, cl
jne 0x180002f20
cmp r8d, 0x862dafc2
je 0x180002f4c
test r9d, r9d
jne 0x180002f00
mov rax, qword [rax]
jmp 0x180002ed0
mov ecx, dword [rdi + 0x24]
add rcx, r10
movzx edx, word [rcx + r9*2]
mov ecx, dword [rdi + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
mov rcx, rbp
add rax, r10
call rax
movsd xmm7, qword [rsi]
mov rcx, rbp
movsd xmm8, qword [rsi + 8]
addsd xmm7, qword [0x180012b70]
addsd xmm8, qword [0x180012b70]
movups xmm9, xmmword [0x180012aa8]
movups xmm10, xmmword [0x180019318]
movaps xmm6, xmmword [rsi]
call fcn.1800025d0
cmp word [rax], 0
je 0x180002fc6
mov rcx, 0xffffffffffffffff
nop dword [rax + rax]
inc rcx
cmp word [rax + rcx*2], 0
jne 0x180002fb0
xor edx, edx
add ecx, 1
je 0x180002fca
mov rdx, rax
jmp 0x180002fca
xor edx, edx
mov ecx, edx
mov rax, qword [0x1800157c8]
movaps xmm0, xmmword [0x180012de0]
mov rbx, qword [0x180015818]
mov qword [rsp + 0x20], rax
mov rax, qword [0x1800197d8]
movsd qword [rsp + 0x38], xmm6
unpckhpd xmm6, xmm6
movsd qword [rsp + 0x40], xmm6
movsd qword [rsp + 0x80], xmm7
movsd qword [rsp + 0x88], xmm8
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x34], ecx
mov dword [rsp + 0x68], 0
mov word [rsp + 0x90], 0x101
mov byte [rsp + 0x92], 1
movups xmmword [rsp + 0x48], xmm0
movaps xmm0, xmmword [r14]
movups xmmword [rsp + 0x58], xmm0
movups xmmword [rsp + 0x6c], xmm10
movups xmmword [rsp + 0x94], xmm9
test rax, rax
jne 0x18000307b
mov rax, qword [0x180015938]
lea r8, str.Canvas.K2_DrawText
add rax, 0x13efec8
xor r9d, r9d
xor edx, edx
xor ecx, ecx
call rax
mov qword [0x1800197d8], rax
mov r9, qword [rbx]
lea r8, [rsp + 0x20]
mov rdx, rax
mov rcx, rbx
call qword [r9 + 0x260]
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
mov rsp, r11
pop r14
ret
Function at 0x140001128
Capabilities:
Encode data using xor

Disassembly:
push rsi
sub rsp, 0x70
mov qword [rsp + 0x50], rcx
mov rcx, rdx
mov qword [rsp + 0x48], rdx
call fcn.1400017e0
xor r8d, r8d
mov ecx, r8d
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rcx
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
mov edx, dword [rsp + 0x6c]
add edx, dword [rsp + 0x6c]
mov r8d, dword [rcx + 0xc]
or al, 0x89
push rsp
and al, 0x6c
mov edx, dword [rcx + 0x14]
mov r9d, edx
mov r10, qword [rsp + 0x48]
add r10, r9
mov edx, r8d
mov r9d, edx
mov r11, qword [rsp + 0x50]
and al, 0x50
add r11, r9
mov edx, dword [rcx + 0x10]
mov r8d, edx
mov qword [rsp + 0x30], rcx
mov rcx, r11
mov rdx, r10
mov qword [rsp + 0x28], rax
call fcn.140002a20
mov si, word [rsp + 0x5c]
xor si, word [rsp + 0x5c]
mov word [rsp + 0x5c], si
mov rax, qword [rsp + 0x28]
add rax, 1
mov rcx, qword [rsp + 0x30]
add rcx, 0x28
cmp rax, 5
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], rax
jne 0x1400010f7
mov rcx, qword [rsp + 0x48]
call fcn.140001c00
mov edx, dword [rax + 0x54]
mov r8d, edx
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
call fcn.140002a20
nop
add rsp, 0x70
pop rsi
ret

Function at 0x14000145c
Capabilities:
Encode data using xor

Disassembly:
add byte [rax], al
add bh, bh
sar byte [rdx + 0xe6f5dc], 1
mov ecx, edx
lea r8, [rsp + 0xb0]
mov r9b, byte [rsp + 0x77]
and r9b, 0x51
mov byte [rsp + 0xd3], r9b
mov byte [rsp + 0xd3], 0xf5
mov r11, qword [sym.imp.USER32.dll_ScreenToClient]
mov edx, 0xe6f5dc
mov esi, edx
lea rdx, [rsp + 0xb0]
mov qword [rsp + 0x68], rcx
mov rcx, rsi
mov dword [rsp + 0x64], eax
mov qword [rsp + 0x58], r8
call r11
lea rcx, [rsp + 0x7c]
lea rdx, [rsp + 0x88]
mov dword [rsp + 0x7c], 0xafa
mov r8, qword [rsp + 0xc8]
mov di, word [rsp + 0xbe]
xor di, 0xffff
mov word [rsp + 0xbe], di
mov esi, 0x49000000
xor eax, 0x3bb432f0
mov qword [rsp + 0x88], r8
mov r8, qword [sym.imp.KERNEL32.dll_QueryIdleProcessorCycleTime]
lea r11, [rsp + 0x7c]
lea rsi, [rsp + 0x88]
mov qword [rsp + 0x50], rcx
mov rcx, r11
mov qword [rsp + 0x48], rdx
mov rdx, rsi
mov dword [rsp + 0x44], eax
call r8
mov dword [rsp + 0x40], eax
call fcn.1400013a0
cmp eax, 0
je 0x14000156e
jmp 0x140001609
lea rax, [0x140004144]
mov rcx, qword [rsp + 0x80]
lea rdx, [0x140004144]
mov r8, qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x38], rax
call r8
cmp rax, 0
jne 0x140001609
call fcn.1400017f0
mov dword [rsp + 0x34], eax
jmp 0x140001609
call fcn.140001050
cmp eax, 0
jne 0x140001609
lea rax, str.shell32
lea rcx, str.shell32
mov rdx, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rsp + 0x28], rax
call rdx
mov rcx, qword [rsp + 0xc8]
xor rcx, 0x475face7
mov qword [rsp + 0x80], rax
mov r8b, byte [rsp + 0x77]
and r8b, 0xdc
mov byte [rsp + 0xd3], r8b
mov qword [rsp + 0x90], rcx
mov byte [rsp + 0xd3], 0x7f
mov rax, qword [rsp + 0x90]
mov r8b, 0x1d
mov r9b, byte [rsp + 0x77]
mov qword [rsp + 0x20], rax
mov al, r9b
mul r8b
mov byte [rsp + 0xd3], al
mov rcx, qword [rsp + 0x20]
cmp rcx, 0x4d7e66d
jbe 0x14000157c
jmp 0x140001531
mov qword [rsp + 0xc0], 0x33d0983c
mov eax, dword [rsp + 0xb8]
add eax, 0xbec7ecfa
add rsp, 0xd8
pop rdi
pop rsi
ret
Function at 0x140002510
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0xb8
lea rdx, [0x1400040ab]
lea rax, [rsp + 0x60]
lea rcx, [rsp + 0x40]
mov dword [rsp + 0xb4], 0x201c9f1d
mov r8w, word [rsp + 0xae]
mov r9w, r8w
sub r9w, 0x8886
mov word [rsp + 0xae], r9w
mov qword [rsp + 0xa0], 0x7f92b344
mov r10d, dword [rsp + 0xb4]
mov r11d, r10d
add r11d, 0xdfe360f1
mov word [rsp + 0x3e], r8w
and al, 0x3e
mov r8d, r11d
mov dword [rsp + 0x38], r10d
mov qword [rsp + 0x30], rax
call fcn.140001e20
xor r8d, r8d
mov eax, r8d
mov r8d, dword [rsp + 0x38]
imul r10d, r8d, 0x753812d8
mov dword [rsp + 0xb0], r10d
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov dx, word [rsp + 0x3e]
mov cx, dx
rol dword [rcx + 0x3b02f1], 1
add byte [rsi + 0x41], ah
mov eax, ecx
mov word [rsp + 0xae], r8w
mov ecx, dword [rsp + 0x38]
xor ecx, 0x494e30e1
mov dword [rsp + 0xb0], ecx
mov r9, qword [rsp + 0xa0]
mov r10b, byte [rsp + rax + 0x40]
movsx ecx, r10b
mov r8w, cx
xor r9, 0x7f92b364
mov word [rsp + rax*2 + 0x60], r8w
add rax, 1
mov dword [rsp + 0xb0], 0xd7f5e461
cmp rax, r9
mov qword [rsp + 0x28], rax
jne 0x140002544
lea rcx, [rsp + 0x60]
call sym.WTSAPI32.dll_WTSWaitSystemEvent
mov edx, dword [rsp + 0x38]
add edx, edx
mov dword [rsp + 0xb0], edx
add rsp, 0xb8
ret