joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140383470
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x60
lea rbp, [rsp + 0x60]
movdqa xmmword [rbp - 0x10], xmm6
mov qword [rbp - 0x18], 0xfffffffffffffffe
mov rsi, rcx
lea rcx, [rbp - 0x40]
call fcn.14037def0
mov rdi, qword [rbp - 0x40]
test rdi, rdi
je 0x1403834bb
movdqu xmm6, xmmword [rbp - 0x38]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140383526
mov qword [rsi], rdi
movdqu xmmword [rsi + 8], xmm6
jmp 0x14038351a
mov rdx, qword [rbp - 0x38]
mov eax, edx
and eax, 3
cmp eax, 1
jne 0x140383513
lea rax, [rdx - 1]
mov qword [rbp - 0x28], rax
mov rcx, qword [rdx - 1]
mov qword [rbp - 0x20], rdx
mov rax, qword [rdx + 7]
call qword [rax]
mov rax, qword [rbp - 0x20]
mov rax, qword [rax + 7]
mov rdx, qword [rax + 8]
test rdx, rdx
mov rdi, qword [rbp - 0x28]
je 0x140383500
mov r8, qword [rax + 0x10]
mov rcx, qword [rdi]
call fcn.1400938b0
mov edx, 0x18
mov r8d, 8
mov rcx, rdi
call fcn.1400938b0
mov qword [rsi], 0
movaps xmm6, xmmword [rbp - 0x10]
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret
mov qword [rsi], 0
movq rdx, xmm6
test rdx, rdx
je 0x14038351a
add rdx, rdx
mov r8d, 2
mov rcx, rdi
movaps xmm6, xmmword [rbp - 0x10]
add rsp, 0x60
pop rdi
pop rsi
pop rbp
jmp fcn.1400938b0

Function at 0x1403840b0
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push rbp
sub rsp, 0xa0
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x18], 0xfffffffffffffffe
mov dword [rbp + 0x14], ecx
xorps xmm0, xmm0
movaps xmmword [rbp - 0x10], xmm0
lea rcx, [rbp - 0x10]
mov edx, 0x10
call qword [sym.imp.advapi32.dll_SystemFunction036]
test al, al
je 0x1403840f6
mov rax, qword [rbp - 0x10]
mov rdx, qword [rbp - 8]
add rsp, 0xa0
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov qword [rbp + 8], rax
lea rax, [rbp + 8]
mov qword [rbp - 0x30], rax
lea rax, [fcn.14036ed70]
mov qword [rbp - 0x28], rax
lea rax, [rbp + 0x14]
mov qword [rbp - 0x20], rax
lea rax, [0x14039c910]
mov qword [rbp - 0x18], rax
lea rax, [0x1404be250]
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], 2
lea rax, [0x1404be270]
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], 2
lea rax, [rbp - 0x30]
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], 2
lea rdx, str.library_std_src_syswindows_rand.rsRNG_broken:___fallback_RNG_broken:
lea rcx, [rbp - 0x60]
call fcn.1403b63d0
ud2
Function at 0x1403841b0
Capabilities:
Create thread

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x50
lea rbp, [rsp + 0x50]
mov qword [rbp - 8], 0xfffffffffffffffe
mov rdi, r8
mov rbx, rdx
mov r14, rcx
mov qword [rbp - 0x20], rdx
mov qword [rbp - 0x18], r8
mov ecx, 0x10
mov edx, 8
call fcn.1400938a0
mov rsi, rax
test rax, rax
je 0x14038428a
mov qword [rsi], rbx
mov qword [rsi + 8], rdi
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x10000
lea r8, [0x140384310]
xor edi, edi
xor ecx, ecx
mov rdx, r14
mov r9, rsi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x14038427c
mov rcx, qword [rsi]
mov rax, qword [rsi + 8]
mov qword [rbp - 0x10], rsi
call qword [rax]
mov rsi, qword [rbp - 0x10]
mov rax, qword [rsi + 8]
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x140384254
mov r8, qword [rax + 0x10]
mov rcx, qword [rsi]
call fcn.1400938b0
mov edx, 0x10
mov r8d, 8
mov rcx, rsi
call fcn.1400938b0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov edi, 1
mov rax, rdi
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
mov qword [rbp - 0x10], rsi
mov ecx, 0x10
mov edx, 8
call fcn.1403b6040
ud2

Function at 0x1403867e0
Capabilities:
Resolve dns

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov rsi, rcx
mov rdi, qword [rdx]
mov rbx, qword [rdx + 8]
movzx ebp, word [rdx + 0x10]
mov rax, qword [0x14056a308]
cmp rax, 3
jne 0x1403868f3
lea rcx, [rsp + 0x30]
mov rdx, rdi
mov r8, rbx
call fcn.14038e990
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14038684e
mov rdx, qword [rsp + 0x40]
test rdx, rdx
je 0x14038683a
mov r8, rdx
not r8
shr r8, 0x3f
call fcn.1400938b0
lea rax, str.data_provided_contains_a_nul_byte
mov qword [rsi + 8], rax
mov qword [rsi], 1
jmp 0x1403868c7
mov rdi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
xorps xmm0, xmm0
movaps xmmword [rsp + 0x30], xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x38], 1
mov qword [rsp + 0x28], 0
lea r8, [rsp + 0x30]
lea r9, [rsp + 0x28]
mov rcx, rdi
xor edx, edx
call qword [sym.imp.ws2_32.dll_getaddrinfo]
test eax, eax
je 0x1403868d3
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
mov qword [rsi], rax
mov byte [rdi], 0
test rbx, rbx
je 0x1403868c7
mov r8d, 1
mov rcx, rdi
mov rdx, rbx
call fcn.1400938b0
mov rax, rsi
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
ret
mov rax, qword [rsp + 0x28]
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], rax
mov word [rsi + 0x18], bp
xor eax, eax
mov qword [rsi], rax
mov byte [rdi], 0
test rbx, rbx
jne 0x1403868b6
jmp 0x1403868c7
call fcn.1403b5a60
jmp 0x140386807
Function at 0x140386a50
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push rsi
sub rsp, 0xb0
mov rax, rdx
mov rsi, rcx
xorps xmm0, xmm0
movaps xmmword [rsp + 0xa0], xmm0
movaps xmmword [rsp + 0x90], xmm0
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x2c], 0x80
lea rdx, [rsp + 0x30]
lea r8, [rsp + 0x2c]
mov rcx, rax
call qword [sym.imp.ws2_32.dll_getsockname]
cmp eax, 0xffffffff
je 0x140386b04
mov eax, dword [rsp + 0x2c]
movzx ecx, word [rsp + 0x30]
cmp ecx, 2
je 0x140386b14
cmp ecx, 0x17
jne 0x140386b4c
cmp eax, 0x1c
jb 0x140386b65
movzx eax, word [rsp + 0x32]
mov ecx, dword [rsp + 0x34]
mov edx, dword [rsp + 0x48]
rol ax, 8
mov word [rsi], 1
mov dword [rsi + 4], ecx
mov dword [rsi + 8], edx
mov word [rsi + 0xc], ax
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rsi + 0xe], xmm0
add rsp, 0xb0
pop rsi
ret
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
jmp 0x140386b53
cmp eax, 0x10
jb 0x140386b7f
movzx eax, word [rsp + 0x32]
rol ax, 8
mov ecx, dword [rsp + 0x34]
mov rdx, rcx
shl rdx, 0x10
movzx eax, ax
or rax, rdx
mov word [rsi], 0
shr rcx, 0x10
mov word [rsi + 6], cx
mov dword [rsi + 2], eax
add rsp, 0xb0
pop rsi
ret
lea rax, str.invalid_argument
mov qword [rsi + 8], rax
mov word [rsi], 2
add rsp, 0xb0
pop rsi
ret
lea rcx, str.assertion_failed:_len_as_usize___mem::size_of::_c::sockaddr_in6___library_std_src_sys_common_net.rs
lea r8, [0x1404beaa0]
mov edx, 0x43
call fcn.1403b6260
ud2
lea rcx, str.assertion_failed:_len_as_usize___mem::size_of::_c::sockaddr_in___
lea r8, [0x1404beb00]
mov edx, 0x42
call fcn.1403b6260
ud2
Function at 0x14039b720
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
test r8, r8
je 0x14039b79a
mov r11, rdx
mov rdx, qword [rsp + 0x70]
mov ebp, ecx
shr ebp, 8
lea r8, [r11 + r8*2]
xor eax, eax
mov rbx, r11
movzx edi, byte [r11 + 1]
add r11, 2
lea r10, [rax + rdi]
cmp byte [rbx], bpl
jne 0x14039b790
cmp r10, rax
jb 0x14039b82d
cmp r10, rdx
ja 0x14039b841
add rax, r9
xor ebx, ebx
nop dword [rax]
cmp rdi, rbx
je 0x14039b792
lea rsi, [rbx + 1]
cmp byte [rax + rbx], cl
mov rbx, rsi
jne 0x14039b770
jmp 0x14039b802
ja 0x14039b79a
mov rax, r10
cmp r11, r8
jne 0x14039b740
mov rdx, qword [rsp + 0x80]
test rdx, rdx
je 0x14039b806
mov rsi, qword [rsp + 0x78]
add rdx, rsi
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea rbx, [rsi + 1]
movzx edi, byte [rsi]
test dil, dil
js 0x14039b7e0
mov rsi, rbx
sub ecx, edi
jns 0x14039b7f9
jmp 0x14039b808
cmp rbx, rdx
je 0x14039b813
movzx ebp, byte [rsi + 1]
add rsi, 2
and edi, 0x7f
shl edi, 8
or edi, ebp
sub ecx, edi
js 0x14039b808
xor al, 1
cmp rsi, rdx
jne 0x14039b7c0
jmp 0x14039b808
xor eax, eax
jmp 0x14039b808
mov al, 1
and al, 1
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
ret
lea rcx, [0x1404c1449]
lea r8, [0x1404c27d8]
mov edx, 0x2b
call fcn.1403b6260
ud2
lea r8, [0x1404c27c0]
mov rcx, rax
mov rdx, r10
call fcn.1403b65b0
ud2
lea r8, [0x1404c27c0]
mov rcx, r10
call fcn.1403b65a0
ud2
Function at 0x14039e1b0
Capabilities:
Encode data using xor

Disassembly:
mov r10, rcx
xor r9b, r9b
xor ecx, ecx
mov r11, rdx
test r8, r8
je 0x14039e284
sub r10, rdx
cmp r8, 0x20
jb 0x14039e267
mov rdx, r8
lea rax, [r11 + 0x10]
and rdx, 0xffffffffffffffe0
xorps xmm3, xmm3
xorps xmm2, xmm2
nop dword [rax]
nop word [rax + rax]
movdqu xmm0, xmmword [rax - 0x10]
add rcx, 0x20
movdqu xmm1, xmmword [r10 + rax - 0x10]
lea rax, [rax + 0x20]
pxor xmm1, xmm0
por xmm3, xmm1
movdqu xmm1, xmmword [r10 + rax - 0x20]
movdqu xmm0, xmmword [rax - 0x20]
pxor xmm1, xmm0
por xmm2, xmm1
cmp rcx, rdx
jb 0x14039e1f0
por xmm2, xmm3
movdqa xmm0, xmm2
psrldq xmm0, 8
por xmm2, xmm0
movdqa xmm0, xmm2
psrldq xmm0, 4
por xmm2, xmm0
movdqa xmm0, xmm2
psrldq xmm0, 2
por xmm2, xmm0
movdqa xmm0, xmm2
psrldq xmm0, 1
por xmm2, xmm0
movd r9d, xmm2
cmp rcx, r8
jae 0x14039e284
lea rax, [rcx + r11]
sub r8, rcx
nop
movzx ecx, byte [r10 + rax]
xor cl, byte [rax]
lea rax, [rax + 1]
or r9b, cl
sub r8, 1
jne 0x14039e270
movzx eax, r9b
ret

Function at 0x14039e480
Capabilities:
Encode data using xor

Disassembly:
mov r9, rdx
mov r10, rcx
mov rax, 0xffffffffffffffff
test r8, r8
je 0x14039e4d2
sub r10, rdx
nop word [rax + rax]
mov rcx, qword [r10 + r9]
xor rcx, qword [r9]
lea r9, [r9 + 8]
lea rdx, [rcx - 1]
not rcx
shr rcx, 0x3f
shr rdx, 0x3f
and rdx, rcx
mov rcx, rax
neg rdx
not rcx
or rdx, rcx
and rax, rdx
sub r8, 1
jne 0x14039e4a0
ret
Function at 0x14039f6b0
Capabilities:
Encrypt data using curve25519

Disassembly:
movzx eax, byte [rcx + 0x1f]
and byte [rcx], 0xf8
and al, 0x3f
or al, 0x40
mov byte [rcx + 0x1f], al
ret

Function at 0x1403a6fe0
Capabilities:
Encode data using xor

Disassembly:
test r8, r8
je 0x1403a7194
mov r11, rsp
push rbx
push rdi
push r12
push r13
push r15
sub rsp, 0x4c0
mov rax, qword [0x14056a0f8]
xor rax, rsp
mov qword [rsp + 0x4a0], rax
mov rbx, qword [rsp + 0x510]
mov r15, rdx
mov qword [r11 + 0x18], rbp
mov rdi, rcx
mov qword [r11 - 0x30], rsi
lea rcx, [r11 - 0x408]
mov rdx, r9
mov qword [r11 - 0x38], r14
mov r13, r9
mov r12, r8
call fcn.1403a7690
mov edx, 4
lea rax, [rsp + 0x20]
mov ecx, edx
nop dword [rax + rax]
lea rax, [rax + 0x10]
movups xmm0, xmmword [rbx]
movups xmmword [rax - 0x10], xmm0
sub rcx, 1
jne 0x1403a7050
mov esi, dword [rsp + 0x2c]
lea rbx, [rsp + 0xa0]
bswap esi
sub rbx, rdi
lea r14d, [rsi + 2]
nop word [rax + rax]
mov eax, esi
lea rcx, [rsp + 0x60]
bswap eax
mov dword [rsp + 0x2c], eax
cmp r12, 4
lea eax, [r14 - 1]
mov rbp, r12
bswap eax
mov dword [rsp + 0x3c], eax
cmovae rbp, rdx
mov eax, r14d
lea rdx, [rsp + 0x20]
bswap eax
mov dword [rsp + 0x4c], eax
mov r8, rbp
lea eax, [r14 + 1]
bswap eax
mov dword [rsp + 0x5c], eax
call fcn.1403a8350
mov edx, dword [r13 + 0xf0]
lea r8, [rsp + 0x60]
lea rcx, [rsp + 0xe0]
call fcn.1403a7540
lea r8, [rsp + 0x60]
mov rdx, rbp
lea rcx, [rsp + 0xa0]
call fcn.1403a7730
test rbp, rbp
je 0x1403a713b
mov r8, r15
mov rax, rdi
sub r8, rdi
mov r9, rbp
nop dword [rax]
nop word [rax + rax]
mov edx, 2
nop word [rax + rax]
mov rcx, qword [rbx + rax]
xor rcx, qword [rax]
mov qword [r8 + rax], rcx
add rax, 8
sub rdx, 1
jne 0x1403a7120
sub r9, 1
jne 0x1403a7110
sub r12, rbp
je 0x1403a715d
add rdi, 0x40
sub rbx, 0x40
add r15, 0x40
add esi, 4
add r14d, 4
mov edx, 4
jmp 0x1403a7080
mov rsi, qword [rsp + 0x4b8]
mov rbp, qword [rsp + 0x500]
mov r14, qword [rsp + 0x4b0]
mov rcx, qword [rsp + 0x4a0]
xor rcx, rsp
call fcn.1403aabe0
add rsp, 0x4c0
pop r15
pop r13
pop r12
pop rdi
pop rbx
ret
Function at 0x1403a7280
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rdi
sub rsp, 0x98
mov rax, qword [0x14056a0f8]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rdi, r8
cmp edx, 0x80
je 0x1403a72c9
cmp edx, 0x100
je 0x1403a72b9
mov eax, 1
jmp 0x1403a7418
mov rdx, rcx
mov rcx, rdi
call fcn.1403a7be0
jmp 0x1403a7416
mov qword [rsp + 0xb8], rbp
mov rdx, rcx
mov qword [rsp + 0xc8], rsi
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x90], r14
mov dword [r8 + 0xf0], 0xa
call fcn.1403a7440
movups xmm0, xmmword [rsp + 0x60]
mov ebx, 1
lea r14, [0x14041fd50]
movabs rbp, 0xf000000000000
movups xmmword [rdi], xmm0
add rdi, 0x10
xor esi, esi
nop dword [rax]
mov rax, qword [rsp + 0x60]
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], rax
xorps xmm0, xmm0
mov rax, qword [rsp + 0x68]
xorps xmm1, xmm1
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x28], rsi
movdqa xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x48], rsi
movdqa xmmword [rsp + 0x50], xmm1
call fcn.1403a84c0
lea rcx, [rsp + 0x20]
call fcn.1403a7ff0
lea rcx, [rsp + 0x20]
call fcn.1403a84c0
mov rax, qword [rsp + 0x20]
mov r9, rsi
movzx r10d, byte [rbx + r14 - 1]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x78], rax
nop dword [rax + rax]
mov rdx, qword [rsp + r9*8 + 0x70]
movzx ecx, r9b
mov rax, rdx
shl cl, 2
shr rax, 0x10
and rdx, rbp
or rax, rdx
mov r8, r10
shr rax, 0x24
shr r8, cl
and r8d, 0xf
xor r8, rax
xor r8, qword [rsp + r9*8 + 0x60]
mov rax, r8
shl rax, 0x10
xor rax, r8
shl rax, 0x10
xor rax, r8
shl rax, 0x10
xor rax, r8
mov qword [rsp + r9*8 + 0x60], rax
inc r9
cmp r9, 2
jb 0x1403a7390
movups xmm0, xmmword [rsp + 0x60]
inc rbx
movups xmmword [rdi], xmm0
add rdi, 0x10
cmp rbx, 0xa
jbe 0x1403a7320
mov r14, qword [rsp + 0x90]
mov rsi, qword [rsp + 0xc8]
mov rbp, qword [rsp + 0xb8]
xor eax, eax
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1403aabe0
add rsp, 0x98
pop rdi
pop rbx
ret
Function at 0x1403a7540
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
mov rax, qword [rcx]
mov rbx, r8
xor qword [r8], rax
mov r14, rdx
mov rax, qword [rcx + 8]
mov rsi, rcx
xor qword [r8 + 8], rax
mov rax, qword [rcx + 0x10]
xor qword [r8 + 0x10], rax
mov rax, qword [rcx + 0x18]
xor qword [r8 + 0x18], rax
mov rax, qword [rcx + 0x20]
xor qword [r8 + 0x20], rax
mov rax, qword [rcx + 0x28]
xor qword [r8 + 0x28], rax
mov rax, qword [rcx + 0x30]
xor qword [r8 + 0x30], rax
mov rax, qword [rcx + 0x38]
xor qword [r8 + 0x38], rax
cmp rdx, 1
jbe 0x1403a761b
mov qword [rsp + 0x30], rbp
lea rbp, [rdx - 1]
mov qword [rsp + 0x38], rdi
lea rdi, [rcx + 0x50]
nop
mov rcx, rbx
call fcn.1403a7ff0
mov rcx, rbx
call fcn.1403a7e20
mov rcx, rbx
call fcn.1403a78e0
mov rax, qword [rdi - 0x10]
lea rdi, [rdi + 0x40]
xor qword [rbx], rax
mov rax, qword [rdi - 0x48]
xor qword [rbx + 8], rax
mov rax, qword [rdi - 0x40]
xor qword [rbx + 0x10], rax
mov rax, qword [rdi - 0x38]
xor qword [rbx + 0x18], rax
mov rax, qword [rdi - 0x30]
xor qword [rbx + 0x20], rax
mov rax, qword [rdi - 0x28]
xor qword [rbx + 0x28], rax
mov rax, qword [rdi - 0x20]
xor qword [rbx + 0x30], rax
mov rax, qword [rdi - 0x18]
xor qword [rbx + 0x38], rax
sub rbp, 1
jne 0x1403a75b0
mov rdi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x30]
mov rcx, rbx
call fcn.1403a7ff0
mov rcx, rbx
call fcn.1403a7e20
lea rcx, [r14*8]
mov rax, qword [rsi + rcx*8]
xor qword [rbx], rax
mov rax, qword [rsi + rcx*8 + 8]
xor qword [rbx + 8], rax
mov rax, qword [rsi + rcx*8 + 0x10]
xor qword [rbx + 0x10], rax
mov rax, qword [rsi + rcx*8 + 0x18]
xor qword [rbx + 0x18], rax
mov rax, qword [rsi + rcx*8 + 0x20]
xor qword [rbx + 0x20], rax
mov rax, qword [rsi + rcx*8 + 0x28]
xor qword [rbx + 0x28], rax
mov rax, qword [rsi + rcx*8 + 0x30]
xor qword [rbx + 0x30], rax
mov rax, qword [rsi + rcx*8 + 0x38]
xor qword [rbx + 0x38], rax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x1403a7730
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rdi
sub rsp, 0x88
mov rax, qword [0x14056a0f8]
xor rax, rsp
mov qword [rsp + 0x60], rax
movups xmm0, xmmword [r8]
mov rdi, rcx
lea rcx, [rsp + 0x20]
movups xmm1, xmmword [r8 + 0x10]
mov rbx, rdx
movaps xmmword [rsp + 0x20], xmm0
movups xmm0, xmmword [r8 + 0x20]
movaps xmmword [rsp + 0x30], xmm1
movups xmm1, xmmword [r8 + 0x30]
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x50], xmm1
call fcn.1403a84c0
xor r11d, r11d
test rbx, rbx
je 0x1403a78bf
mov qword [rsp + 0xa8], rbp
movabs rbp, 0xff000000ff00
mov qword [rsp + 0x80], rsi
mov esi, 0xffff0000
mov qword [rsp + 0x78], r14
movabs r14, 0xf000f000f000f0
mov qword [rsp + 0x70], r15
movabs r15, 0xffffffff00000000
nop dword [rax]
mov r10, qword [rsp + r11*8 + 0x40]
lea rdi, [rdi + 0x10]
mov r8, qword [rsp + r11*8 + 0x20]
mov rdx, r10
shl rdx, 0x20
and r10, r15
mov eax, r8d
inc r11
or rdx, rax
shr r8, 0x20
or r10, r8
mov rcx, rdx
shr rcx, 0x10
xor rcx, rdx
and rcx, rsi
mov rax, rcx
shl rax, 0x10
xor rax, rcx
xor rdx, rax
mov rcx, rdx
shr rcx, 8
xor rcx, rdx
and rcx, rbp
mov rax, rcx
shl rax, 8
xor rax, rcx
mov rcx, r10
xor rdx, rax
shr rcx, 0x10
xor rcx, r10
mov rax, rdx
shr rax, 4
and rcx, rsi
xor rax, rdx
and rax, r14
mov r9, rax
shl r9, 4
xor r9, rax
mov rax, rcx
shl rax, 0x10
xor r9, rdx
xor rax, rcx
mov qword [rdi - 0x10], r9
xor r10, rax
mov rcx, r10
shr rcx, 8
xor rcx, r10
and rcx, rbp
mov rax, rcx
shl rax, 8
xor rax, rcx
xor r10, rax
mov rcx, r10
shr rcx, 4
xor rcx, r10
and rcx, r14
mov rax, rcx
shl rax, 4
xor rax, rcx
xor rax, r10
mov qword [rdi - 8], rax
cmp r11, rbx
jb 0x1403a77d0
mov r15, qword [rsp + 0x70]
mov r14, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
mov rbp, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1403aabe0
add rsp, 0x88
pop rdi
pop rbx
ret
Function at 0x1403a7be0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x14056a0f8]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov rdi, rcx
mov dword [rcx + 0xf0], 0xe
lea rcx, [rbp + 7]
mov rbx, rdx
call fcn.1403a7440
movups xmm0, xmmword [rbp + 7]
lea rdx, [rbx + 0x10]
lea rcx, [rbp - 9]
movups xmmword [rdi], xmm0
call fcn.1403a7440
movdqu xmm6, xmmword [rbp - 9]
mov ebx, 2
lea r15, [0x14041fd50]
movabs r14, 0xf000000000000
movups xmmword [rdi + 0x10], xmm6
add rdi, 0x20
xor esi, esi
lea r12d, [rbx + 0x2e]
lea r13d, [rbx + 0xe]
nop
xorps xmm0, xmm0
mov qword [rbp - 0x41], rsi
movdqu xmmword [rbp - 0x39], xmm0
lea rcx, [rbp - 0x49]
xorps xmm1, xmm1
mov qword [rbp - 0x21], rsi
movdqa xmm0, xmm6
movdqu xmmword [rbp - 0x19], xmm1
psrldq xmm0, 8
movq qword [rbp - 0x29], xmm0
movq qword [rbp - 0x49], xmm6
call fcn.1403a84c0
lea rcx, [rbp - 0x49]
call fcn.1403a7ff0
lea rcx, [rbp - 0x49]
call fcn.1403a84c0
mov rax, qword [rbp - 0x49]
mov rcx, rbx
mov qword [rbp - 9], rax
mov rax, qword [rbp - 0x29]
shr rcx, 1
mov qword [rbp - 1], rax
mov rax, rsi
movzx r9d, byte [rcx + r15 - 1]
nop word [rax + rax]
mov rdx, qword [rbp + rax*8 - 9]
movzx ecx, al
shl cl, 2
mov r8, r9
shr r8, cl
mov rcx, rdx
shr rcx, 0x10
and r8d, 0xf
and rdx, r14
or rcx, rdx
shr rcx, 0x24
xor r8, rcx
xor r8, qword [rbp + rax*8 + 7]
mov rcx, r8
shl rcx, 0x10
xor rcx, r8
shl rcx, 0x10
xor rcx, r8
shl rcx, 0x10
xor rcx, r8
mov qword [rbp + rax*8 + 7], rcx
inc rax
cmp rax, 2
jb 0x1403a7ce0
movups xmm0, xmmword [rbp + 7]
movups xmmword [rdi], xmm0
cmp rbx, 0xe
je 0x1403a7dee
mov rax, qword [rbp + 7]
lea rcx, [rbp - 0x49]
mov qword [rbp - 0x49], rax
xorps xmm0, xmm0
mov rax, qword [rbp + 0xf]
xorps xmm1, xmm1
mov qword [rbp - 0x29], rax
mov qword [rbp - 0x41], rsi
movdqu xmmword [rbp - 0x39], xmm0
mov qword [rbp - 0x21], rsi
movdqu xmmword [rbp - 0x19], xmm1
call fcn.1403a84c0
lea rcx, [rbp - 0x49]
call fcn.1403a7ff0
lea rcx, [rbp - 0x49]
call fcn.1403a84c0
mov rax, qword [rbp - 0x49]
movq xmm2, r12
mov qword [rbp - 9], rax
movq xmm0, r13
mov rax, qword [rbp - 0x29]
add rbx, 2
mov qword [rbp - 1], rax
mov eax, 0x20
movdqu xmm3, xmmword [rbp - 9]
psrlq xmm3, xmm2
pxor xmm3, xmm6
movdqa xmm6, xmm3
movdqa xmm1, xmm3
psllq xmm6, xmm0
movq xmm0, rax
pxor xmm6, xmm3
psllq xmm1, xmm0
psllq xmm3, xmm2
pxor xmm6, xmm1
pxor xmm6, xmm3
movups xmmword [rdi + 0x10], xmm6
add rdi, rax
cmp rbx, 0xe
jbe 0x1403a7c70
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.1403aabe0
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x1403a8350
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x20
xorps xmm0, xmm0
xor esi, esi
mov rbx, r8
mov rdi, rdx
movups xmmword [rcx], xmm0
movups xmmword [rcx + 0x10], xmm0
movups xmmword [rcx + 0x20], xmm0
movups xmmword [rcx + 0x30], xmm0
test r8, r8
je 0x1403a84a7
mov qword [rsp + 0x40], rbp
movabs rbp, 0xf000f000f000f0
mov qword [rsp + 0x48], r12
movabs r12, 0xffffffff00000000
mov qword [rsp + 0x50], r14
movabs r14, 0xff000000ff00
mov qword [rsp + 0x58], r15
mov r15d, 0xffff0000
nop dword [rax]
nop word [rax + rax]
mov rdx, qword [rdi]
mov r10, qword [rdi + 8]
lea rdi, [rdi + 0x10]
mov rax, rdx
shr rax, 4
xor rax, rdx
and rax, rbp
mov r8, rax
shl r8, 4
xor r8, rax
xor r8, rdx
mov rdx, r8
shr rdx, 8
xor rdx, r8
and rdx, r14
mov rax, rdx
shl rax, 8
xor rax, rdx
xor r8, rax
mov rax, r8
shr rax, 0x10
xor rax, r8
and rax, r15
mov r11, rax
shl r11, 0x10
xor r11, rax
mov rax, r10
shr rax, 4
xor r11, r8
xor rax, r10
and rax, rbp
mov r9, rax
shl r9, 4
xor r9, rax
xor r9, r10
mov rdx, r9
shr rdx, 8
xor rdx, r9
and rdx, r14
mov rax, rdx
shl rax, 8
xor rax, rdx
xor r9, rax
mov rax, r9
shr rax, 0x10
xor rax, r9
and rax, r15
mov r8, rax
shl r8, 0x10
xor r8, rax
mov eax, r11d
xor r8, r9
shr r11, 0x20
mov rdx, r8
and r8, r12
shl rdx, 0x20
or r11, r8
or rdx, rax
mov qword [rcx + rsi*8 + 0x20], r11
mov qword [rcx + rsi*8], rdx
inc rsi
cmp rsi, rbx
jb 0x1403a83c0
mov r15, qword [rsp + 0x58]
mov r14, qword [rsp + 0x50]
mov r12, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
pop rsi
pop rbx
jmp fcn.1403a84c0
Function at 0x1403aa6a0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
xor eax, eax
mov r11, rcx
mov r10d, 1
movabs rdi, 0x8000000000000000
lea ebx, [rax + 0x20]
nop dword [rax]
nop word [rax + rax]
shr rax, 1
mov r9, r10
and r9d, 1
neg r9
mov rdx, r9
and r9, rdi
add r9, rax
and rdx, r11
mov r8, rdx
shr r9, 1
xor r8, r10
and rdx, r10
shr r8, 1
add r8, rdx
mov rax, r8
and eax, 1
neg rax
mov rcx, rax
and rax, rdi
and rcx, r11
add rax, r9
mov r10, rcx
and rcx, r8
xor r10, r8
shr r10, 1
add r10, rcx
sub rbx, 1
jne 0x1403aa6d0
mov rbx, qword [rsp + 8]
mov rdi, qword [rsp + 0x10]
ret

Function at 0x1403ab0c0
Capabilities:
Parse pe header

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