joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400e75e0
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [rcx]
shl eax, 4
movups xmm1, xmmword [rcx + 0x10]
xorps xmm2, xmm0
xorps xmm3, xmm0
xorps xmm4, xmm0
movups xmm0, xmmword [rcx + 0x20]
lea rcx, [rcx + rax + 0x20]
neg rax
add rax, 0x10
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdec xmm4, xmm1
movups xmm1, xmmword [rcx + rax]
add rax, 0x20
aesdec xmm2, xmm0
aesdec xmm3, xmm0
aesdec xmm4, xmm0
movups xmm0, xmmword [rcx + rax - 0x10]
jne 0x1400e7603
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdec xmm4, xmm1
aesdeclast xmm2, xmm0
aesdeclast xmm3, xmm0
aesdeclast xmm4, xmm0
repz ret

Function at 0x1400e7660
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [rcx]
shl eax, 4
movups xmm1, xmmword [rcx + 0x10]
xorps xmm2, xmm0
xorps xmm3, xmm0
xorps xmm4, xmm0
xorps xmm5, xmm0
movups xmm0, xmmword [rcx + 0x20]
lea rcx, [rcx + rax + 0x20]
neg rax
nop dword [rax]
add rax, 0x10
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenc xmm5, xmm1
movups xmm1, xmmword [rcx + rax]
add rax, 0x20
aesenc xmm2, xmm0
aesenc xmm3, xmm0
aesenc xmm4, xmm0
aesenc xmm5, xmm0
movups xmm0, xmmword [rcx + rax - 0x10]
jne 0x1400e7689
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenc xmm5, xmm1
aesenclast xmm2, xmm0
aesenclast xmm3, xmm0
aesenclast xmm4, xmm0
aesenclast xmm5, xmm0
repz ret

Function at 0x1400e76f0
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [rcx]
shl eax, 4
movups xmm1, xmmword [rcx + 0x10]
xorps xmm2, xmm0
xorps xmm3, xmm0
xorps xmm4, xmm0
xorps xmm5, xmm0
movups xmm0, xmmword [rcx + 0x20]
lea rcx, [rcx + rax + 0x20]
neg rax
nop dword [rax]
add rax, 0x10
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdec xmm4, xmm1
aesdec xmm5, xmm1
movups xmm1, xmmword [rcx + rax]
add rax, 0x20
aesdec xmm2, xmm0
aesdec xmm3, xmm0
aesdec xmm4, xmm0
aesdec xmm5, xmm0
movups xmm0, xmmword [rcx + rax - 0x10]
jne 0x1400e7719
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdec xmm4, xmm1
aesdec xmm5, xmm1
aesdeclast xmm2, xmm0
aesdeclast xmm3, xmm0
aesdeclast xmm4, xmm0
aesdeclast xmm5, xmm0
repz ret

Function at 0x1400e7780
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [rcx]
shl eax, 4
movups xmm1, xmmword [rcx + 0x10]
xorps xmm2, xmm0
pxor xmm3, xmm0
pxor xmm4, xmm0
aesenc xmm2, xmm1
lea rcx, [rcx + rax + 0x20]
neg rax
aesenc xmm3, xmm1
pxor xmm5, xmm0
pxor xmm6, xmm0
aesenc xmm4, xmm1
pxor xmm7, xmm0
movups xmm0, xmmword [rcx + rax]
add rax, 0x10
jmp 0x1400e77df
Function at 0x1400e77d0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenc xmm5, xmm1
aesenc xmm6, xmm1
aesenc xmm7, xmm1
movups xmm1, xmmword [rcx + rax]
add rax, 0x20
aesenc xmm2, xmm0
aesenc xmm3, xmm0
aesenc xmm4, xmm0
aesenc xmm5, xmm0
aesenc xmm6, xmm0
aesenc xmm7, xmm0
movups xmm0, xmmword [rcx + rax - 0x10]
jne fcn.1400e77d0
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenc xmm5, xmm1
aesenc xmm6, xmm1
aesenc xmm7, xmm1
aesenclast xmm2, xmm0
aesenclast xmm3, xmm0
aesenclast xmm4, xmm0
aesenclast xmm5, xmm0
aesenclast xmm6, xmm0
aesenclast xmm7, xmm0
repz ret

Function at 0x1400e7860
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [rcx]
shl eax, 4
movups xmm1, xmmword [rcx + 0x10]
xorps xmm2, xmm0
pxor xmm3, xmm0
pxor xmm4, xmm0
aesdec xmm2, xmm1
lea rcx, [rcx + rax + 0x20]
neg rax
aesdec xmm3, xmm1
pxor xmm5, xmm0
pxor xmm6, xmm0
aesdec xmm4, xmm1
pxor xmm7, xmm0
movups xmm0, xmmword [rcx + rax]
add rax, 0x10
jmp 0x1400e78bf
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdec xmm4, xmm1
aesdec xmm5, xmm1
aesdec xmm6, xmm1
aesdec xmm7, xmm1
movups xmm1, xmmword [rcx + rax]
add rax, 0x20
aesdec xmm2, xmm0
aesdec xmm3, xmm0
aesdec xmm4, xmm0
aesdec xmm5, xmm0
aesdec xmm6, xmm0
aesdec xmm7, xmm0
movups xmm0, xmmword [rcx + rax - 0x10]
jne 0x1400e78b0
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdec xmm4, xmm1
aesdec xmm5, xmm1
aesdec xmm6, xmm1
aesdec xmm7, xmm1
aesdeclast xmm2, xmm0
aesdeclast xmm3, xmm0
aesdeclast xmm4, xmm0
aesdeclast xmm5, xmm0
aesdeclast xmm6, xmm0
aesdeclast xmm7, xmm0
repz ret

Function at 0x1400e7940
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [rcx]
shl eax, 4
movups xmm1, xmmword [rcx + 0x10]
xorps xmm2, xmm0
xorps xmm3, xmm0
pxor xmm4, xmm0
pxor xmm5, xmm0
pxor xmm6, xmm0
lea rcx, [rcx + rax + 0x20]
neg rax
aesenc xmm2, xmm1
pxor xmm7, xmm0
pxor xmm8, xmm0
aesenc xmm3, xmm1
pxor xmm9, xmm0
movups xmm0, xmmword [rcx + rax]
add rax, 0x10
jmp 0x1400e799a

Function at 0x1400e79ba
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenc xmm5, xmm1
aesenc xmm6, xmm1
aesenc xmm7, xmm1
aesenc xmm8, xmm1
aesenc xmm9, xmm1
movups xmm1, xmmword [rcx + rax]
add rax, 0x20
aesenc xmm2, xmm0
aesenc xmm3, xmm0
aesenc xmm4, xmm0
aesenc xmm5, xmm0
aesenc xmm6, xmm0
aesenc xmm7, xmm0
aesenc xmm8, xmm0
aesenc xmm9, xmm0
movups xmm0, xmmword [rcx + rax - 0x10]
jne 0x1400e7990
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenc xmm5, xmm1
aesenc xmm6, xmm1
aesenc xmm7, xmm1
aesenc xmm8, xmm1
aesenc xmm9, xmm1
aesenclast xmm2, xmm0
aesenclast xmm3, xmm0
aesenclast xmm4, xmm0
aesenclast xmm5, xmm0
aesenclast xmm6, xmm0
aesenclast xmm7, xmm0
aesenclast xmm8, xmm0
aesenclast xmm9, xmm0
repz ret
Function at 0x1400e7a50
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [rcx]
shl eax, 4
movups xmm1, xmmword [rcx + 0x10]
xorps xmm2, xmm0
xorps xmm3, xmm0
pxor xmm4, xmm0
pxor xmm5, xmm0
pxor xmm6, xmm0
lea rcx, [rcx + rax + 0x20]
neg rax
aesdec xmm2, xmm1
pxor xmm7, xmm0
pxor xmm8, xmm0
aesdec xmm3, xmm1
pxor xmm9, xmm0
movups xmm0, xmmword [rcx + rax]
add rax, 0x10
jmp 0x1400e7aaa
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdec xmm4, xmm1
aesdec xmm5, xmm1
aesdec xmm6, xmm1
aesdec xmm7, xmm1
aesdec xmm8, xmm1
aesdec xmm9, xmm1
movups xmm1, xmmword [rcx + rax]
add rax, 0x20
aesdec xmm2, xmm0
aesdec xmm3, xmm0
aesdec xmm4, xmm0
aesdec xmm5, xmm0
aesdec xmm6, xmm0
aesdec xmm7, xmm0
aesdec xmm8, xmm0
aesdec xmm9, xmm0
movups xmm0, xmmword [rcx + rax - 0x10]
jne 0x1400e7aa0
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdec xmm4, xmm1
aesdec xmm5, xmm1
aesdec xmm6, xmm1
aesdec xmm7, xmm1
aesdec xmm8, xmm1
aesdec xmm9, xmm1
aesdeclast xmm2, xmm0
aesdeclast xmm3, xmm0
aesdeclast xmm4, xmm0
aesdeclast xmm5, xmm0
aesdeclast xmm6, xmm0
aesdeclast xmm7, xmm0
aesdeclast xmm8, xmm0
aesdeclast xmm9, xmm0
repz ret
Function at 0x1400f4900
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
vmovdqu xmm4, xmmword [rcx - 0x80]
vmovdqu xmm2, xmmword [r11 + 0x20]
lea r13, [rbp - 1]
vmovups xmm15, xmmword [rcx - 0x70]
lea r12, [rcx - 0x60]
vpxor xmm9, xmm1, xmm4
add ebx, 0x6000000
jb 0x1400f4a20
vpaddb xmm10, xmm1, xmm2
vpaddb xmm11, xmm10, xmm2
vpxor xmm10, xmm10, xmm4
vpaddb xmm12, xmm11, xmm2
vpxor xmm11, xmm11, xmm4
vpaddb xmm13, xmm12, xmm2
vpxor xmm12, xmm12, xmm4
vpaddb xmm14, xmm13, xmm2
vpxor xmm13, xmm13, xmm4
vpaddb xmm1, xmm14, xmm2
vpxor xmm14, xmm14, xmm4
jmp 0x1400f4960
vaesenc xmm9, xmm9, xmm15
vaesenc xmm10, xmm10, xmm15
vaesenc xmm11, xmm11, xmm15
vaesenc xmm12, xmm12, xmm15
vaesenc xmm13, xmm13, xmm15
vaesenc xmm14, xmm14, xmm15
vmovups xmm15, xmmword [r12]
lea r12, [r12 + 0x10]
dec r13d
jne 0x1400f4960
vmovdqu xmm3, xmmword [r12]
vaesenc xmm9, xmm9, xmm15
vpxor xmm4, xmm3, xmmword [rdi]
vaesenc xmm10, xmm10, xmm15
vpxor xmm5, xmm3, xmmword [rdi + 0x10]
vaesenc xmm11, xmm11, xmm15
vpxor xmm6, xmm3, xmmword [rdi + 0x20]
vaesenc xmm12, xmm12, xmm15
vpxor xmm8, xmm3, xmmword [rdi + 0x30]
vaesenc xmm13, xmm13, xmm15
vpxor xmm2, xmm3, xmmword [rdi + 0x40]
vaesenc xmm14, xmm14, xmm15
vpxor xmm3, xmm3, xmmword [rdi + 0x50]
lea rdi, [rdi + 0x60]
vaesenclast xmm9, xmm9, xmm4
vaesenclast xmm10, xmm10, xmm5
vaesenclast xmm11, xmm11, xmm6
vaesenclast xmm12, xmm12, xmm8
vaesenclast xmm13, xmm13, xmm2
vaesenclast xmm14, xmm14, xmm3
vmovups xmmword [rsi], xmm9
vmovups xmmword [rsi + 0x10], xmm10
vmovups xmmword [rsi + 0x20], xmm11
vmovups xmmword [rsi + 0x30], xmm12
vmovups xmmword [rsi + 0x40], xmm13
vmovups xmmword [rsi + 0x50], xmm14
lea rsi, [rsi + 0x60]
repz ret
vpshufb xmm6, xmm1, xmm0
vmovdqu xmm5, xmmword [r11 + 0x30]
vpaddd xmm10, xmm6, xmmword [r11 + 0x40]
vpaddd xmm11, xmm6, xmm5
vpaddd xmm12, xmm10, xmm5
vpshufb xmm10, xmm10, xmm0
vpaddd xmm13, xmm11, xmm5
vpshufb xmm11, xmm11, xmm0
vpxor xmm10, xmm10, xmm4
vpaddd xmm14, xmm12, xmm5
vpshufb xmm12, xmm12, xmm0
vpxor xmm11, xmm11, xmm4
vpaddd xmm1, xmm13, xmm5
vpshufb xmm13, xmm13, xmm0
vpxor xmm12, xmm12, xmm4
vpshufb xmm14, xmm14, xmm0
vpxor xmm13, xmm13, xmm4
vpshufb xmm1, xmm1, xmm0
vpxor xmm14, xmm14, xmm4
jmp 0x1400f4960
Function at 0x1401032a0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
call fcn.14010351f
mov rcx, rax
call fcn.140081650
test rax, rax
je 0x140103302
mov rsi, rax
call fcn.140102f74
mov rdi, rax
mov rcx, rax
mov rdx, rax
call fcn.140081690
mov rcx, rsi
call fcn.140106cd6
mov rax, qword [rsi]
mov rcx, rsi
mov edx, 1
call qword [rax]
call fcn.14010351f
mov rcx, rax
xor edx, edx
call fcn.140081690
mov rcx, rdi
xor edx, edx
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.140081690
nop
add rsp, 0x28
pop rdi
pop rsi
ret
Function at 0x14010f10c
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rsi, rdx
mov r14, rcx
mov rbx, qword [rcx + 0x10]
mov rax, qword [rcx + 0x18]
cmp rbx, rax
jne 0x14010f244
mov r15, qword [r14]
mov rdi, qword [r14 + 8]
mov rcx, rdi
sub rcx, r15
jbe 0x14010f19d
sar rcx, 3
lea rax, [rcx + 1]
shr rax, 0x3f
add rax, rcx
inc rax
sar rax, 1
mov r12, rax
neg r12
shl rax, 3
mov r15, rdi
sub r15, rax
sub rbx, rdi
mov r13, rbx
sar r13, 3
test rbx, rbx
je 0x14010f188
mov rcx, r15
mov rdx, rdi
mov r8, rbx
call fcn.140186330
mov rdi, qword [r14 + 8]
lea rbx, [r15 + r13*8]
mov qword [r14 + 0x10], rbx
lea rax, [rdi + r12*8]
mov qword [r14 + 8], rax
jmp 0x14010f244
sub rax, r15
mov rcx, rax
sar rcx, 2
test rax, rax
mov r13d, 1
cmovne r13, rcx
mov rax, r13
shr rax, 0x3d
jne 0x14010f260
mov r12, r13
shr r12, 2
lea rcx, [r13*8]
call fcn.14018360c
lea r9, [rax + r12*8]
lea r8, [rax + r13*8]
sub rbx, rdi
je 0x14010f21c
mov r11, rsi
mov r10, r9
add r10, rbx
sar rbx, 3
shl rbx, 3
lea rcx, [rax + r12*8]
add rcx, 8
xor edx, edx
mov rsi, r9
mov rbp, qword [rdi + rdx]
mov qword [rsi], rbp
lea rsi, [rcx + rdx]
add rdx, 8
cmp rbx, rdx
jne 0x14010f200
mov r15, qword [r14]
mov rsi, r11
jmp 0x14010f21f
mov r10, r9
mov qword [r14], rax
mov qword [r14 + 8], r9
mov qword [r14 + 0x10], r10
mov qword [r14 + 0x18], r8
test r15, r15
je 0x14010f241
mov rcx, r15
call fcn.140183668
mov rbx, qword [r14 + 0x10]
jmp 0x14010f244
mov rbx, r10
mov rax, qword [rsi]
mov qword [rbx], rax
add qword [r14 + 0x10], 8
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call fcn.140199d54
int3

Function at 0x14010fa20
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, qword [0x140349690]
cmp rsi, 1
ja 0x14010fa80
lea rcx, [0x140349690]
call fcn.14006ef50
test al, al
je 0x14010fa79
mov qword [0x140349698], 0
lea rdi, [0x140349690]
lea rsi, [0x140349698]
mov rcx, rsi
xor edx, edx
call fcn.1400816e0
mov rcx, rdi
mov rdx, rsi
xor r8d, r8d
mov r9, rdi
call fcn.14006eff0
jmp 0x14010fa80
mov rsi, qword [0x140349690]
mov rcx, rsi
xor edx, edx
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.140081690

Function at 0x14010fa90
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, qword [0x140349690]
cmp rsi, 1
ja 0x14010faf0
lea rcx, [0x140349690]
call fcn.14006ef50
test al, al
je 0x14010fae9
mov qword [0x140349698], 0
lea rdi, [0x140349690]
lea rsi, [0x140349698]
mov rcx, rsi
xor edx, edx
call fcn.1400816e0
mov rcx, rdi
mov rdx, rsi
xor r8d, r8d
mov r9, rdi
call fcn.14006eff0
jmp 0x14010faf0
mov rsi, qword [0x140349690]
mov rcx, rsi
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.140081650
Function at 0x140116f8e
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rsi, rdx
mov r14, rcx
mov rcx, qword [rcx]
mov rbx, qword [r14 + 8]
cmp rbx, rcx
je 0x140116fb8
mov r15, rbx
jmp 0x1401170b0
mov rdi, qword [r14 + 0x10]
mov rax, qword [r14 + 0x18]
cmp rdi, rax
jae 0x14011700d
sub rax, rdi
sar rax, 3
lea rcx, [rax + 1]
shr rcx, 0x3f
lea r12, [rax + rcx]
inc r12
sar r12, 1
lea r15, [rdi + r12*8]
mov r8, rdi
sub r8, rbx
je 0x140116ffc
sub r15, r8
mov rcx, r15
mov rdx, rbx
call fcn.140186330
mov rdi, qword [r14 + 0x10]
mov qword [r14 + 8], r15
lea rax, [rdi + r12*8]
mov qword [r14 + 0x10], rax
jmp 0x1401170b0
sub rax, rcx
mov rcx, rax
sar rcx, 2
test rax, rax
mov r13d, 1
cmovne r13, rcx
mov rax, r13
shr rax, 0x3d
jne 0x1401170d3
lea r12, [r13 + 3]
shr r12, 2
lea rcx, [r13*8]
call fcn.14018360c
lea r15, [rax + r12*8]
lea r8, [rax + r13*8]
sub rdi, rbx
je 0x14011708d
mov r10, rsi
mov r9, r15
add r9, rdi
sar rdi, 3
shl rdi, 3
lea rcx, [rax + r12*8]
add rcx, 8
xor edx, edx
mov rsi, r15
mov rbp, qword [rbx + rdx]
mov qword [rsi], rbp
lea rsi, [rcx + rdx]
add rdx, 8
cmp rdi, rdx
jne 0x140117071
mov rbx, qword [r14]
mov rsi, r10
jmp 0x140117090
mov r9, r15
mov qword [r14], rax
mov qword [r14 + 8], r15
mov qword [r14 + 0x10], r9
mov qword [r14 + 0x18], r8
test rbx, rbx
je 0x1401170b0
mov rcx, rbx
call fcn.140183668
mov r15, qword [r14 + 8]
mov rax, qword [rsi]
mov qword [r15 - 8], rax
mov rax, 0xfffffffffffffff8
add qword [r14 + 8], rax
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call fcn.140199d54
int3

Function at 0x1401181c0
Capabilities:
Initialize winsock library

Disassembly:
jmp 0x140158cb4
sub rsp, 0x1c8
mov rax, qword [0x14030f948]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
lea rdx, [rsp + 0x28]
mov cx, 0x202
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x140158d08
movzx eax, byte [rsp + 0x29]
shl eax, 8
cmp eax, 0x200
jne 0x140158d1e
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.140183a80
nop
add rsp, 0x1c8
ret
lea rdx, str.WSAStartup_failed_with_error:__d_n
mov ecx, 0xfffffffd
mov r8d, eax
call fcn.1400b8218
jmp 0x140158d35
lea rdx, str.Could_not_find_a_usable_version_of_Winsock.dll_n
mov ecx, 0xfffffffd
call fcn.1400b8218
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, 0xffffffff
call fcn.1401918b0
int3
Function at 0x1401181cc
Capabilities:
Receive data
Receive data on socket

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
mov rdi, qword [sym.imp.WS2_32.dll_recv]
mov rbx, qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r12, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea r14, str.Transport::ReadSomeData:_Failed_to_wait_on_socket_event_n
mov r13, qword [sym.imp.KERNEL32.dll_ResetEvent]
lea r15, str.Transport::ReadSomeData:_Failed_to_reset_socket_event_n
movsxd rdx, dword [rsi + 0x14]
mov r8d, 0x1000
sub r8d, edx
add rdx, qword [rsi + 8]
mov rcx, qword [rsi + 0x20]
xor r9d, r9d
call rdi
test eax, eax
jg 0x140118276
test eax, eax
je 0x140118272
call rbx
cmp eax, 0x2733
jne 0x14011826b
mov rcx, qword [rsi + 0x28]
mov edx, 0xffffffff
call r12
cmp eax, 0xffffffff
jne 0x140118251
mov ecx, 0xfffffffc
mov rdx, r14
call fcn.1400b8218
mov rcx, qword [rsi + 0x28]
call r13
test eax, eax
jne 0x140118208
mov ecx, 0xfffffffc
mov rdx, r15
call fcn.1400b8218
jmp 0x140118208
call rbx
cmp eax, 4
je 0x140118208
xor eax, eax
jmp 0x14011827b
add dword [rsi + 0x14], eax
mov al, 1
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x14011890e
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push rsi
sub rsp, 0x50
mov rax, qword [0x14030f948]
xor rax, rsp
mov qword [rsp + 0x48], rax
xorps xmm0, xmm0
lea rdx, [rsp + 0x30]
movaps xmmword [rdx], xmm0
lea r8, [rsp + 0x2c]
mov dword [r8], reloc.WS2_32.dll_recv
mov rcx, qword [rcx]
call qword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
je 0x14011895b
lea rdx, str.Failed_to_retrieve_bound_address._n
mov ecx, 0xfffffffd
call fcn.1400b8218
xor esi, esi
jmp 0x140118968
movzx ecx, word [rsp + 0x32]
call qword [sym.imp.WS2_32.dll_ntohs]
mov esi, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140183a80
mov eax, esi
add rsp, 0x50
pop rsi
ret

Function at 0x14011d5b0
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, qword [rcx + 8]
jmp 0x14011d5c7
mov rsi, qword [rsi + 0x218]
test rsi, rsi
je 0x14011d5fb
xor edi, edi
xchg qword [rsi], rdi
test rdi, rdi
je 0x14011d5c0
nop word cs:[rax + rax]
bsf rcx, rdi
mov ebx, 1
shl rbx, cl
mov rcx, qword [rsi + rcx*8 + 0x10]
call qword [rcx + reloc.WS2_32.dll_htonl]
xor rdi, rbx
jne 0x14011d5e0
jmp 0x14011d5c0
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
Function at 0x14012883a
Capabilities:
Read pipe
Write file on windows
Write pipe

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x138
mov r14, rdx
mov r15, rcx
mov rax, qword [0x14030f948]
xor rax, rsp
mov qword [rsp + 0x130], rax
lea rbx, [rcx + 0x60]
lea rdi, [rcx + 0x58]
lea rsi, [rcx + 0x54]
mov ebp, dword [rcx + 0x30]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea rdx, [rsp + 0xe0]
mov dword [rdx], 1
mov dword [rdx + 4], eax
mov dword [rdx + 8], ebp
mov qword [rdx + 0x10], rsi
mov qword [rdx + 0x18], rdi
mov qword [rdx + 0x20], rbx
movups xmm0, xmmword [r15 + 0x20]
movups xmmword [rdx + 0x28], xmm0
xor ebx, ebx
mov qword [rdx + 0x48], rbx
xorps xmm0, xmm0
movups xmmword [rdx + 0x38], xmm0
lea r9, [rsp + 0x90]
mov qword [r9], rbx
mov dword [r9 + 8], ebx
movups xmmword [r9 + 0x10], xmm0
movups xmmword [r9 + 0x20], xmm0
movups xmmword [r9 + 0x30], xmm0
movups xmmword [r9 + 0x40], xmm0
lea rax, [rsp + 0x8c]
mov dword [rax], ebx
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x50
mov rcx, r14
mov r8d, 0x50
call qword [sym.imp.KERNEL32.dll_TransactNamedPipe]
test eax, eax
je 0x1401289b7
cmp dword [rsp + 0x90], 2
jne 0x1401289b7
cmp dword [rsp + 0x94], 0
je 0x1401289b7
cmp qword [rsp + 0xc8], 0
je 0x1401289b5
cmp qword [rsp + 0xd0], 0
je 0x1401289b5
cmp qword [rsp + 0xd8], 0
je 0x1401289b5
lea rdx, [rsp + 0x38]
mov dword [rdx + 8], 0
xorps xmm0, xmm0
movups xmmword [rdx + 0x10], xmm0
movups xmmword [rdx + 0x20], xmm0
movups xmmword [rdx + 0x30], xmm0
movups xmmword [rdx + 0x40], xmm0
mov qword [rdx], 3
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x8c]
mov rcx, r14
mov r8d, 0x50
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1401289b5
movups xmm0, xmmword [rsp + 0xc8]
movups xmmword [r15 + 0x38], xmm0
mov rax, qword [rsp + 0xd8]
mov qword [r15 + 0x48], rax
mov eax, dword [rsp + 0x94]
mov dword [r15 + 0x50], eax
mov bl, 1
jmp 0x1401289b7
xor ebx, ebx
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.140183a80
mov eax, ebx
add rsp, 0x138
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x14013927e
Capabilities:
Compare security identifiers

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x98
mov rax, qword [0x14030f948]
xor rax, rsp
mov qword [rsp + 0x90], rax
cmp byte [rcx + 0x54], 0
je 0x1401393f3
mov rsi, rdx
mov rbx, rcx
lea rdx, [rcx + 0x48]
lea rdi, [rsp + 0x38]
lea r9, [rsp + 0x44]
mov rcx, rdi
mov r8d, 2
call fcn.14013942d
mov r13, qword [rdi]
test r13, r13
je 0x1401393fa
mov qword [rsp + 0x28], rbx
cmp dword [r13], 0
je 0x1401393de
lea r14, [r13 + 8]
mov rax, qword [rsp + 0x28]
add rax, 0x30
mov qword [rsp + 0x30], rax
xor r12d, r12d
mov rbx, qword [sym.imp.ADVAPI32.dll_EqualSid]
mov rbp, r12
shl rbp, 4
test dword [r14 + rbp + 8], 0xc0000020
jne 0x1401393ce
add rbp, r14
test rsi, rsi
je 0x140139380
mov rax, qword [rsi]
cmp qword [rsi + 8], rax
je 0x140139380
mov r15d, 1
xor ecx, ecx
mov rdi, qword [rbp]
mov rdx, rcx
shl rdx, 6
lea rcx, [rdx + rcx*4]
add rcx, rax
call fcn.14004c510
mov rcx, rax
mov rdx, rdi
call rbx
test eax, eax
jne 0x1401393ce
mov ecx, r15d
mov rax, qword [rsi]
mov rdx, qword [rsi + 8]
sub rdx, rax
sar rdx, 2
movabs rdi, 0xf0f0f0f0f0f0f0f1
imul rdx, rdi
inc r15d
cmp rdx, rcx
ja 0x140139336
mov r15, rbx
mov rdx, qword [rbp]
lea rbx, [rsp + 0x48]
mov rcx, rbx
call fcn.140139b58
mov rbp, qword [rsp + 0x28]
mov rdi, qword [rbp + 0x38]
cmp rdi, qword [rbp + 0x40]
jae 0x1401393be
mov r8d, 0x44
mov rcx, rdi
mov rdx, rbx
call fcn.140186330
add rdi, 0x44
mov qword [rbp + 0x38], rdi
jmp 0x1401393cb
mov rcx, qword [rsp + 0x30]
mov rdx, rbx
call fcn.140112942
mov rbx, r15
inc r12
mov eax, dword [r13]
cmp r12, rax
jb 0x140139307
mov qword [rsp + 0x38], 0
mov rcx, r13
call fcn.1401836a4
xor esi, esi
jmp 0x140139407
mov esi, 0x3f0
jmp 0x140139407
mov esi, dword [rsp + 0x44]
mov qword [rsp + 0x38], 0
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.140183a80
mov eax, esi
add rsp, 0x98
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x14013b3f3
Capabilities:
Allocate or change rwx memory

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x40
mov rsi, r9
mov r14, r8
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x14030f948]
xor rax, rsp
mov qword [rsp + 0x38], rax
lea r12, [rsp + 0x34]
mov qword [rsp + 0x20], r12
mov r8, r9
mov r9d, 8
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x14013b48b
lea rbp, [rsp + 0x28]
mov qword [rsp + 0x20], rbp
mov rcx, rbx
mov rdx, rdi
mov r8, r14
mov r9, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov r14d, eax
mov r15, qword [rbp]
mov r9d, dword [rsp + 0x34]
mov qword [rsp + 0x20], r12
mov rcx, rbx
mov rdx, rdi
mov r8, rsi
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x14013b48b
test r14d, r14d
setne al
cmp r15, rsi
sete sil
and sil, al
jmp 0x14013b48d
xor esi, esi
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140183a80
mov eax, esi
add rsp, 0x40
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret

Function at 0x14013ee50
Capabilities:
Terminate process

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rcx
call fcn.140094f80
test al, al
je 0x14013ee7e
mov rcx, qword [rsi]
mov edx, gethostbyname
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsi]
mov edx, 1
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
lea rdi, [rsi + 0x38]
mov rcx, rdi
xor edx, edx
call fcn.14013eee6
mov rcx, qword [rsi + 0x58]
test rcx, rcx
je 0x14013ee9e
mov qword [rsi + 0x60], rcx
call fcn.140183668
mov rcx, qword [rsi + 0x50]
xor eax, eax
mov qword [rsi + 0x50], rax
test rcx, rcx
je 0x14013eeb2
call fcn.140095b90
mov rcx, rdi
xor edx, edx
call fcn.14013eee6
lea rcx, [rsi + 0x28]
call fcn.140004348
lea rcx, [rsi + 0x20]
call fcn.140004348
lea rcx, [rsi + 0x18]
call fcn.140004348
mov rcx, rsi
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.140094e60