joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400e16a0
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 0x1400e16c1
cmp r9, qword [0x14039ab20]
jne 0x1400e16c9
xor eax, eax
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
test qword [r8 - 1], 2
je 0x1400e16dd
test qword [r9 - 1], 2
jne 0x1400e16bf
mov rax, qword [r8 - 1]
shr rax, 0x20
je 0x1400e17c7
mov rax, qword [r9 - 1]
shr rax, 0x20
je 0x1400e17c7
mov rsi, qword [r8 - 1]
shr rsi, 0x20
jne 0x1400e175a
mov rdi, rdx
mov r8, qword [r8 + 7]
sar r8, 1
mov rsi, rcx
xor edx, edx
call fcn.140158470
mov rcx, rsi
mov rsi, rax
mov r8, qword [rcx + 8]
mov rax, qword [r8 - 1]
mov rdx, rax
shr rdx, 0x20
jne 0x1400e1757
mov r9, rsi
shl r9, 0x20
mov rdx, rdi
nop dword [rax + rax]
lea r10, [rax + r9]
lock cmpxchg qword [r8 - 1], r10
je 0x1400e175a
mov r10, rax
shr r10, 0x20
je 0x1400e1740
jmp 0x1400e175a
mov rdx, rdi
mov rax, qword [rdx + 8]
mov r8, qword [rax - 1]
shr r8, 0x20
jne 0x1400e17ba
mov rdi, rcx
mov r8, qword [rax + 7]
sar r8, 1
mov rcx, rdx
mov rbx, rdx
xor edx, edx
call fcn.140158470
mov rdx, rbx
mov r8, rax
mov r9, qword [rbx + 8]
mov rax, qword [r9 - 1]
mov rcx, rax
shr rcx, 0x20
jne 0x1400e17b7
mov r10, r8
shl r10, 0x20
mov rcx, rdi
lea r11, [rax + r10]
lock cmpxchg qword [r9 - 1], r11
je 0x1400e17ba
mov r11, rax
shr r11, 0x20
je 0x1400e17a0
jmp 0x1400e17ba
mov rcx, rdi
cmp rsi, r8
jne 0x1400e16bf
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.140147fd0

Function at 0x1400f61c0
Capabilities:
Enumerate process modules

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
mov eax, 0x2040
call fcn.140259180
sub rsp, rax
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x14039ce38]
xor rax, rsp
mov qword [rsp + 0x2038], rax
cmp qword [0x14039f5a8], 0
jne 0x1400f6211
mov ecx, 8
call qword [sym.imp.ole32.dll_CoTaskMemAlloc]
mov qword [0x14039f5a8], 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 0x1400f629e
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 0x1400f627f
cmp dword [rsp + 0x2c], 8
jb 0x1400f627f
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 0x1400f62d4
inc r14
mov eax, dword [rsp + 0x2c]
shr eax, 3
cmp r14, rax
jb 0x1400f6260
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.140177360
jmp 0x1400f62af
lea rdx, str.Failed_to_open_current_process.
xor r14d, r14d
xor ecx, ecx
call fcn.140177360
mov qword [rsi], rax
mov rcx, qword [rsp + 0x2038]
xor rcx, rsp
call fcn.140258ea0
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 0x1400f62b2
Function at 0x14011a8c0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov eax, dword [0x1403a44f8]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov rsi, qword [rax + 8]
test rsi, rsi
je 0x14011a928
mov rcx, qword [rsi + 0x6a8]
lea rax, [0x14039f8b8]
test rcx, rcx
je 0x14011a98a
mov rdx, qword [0x14039f8a8]
test rdx, rdx
je 0x14011a953
mov rcx, qword [rcx + 0x380]
mov rcx, qword [rcx + 8]
mov rdi, rax
call fcn.14025cc00
mov rcx, rax
mov rax, rdi
test rcx, rcx
jne 0x14011a982
jmp 0x14011a98a
mov ecx, dword [0x14039ac80]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14011a94c
cmp byte [rax + 8], 0
jne 0x14011a986
mov rcx, rax
call fcn.140042800
test rax, rax
jne 0x14011a986
call fcn.140176500
jmp 0x14011a986
mov rdx, qword [0x14039f620]
test rdx, rdx
je 0x14011a96a
mov rdx, qword [rdx + 0x50]
cmp rdx, rcx
jne 0x14011a971
jmp 0x14011a982
xor edx, edx
cmp rdx, rcx
je 0x14011a982
mov rdi, rax
call fcn.1401142a0
mov ecx, eax
mov rax, rdi
test cl, cl
jne 0x14011a98a
mov rax, qword [rsi + 0x10]
mov rax, qword [rax + 0x38]
add rsp, 0x28
pop rdi
pop rsi
ret
Function at 0x1401307d0
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 0x140130805
test rax, rax
jle 0x140130825
add rcx, 0xf
mov edx, eax
and edx, 3
cmp rax, 4
jae 0x14013082c
xor r8d, r8d
jmp 0x1401308b9
test rax, rax
jle 0x140130825
add rcx, 0xf
mov edx, eax
and edx, 3
cmp rax, 4
jae 0x1401308f9
xor r8d, r8d
jmp 0x140130989
xor eax, eax
jmp 0x1401309b8
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 0x140130840
test rdx, rdx
je 0x1401309b4
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 0x1401308d0
jmp 0x1401309b4
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 0x140130910
test rdx, rdx
je 0x1401309b4
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 0x140130990
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 0x140137f20
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov rcx, qword [rcx + 8]
mov rax, qword [0x1403a1818]
mov rdx, qword [rax + 8]
jmp fcn.140137f40
Function at 0x14014ac40
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 [0x14039ce38]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov eax, dword [0x1403a44f8]
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.14014af20
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.14014adf0
test al, al
je 0x14014adcc
lea r15, [rsp + 0x20]
lea r12, [0x1402a0b19]
lea r13, [0x1402c6f16]
nop dword [rax + rax]
mov r8d, dword [rsp + 0x38]
add r8, rdi
mov rcx, rbx
lea rdx, str.0x_.8llx:
call fcn.140007280
mov rbp, qword [rsp + 0x48]
test rbp, rbp
js 0x14014ad40
add rbp, qword [rsp + 0x50]
jg 0x14014ad54
jmp 0x14014adb0
mov rcx, r15
call fcn.140167810
mov rbp, qword [rsp + 0x48]
add rbp, qword [rsp + 0x50]
jle 0x14014adb0
xor r14d, r14d
jmp 0x14014ad70
mov rcx, rbx
call fcn.1400073f0
inc r14
cmp rbp, r14
je 0x14014adb0
cmp qword [rsp + 0x48], 0
jns 0x14014ad80
mov rcx, r15
call fcn.140167810
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 0x14014ad60
mov rdx, r13
jmp 0x14014ad60
mov rcx, r15
call fcn.14014adf0
test al, al
je 0x14014adcc
mov rcx, rbx
mov rdx, rsi
call fcn.1400073f0
jmp 0x14014ad10
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140258ea0
nop
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x14014c780
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 [0x14039ce38]
xor rdx, rsp
mov qword [rsp + 0x60], rdx
mov edx, dword [0x1403a44f8]
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.14014c560
mov rdx, qword [rsp + 0x58]
mov rcx, r15
call fcn.14014c6a0
mov rdi, rax
lea rbx, [rsi + 2]
lea r8, [rsi*2 + 4]
lea rcx, [rsp + 0x50]
mov edx, 0x59
mov r9d, 1
call fcn.14015ccb0
mov rdx, qword [rsp + 0x50]
mov rcx, r15
call fcn.1400e2f40
mov r14, rax
mov rcx, r15
call fcn.1400e7cc0
test rsi, rsi
jle 0x14014c88c
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.1400e1280
add r13, 8
dec r12
jne 0x14014c860
mov r15, qword [rsp + 0xf0]
mov rax, qword [r15 + 8]
mov rcx, qword [rax + 0x3f]
call fcn.1401081d0
mov rcx, qword [r14 + 8]
mov r8, qword [rax + 8]
lea rdx, [rcx + rsi*8]
add rdx, 0x1f
dec rcx
call fcn.1400e1280
mov rcx, qword [r14 + 8]
mov r8, qword [r15 + 8]
lea rdx, [rcx + rsi*8]
add rdx, 0x17
dec rcx
call fcn.1400e1280
mov rcx, r14
mov rdx, rbx
mov r8, rdi
call fcn.14014b830
mov rdx, qword [rdi + 8]
lea rcx, [rdx - 1]
mov r8, qword [r14 + 8]
add rdx, 0x17
call fcn.1400e0c70
mov rax, qword [rdi + 8]
mov rsi, qword [rsp + 0x48]
mov qword [rsi], rax
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140258ea0
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 0x1401573a0
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 [0x14039ce38]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov eax, dword [0x1403a44f8]
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.140134250
mov rcx, qword [rsp + 0x40]
call fcn.140157f40
mov rcx, qword [rax + 8]
mov qword [rcx + 7], rbx
mov rdx, qword [rax + 8]
mov rcx, qword [rdi + 0x18]
call fcn.140157f70
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.14011a1b0
mov rax, qword [rbx]
lea rdx, [rsp + 0x38]
mov rcx, rbx
mov r8, rdi
call qword [rax + 0x2d8]
lea rax, [0x1402c4bf0]
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x58]
call fcn.140095ca0
mov rcx, r14
call fcn.1400f7920
mov rax, qword [rsp + 0x38]
mov qword [rbx + 8], rax
mov qword [rsi], rax
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140258ea0
mov rax, rsi
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x1401581f0
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 [0x14039ce38]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov eax, dword [0x1403a44f8]
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.140134250
mov rcx, qword [rsp + 0x48]
call fcn.1401581c0
mov rcx, qword [rax + 8]
movsd qword [rcx + 7], xmm6
mov rdx, qword [rax + 8]
mov rcx, qword [rdi + 0x18]
call fcn.140158310
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.14011a1b0
mov rax, qword [rbx]
lea rdx, [rsp + 0x40]
mov rcx, rbx
mov r8, rdi
call qword [rax + 0x2d8]
lea rax, [0x1402c4bf0]
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x60]
call fcn.140095ca0
mov rcx, r14
call fcn.1400f7920
mov rax, qword [rsp + 0x40]
mov qword [rbx + 8], rax
mov qword [rsi], rax
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140258ea0
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x70]
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x140158470
Capabilities:
Encode data using xor

Disassembly:
push rsi
sub rsp, 0x40
mov rax, qword [0x14039ce38]
xor rax, rsp
mov qword [rsp + 0x38], rax
xor eax, eax
test r8, r8
je 0x140158683
mov rcx, qword [rcx + 8]
mov r9, qword [rcx - 1]
and r9d, 0xfffff000
cmp r9d, 0x5d000
jne 0x1401584ca
test r8, r8
jle 0x140158683
add rcx, rdx
add rcx, 0xf
mov edx, r8d
and edx, 3
cmp r8, 4
jae 0x14015850a
xor eax, eax
jmp 0x140158593
mov r9, qword [rcx - 1]
and r9d, 0xfffff000
cmp r9d, 0x5e000
jne 0x1401586b6
test r8, r8
jle 0x140158683
lea rcx, [rcx + rdx*2]
add rcx, 0xf
mov edx, r8d
and edx, 3
cmp r8, 4
jae 0x1401585c8
xor eax, eax
jmp 0x140158653
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 0x140158520
test rdx, rdx
je 0x140158683
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 0x1401585a0
jmp 0x140158683
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 0x1401585e0
test rdx, rdx
je 0x140158683
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 0x140158660
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.140258ea0
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], 0x5bea
lea rdx, str.unreachable_code
lea rcx, [rsp + 0x28]
call fcn.140006bb0
int3
Function at 0x140158b50
Capabilities:
Encode data using xor

Disassembly:
test rdx, rdx
jle 0x140158b68
mov eax, edx
and eax, 3
cmp rdx, 4
jae 0x140158b6f
xor r8d, r8d
jmp 0x140158bf9
xor eax, eax
jmp 0x140158c28
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 0x140158b80
test rax, rax
je 0x140158c24
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 0x140158c00
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 0x140158c50
Capabilities:
Encode data using xor

Disassembly:
test rdx, rdx
jle 0x140158c68
mov eax, edx
and eax, 3
cmp rdx, 4
jae 0x140158c6f
xor r8d, r8d
jmp 0x140158cf9
xor eax, eax
jmp 0x140158d28
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 0x140158c80
test rax, rax
je 0x140158d24
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 0x140158d00
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 0x140159b40
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 [0x14039ce38]
xor rcx, rsp
mov qword [rsp + 0x38], rcx
test rax, rax
jle 0x140159d34
xor ecx, ecx
cmp rax, 4
jae 0x140159bae
mov r11b, 1
xor r10d, r10d
mov rdx, rax
jmp 0x140159cf0
movabs r10, 0x7ffffffffffffffc
and r10, rax
movq xmm2, rax
movdqa xmm0, xmmword [0x1402ce8a0]
pxor xmm1, xmm1
xor edx, edx
movdqa xmm4, xmmword [0x1402a73a0]
movdqa xmm5, xmmword [0x1402ce8b0]
movdqa xmm6, xmmword [0x1402ce8c0]
movdqa xmm7, xmmword [0x1402ce8d0]
movdqa xmm8, xmmword [0x1402a73c0]
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 0x140159c00
paddq xmm1, xmm2
pshufd xmm2, xmm1, 0xee
paddq xmm2, xmm1
movq rdx, xmm2
movdqa xmm1, xmmword [0x1402ce8a0]
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 0x140159d1a
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 0x140159cf0
test r11b, 1
jne 0x140159d34
mov dword [rsp + 0x20], r9d
lea rcx, [rsp + 0x30]
mov r9, rax
call fcn.140159f40
jmp 0x140159d44
lea rcx, [rsp + 0x30]
mov rdx, r8
mov r8, rax
call fcn.140159d90
mov rax, qword [rsp + 0x30]
mov qword [rsi], rax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140258ea0
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
Function at 0x140169da0
Capabilities:
Access peb ldr_data

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rbx, rdx
mov rsi, rcx
mov rax, qword [0x14039ce38]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov qword [rcx], rdx
mov rax, qword [rdx + 0x18]
mov qword [rcx + 8], rax
mov qword [rcx + 0x10], r8
lea rdi, [rcx + 0x18]
mov rcx, qword [rdx + 0x18]
xorps xmm0, xmm0
movups xmmword [rsi + 0x18], xmm0
mov qword [rsi + 0x28], 0
mov qword [rsi + 0x30], rcx
mov qword [rsi + 0x20], 2
mov rax, qword [rcx]
mov rdx, qword [rcx + 8]
sub rdx, rax
cmp rdx, 0x10
jge 0x140169e0a
mov edx, reloc.WS2_32.dll_recv
call fcn.1401b1030
jmp 0x140169e16
lea rdx, [rax + 0x10]
mov qword [rcx], rdx
add qword [rcx + 0x10], 0x10
mov qword [rsi + 0x28], rax
lea rcx, [rsp + 0x20]
mov edx, 2
xor r8d, r8d
call fcn.140137b80
mov rcx, qword [rbx + 0x18]
mov rdx, qword [rsp + 0x20]
call fcn.1400e8fe0
mov qword [rsi + 0x38], rax
mov rax, qword [rbx + 0x18]
xorps xmm0, xmm0
movups xmmword [rsi + 0x40], xmm0
mov qword [rsi + 0x50], 0
mov qword [rsi + 0x58], rax
mov eax, dword [0x1403a44f8]
mov rcx, qword gs:[0x58]
mov rbx, qword [rcx + rax*8]
mov rax, qword [rbx + 8]
mov rax, qword [rax + 0x18]
movups xmmword [rsi + 0x60], xmm0
mov qword [rsi + 0x70], 0
mov qword [rsi + 0x78], rax
mov rax, qword [rbx + 8]
mov rax, qword [rax + 0x18]
movups xmmword [rsi + 0x80], xmm0
mov qword [rsi + 0x90], 0
mov qword [rsi + 0x98], rax
mov rax, qword [rbx + 8]
mov rax, qword [rax + 0x18]
movups xmmword [rsi + 0xa0], xmm0
mov qword [rsi + 0xb0], 0
mov qword [rsi + 0xb8], rax
mov rax, qword [rbx + 8]
mov rax, qword [rax + 0x18]
movups xmmword [rsi + 0xc0], xmm0
mov qword [rsi + 0xd0], 0
mov qword [rsi + 0xd8], rax
mov rax, qword [rbx + 8]
mov rax, qword [rax + 0x18]
movups xmmword [rsi + 0xe0], xmm0
mov qword [rsi + 0xf0], 0
mov qword [rsi + 0xf8], rax
movups xmmword [rsi + 0x100], xmm0
mov edx, 2
mov rcx, rdi
call fcn.1400e9110
mov rdi, qword [0x14039ab20]
mov rax, qword [rbx + 8]
mov rcx, qword [rax + 0x18]
call fcn.1401123d0
mov qword [rax + 8], rdi
mov qword [rax], 0
mov rcx, qword [rsi + 0x28]
mov qword [rcx], rax
mov rdi, qword [0x14039ab20]
mov rax, qword [rbx + 8]
mov rcx, qword [rax + 0x18]
call fcn.1401123d0
mov qword [rax + 8], rdi
mov qword [rax], 0
mov rcx, qword [rsi + 0x28]
mov qword [rcx + 8], rax
mov rcx, qword [rsi + 0x38]
mov rdx, qword [0x14039ff10]
xor r8d, r8d
call fcn.140137e30
mov rcx, qword [rsi + 0x38]
mov rdx, qword [0x14039ff10]
xor r8d, r8d
call fcn.140137e30
mov qword [rsi + 0x100], 2
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140258ea0
mov rax, rsi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret