joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180057650
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x18015f460]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor eax, eax
xor edi, edi
lea r9, [r11 - 0x20]
mov qword [r11 - 0x20], rax
mov qword [r11 - 0x18], rax
lea rax, [r11 - 0x28]
lea r8d, [rdi + 0x10]
lea rdx, [r11 - 0x20]
mov rbx, rcx
mov qword [r11 - 0x38], rax
mov qword [r11 - 0x28], rdi
call fcn.18005b950
test eax, eax
jne 0x18005782c
movzx eax, byte [rsp + 0x39]
movzx r8d, byte [rsp + 0x38]
movzx edx, byte [rsp + 0x40]
movzx ecx, byte [rsp + 0x3c]
shl r8d, 8
shl edx, 8
or r8d, eax
movzx eax, byte [rsp + 0x3a]
shl ecx, 8
shl r8d, 8
mov qword [rsp + 0x68], rsi
mov qword [rbx + 0xd8], rdi
or r8d, eax
movzx eax, byte [rsp + 0x3b]
mov qword [rbx + 0x58], rdi
shl r8d, 8
lea r9d, [rdi + 4]
or r8, rax
movzx eax, byte [rsp + 0x3d]
or ecx, eax
movzx eax, byte [rsp + 0x3e]
shl r8, 0x20
shl ecx, 8
or eax, ecx
movzx ecx, byte [rsp + 0x44]
shl eax, 8
shl ecx, 8
or r8, rax
movzx eax, byte [rsp + 0x3f]
or r8, rax
movzx eax, byte [rsp + 0x41]
or edx, eax
movzx eax, byte [rsp + 0x42]
mov qword [rbx + 0x118], r8
shl edx, 8
or edx, eax
movzx eax, byte [rsp + 0x43]
shl edx, 8
or rdx, rax
movzx eax, byte [rsp + 0x45]
or ecx, eax
movzx eax, byte [rsp + 0x46]
shl rdx, 0x20
shl ecx, 8
or eax, ecx
shl eax, 8
or rdx, rax
movzx eax, byte [rsp + 0x47]
or rdx, rax
mov qword [rbx + 0x98], rdx
nop word [rax + rax]
mov ecx, edx
mov rax, r8
shr rdx, 1
shl rax, 0x3f
and ecx, 1
or rdx, rax
mov rax, r8
shr rax, 1
imul ecx, ecx, 0xe1000000
shl rcx, 0x20
mov r8, rcx
xor r8, rax
movsxd rax, r9d
sar r9d, 1
mov qword [rbx + rax*8 + 0x58], rdx
mov qword [rbx + rax*8 + 0xd8], r8
test r9d, r9d
jg 0x180057770
mov esi, 2
mov r10, rsi
nop dword [rax + rax]
cmp r10, 1
mov rdi, qword [rbx + r10*8 + 0x58]
lea rax, [rbx + r10*8 + 0x58]
lea r9, [rbx + r10*8 + 0xd8]
mov r11, qword [r9]
jle 0x180057818
lea rcx, [rax + 8]
lea rdx, [rbx + 0x60]
sub r9, rax
lea r8, [r10 - 1]
nop word [rax + rax]
mov rax, qword [rdx + 0x80]
add rcx, 8
add rdx, 8
xor rax, r11
mov qword [r9 + rcx - 8], rax
mov rax, qword [rdx - 8]
xor rax, rdi
sub r8, 1
mov qword [rcx - 8], rax
jne 0x1800577f0
lea eax, [rsi + rsi]
add r10, r10
cmp eax, 8
mov esi, eax
jle 0x1800577c0
mov rsi, qword [rsp + 0x68]
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1800c9b90
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
Function at 0x180057b00
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r12
push r13
push r14
sub rsp, 0x68
mov rax, qword [0x18015f460]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov r13, r9
mov rbp, r8
mov r14, rcx
mov qword [rsp + 0x30], 0
test r9, r9
je 0x180057d6c
movabs rax, 0xe000000000000000
test rax, r9
jne 0x180057d6c
mov r12, qword [rsp + 0xb8]
test rax, r12
jne 0x180057d6c
xor eax, eax
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x58], rsi
mov qword [rcx + 0x178], rax
mov qword [rcx + 0x180], rax
mov qword [rcx + 0x188], rax
mov qword [rcx + 0x190], rax
mov qword [rsp + 0x50], rdi
mov dword [rcx + 0x198], edx
mov qword [rcx + 0x158], rax
mov qword [rcx + 0x160], rax
cmp r9, 0xc
jne 0x180057bc1
mov rax, qword [r8]
mov qword [rcx + 0x178], rax
mov eax, dword [r8 + 8]
mov dword [rcx + 0x180], eax
mov byte [rcx + 0x187], 1
jmp 0x180057ca8
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rax
lea rcx, [r9*8]
mov rax, rcx
shr rax, 0x18
mov byte [rsp + 0x44], al
mov rax, rcx
shr rcx, 8
shr rax, 0x10
mov byte [rsp + 0x46], cl
mov byte [rsp + 0x45], al
movzx eax, r9b
shl al, 3
mov byte [rsp + 0x47], al
test r9, r9
je 0x180057c52
mov esi, reloc.WS2_32.dll_recv
cmp r13, rsi
cmovb rsi, r13
xor ecx, ecx
test rsi, rsi
je 0x180057c34
nop word [rax + rax]
movzx eax, byte [rcx + rbp]
inc rcx
xor byte [r14 + rcx + 0x177], al
cmp rcx, rsi
jb 0x180057c20
lea r8, [r14 + 0x178]
lea rdx, [r14 + 0x178]
mov rcx, r14
call fcn.180057960
add rbp, rsi
sub r13, rsi
jne 0x180057c01
xor ecx, ecx
movzx eax, byte [rsp + rcx + 0x38]
add rcx, 4
xor byte [r14 + rcx + 0x174], al
movzx eax, byte [rsp + rcx + 0x35]
xor byte [r14 + rcx + 0x175], al
movzx eax, byte [rsp + rcx + 0x36]
xor byte [r14 + rcx + 0x176], al
movzx eax, byte [rsp + rcx + 0x37]
xor byte [r14 + rcx + 0x177], al
cmp rcx, 0x10
jb 0x180057c54
lea r8, [r14 + 0x178]
lea rdx, [r14 + 0x178]
mov rcx, r14
call fcn.180057960
lea rax, [rsp + 0x30]
lea r9, [r14 + 0x168]
lea rdx, [r14 + 0x178]
mov r8d, reloc.WS2_32.dll_recv
mov rcx, r14
mov qword [rsp + 0x20], rax
call fcn.18005b950
test eax, eax
jne 0x180057d44
mov rsi, qword [rsp + 0xb0]
mov qword [r14 + 0x160], r12
test r12, r12
je 0x180057d42
nop word [rax + rax]
mov ebx, reloc.WS2_32.dll_recv
cmp r12, rbx
cmovb rbx, r12
xor ecx, ecx
test rbx, rbx
je 0x180057d24
nop word [rax + rax]
movzx eax, byte [rcx + rsi]
inc rcx
xor byte [r14 + rcx + 0x187], al
cmp rcx, rbx
jb 0x180057d10
lea r8, [r14 + 0x188]
lea rdx, [r14 + 0x188]
mov rcx, r14
call fcn.180057960
add rsi, rbx
sub r12, rbx
jne 0x180057cf0
xor eax, eax
mov rsi, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1800c9b90
add rsp, 0x68
pop r14
pop r13
pop r12
pop rbp
ret
mov eax, 0xffffffec
jmp 0x180057d53
Function at 0x180057f10
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
sub rsp, 0x40
mov rax, qword [0x18015f460]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbp, qword [rcx + 0x158]
mov rbx, qword [rcx + 0x160]
lea rax, [r8 - 4]
shl rbp, 3
shl rbx, 3
mov r12, r8
mov rsi, rdx
mov rdi, rcx
cmp rax, 0xc
ja 0x1800580a8
lea rdx, [rcx + 0x168]
mov rcx, rsi
call fcn.1800cbb10
test rbp, rbp
jne 0x180057f74
test rbx, rbx
je 0x1800580a4
xor eax, eax
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rax
mov rax, rbx
shr rax, 0x38
mov byte [rsp + 0x27], bl
mov byte [rsp + 0x2f], bpl
mov byte [rsp + 0x20], al
mov rax, rbx
shr rax, 0x30
mov byte [rsp + 0x21], al
mov rax, rbx
shr rax, 0x28
mov byte [rsp + 0x22], al
mov rax, rbx
shr rax, 0x20
mov byte [rsp + 0x23], al
mov rax, rbx
shr rax, 0x18
mov byte [rsp + 0x24], al
mov rax, rbx
shr rax, 0x10
mov byte [rsp + 0x25], al
mov rax, rbx
shr rax, 8
mov byte [rsp + 0x26], al
mov rax, rbp
shr rax, 0x38
mov byte [rsp + 0x28], al
mov rax, rbp
shr rax, 0x30
mov byte [rsp + 0x29], al
mov rax, rbp
shr rax, 0x28
mov byte [rsp + 0x2a], al
mov rax, rbp
shr rax, 0x20
mov byte [rsp + 0x2b], al
mov rax, rbp
shr rax, 0x18
mov byte [rsp + 0x2c], al
mov rax, rbp
shr rax, 0x10
mov byte [rsp + 0x2d], al
mov rax, rbp
shr rax, 8
xor ebx, ebx
mov rdx, rbx
mov byte [rsp + 0x2e], al
nop dword [rax + rax]
movzx eax, byte [rsp + rdx + 0x20]
add rdx, 4
xor byte [rdi + rdx + 0x184], al
movzx eax, byte [rsp + rdx + 0x1d]
xor byte [rdi + rdx + 0x185], al
movzx eax, byte [rsp + rdx + 0x1e]
xor byte [rdi + rdx + 0x186], al
movzx eax, byte [rsp + rdx + 0x1f]
xor byte [rdi + rdx + 0x187], al
cmp rdx, 0x10
jb 0x180058030
lea r8, [rdi + 0x188]
lea rdx, [rdi + 0x188]
mov rcx, rdi
call fcn.180057960
test r12, r12
je 0x1800580a4
nop word [rax + rax]
movzx eax, byte [rbx + rdi + 0x188]
inc rbx
xor byte [rsi + rbx - 1], al
cmp rbx, r12
jb 0x180058090
xor eax, eax
jmp 0x1800580ad
mov eax, 0xffffffec
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1800c9b90
add rsp, 0x40
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x180058150
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x58
mov rax, qword [0x18015f460]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0xa8]
mov rsi, qword [rsp + 0xc0]
mov rdi, qword [rsp + 0xc8]
mov rbp, rcx
mov rcx, qword [rsp + 0xa0]
mov qword [rsp + 0x28], rax
mov rbx, rdx
mov qword [rsp + 0x20], rcx
xor edx, edx
mov rcx, rbp
call fcn.180057b00
test eax, eax
jne 0x180058239
mov r9, rdi
mov r8, rsi
mov rdx, rbx
mov rcx, rbp
call fcn.180057d80
test eax, eax
jne 0x180058239
mov rsi, qword [rsp + 0xb8]
lea rdx, [rsp + 0x30]
mov rcx, rbp
mov r8, rsi
call fcn.180057f10
test eax, eax
jne 0x180058239
xor r8d, r8d
mov rdx, r8
test rsi, rsi
je 0x180058237
mov r9, qword [rsp + 0xb0]
lea rax, [rsp + 0x30]
sub r9, rax
nop word [rax + rax]
lea rax, [rsp + rdx + 0x30]
inc rdx
movzx ecx, byte [r9 + rax]
movzx eax, byte [rax]
xor ecx, eax
or r8d, ecx
cmp rdx, rsi
jb 0x180058200
test r8d, r8d
je 0x180058237
test rbx, rbx
je 0x180058230
mov byte [rdi], 0
inc rdi
sub rbx, 1
jne 0x180058224
mov eax, 0xffffffee
jmp 0x180058239
xor eax, eax
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1800c9b90
add rsp, 0x58
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x1800592d0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x18015f460]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rbx, rdx
mov rdx, qword [rcx]
mov rsi, r8
mov rdi, rcx
test rdx, rdx
je 0x180059412
cmp qword [rcx + 0x10], 0
je 0x180059412
movsxd rax, dword [rdx + 0x14]
cmp r8, rax
jbe 0x180059366
mov rcx, qword [rcx + 8]
call qword [rdx + Ordinal_26]
mov r11d, eax
test eax, eax
jne 0x1800593f7
mov rax, qword [rdi]
mov rcx, qword [rdi + 8]
mov r8, rsi
mov rdx, rbx
call qword [rax + reloc.WLDAP32.dll_Ordinal_32]
mov r11d, eax
test eax, eax
jne 0x1800593f7
mov rax, qword [rdi]
mov rcx, qword [rdi + 8]
lea rdx, [rsp + 0x20]
call qword [rax + Ordinal_41]
mov r11d, eax
test eax, eax
jne 0x1800593f7
mov rdx, qword [rdi]
lea rbx, [rsp + 0x20]
movsxd rsi, dword [rdx + 0x10]
movsxd r8, dword [rdx + 0x14]
mov qword [rsp + 0x78], rbp
mov qword [rsp + 0x70], r12
mov r12, qword [rdi + 0x10]
mov edx, gethostname
mov rcx, r12
lea rbp, [r8 + r12]
call fcn.1800cc600
mov r11, qword [rdi]
mov edx, 0x5c
movsxd r8, dword [r11 + 0x14]
mov rcx, rbp
call fcn.1800cc600
test rsi, rsi
je 0x1800593c8
mov rcx, r12
sub rcx, rbx
sub rbp, rbx
nop dword [rax + rax]
movzx eax, byte [rbx]
inc rbx
xor byte [rcx + rbx - 1], al
movzx eax, byte [rbx - 1]
xor byte [rbx + rbp - 1], al
sub rsi, 1
jne 0x1800593b0
mov rax, qword [rdi]
mov rcx, qword [rdi + 8]
call qword [rax + Ordinal_26]
mov rbp, qword [rsp + 0x78]
mov r11d, eax
test eax, eax
jne 0x1800593f2
mov rax, qword [rdi]
mov rcx, qword [rdi + 8]
mov rdx, r12
movsxd r8, dword [rax + 0x14]
call qword [rax + reloc.WLDAP32.dll_Ordinal_32]
mov r11d, eax
mov r12, qword [rsp + 0x70]
mov eax, 0x40
lea rcx, [rsp + 0x20]
mov byte [rcx], 0
inc rcx
sub rax, 1
jne 0x180059401
mov eax, r11d
jmp 0x180059417
mov eax, 0xffffaf00
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1800c9b90
add rsp, 0x80
pop rdi
pop rsi
pop rbx
ret
Function at 0x180059c60
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov rax, qword [0x18015f460]
xor rax, rsp
mov qword [rsp + 0x50], rax
xor eax, eax
xor r13d, r13d
mov ebx, 1
mov r14, rdx
mov rbp, rcx
lea rsi, [r11 - 0x68]
mov qword [r11 - 0x68], rax
mov qword [r11 - 0x60], rax
mov qword [r11 - 0x58], rax
mov qword [r11 - 0x50], rax
mov qword [r11 - 0x48], rax
mov qword [r11 - 0x40], rax
mov edi, r13d
sub rbx, rcx
nop dword [rax]
lea rcx, [rbp + 0xf]
add byte [rcx], 1
jne 0x180059cd5
dec rcx
lea rax, [rbx + rcx]
test rax, rax
jg 0x180059cc4
lea rcx, [rbp + 0x28]
mov r8, rsi
mov rdx, rbp
call fcn.180050a20
test eax, eax
jne 0x180059d81
add edi, 0x10
add rsi, 0x10
cmp edi, 0x30
jl 0x180059cc0
lea rax, [rsp + 0x20]
mov r8, r14
sub r8, rax
nop word [rax + rax]
lea rdx, [rsp + r13 + 0x20]
add r13, 6
movzx eax, byte [r8 + rdx]
xor byte [rdx], al
movzx eax, byte [r14 + r13 - 5]
xor byte [rdx + 1], al
movzx eax, byte [r14 + r13 - 4]
xor byte [rdx + 2], al
movzx eax, byte [r14 + r13 - 3]
xor byte [rdx + 3], al
movzx eax, byte [r14 + r13 - 2]
xor byte [rdx + 4], al
movzx eax, byte [r14 + r13 - 1]
xor byte [rdx + 5], al
cmp r13, 0x30
jl 0x180059d10
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0x28]
mov r8d, pe_nt_image_headers64
call fcn.180050160
test eax, eax
jne 0x180059d81
lea rcx, [rsp + 0x40]
mov rax, qword [rcx]
mov qword [rbp], rax
mov rax, qword [rcx + 8]
mov qword [rbp + 8], rax
xor eax, eax
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1800c9b90
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret

Function at 0x18005a070
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x140
mov rax, qword [0x18015f460]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov rax, rdx
mov rdi, rcx
lea rdx, [0x180134dcc]
mov rcx, rax
call fcn.1800cb4b8
mov rsi, rax
test rax, rax
jne 0x18005a0b1
lea eax, [rsi - 0x3a]
jmp 0x18005a121
mov qword [rsp + 0x160], rbx
mov ebx, pe_nt_image_headers64
lea rdx, [rsp + 0x30]
xor r9d, r9d
mov rcx, rdi
mov r8, rbx
mov qword [rsp + 0x20], 0
call fcn.180059f00
mov edi, eax
test eax, eax
jne 0x18005a0fe
lea edx, [rax + 1]
lea rcx, [rsp + 0x30]
mov r9, rsi
mov r8, rbx
call fcn.1800cb6c4
mov ecx, 0xffffffc6
cmp rax, rbx
cmovne edi, ecx
lea rax, [rsp + 0x30]
mov byte [rax], 0
inc rax
sub rbx, 1
jne 0x18005a103
mov rcx, rsi
call fcn.1800cb7f4
mov rbx, qword [rsp + 0x160]
mov eax, edi
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.1800c9b90
mov rsi, qword [rsp + 0x168]
add rsp, 0x140
pop rdi
ret
Function at 0x18005b130
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x18015f460]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rax, rdx
mov rdi, rcx
lea rdx, [0x180134dcc]
mov rcx, rax
call fcn.1800cb4b8
mov rsi, rax
test rax, rax
jne 0x18005b16b
lea eax, [rsi - 0x3f]
jmp 0x18005b1cf
mov qword [rsp + 0x90], rbx
mov ebx, 0x40
lea rdx, [rsp + 0x20]
mov r8, rbx
mov rcx, rdi
call fcn.18005acb0
mov edi, eax
test eax, eax
jne 0x18005b1ac
lea edx, [rbx - 0x3f]
lea rcx, [rsp + 0x20]
mov r9, rsi
mov r8, rbx
call fcn.1800cb6c4
mov ecx, 0xffffffc1
cmp rax, rbx
cmovne edi, ecx
lea rax, [rsp + 0x20]
mov byte [rax], 0
inc rax
sub rbx, 1
jne 0x18005b1b1
mov rcx, rsi
call fcn.1800cb7f4
mov rbx, qword [rsp + 0x90]
mov eax, edi
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1800c9b90
mov rsi, qword [rsp + 0x98]
add rsp, 0x70
pop rdi
ret

Function at 0x18005cc20
Capabilities:
Hash data using sha384
Hash data using sha512

Disassembly:
xor eax, eax
mov dword [rcx + 0xd0], edx
mov qword [rcx], rax
mov qword [rcx + 8], rax
test edx, edx
jne 0x18005cca6
movabs rax, 0x6a09e667f3bcc908
mov qword [rcx + 0x10], rax
movabs rax, 0xbb67ae8584caa73b
mov qword [rcx + 0x18], rax
movabs rax, 0x3c6ef372fe94f82b
mov qword [rcx + 0x20], rax
movabs rax, 0xa54ff53a5f1d36f1
mov qword [rcx + 0x28], rax
movabs rax, 0x510e527fade682d1
mov qword [rcx + 0x30], rax
movabs rax, 0x9b05688c2b3e6c1f
mov qword [rcx + 0x38], rax
movabs rax, 0x1f83d9abfb41bd6b
mov qword [rcx + 0x40], rax
movabs rax, 0x5be0cd19137e2179
mov qword [rcx + 0x48], rax
xor eax, eax
ret
movabs rax, 0xcbbb9d5dc1059ed8
mov qword [rcx + 0x10], rax
movabs rax, 0x629a292a367cd507
mov qword [rcx + 0x18], rax
movabs rax, 0x9159015a3070dd17
mov qword [rcx + 0x20], rax
movabs rax, 0x152fecd8f70e5939
mov qword [rcx + 0x28], rax
movabs rax, 0x67332667ffc00b31
mov qword [rcx + 0x30], rax
movabs rax, 0x8eb44a8768581511
mov qword [rcx + 0x38], rax
movabs rax, 0xdb0c2e0d64f98fa7
mov qword [rcx + 0x40], rax
movabs rax, 0x47b5481dbefa4fa4
mov qword [rcx + 0x48], rax
xor eax, eax
ret
Function at 0x18005e3b0
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
push rbx
push rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x18015f460]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0xd0]
mov rsi, qword [rsp + 0xe8]
mov rdi, qword [rsp + 0xd8]
mov qword [r11 - 0x48], rsi
mov rbx, rdx
lea rdx, [r11 - 0x38]
mov qword [r11 - 0x50], rdx
mov qword [r11 - 0x58], rdi
mov qword [r11 - 0x60], rax
mov rax, qword [rsp + 0xc8]
mov r10, r9
mov r9, r8
mov r8, qword [rsp + 0xc0]
mov qword [r11 - 0x68], rax
mov edx, 1
mov qword [r11 - 0x70], r8
mov r8, rbx
mov qword [r11 - 0x78], r10
call fcn.18005dde0
test eax, eax
jne 0x18005e488
xor r8d, r8d
xor dl, dl
test rsi, rsi
je 0x18005e486
mov r9, qword [rsp + 0xe0]
mov rax, r8
nop word [rax + rax]
movzx ecx, byte [rax + r9]
movzx eax, byte [rsp + rax + 0x60]
inc dl
xor ecx, eax
movzx eax, dl
or r8d, ecx
cmp rax, rsi
jb 0x18005e450
test r8d, r8d
je 0x18005e486
test rbx, rbx
je 0x18005e47f
mov byte [rdi], 0
inc rdi
sub rbx, 1
jne 0x18005e473
mov eax, 0xfffffff1
jmp 0x18005e488
xor eax, eax
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1800c9b90
add rsp, 0x80
pop rdi
pop rsi
pop rbx
ret
Function at 0x180062c50
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x18015f460]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov edi, ecx
lea rcx, [rsp + 0x38]
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
nop dword [rax + rax]
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov rax, qword [rsp + 0x28]
sub rax, qword [rsp + 0x38]
imul rax, rax, 0x3e8
cqo
idiv qword [rsp + 0x30]
cmp eax, edi
jae 0x180062cb6
inc ebx
jmp 0x180062c80
mov dword [rsp + 0x20], ebx
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1800c9b90
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret

Function at 0x180064bf0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x40
mov rax, qword [0x18015f460]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, qword [rsp + 0xa8]
mov r12, r9
mov r14d, edx
mov r11, rcx
mov qword [rsp + 0x20], rcx
test edx, edx
jne 0x180064cde
test r8, r8
je 0x180064db7
mov rsi, qword [rsp + 0xa0]
lea rbp, [r8 - 1]
mov rdi, r9
shr rbp, 4
sub rdi, rbx
inc rbp
nop
mov rax, qword [rsi]
lea rcx, [rsp + 0x28]
mov r9, rbx
mov qword [rcx], rax
mov rax, qword [rsi + 8]
mov r8, rsi
mov qword [rcx + 8], rax
mov rcx, r11
xor edx, edx
call fcn.1800644d0
lea r11, [r12 + 2]
mov ecx, 4
nop dword [rax]
movzx eax, byte [rdi + rbx]
add rbx, 4
add r11, 4
xor byte [rbx - 4], al
movzx eax, byte [r11 - 5]
xor byte [rbx - 3], al
movzx eax, byte [r11 - 4]
xor byte [rbx - 2], al
movzx eax, byte [r11 - 3]
xor byte [rbx - 1], al
sub rcx, 1
jne 0x180064c80
mov r11, qword [rsp + 0x20]
lea rcx, [rsp + 0x28]
add rsi, 0x10
mov rax, qword [rcx]
sub rdi, 0x10
sub rbp, 1
mov qword [r12], rax
mov rax, qword [rcx + 8]
mov qword [r12 + 8], rax
jne 0x180064c50
jmp 0x180064db7
test r8, r8
je 0x180064db7
mov rdi, qword [rsp + 0xa0]
lea r13, [r8 - 1]
mov rsi, r9
mov rbp, r9
shr r13, 4
sub rsi, rbx
sub rbp, rdi
inc r13
mov qword [rsp + 0x88], r15
nop
mov r8, rbx
lea r9, [r12 + 3]
lea rdx, [rbx + 1]
mov rcx, rdi
mov r10d, 4
sub r8, rdi
nop dword [rax + rax]
movzx eax, byte [rcx + rbp]
add rdx, 4
add rcx, 4
xor al, byte [rcx - 4]
add r9, 4
mov byte [r8 + rcx - 4], al
movzx eax, byte [rdx + rsi - 4]
xor al, byte [rcx - 3]
mov byte [rdx - 4], al
movzx eax, byte [rcx - 2]
xor al, byte [r9 - 5]
mov byte [rdx - 3], al
movzx eax, byte [rcx - 1]
xor al, byte [r9 - 4]
sub r10, 1
mov byte [rdx - 2], al
jne 0x180064d30
mov r9, rbx
mov r8, rbx
mov edx, r14d
mov rcx, r11
call fcn.1800644d0
mov rax, qword [rbx]
mov r11, qword [rsp + 0x20]
mov qword [r12], rax
mov rax, qword [rbx + 8]
add rdi, 0x10
sub rbp, 0x10
add rbx, 0x10
sub rsi, 0x10
sub r13, 1
mov qword [r12 + 8], rax
jne 0x180064d10
mov r15, qword [rsp + 0x88]
xor eax, eax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1800c9b90
add rsp, 0x40
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x180065ef0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r13
movzx eax, byte [r8 + 1]
movzx r11d, byte [r8]
movzx r13d, byte [r8 + 4]
shl r11d, 8
shl r13d, 8
mov rbx, r9
or r11d, eax
movzx eax, byte [r8 + 2]
mov r10, rcx
shl r11d, 8
mov edi, reloc.WS2_32.dll_recv
mov esi, 0xff
or r11d, eax
movzx eax, byte [r8 + 3]
shl r11d, 8
or r11d, eax
movzx eax, byte [r8 + 5]
or r13d, eax
movzx eax, byte [r8 + 6]
shl r13d, 8
or r13d, eax
movzx eax, byte [r8 + 7]
shl r13d, 8
or r13d, eax
test edx, edx
jne 0x180065fdd
lea rbp, [rcx + 0x44]
xor r11d, dword [rbp]
sub rbp, 4
mov ecx, r11d
movzx r9d, r11w
mov r12d, r11d
shr ecx, 8
and r9w, si
movzx r8d, cx
shr ecx, 8
mov eax, ecx
and r8w, si
shr eax, 8
movzx edx, al
movzx eax, cx
mov r11d, dword [r10 + rdx*4 + 0x48]
movzx ecx, al
movzx eax, r8w
add r11d, dword [r10 + rcx*4 + 0x448]
xor r11d, dword [r10 + rax*4 + 0x848]
movzx eax, r9w
add r11d, dword [r10 + rax*4 + 0xc48]
xor r11d, r13d
sub rdi, 1
mov r13d, r12d
jne 0x180065f71
mov ecx, dword [r10]
mov edx, dword [r10 + 4]
jmp 0x18006604b
mov rbp, rcx
xor r11d, dword [rbp]
add rbp, 4
mov ecx, r11d
movzx r9d, r11w
mov r12d, r11d
shr ecx, 8
and r9w, si
movzx r8d, cx
shr ecx, 8
mov eax, ecx
and r8w, si
shr eax, 8
movzx edx, al
movzx eax, cx
mov r11d, dword [r10 + rdx*4 + 0x48]
movzx ecx, al
movzx eax, r8w
add r11d, dword [r10 + rcx*4 + 0x448]
xor r11d, dword [r10 + rax*4 + 0x848]
movzx eax, r9w
add r11d, dword [r10 + rax*4 + 0xc48]
xor r11d, r13d
sub rdi, 1
mov r13d, r12d
jne 0x180065fe0
mov ecx, dword [r10 + 0x44]
mov edx, dword [r10 + 0x40]
mov rbp, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x30]
xor ecx, r12d
xor edx, r11d
mov eax, ecx
mov byte [rbx + 3], cl
mov byte [rbx + 7], dl
shr eax, 0x18
mov byte [rbx], al
mov eax, ecx
shr eax, 0x10
mov byte [rbx + 1], al
mov eax, ecx
shr eax, 8
mov byte [rbx + 2], al
mov eax, edx
shr eax, 0x18
mov byte [rbx + 4], al
mov eax, edx
shr eax, 0x10
mov byte [rbx + 5], al
mov eax, edx
shr eax, 8
mov byte [rbx + 6], al
mov rbx, qword [rsp + 0x18]
xor eax, eax
pop r13
pop r12
ret
Function at 0x1800660b0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x30
mov rax, qword [0x18015f460]
xor rax, rsp
mov qword [rsp + 0x20], rax
mov r12, qword [rsp + 0x80]
mov rdi, qword [rsp + 0x88]
mov rsi, r9
mov ebp, edx
mov r13, rcx
test r8b, 7
je 0x1800660f3
mov eax, 0xffffffe8
jmp 0x18006621c
mov qword [rsp + 0x68], rbx
test edx, edx
jne 0x180066173
test r8, r8
je 0x180066215
lea rbp, [r8 - 1]
shr rbp, 3
inc rbp
mov rbx, qword [r12]
mov r9, rdi
mov r8, r12
xor edx, edx
mov rcx, r13
call fcn.180065ef0
movzx r11d, byte [rsi]
add rdi, 8
xor byte [rdi - 8], r11b
movzx eax, byte [rsi + 1]
add r12, 8
xor byte [rdi - 7], al
movzx eax, byte [rsi + 2]
xor byte [rdi - 6], al
movzx eax, byte [rsi + 3]
xor byte [rdi - 5], al
movzx eax, byte [rsi + 4]
xor byte [rdi - 4], al
movzx eax, byte [rsi + 5]
xor byte [rdi - 3], al
movzx eax, byte [rsi + 6]
xor byte [rdi - 2], al
movzx eax, byte [rsi + 7]
xor byte [rdi - 1], al
sub rbp, 1
mov qword [rsi], rbx
jne 0x180066110
jmp 0x180066215
test r8, r8
je 0x180066215
lea rbx, [r8 - 1]
shr rbx, 3
inc rbx
nop word [rax + rax]
movzx eax, byte [r12]
mov r9, rdi
mov r8, rdi
xor al, byte [rsi]
mov edx, ebp
mov rcx, r13
mov byte [rdi], al
movzx eax, byte [r12 + 1]
xor al, byte [rsi + 1]
mov byte [rdi + 1], al
movzx eax, byte [r12 + 2]
xor al, byte [rsi + 2]
mov byte [rdi + 2], al
movzx eax, byte [r12 + 3]
xor al, byte [rsi + 3]
mov byte [rdi + 3], al
movzx eax, byte [r12 + 4]
xor al, byte [rsi + 4]
mov byte [rdi + 4], al
movzx eax, byte [r12 + 5]
xor al, byte [rsi + 5]
mov byte [rdi + 5], al
movzx eax, byte [r12 + 6]
xor al, byte [rsi + 6]
mov byte [rdi + 6], al
movzx eax, byte [r12 + 7]
xor al, byte [rsi + 7]
mov byte [rdi + 7], al
call fcn.180065ef0
mov r11, qword [rdi]
add r12, 8
add rdi, 8
sub rbx, 1
mov qword [rsi], r11
jne 0x180066190
mov rbx, qword [rsp + 0x68]
xor eax, eax
mov rcx, qword [rsp + 0x20]
xor rcx, rsp
call fcn.1800c9b90
add rsp, 0x30
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret