joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400ecca0
Capabilities:
Accept command line arguments

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x60
movaps xmmword [rsp + 0x50], xmm6
mov rsi, rdx
mov ebx, ecx
mov rax, qword [0x14039de68]
xor rax, rsp
mov qword [rsp + 0x48], rax
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea rdx, [rsp + 0x44]
mov rcx, rax
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov rdi, rax
test rax, rax
je 0x1400ecd87
mov eax, dword [rsp + 0x44]
cmp eax, ebx
jle 0x1400eccf6
mov dword [rsp + 0x44], ebx
mov eax, ebx
test eax, eax
jle 0x1400ecd7e
xor r12d, r12d
xorps xmm6, xmm6
mov r13, qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
nop dword [rax + rax]
mov rbx, qword [rdi + r12*8]
movups xmmword [rsp + 0x30], xmm6
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov ecx, 0xfde9
xor edx, edx
mov r8, rbx
mov r9d, 0xffffffff
call r13
movsxd r14, eax
mov rcx, r14
call fcn.140023b70
mov r15, rax
movups xmmword [rsp + 0x30], xmm6
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], rax
mov ecx, 0xfde9
xor edx, edx
mov r8, rbx
mov r9d, 0xffffffff
call r13
mov qword [rsi + r12*8], r15
inc r12
movsxd rax, dword [rsp + 0x44]
cmp r12, rax
jl 0x1400ecd10
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
test rdi, rdi
setne bl
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140259980
mov eax, ebx
movaps xmm6, xmmword [rsp + 0x50]
add rsp, 0x60
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret

Function at 0x1400ede20
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov r8, qword [rcx + 8]
mov r9, qword [rdx + 8]
mov al, 1
cmp r8, r9
je 0x1400ede41
cmp r9, qword [0x14039bc70]
jne 0x1400ede49
xor eax, eax
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
test qword [r8 - 1], 2
je 0x1400ede5d
test qword [r9 - 1], 2
jne 0x1400ede3f
mov rax, qword [r8 - 1]
shr rax, 0x20
je 0x1400edf47
mov rax, qword [r9 - 1]
shr rax, 0x20
je 0x1400edf47
mov rsi, qword [r8 - 1]
shr rsi, 0x20
jne 0x1400ededa
mov rdi, rdx
mov r8, qword [r8 + 7]
sar r8, 1
mov rsi, rcx
xor edx, edx
call fcn.140165540
mov rcx, rsi
mov rsi, rax
mov r8, qword [rcx + 8]
mov rax, qword [r8 - 1]
mov rdx, rax
shr rdx, 0x20
jne 0x1400eded7
mov r9, rsi
shl r9, 0x20
mov rdx, rdi
nop dword [rax + rax]
lea r10, [rax + r9]
lock cmpxchg qword [r8 - 1], r10
je 0x1400ededa
mov r10, rax
shr r10, 0x20
je 0x1400edec0
jmp 0x1400ededa
mov rdx, rdi
mov rax, qword [rdx + 8]
mov r8, qword [rax - 1]
shr r8, 0x20
jne 0x1400edf3a
mov rdi, rcx
mov r8, qword [rax + 7]
sar r8, 1
mov rcx, rdx
mov rbx, rdx
xor edx, edx
call fcn.140165540
mov rdx, rbx
mov r8, rax
mov r9, qword [rbx + 8]
mov rax, qword [r9 - 1]
mov rcx, rax
shr rcx, 0x20
jne 0x1400edf37
mov r10, r8
shl r10, 0x20
mov rcx, rdi
lea r11, [rax + r10]
lock cmpxchg qword [r9 - 1], r11
je 0x1400edf3a
mov r11, rax
shr r11, 0x20
je 0x1400edf20
jmp 0x1400edf3a
mov rcx, rdi
cmp rsi, r8
jne 0x1400ede3f
mov r9, qword [rdx + 8]
mov r9, qword [r9 + 7]
sar r9, 1
xor r8d, r8d
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.140154ca0
Function at 0x140102a80
Capabilities:
Enumerate process modules

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
mov eax, 0x2040
call fcn.140259c60
sub rsp, rax
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x14039de68]
xor rax, rsp
mov qword [rsp + 0x2038], rax
cmp qword [0x1403a0620], 0
jne 0x140102ad1
mov ecx, 8
call qword [sym.imp.ole32.dll_CoTaskMemAlloc]
mov qword [0x1403a0620], rax
mov rcx, rax
call qword [sym.imp.ole32.dll_CoTaskMemFree]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, 0x410
xor edx, edx
mov r8d, eax
call qword [sym.imp.KERNEL32.dll_OpenProcess]
test rax, rax
je 0x140102b5e
mov rbx, rax
lea rdx, [rsp + 0x30]
lea r9, [rsp + 0x2c]
mov rcx, rax
mov r8d, 0x2000
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x140102b3f
cmp dword [rsp + 0x2c], 8
jb 0x140102b3f
xor r14d, r14d
mov r15, qword [sym.imp.KERNEL32.dll_GetProcAddress]
nop dword [rax]
mov rcx, qword [rsp + r14*8 + 0x30]
mov rdx, rdi
call r15
test rax, rax
jne 0x140102b94
inc r14
mov eax, dword [rsp + 0x2c]
shr eax, 3
cmp r14, rax
jb 0x140102b20
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, str.None_of_the_loaded_modules_contained_the_requested_symbol__s.
xor r14d, r14d
xor ecx, ecx
mov r8, rdi
call fcn.1401844d0
jmp 0x140102b6f
lea rdx, str.Failed_to_open_current_process.
xor r14d, r14d
xor ecx, ecx
call fcn.1401844d0
mov qword [rsi], rax
mov rcx, qword [rsp + 0x2038]
xor rcx, rsp
call fcn.140259980
mov rax, r14
add rsp, 0x2040
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov r14, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140102b72
Function at 0x1401272c0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov eax, dword [0x1403a5518]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov rsi, qword [rax + 8]
test rsi, rsi
je 0x140127328
mov rcx, qword [rsi + 0x6a8]
lea rax, [0x1403a0928]
test rcx, rcx
je 0x14012738a
mov rdx, qword [0x1403a0918]
test rdx, rdx
je 0x140127353
mov rcx, qword [rcx + 0x380]
mov rcx, qword [rcx + 8]
mov rdi, rax
call fcn.14025d6e8
mov rcx, rax
mov rax, rdi
test rcx, rcx
jne 0x140127382
jmp 0x14012738a
mov ecx, dword [0x14039bdd0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14012734c
cmp byte [rax + 8], 0
jne 0x140127386
mov rcx, rax
call fcn.1400496f0
test rax, rax
jne 0x140127386
call fcn.1401836b0
jmp 0x140127386
mov rdx, qword [0x1403a0690]
test rdx, rdx
je 0x14012736a
mov rdx, qword [rdx + 0x50]
cmp rdx, rcx
jne 0x140127371
jmp 0x140127382
xor edx, edx
cmp rdx, rcx
je 0x140127382
mov rdi, rax
call fcn.140120ca0
mov ecx, eax
mov rax, rdi
test cl, cl
jne 0x14012738a
mov rax, qword [rsi + 0x10]
mov rax, qword [rax + 0x38]
add rsp, 0x28
pop rdi
pop rsi
ret
Function at 0x14013d1d0
Capabilities:
Encode data using xor

Disassembly:
mov rax, qword [rcx + 7]
sar rax, 1
mov rdx, qword [rcx - 1]
and edx, 0xfffff000
cmp edx, 0x5d000
jne 0x14013d205
test rax, rax
jle 0x14013d225
add rcx, 0xf
mov edx, eax
and edx, 3
cmp rax, 4
jae 0x14013d22c
xor r8d, r8d
jmp 0x14013d2b9
test rax, rax
jle 0x14013d225
add rcx, 0xf
mov edx, eax
and edx, 3
cmp rax, 4
jae 0x14013d2f9
xor r8d, r8d
jmp 0x14013d389
xor eax, eax
jmp 0x14013d3b8
movabs r8, 0x7ffffffffffffffc
and rax, r8
xor r8d, r8d
nop dword [rax]
movzx r9d, byte [rcx]
add r9d, r8d
mov r8d, r9d
shl r8d, 0xa
add r8d, r9d
mov r9d, r8d
shr r9d, 6
xor r9d, r8d
movzx r8d, byte [rcx + 1]
add r8d, r9d
mov r9d, r8d
shl r9d, 0xa
add r9d, r8d
mov r8d, r9d
shr r8d, 6
xor r8d, r9d
movzx r9d, byte [rcx + 2]
add r9d, r8d
mov r8d, r9d
shl r8d, 0xa
add r8d, r9d
mov r9d, r8d
shr r9d, 6
xor r9d, r8d
movzx r8d, byte [rcx + 3]
add r8d, r9d
mov r9d, r8d
shl r9d, 0xa
add r9d, r8d
mov r8d, r9d
shr r8d, 6
xor r8d, r9d
add rcx, 4
add rax, 0xfffffffffffffffc
jne 0x14013d240
test rdx, rdx
je 0x14013d3b4
xor eax, eax
nop word cs:[rax + rax]
movzx r9d, byte [rcx + rax]
add r9d, r8d
mov r10d, r9d
shl r10d, 0xa
add r10d, r9d
mov r8d, r10d
shr r8d, 6
xor r8d, r10d
inc rax
cmp rdx, rax
jne 0x14013d2d0
jmp 0x14013d3b4
movabs r8, 0x7ffffffffffffffc
and rax, r8
xor r8d, r8d
nop dword [rax]
movzx r9d, word [rcx]
add r9d, r8d
mov r8d, r9d
shl r8d, 0xa
add r8d, r9d
mov r9d, r8d
shr r9d, 6
xor r9d, r8d
movzx r8d, word [rcx + 2]
add r8d, r9d
mov r9d, r8d
shl r9d, 0xa
add r9d, r8d
mov r8d, r9d
shr r8d, 6
xor r8d, r9d
movzx r9d, word [rcx + 4]
add r9d, r8d
mov r8d, r9d
shl r8d, 0xa
add r8d, r9d
mov r9d, r8d
shr r9d, 6
xor r9d, r8d
movzx r8d, word [rcx + 6]
add r8d, r9d
mov r9d, r8d
shl r9d, 0xa
add r9d, r8d
mov r8d, r9d
shr r8d, 6
xor r8d, r9d
add rcx, 8
add rax, 0xfffffffffffffffc
jne 0x14013d310
test rdx, rdx
je 0x14013d3b4
xor eax, eax
movzx r9d, word [rcx + rax*2]
add r9d, r8d
mov r10d, r9d
shl r10d, 0xa
add r10d, r9d
mov r8d, r10d
shr r8d, 6
xor r8d, r10d
inc rax
cmp rdx, rax
jne 0x14013d390
lea eax, [r8 + r8*8]
mov ecx, eax
shr ecx, 0xb
xor ecx, eax
mov eax, ecx
shl eax, 0xf
add eax, ecx
and eax, 0x3fffffff
cmp eax, 1
adc eax, 0
ret
Function at 0x140144920
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov rcx, qword [rcx + 8]
mov rax, qword [0x1403a2888]
mov rdx, qword [rax + 8]
jmp fcn.140144940
Function at 0x140157910
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov rsi, r9
mov rdi, r8
mov rbx, rdx
mov r14, rcx
mov rax, qword [0x14039de68]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov eax, dword [0x1403a5518]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + 8]
mov rcx, qword [rax + 0x6a8]
mov rcx, qword [rcx + 0x20]
mov rdx, qword [rcx + 0x4d0]
mov rcx, qword [rax + 0x18]
call fcn.140157bf0
mov qword [rsp + 0x20], r14
mov rcx, qword [r14 + 8]
test byte [rcx + 7], 2
cmove rax, r14
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x38], 0
mov qword [rsp + 0x40], 0
pcmpeqd xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], 0xffffffffffffffff
lea rcx, [rsp + 0x20]
call fcn.140157ac0
test al, al
je 0x140157a9c
lea r15, [rsp + 0x20]
lea r12, [0x1402a4dd9]
lea r13, [0x1402fddb6]
nop dword [rax + rax]
mov r8d, dword [rsp + 0x38]
add r8, rdi
mov rcx, rbx
lea rdx, str.0x_.8llx:
call fcn.1400243d0
mov rbp, qword [rsp + 0x48]
test rbp, rbp
js 0x140157a10
add rbp, qword [rsp + 0x50]
jg 0x140157a24
jmp 0x140157a80
mov rcx, r15
call fcn.1401749c0
mov rbp, qword [rsp + 0x48]
add rbp, qword [rsp + 0x50]
jle 0x140157a80
xor r14d, r14d
jmp 0x140157a40
mov rcx, rbx
call fcn.140024540
inc r14
cmp rbp, r14
je 0x140157a80
cmp qword [rsp + 0x48], 0
jns 0x140157a50
mov rcx, r15
call fcn.1401749c0
mov rax, r14
shr rax, 3
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 8]
add rcx, qword [rsp + 0x58]
movzx eax, byte [rax + rcx + 0xb]
mov ecx, r14d
and ecx, 7
bt eax, ecx
mov rdx, r12
jae 0x140157a30
mov rdx, r13
jmp 0x140157a30
mov rcx, r15
call fcn.140157ac0
test al, al
je 0x140157a9c
mov rcx, rbx
mov rdx, rsi
call fcn.140024540
jmp 0x1401579e0
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140259980
nop
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x140159450
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov rax, r8
mov r8, rdx
mov qword [rsp + 0x48], rcx
mov rsi, qword [rsp + 0xd8]
mov ecx, dword [rsp + 0xe0]
mov rdx, qword [0x14039de68]
xor rdx, rsp
mov qword [rsp + 0x60], rdx
mov edx, dword [0x1403a5518]
mov r10, qword gs:[0x58]
mov rdx, qword [r10 + rdx*8]
mov rdx, qword [rdx + 8]
mov r15, qword [rdx + 0x18]
mov dword [rsp + 0x38], ecx
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x20], r9
lea rcx, [rsp + 0x58]
mov rdx, r15
mov r9, rax
call fcn.140159230
mov rdx, qword [rsp + 0x58]
mov rcx, r15
call fcn.140159370
mov rdi, rax
lea rbx, [rsi + 2]
lea r8, [rsi*2 + 4]
lea rcx, [rsp + 0x50]
mov edx, 0x59
mov r9d, 1
call fcn.140169d80
mov rdx, qword [rsp + 0x50]
mov rcx, r15
call fcn.1400ef6d0
mov r14, rax
mov rcx, r15
call fcn.1400f4580
test rsi, rsi
jle 0x14015955c
mov r15, rax
mov rbp, qword [rsp + 0xe8]
xor r13d, r13d
mov r12, rsi
nop word cs:[rax + rax]
mov rax, qword [rbp + 0x10]
mov r8, qword [rax + r13]
add r8, r8
mov qword [r15 + 8], r8
mov rcx, qword [r14 + 8]
lea rdx, [rcx + r13]
add rdx, 0x17
dec rcx
call fcn.1400eda00
add r13, 8
dec r12
jne 0x140159530
mov r15, qword [rsp + 0xf0]
mov rax, qword [r15 + 8]
mov rcx, qword [rax + 0x3f]
call fcn.140114b60
mov rcx, qword [r14 + 8]
mov r8, qword [rax + 8]
lea rdx, [rcx + rsi*8]
add rdx, 0x1f
dec rcx
call fcn.1400eda00
mov rcx, qword [r14 + 8]
mov r8, qword [r15 + 8]
lea rdx, [rcx + rsi*8]
add rdx, 0x17
dec rcx
call fcn.1400eda00
mov rcx, r14
mov rdx, rbx
mov r8, rdi
call fcn.140158500
mov rdx, qword [rdi + 8]
lea rcx, [rdx - 1]
mov r8, qword [r14 + 8]
add rdx, 0x17
call fcn.1400ed330
mov rax, qword [rdi + 8]
mov rsi, qword [rsp + 0x48]
mov qword [rsi], rax
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140259980
mov rax, rsi
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x140164470
Capabilities:
Access peb ldr_data

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x68
mov rbx, rdx
mov rsi, rcx
mov rax, qword [0x14039de68]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov eax, dword [0x1403a5518]
mov rcx, qword gs:[0x58]
mov r14, qword [rcx + rax*8]
mov rdi, qword [r14 + 8]
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 8
mov byte [rsp + 0x20], 0
lea rcx, [rsp + 0x40]
mov edx, 0x3c
mov r8d, reloc.WS2_32.dll_recv
mov r9d, 1
call fcn.140140c50
mov rcx, qword [rsp + 0x40]
call fcn.140165010
mov rcx, qword [rax + 8]
mov qword [rcx + 7], rbx
mov rdx, qword [rax + 8]
mov rcx, qword [rdi + 0x18]
call fcn.140165040
mov rbx, rax
mov r8d, 0x430
add r8, qword [rdi + 0x6a8]
mov rdx, qword [r14 + 8]
lea r14, [rsp + 0x40]
mov rcx, r14
call fcn.140126bb0
mov rax, qword [rbx]
lea rdx, [rsp + 0x38]
mov rcx, rbx
mov r8, rdi
call qword [rax + 0x2d8]
lea rax, [0x1402fba70]
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x58]
call fcn.14009cb90
mov rcx, r14
call fcn.1401041e0
mov rax, qword [rsp + 0x38]
mov qword [rbx + 8], rax
mov qword [rsi], rax
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140259980
mov rax, rsi
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x1401652c0
Capabilities:
Access peb ldr_data

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x88
movaps xmmword [rsp + 0x70], xmm6
movaps xmm6, xmm1
mov rsi, rcx
mov rax, qword [0x14039de68]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov eax, dword [0x1403a5518]
mov rcx, qword gs:[0x58]
mov r14, qword [rcx + rax*8]
mov rdi, qword [r14 + 8]
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 8
mov byte [rsp + 0x20], 0
lea rcx, [rsp + 0x48]
mov edx, 0x3d
mov r8d, reloc.WS2_32.dll_recv
mov r9d, 1
call fcn.140140c50
mov rcx, qword [rsp + 0x48]
call fcn.140165290
mov rcx, qword [rax + 8]
movsd qword [rcx + 7], xmm6
mov rdx, qword [rax + 8]
mov rcx, qword [rdi + 0x18]
call fcn.1401653e0
mov rbx, rax
mov r8d, 0x430
add r8, qword [rdi + 0x6a8]
mov rdx, qword [r14 + 8]
lea r14, [rsp + 0x48]
mov rcx, r14
call fcn.140126bb0
mov rax, qword [rbx]
lea rdx, [rsp + 0x40]
mov rcx, rbx
mov r8, rdi
call qword [rax + 0x2d8]
lea rax, [0x1402fba70]
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x60]
call fcn.14009cb90
mov rcx, r14
call fcn.1401041e0
mov rax, qword [rsp + 0x40]
mov qword [rbx + 8], rax
mov qword [rsi], rax
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140259980
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x70]
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x140165540
Capabilities:
Encode data using xor

Disassembly:
push rsi
sub rsp, 0x40
mov rax, qword [0x14039de68]
xor rax, rsp
mov qword [rsp + 0x38], rax
xor eax, eax
test r8, r8
je 0x140165753
mov rcx, qword [rcx + 8]
mov r9, qword [rcx - 1]
and r9d, 0xfffff000
cmp r9d, 0x5d000
jne 0x14016559a
test r8, r8
jle 0x140165753
add rcx, rdx
add rcx, 0xf
mov edx, r8d
and edx, 3
cmp r8, 4
jae 0x1401655da
xor eax, eax
jmp 0x140165663
mov r9, qword [rcx - 1]
and r9d, 0xfffff000
cmp r9d, 0x5e000
jne 0x140165786
test r8, r8
jle 0x140165753
lea rcx, [rcx + rdx*2]
add rcx, 0xf
mov edx, r8d
and edx, 3
cmp r8, 4
jae 0x140165698
xor eax, eax
jmp 0x140165723
movabs rax, 0x7ffffffffffffffc
and r8, rax
xor eax, eax
nop dword [rax]
movzx r9d, byte [rcx]
add r9d, eax
mov eax, r9d
shl eax, 0xa
add eax, r9d
mov r9d, eax
shr r9d, 6
xor r9d, eax
movzx eax, byte [rcx + 1]
add eax, r9d
mov r9d, eax
shl r9d, 0xa
add r9d, eax
mov eax, r9d
shr eax, 6
xor eax, r9d
movzx r9d, byte [rcx + 2]
add r9d, eax
mov eax, r9d
shl eax, 0xa
add eax, r9d
mov r9d, eax
shr r9d, 6
xor r9d, eax
movzx eax, byte [rcx + 3]
add eax, r9d
mov r9d, eax
shl r9d, 0xa
add r9d, eax
mov eax, r9d
shr eax, 6
xor eax, r9d
add rcx, 4
add r8, 0xfffffffffffffffc
jne 0x1401655f0
test rdx, rdx
je 0x140165753
xor r8d, r8d
nop
movzx r9d, byte [rcx + r8]
add r9d, eax
mov r10d, r9d
shl r10d, 0xa
add r10d, r9d
mov eax, r10d
shr eax, 6
xor eax, r10d
inc r8
cmp rdx, r8
jne 0x140165670
jmp 0x140165753
movabs rax, 0x7ffffffffffffffc
and r8, rax
xor eax, eax
nop word [rax + rax]
movzx r9d, word [rcx]
add r9d, eax
mov eax, r9d
shl eax, 0xa
add eax, r9d
mov r9d, eax
shr r9d, 6
xor r9d, eax
movzx eax, word [rcx + 2]
add eax, r9d
mov r9d, eax
shl r9d, 0xa
add r9d, eax
mov eax, r9d
shr eax, 6
xor eax, r9d
movzx r9d, word [rcx + 4]
add r9d, eax
mov eax, r9d
shl eax, 0xa
add eax, r9d
mov r9d, eax
shr r9d, 6
xor r9d, eax
movzx eax, word [rcx + 6]
add eax, r9d
mov r9d, eax
shl r9d, 0xa
add r9d, eax
mov eax, r9d
shr eax, 6
xor eax, r9d
add rcx, 8
add r8, 0xfffffffffffffffc
jne 0x1401656b0
test rdx, rdx
je 0x140165753
xor r8d, r8d
nop dword [rax + rax]
movzx r9d, word [rcx + r8*2]
add r9d, eax
mov r10d, r9d
shl r10d, 0xa
add r10d, r9d
mov eax, r10d
shr eax, 6
xor eax, r10d
inc r8
cmp rdx, r8
jne 0x140165730
lea eax, [rax + rax*8]
mov ecx, eax
shr ecx, 0xb
xor ecx, eax
mov esi, ecx
shl esi, 0xf
add esi, ecx
and esi, 0x3fffffff
cmp esi, 1
adc esi, 0
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140259980
mov rax, rsi
add rsp, 0x40
pop rsi
ret
lea rax, str..._.._runtime_vm_object.cc
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x30], 0x5c8f
lea rdx, str.unreachable_code
lea rcx, [rsp + 0x28]
call fcn.140023d10
int3
Function at 0x140165c20
Capabilities:
Encode data using xor

Disassembly:
test rdx, rdx
jle 0x140165c38
mov eax, edx
and eax, 3
cmp rdx, 4
jae 0x140165c3f
xor r8d, r8d
jmp 0x140165cc9
xor eax, eax
jmp 0x140165cf8
movabs r8, 0x7ffffffffffffffc
and rdx, r8
xor r8d, r8d
nop
movzx r9d, byte [rcx]
add r9d, r8d
mov r8d, r9d
shl r8d, 0xa
add r8d, r9d
mov r9d, r8d
shr r9d, 6
xor r9d, r8d
movzx r8d, byte [rcx + 1]
add r8d, r9d
mov r9d, r8d
shl r9d, 0xa
add r9d, r8d
mov r8d, r9d
shr r8d, 6
xor r8d, r9d
movzx r9d, byte [rcx + 2]
add r9d, r8d
mov r8d, r9d
shl r8d, 0xa
add r8d, r9d
mov r9d, r8d
shr r9d, 6
xor r9d, r8d
movzx r8d, byte [rcx + 3]
add r8d, r9d
mov r9d, r8d
shl r9d, 0xa
add r9d, r8d
mov r8d, r9d
shr r8d, 6
xor r8d, r9d
add rcx, 4
add rdx, 0xfffffffffffffffc
jne 0x140165c50
test rax, rax
je 0x140165cf4
xor edx, edx
movzx r9d, byte [rcx + rdx]
add r9d, r8d
mov r10d, r9d
shl r10d, 0xa
add r10d, r9d
mov r8d, r10d
shr r8d, 6
xor r8d, r10d
inc rdx
cmp rax, rdx
jne 0x140165cd0
lea eax, [r8 + r8*8]
mov ecx, eax
shr ecx, 0xb
xor ecx, eax
mov eax, ecx
shl eax, 0xf
add eax, ecx
and eax, 0x3fffffff
cmp eax, 1
adc eax, 0
ret

Function at 0x140165d20
Capabilities:
Encode data using xor

Disassembly:
test rdx, rdx
jle 0x140165d38
mov eax, edx
and eax, 3
cmp rdx, 4
jae 0x140165d3f
xor r8d, r8d
jmp 0x140165dc9
xor eax, eax
jmp 0x140165df8
movabs r8, 0x7ffffffffffffffc
and rdx, r8
xor r8d, r8d
nop
movzx r9d, word [rcx]
add r9d, r8d
mov r8d, r9d
shl r8d, 0xa
add r8d, r9d
mov r9d, r8d
shr r9d, 6
xor r9d, r8d
movzx r8d, word [rcx + 2]
add r8d, r9d
mov r9d, r8d
shl r9d, 0xa
add r9d, r8d
mov r8d, r9d
shr r8d, 6
xor r8d, r9d
movzx r9d, word [rcx + 4]
add r9d, r8d
mov r8d, r9d
shl r8d, 0xa
add r8d, r9d
mov r9d, r8d
shr r9d, 6
xor r9d, r8d
movzx r8d, word [rcx + 6]
add r8d, r9d
mov r9d, r8d
shl r9d, 0xa
add r9d, r8d
mov r8d, r9d
shr r8d, 6
xor r8d, r9d
add rcx, 8
add rdx, 0xfffffffffffffffc
jne 0x140165d50
test rax, rax
je 0x140165df4
xor edx, edx
movzx r9d, word [rcx + rdx*2]
add r9d, r8d
mov r10d, r9d
shl r10d, 0xa
add r10d, r9d
mov r8d, r10d
shr r8d, 6
xor r8d, r10d
inc rdx
cmp rax, rdx
jne 0x140165dd0
lea eax, [r8 + r8*8]
mov ecx, eax
shr ecx, 0xb
xor ecx, eax
mov eax, ecx
shl eax, 0xf
add eax, ecx
and eax, 0x3fffffff
cmp eax, 1
adc eax, 0
ret
Function at 0x140166c10
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
sub rsp, 0xa8
movdqa xmmword [rsp + 0x90], xmm11
movdqa xmmword [rsp + 0x80], xmm10
movdqa xmmword [rsp + 0x70], xmm9
movdqa xmmword [rsp + 0x60], xmm8
movdqa xmmword [rsp + 0x50], xmm7
movdqa xmmword [rsp + 0x40], xmm6
mov rax, r8
mov r8, rdx
mov rsi, rcx
mov rcx, qword [0x14039de68]
xor rcx, rsp
mov qword [rsp + 0x38], rcx
test rax, rax
jle 0x140166e04
xor ecx, ecx
cmp rax, 4
jae 0x140166c7e
mov r11b, 1
xor r10d, r10d
mov rdx, rax
jmp 0x140166dc0
movabs r10, 0x7ffffffffffffffc
and r10, rax
movq xmm2, rax
movdqa xmm0, xmmword [0x1403057e0]
pxor xmm1, xmm1
xor edx, edx
movdqa xmm4, xmmword [0x1402ab660]
movdqa xmm5, xmmword [0x1403057f0]
movdqa xmm6, xmmword [0x140305800]
movdqa xmm7, xmmword [0x140305810]
movdqa xmm8, xmmword [0x1402ab680]
movdqa xmm3, xmm0
nop dword [rax + rax]
movdqa xmm9, xmm3
movdqa xmm10, xmm0
movq xmm0, qword [r8 + rdx*4]
movq xmm3, qword [r8 + rdx*4 + 8]
pshufd xmm11, xmm0, 0xd4
pxor xmm0, xmm4
pcmpgtd xmm0, xmm5
packssdw xmm0, xmm0
packsswb xmm0, xmm0
pandn xmm0, xmm10
pshufd xmm10, xmm3, 0xd4
pxor xmm3, xmm4
pcmpgtd xmm3, xmm5
packssdw xmm3, xmm3
packsswb xmm3, xmm3
pandn xmm3, xmm9
paddd xmm11, xmm6
pxor xmm11, xmm4
movdqa xmm9, xmm7
pcmpgtd xmm9, xmm11
pand xmm9, xmm8
paddq xmm2, xmm9
paddd xmm10, xmm6
pxor xmm10, xmm4
movdqa xmm9, xmm7
pcmpgtd xmm9, xmm10
pand xmm9, xmm8
paddq xmm1, xmm9
add rdx, 4
cmp r10, rdx
jne 0x140166cd0
paddq xmm1, xmm2
pshufd xmm2, xmm1, 0xee
paddq xmm2, xmm1
movq rdx, xmm2
movdqa xmm1, xmmword [0x1403057e0]
pcmpeqb xmm0, xmm1
pcmpeqd xmm2, xmm2
pxor xmm0, xmm2
pcmpeqb xmm3, xmm1
pxor xmm3, xmm2
por xmm3, xmm0
punpcklbw xmm3, xmm3
pshuflw xmm0, xmm3, 0x50
pshufd xmm0, xmm0, 0x50
movmskpd r11d, xmm0
test r11d, r11d
sete r11b
cmp r10, rax
je 0x140166dea
nop word [rax + rax]
mov edi, dword [r8 + r10*4]
cmp edi, 0x100
movzx r11d, r11b
cmovae r11d, ecx
add edi, 0xffff0000
cmp edi, 0x100000
adc rdx, 0
inc r10
cmp rax, r10
jne 0x140166dc0
test r11b, 1
jne 0x140166e04
mov dword [rsp + 0x20], r9d
lea rcx, [rsp + 0x30]
mov r9, rax
call fcn.140167010
jmp 0x140166e14
lea rcx, [rsp + 0x30]
mov rdx, r8
mov r8, rax
call fcn.140166e60
mov rax, qword [rsp + 0x30]
mov qword [rsi], rax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140259980
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x40]
movaps xmm7, xmmword [rsp + 0x50]
movaps xmm8, xmmword [rsp + 0x60]
movaps xmm9, xmmword [rsp + 0x70]
movaps xmm10, xmmword [rsp + 0x80]
movaps xmm11, xmmword [rsp + 0x90]
add rsp, 0xa8
pop rdi
pop rsi
ret