joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401493b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rax, rdx
mov rsi, qword [rsp + 0x90]
mov rdi, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x80]
mov ebx, ecx
shr ebx, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov r15, rax
movzx r14d, byte [rax + 1]
add rax, 2
lea r10, [r11 + r14]
cmp byte [r15], bl
jne 0x140149440
cmp r10, r11
jb 0x1401494b6
cmp r10, rdx
ja 0x1401494ca
add r11, r9
xor r15d, r15d
nop word cs:[rax + rax]
cmp r14, r15
je 0x140149442
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x140149420
jmp 0x1401494a4
ja 0x14014944a
mov r11, r10
cmp rax, r8
jne 0x1401493e4
add rsi, rdi
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r8, [rdi + 1]
movzx edx, byte [rdi]
test dl, dl
js 0x140149480
mov rdi, r8
sub ecx, edx
jns 0x14014949b
jmp 0x1401494a6
cmp r8, rsi
je 0x1401494db
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x1401494a6
xor al, 1
cmp rdi, rsi
jne 0x140149460
jmp 0x1401494a6
xor eax, eax
and al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.1402ea700
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.1402ea400
ud2
lea rcx, str.called__Option::unwrap____on_a__None__value
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.1402ea480
ud2
Function at 0x140168490
Capabilities:
Set socket configuration

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x40
mov edi, r8d
mov rsi, rcx
cmp word [rdx], 0
mov eax, 2
mov ebx, 0x17
cmove ebx, eax
mov rax, qword [0x1403cda08]
cmp rax, 3
jne 0x140168540
mov ecx, ebx
mov edx, edi
xor r8d, r8d
call qword [sym.imp.ws2_32.dll_socket]
cmp rax, 0xffffffffffffffff
je 0x140168517
mov rdi, rax
mov dword [rsp + 0x34], 1
lea r8, [rsp + 0x34]
mov rcx, rax
mov edx, 0x8004667e
call qword [sym.imp.ws2_32.dll_ioctlsocket]
test eax, eax
je 0x14016852f
call sub.kernel32.dll_GetLastError
mov ebx, eax
shl rbx, 0x20
or rbx, 2
mov rcx, rdi
call qword [sym.imp.ws2_32.dll_closesocket]
mov qword [rsi + 8], rbx
mov eax, 1
jmp 0x140168535
call sub.kernel32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
jmp 0x140168535
mov qword [rsi + 8], rdi
xor eax, eax
mov qword [rsi], rax
add rsp, 0x40
pop rbx
pop rdi
pop rsi
ret
mov byte [rsp + 0x33], 1
lea rax, [rsp + 0x33]
mov qword [rsp + 0x38], rax
lea rax, str.__2_
mov qword [rsp + 0x20], rax
lea rcx, [0x1403cda08]
lea r9, [0x1403231b0]
lea r8, [rsp + 0x38]
xor edx, edx
call fcn.1402f3030
jmp 0x1401684bf

Function at 0x140168870
Capabilities:
Connect socket

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
mov rbx, rdx
mov rsi, rcx
movups xmm0, xmmword [rdx]
movups xmm1, xmmword [rdx + 0x10]
movaps xmmword [rsp + 0x40], xmm1
movaps xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x20]
lea rdx, [rsp + 0x30]
mov r8d, 1
call fcn.140168490
cmp qword [rsp + 0x20], 0
mov rdi, qword [rsp + 0x28]
je 0x1401688c0
mov qword [rsi + 8], rdi
mov qword [rsi], 0xffffffffffffffff
jmp 0x140168985
movzx eax, word [rbx + 0xa]
cmp word [rbx], 0
mov word [rsp + 0x28], ax
mov rax, qword [rbx + 2]
mov qword [rsp + 0x20], rax
mov rax, qword [rbx + 0xc]
mov ecx, dword [rbx + 0x18]
je 0x1401688fd
mov r9d, dword [rbx + 0x14]
movzx edx, word [rbx + 0x1c]
mov r10, qword [rsp + 0x22]
rol dx, 8
mov r8d, 0x1c
mov r11w, 0x17
jmp 0x140168919
movzx edx, word [rsp + 0x24]
rol dx, 8
mov r8d, 0x10
mov r11w, 2
mov r9d, dword [rsp + 0x20]
xor r10d, r10d
mov word [rsp + 0x30], r11w
mov word [rsp + 0x32], dx
mov dword [rsp + 0x34], r9d
mov qword [rsp + 0x38], r10
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x48], ecx
lea rdx, [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.ws2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x14016895c
call sub.kernel32.dll_GetLastError
mov ebx, eax
mov ecx, eax
call fcn.14028f0e0
cmp al, 0xd
jne 0x140168969
mov qword [rsi], rdi
mov qword [rsi + 8], 0
jmp 0x140168985
shl rbx, 0x20
or rbx, 2
mov qword [rsi + 8], rbx
mov qword [rsi], 0xffffffffffffffff
mov rcx, rdi
call qword [sym.imp.ws2_32.dll_closesocket]
nop
add rsp, 0x50
pop rbx
pop rdi
pop rsi
ret
Function at 0x140180bd0
Capabilities:
Generate random numbers via rtlgenrandom
Generate random numbers via winapi

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
test r8, r8
je 0x140180ca0
mov rdi, r8
mov rbx, rdx
mov r15d, 0xffffffff
mov r12, qword [sym.imp.bcrypt.dll_BCryptGenRandom]
mov r13, qword [sym.imp.ADVAPI32.dll_SystemFunction036]
mov rsi, r8
jmp 0x140180c1c
add rbx, r14
sub rsi, r14
je 0x140180ca0
cmp rsi, r15
mov r14d, 0xffffffff
cmovb r14, rsi
xor ecx, ecx
mov rdx, rbx
mov r8d, r14d
mov r9d, 2
call r12
cmp eax, 0xbfffffff
jbe 0x140180c10
mov ebp, eax
mov rcx, rbx
mov edx, r14d
call r13
test al, al
jne 0x140180c10
xor eax, eax
add ebp, 0x80000000
cmovne edi, ebp
je 0x140180ca2
test edi, edi
je 0x140180ca2
movzx eax, byte [0x1403ce430]
mov rcx, qword [0x1403cdf08]
test rcx, rcx
jne 0x140180c89
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x140180cba
mov rcx, rax
mov qword [0x1403cdf08], rax
mov r8d, 4
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapAlloc]
test rax, rax
je 0x140180cba
mov dword [rax], edi
jmp 0x140180ca2
xor eax, eax
lea rdx, [0x140325db8]
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov ecx, 4
mov edx, 4
call fcn.1402e6e10
ud2
Function at 0x1401aca60
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
mov rax, rcx
add qword [rcx + 0x30], r8
mov r11, qword [rcx + 0x40]
test r11, r11
je 0x1401acaa2
mov r10d, 8
sub r10, r11
cmp r8, r10
mov rdi, r10
cmovb rdi, r8
cmp rdi, 3
jbe 0x1401acaaa
mov esi, dword [rdx]
mov r9d, 4
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jb 0x1401acabb
jmp 0x1401acad2
xor r10d, r10d
jmp 0x1401acb5d
xor esi, esi
xor r9d, r9d
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jae 0x1401acad2
movzx ebx, word [rdx + r9]
lea ecx, [r9*8]
shl rbx, cl
or rsi, rbx
or r9, 2
cmp r9, rdi
jae 0x1401acae9
movzx edi, byte [rdx + r9]
shl r9d, 3
mov ecx, r9d
shl rdi, cl
or rsi, rdi
lea ecx, [r11*8]
shl rsi, cl
or rsi, qword [rax + 0x38]
mov qword [rax + 0x38], rsi
cmp r10, r8
jbe 0x1401acb09
add r11, r8
jmp 0x1401acc3a
mov r11, qword [rax + 0x18]
mov r9, qword [rax + 0x10]
mov rcx, qword [rax]
add rcx, r9
rol r9, 0xd
xor r11, rsi
xor r9, rcx
rol rcx, 0x20
mov rdi, qword [rax + 8]
add rdi, r11
rol r11, 0x10
xor r11, rdi
add rcx, r11
rol r11, 0x15
xor r11, rcx
add rdi, r9
rol r9, 0x11
mov qword [rax + 0x18], r11
xor r9, rdi
rol rdi, 0x20
mov qword [rax + 0x10], r9
mov qword [rax + 8], rdi
xor rcx, rsi
mov qword [rax], rcx
sub r8, r10
mov r11d, r8d
and r11d, 7
and r8, 0xfffffffffffffff8
cmp r10, r8
jae 0x1401acbd2
mov rcx, qword [rax]
mov r9, qword [rax + 8]
mov rdi, qword [rax + 0x18]
mov rsi, qword [rax + 0x10]
nop
add rcx, rsi
rol rsi, 0xd
mov rbx, qword [rdx + r10]
xor rsi, rcx
rol rcx, 0x20
xor rdi, rbx
add r9, rdi
rol rdi, 0x10
xor rdi, r9
add rcx, rdi
rol rdi, 0x15
add r9, rsi
rol rsi, 0x11
xor rsi, r9
rol r9, 0x20
xor rdi, rcx
xor rcx, rbx
add r10, 8
cmp r10, r8
jb 0x1401acb80
mov qword [rax + 0x18], rdi
mov qword [rax + 0x10], rsi
mov qword [rax + 8], r9
mov qword [rax], rcx
cmp r11d, 3
jbe 0x1401acbf0
mov r9d, dword [rdx + r10]
mov r8d, 4
mov rcx, r8
or rcx, 1
cmp rcx, r11
jb 0x1401acc02
jmp 0x1401acc1c
xor r9d, r9d
xor r8d, r8d
mov rcx, r8
or rcx, 1
cmp rcx, r11
jae 0x1401acc1c
lea rcx, [r8 + r10]
movzx esi, word [rdx + rcx]
lea ecx, [r8*8]
shl rsi, cl
or r9, rsi
or r8, 2
cmp r8, r11
jae 0x1401acc36
add r10, r8
movzx edx, byte [rdx + r10]
shl r8d, 3
mov ecx, r8d
shl rdx, cl
or r9, rdx
mov qword [rax + 0x38], r9
mov qword [rax + 0x40], r11
pop rbx
pop rdi
pop rsi
ret
Function at 0x1401b5870
Capabilities:
Hash data using sha256

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x100
mov rdi, r8
mov rsi, rcx
lea rbx, [rsp + 0x48]
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
movups xmmword [rsp + 0x68], xmm0
movups xmmword [rsp + 0x58], xmm0
movups xmmword [rsp + 0x48], xmm0
mov byte [rsp + 0x88], 0
movups xmm0, xmmword [0x14038e988]
movaps xmmword [rsp + 0x20], xmm0
movups xmm0, xmmword [0x14038e998]
movaps xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], 0
cmp r8, 0x3f
ja 0x1401b58dc
mov rcx, rbx
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
jmp 0x1401b5914
mov r14, rdi
and r14, 0xffffffffffffffc0
mov r15d, edi
and r15d, 0x3f
add r14, rdx
shr rdi, 6
mov qword [rsp + 0x40], rdi
lea rcx, [rsp + 0x20]
mov r8, rdi
call fcn.140274f70
mov rcx, rbx
mov rdx, r14
mov r8, r15
call sub.VCRUNTIME140.dll_memcpy
mov rdi, r15
mov byte [rsp + 0x88], dil
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
movaps xmm2, xmmword [rsp + 0x40]
movaps xmm3, xmmword [rsp + 0x50]
movaps xmmword [rsp + 0xb0], xmm2
movaps xmmword [rsp + 0x90], xmm0
movaps xmmword [rsp + 0xa0], xmm1
movaps xmmword [rsp + 0xc0], xmm3
movaps xmm0, xmmword [rsp + 0x60]
movaps xmmword [rsp + 0xd0], xmm0
movdqa xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rsp + 0xe0], xmm0
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0xf0], rax
movzx eax, byte [rsp + 0x88]
mov byte [rsp + 0xf8], al
mov eax, dword [rsp + 0x89]
mov dword [rsp + 0xf9], eax
movzx eax, word [rsp + 0x8d]
mov word [rsp + 0xfd], ax
movzx eax, byte [rsp + 0x8f]
mov byte [rsp + 0xff], al
lea rdi, [rsp + 0xb8]
movzx ebx, byte [rsp + 0xf8]
mov rax, qword [rsp + 0xb0]
shl rax, 9
lea r14, [rbx*8]
or r14, rax
mov byte [rsp + rbx + 0xb8], 0x80
mov r8, rbx
xor r8, 0x3f
je 0x1401b59fe
lea rcx, [rbx + rdi]
inc rcx
xor edx, edx
call sub.VCRUNTIME140.dll_memset
bswap r14
xor ebx, 0x38
cmp ebx, 8
jae 0x1401b5a56
lea rbx, [rsp + 0x90]
mov r8d, 1
mov rcx, rbx
mov rdx, rdi
call fcn.140274f70
pxor xmm0, xmm0
movdqa xmmword [rsp + 0x40], xmm0
movdqa xmmword [rsp + 0x30], xmm0
movdqa xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x58], r14
lea rdx, [rsp + 0x20]
mov r8d, 1
mov rcx, rbx
jmp 0x1401b5a6f
mov qword [rsp + 0xf0], r14
lea rcx, [rsp + 0x90]
mov r8d, 1
mov rdx, rdi
call fcn.140274f70
pxor xmm0, xmm0
movdqa xmm1, xmmword [rsp + 0x90]
movdqa xmm2, xmmword [rsp + 0xa0]
movdqa xmm3, xmm1
punpckhbw xmm3, xmm0
pshuflw xmm3, xmm3, 0x1b
pshufhw xmm3, xmm3, 0x1b
punpcklbw xmm1, xmm0
pshuflw xmm1, xmm1, 0x1b
pshufhw xmm1, xmm1, 0x1b
packuswb xmm1, xmm3
movdqa xmm3, xmm2
punpckhbw xmm3, xmm0
pshuflw xmm3, xmm3, 0x1b
pshufhw xmm3, xmm3, 0x1b
punpcklbw xmm2, xmm0
pshuflw xmm0, xmm2, 0x1b
pshufhw xmm0, xmm0, 0x1b
packuswb xmm0, xmm3
movdqu xmmword [rsi], xmm1
movdqu xmmword [rsi + 0x10], xmm0
add rsp, 0x100
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x1401c32d0
Capabilities:
Encode data using xor

Disassembly:
push rsi
sub rsp, 0x3e0
mov rsi, rcx
mov rax, qword [rcx]
nop
mov rcx, rax
xor rcx, 3
lock cmpxchg qword [rsi], rcx
jne 0x1401c32e0
test al, 1
je 0x1401c338a
test al, 2
jne 0x1401c33a4
test al, 8
jne 0x1401c331b
lea rcx, [rsi + 0x20]
mov qword [rsp + 0x58], 4
lea rdx, [rsp + 0x58]
call fcn.1401c3140
jmp 0x1401c3339
test al, 0x10
je 0x1401c3339
mov rax, qword [rsi + 0x3c8]
test rax, rax
je 0x1401c3422
mov rcx, qword [rsi + 0x3d0]
call qword [rax + 0x10]
mov rcx, qword [rsi + 0x20]
mov rdx, rsi
call fcn.1402ae890
cmp rax, 1
mov eax, 2
sbb rax, 0
mov qword [rsp + 0x28], rax
shl rax, 6
neg rax
lock xadd qword [rsi], rax
shr rax, 6
cmp rax, qword [rsp + 0x28]
jb 0x1401c33be
jne 0x1401c3380
mov rcx, rsi
add rsp, 0x3e0
pop rsi
jmp fcn.1401c3460
nop
add rsp, 0x3e0
pop rsi
ret
lea rcx, str.assertion_failed:_prev.is_running__
lea r8, [0x1403965a0]
mov edx, 0x23
call fcn.1402ea480
ud2
lea rcx, str.assertion_failed:__prev.is_complete__
lea r8, [0x1403965e0]
mov edx, 0x25
call fcn.1402ea480
ud2
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x38], rax
lea rax, [fcn.140140af0]
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x28]
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rax
lea rax, str.current:___sub:
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], 2
mov qword [rsp + 0x78], 0
lea rax, [rsp + 0x38]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], 2
lea rdx, [0x140396628]
jmp 0x1401c3452
lea rax, str.waker_missing
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], 1
lea rax, [0x1403c0b88]
mov qword [rsp + 0x68], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
lea rdx, str.C:Users_runneradmin.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.32.0_src_runtime_taskcore.rs
lea rcx, [rsp + 0x58]
call fcn.1402ea2c0
ud2
Function at 0x1401c7be0
Capabilities:
Encode data using xor

Disassembly:
push rsi
sub rsp, 0x3e0
mov rsi, rcx
mov rax, qword [rcx]
nop
mov rcx, rax
xor rcx, 3
lock cmpxchg qword [rsi], rcx
jne 0x1401c7bf0
test al, 1
je 0x1401c7c9a
test al, 2
jne 0x1401c7cb4
test al, 8
jne 0x1401c7c2b
lea rcx, [rsi + 0x20]
mov qword [rsp + 0x58], 4
lea rdx, [rsp + 0x58]
call fcn.1401c3140
jmp 0x1401c7c49
test al, 0x10
je 0x1401c7c49
mov rax, qword [rsi + 0x3c8]
test rax, rax
je 0x1401c7d32
mov rcx, qword [rsi + 0x3d0]
call qword [rax + 0x10]
mov rcx, qword [rsi + 0x20]
mov rdx, rsi
call fcn.1402aced0
cmp rax, 1
mov eax, 2
sbb rax, 0
mov qword [rsp + 0x28], rax
shl rax, 6
neg rax
lock xadd qword [rsi], rax
shr rax, 6
cmp rax, qword [rsp + 0x28]
jb 0x1401c7cce
jne 0x1401c7c90
mov rcx, rsi
add rsp, 0x3e0
pop rsi
jmp fcn.1401c7d70
nop
add rsp, 0x3e0
pop rsi
ret
lea rcx, str.assertion_failed:_prev.is_running__
lea r8, [0x1403965a0]
mov edx, 0x23
call fcn.1402ea480
ud2
lea rcx, str.assertion_failed:__prev.is_complete__
lea r8, [0x1403965e0]
mov edx, 0x25
call fcn.1402ea480
ud2
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x38], rax
lea rax, [fcn.140140af0]
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x28]
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rax
lea rax, str.current:___sub:
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], 2
mov qword [rsp + 0x78], 0
lea rax, [rsp + 0x38]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], 2
lea rdx, [0x140396628]
jmp 0x1401c7d62
lea rax, str.waker_missing
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], 1
lea rax, [0x1403c0b88]
mov qword [rsp + 0x68], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
lea rdx, str.C:Users_runneradmin.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.32.0_src_runtime_taskcore.rs
lea rcx, [rsp + 0x58]
call fcn.1402ea2c0
ud2
Function at 0x14022f250
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
mov r15, qword [rdx]
mov rbx, qword [rdx + 8]
mov r8, qword [r15 + 0xa0]
mov r14, qword [rdx + 0x10]
mov rcx, rbx
mov rdx, r14
call fcn.140225740
cmp eax, 0x5c
jne 0x14022f299
mov rcx, rsi
mov rdx, rdi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
jmp fcn.140226ef0
lea rcx, [rsi + 8]
mov rdx, rdi
call fcn.140226cc0
mov r8, qword [r15 + 0xa0]
mov rcx, rbx
mov rdx, r14
call fcn.140225740
mov ebx, eax
mov rcx, rdi
call fcn.140226dc0
mov dword [rsi + 0x38], ebx
mov byte [rsi + 0x3c], 0
mov byte [rsi + 0x70], 2
mov dword [rsi], 0x1f
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x140254090
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
mov r15, qword [rdx]
mov rbx, qword [rdx + 8]
mov r8, qword [r15 + 0xa0]
mov r14, qword [rdx + 0x10]
mov rcx, rbx
mov rdx, r14
call fcn.14024b130
cmp eax, 0x5c
jne 0x1402540d9
mov rcx, rsi
mov rdx, rdi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
jmp fcn.14024c8d0
lea rcx, [rsi + 8]
mov rdx, rdi
call fcn.14024c6a0
mov r8, qword [r15 + 0xa0]
mov rcx, rbx
mov rdx, r14
call fcn.14024b130
mov ebx, eax
mov rcx, rdi
call fcn.14024c7a0
mov dword [rsi + 0x38], ebx
mov byte [rsi + 0x3c], 0
mov byte [rsi + 0x70], 2
mov dword [rsi], 0x20
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x1402660b0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
movdqa xmmword [rsp + 0x50], xmm6
mov rdi, r8
mov rbx, rdx
mov qword [rsp + 0x20], rcx
mov r15d, 0xd
xor r13d, r13d
lea r14, [0x140385bf8]
mov r12d, 0xd
jmp 0x1402660fc
mov r12, r15
sub r15, r13
jbe 0x140266270
shr r15, 1
add r15, r13
mov rsi, r15
shl rsi, 5
mov rcx, qword [rsi + r14]
mov r8, qword [rsi + r14 + 8]
mov rbp, r8
sub rbp, rdi
cmovae r8, rdi
mov rdx, rbx
call sub.VCRUNTIME140.dll_memcmp
cdqe
test eax, eax
cmovne rbp, rax
xor eax, eax
test rbp, rbp
setne al
mov ecx, 0xff
cmovs eax, ecx
cmp al, 1
je 0x1402660f0
movzx eax, al
cmp eax, 0xff
jne 0x14026615d
inc r15
mov r13, r15
mov r15, r12
sub r15, r13
ja 0x1402660fc
jmp 0x140266270
mov rdi, qword [rsi + r14 + 0x18]
test rdi, rdi
je 0x14026622c
js 0x14026632f
mov r14, qword [rsi + r14 + 0x10]
lea rbx, [rdi*8]
movzx eax, byte [0x1403ce430]
mov rcx, qword [0x1403cdf08]
test rcx, rcx
jne 0x1402661aa
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x140266319
mov rcx, rax
mov qword [0x1403cdf08], rax
xor edx, edx
mov r8, rbx
call qword [sym.imp.kernel32.dll_HeapAlloc]
test rax, rax
je 0x140266319
lea rcx, [r14 + rdi*8]
lea rdx, [rdi - 1]
movabs r9, 0x1fffffffffffffff
and r9, rdx
cmp r9, 9
jb 0x1402661ef
cmp rax, rcx
jae 0x140266294
lea rdx, [rax + rdi*8]
cmp r14, rdx
jae 0x140266294
xor edx, edx
mov r8, r14
nop word cs:[rax + rax]
mov r9d, dword [r8]
mov r10d, dword [r8 + 4]
cmp r9d, r10d
mov r11d, r10d
cmovb r11d, r9d
cmova r10d, r9d
mov dword [rax + rdx*8], r11d
mov dword [rax + rdx*8 + 4], r10d
inc rdx
add r8, 8
cmp r8, rcx
jne 0x140266200
jmp 0x140266233
mov eax, 4
xor edx, edx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], rdx
lea rcx, [rsp + 0x28]
call fcn.140260ef0
mov rax, qword [rsp + 0x28]
movups xmm0, xmmword [rsp + 0x30]
movaps xmmword [rsp + 0x40], xmm0
test rax, rax
je 0x140266270
movaps xmm0, xmmword [rsp + 0x40]
mov rcx, qword [rsp + 0x20]
movups xmmword [rcx + 8], xmm0
jmp 0x14026627b
mov rcx, qword [rsp + 0x20]
mov byte [rcx + 8], 1
xor eax, eax
mov qword [rcx], rax
movaps xmm6, xmmword [rsp + 0x50]
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
inc r9
mov rdx, r9
and rdx, 0xfffffffffffffffe
lea r8, [r14 + rdx*8]
xor r10d, r10d
movdqa xmm0, xmmword [0x1402f9750]
nop dword [rax]
movdqu xmm1, xmmword [r14 + r10*8]
pshufd xmm2, xmm1, 0xe8
pshufd xmm1, xmm1, 0xed
movdqa xmm3, xmm2
pxor xmm3, xmm0
movdqa xmm4, xmm1
pxor xmm4, xmm0
movdqa xmm5, xmm4
pcmpgtd xmm5, xmm3
movdqa xmm6, xmm2
pand xmm6, xmm5
pandn xmm5, xmm1
por xmm5, xmm6
pcmpgtd xmm3, xmm4
pand xmm2, xmm3
pandn xmm3, xmm1
por xmm3, xmm2
punpckldq xmm5, xmm3
movdqu xmmword [rax + r10*8], xmm5
add r10, 2
cmp rdx, r10
jne 0x1402662b0
cmp r9, rdx
jne 0x140266200
jmp 0x140266233
shr rdi, 0x3a
not edi
and edi, 4
mov rcx, rdi
mov rdx, rbx
call fcn.1402e6e10
ud2
call fcn.1400f7020
ud2
Function at 0x140266340
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
movdqa xmmword [rsp + 0x50], xmm6
mov rdi, r8
mov rbx, rdx
mov qword [rsp + 0x20], rcx
mov r15d, 0xe
xor r13d, r13d
lea r14, str.h_5_
mov r12d, 0xe
jmp 0x14026638c
mov r12, r15
sub r15, r13
jbe 0x140266500
shr r15, 1
add r15, r13
mov rsi, r15
shl rsi, 5
mov rcx, qword [rsi + r14]
mov r8, qword [rsi + r14 + 8]
mov rbp, r8
sub rbp, rdi
cmovae r8, rdi
mov rdx, rbx
call sub.VCRUNTIME140.dll_memcmp
cdqe
test eax, eax
cmovne rbp, rax
xor eax, eax
test rbp, rbp
setne al
mov ecx, 0xff
cmovs eax, ecx
cmp al, 1
je 0x140266380
movzx eax, al
cmp eax, 0xff
jne 0x1402663ed
inc r15
mov r13, r15
mov r15, r12
sub r15, r13
ja 0x14026638c
jmp 0x140266500
mov rdi, qword [rsi + r14 + 0x18]
test rdi, rdi
je 0x1402664bc
js 0x1402665bf
mov r14, qword [rsi + r14 + 0x10]
lea rbx, [rdi*8]
movzx eax, byte [0x1403ce430]
mov rcx, qword [0x1403cdf08]
test rcx, rcx
jne 0x14026643a
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x1402665a9
mov rcx, rax
mov qword [0x1403cdf08], rax
xor edx, edx
mov r8, rbx
call qword [sym.imp.kernel32.dll_HeapAlloc]
test rax, rax
je 0x1402665a9
lea rcx, [r14 + rdi*8]
lea rdx, [rdi - 1]
movabs r9, 0x1fffffffffffffff
and r9, rdx
cmp r9, 9
jb 0x14026647f
cmp rax, rcx
jae 0x140266524
lea rdx, [rax + rdi*8]
cmp r14, rdx
jae 0x140266524
xor edx, edx
mov r8, r14
nop word cs:[rax + rax]
mov r9d, dword [r8]
mov r10d, dword [r8 + 4]
cmp r9d, r10d
mov r11d, r10d
cmovb r11d, r9d
cmova r10d, r9d
mov dword [rax + rdx*8], r11d
mov dword [rax + rdx*8 + 4], r10d
inc rdx
add r8, 8
cmp r8, rcx
jne 0x140266490
jmp 0x1402664c3
mov eax, 4
xor edx, edx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], rdx
lea rcx, [rsp + 0x28]
call fcn.140260ef0
mov rax, qword [rsp + 0x28]
movups xmm0, xmmword [rsp + 0x30]
movaps xmmword [rsp + 0x40], xmm0
test rax, rax
je 0x140266500
movaps xmm0, xmmword [rsp + 0x40]
mov rcx, qword [rsp + 0x20]
movups xmmword [rcx + 8], xmm0
jmp 0x14026650b
mov rcx, qword [rsp + 0x20]
mov byte [rcx + 8], 1
xor eax, eax
mov qword [rcx], rax
movaps xmm6, xmmword [rsp + 0x50]
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
inc r9
mov rdx, r9
and rdx, 0xfffffffffffffffe
lea r8, [r14 + rdx*8]
xor r10d, r10d
movdqa xmm0, xmmword [0x1402f9750]
nop dword [rax]
movdqu xmm1, xmmword [r14 + r10*8]
pshufd xmm2, xmm1, 0xe8
pshufd xmm1, xmm1, 0xed
movdqa xmm3, xmm2
pxor xmm3, xmm0
movdqa xmm4, xmm1
pxor xmm4, xmm0
movdqa xmm5, xmm4
pcmpgtd xmm5, xmm3
movdqa xmm6, xmm2
pand xmm6, xmm5
pandn xmm5, xmm1
por xmm5, xmm6
pcmpgtd xmm3, xmm4
pand xmm2, xmm3
pandn xmm3, xmm1
por xmm3, xmm2
punpckldq xmm5, xmm3
movdqu xmmword [rax + r10*8], xmm5
add r10, 2
cmp rdx, r10
jne 0x140266540
cmp r9, rdx
jne 0x140266490
jmp 0x1402664c3
shr rdi, 0x3a
not edi
and edi, 4
mov rcx, rdi
mov rdx, rbx
call fcn.1402e6e10
ud2
call fcn.1400f7020
ud2