joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1337c0e87ea0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
movabs rax, 0x7ffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x1337c0e8807f
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x40], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.1337c0e55c00
lea rax, [rdi - 1]
mov qword [rsi + 0x38], rdi
mov qword [rsi + 0x30], rax
mov rax, qword [rsi + 8]
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x1337c0e88044
mov qword [rsp + 0x38], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax]
nop dword [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r9d, byte [rax + 0x10]
mov r11, qword [rsi + 0x30]
xor r9, rbp
mov rcx, qword [rcx]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x12]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x13]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x14]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x15]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x16]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x17]
imul r9, rdi
xor r9, rdx
imul r9, rdi
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x1337c0e87fbc
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x1337c0e88033
mov rdx, qword [r11 + 8]
mov r8, qword [rax + 0x10]
cmp r8, qword [rdx + 0x10]
jne 0x1337c0e87ff9
mov r10, qword [rdx]
cmp r10, rax
je 0x1337c0e87ff3
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x1337c0e88033
cmp r9, rdx
je 0x1337c0e8800f
nop
mov rdx, qword [rdx + 8]
cmp r8, qword [rdx + 0x10]
je 0x1337c0e88059
cmp r9, rdx
jne 0x1337c0e88000
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
jne 0x1337c0e87f40
mov rbp, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov r14, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x1337c0e88033
lea rcx, str.invalid_hash_bucket_count
call fcn.1337c0fcf0e4
int3
Function at 0x1337c0e8d7c0
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
mov rdi, r8
mov r13, rcx
lea rbp, [rcx + 0x30]
mov qword [rsp + 0x20], rbp
mov byte [rsp + 0x28], 0
mov rcx, rbp
call fcn.1337c0fd0d28
test eax, eax
jne 0x1337c0e8d973
mov eax, dword [rbp + 0x4c]
cmp eax, 0x7fffffff
je 0x1337c0e8d97e
mov byte [rsp + 0x28], 1
mov rsi, qword [rdi]
add rsi, 0x20
mov r12, qword [rdi + 0x18]
mov rbx, qword [rdi + 8]
mov qword [rsp + 0x58], rbx
mov rdi, qword [rdi + 0x10]
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], r12
mov r15, qword [rsi]
mov qword [rsp + 0x30], rsi
mov rax, qword gs:[0x58]
mov r14, qword [rax]
mov eax, setsockopt
cmp byte [rax + r14], 0
jne 0x1337c0e8d85a
call fcn.1337c0fd1f24
mov eax, 0x138
mov r14, qword [rax + r14]
mov rcx, qword [r14 + 0x40]
mov r8, qword [rcx + 0x10]
test r8, r8
jne 0x1337c0e8d897
xor r9d, r9d
lea edx, [r8 + 0x38]
mov rcx, r14
call fcn.1337c0edc3d0
mov r8, rax
test rax, rax
jne 0x1337c0e8d8a1
lea edx, [rax + 0x38]
mov rcx, r14
call fcn.1337c0edb240
mov r8, rax
jmp 0x1337c0e8d8a1
inc dword [rcx + 0x18]
mov rax, qword [r8]
mov qword [rcx + 0x10], rax
mov qword [rsp + 0x38], r8
mov qword [r8 + 0x20], rbx
mov qword [r8 + 0x28], rdi
xor r9d, r9d
mov qword [rsp + 0x68], r9
mov qword [r8 + 0x30], r12
mov qword [r8], r15
mov qword [r8 + 8], r15
mov qword [r8 + 0x10], r15
mov word [r8 + 0x18], r9w
mov rax, qword [rsi]
mov rcx, qword [rax + 8]
mov qword [rsp + 0x40], rcx
mov dword [rsp + 0x48], r9d
cmp byte [rcx + 0x19], r9b
jne 0x1337c0e8d908
mov qword [rsp + 0x40], rcx
cmp rbx, qword [rcx + 0x20]
jge 0x1337c0e8d8f9
mov dword [rsp + 0x48], 1
mov rcx, qword [rcx]
jmp 0x1337c0e8d902
mov dword [rsp + 0x48], r9d
mov rcx, qword [rcx + 0x10]
cmp byte [rcx + 0x19], 0
je 0x1337c0e8d8e1
movabs rax, 0x249249249249249
cmp qword [rsi + 8], rax
je 0x1337c0e8d96d
movups xmm0, xmmword [rsp + 0x40]
movaps xmmword [rsp + 0x30], xmm0
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.1337c0e8ce60
nop
mov dword [r13], 1
lea rcx, [r13 + 0x80]
call fcn.1337c0fd0ba8
nop
mov rcx, rbp
call fcn.1337c0fd0d4c
mov al, 1
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
call fcn.1337c0e8c640
nop
mov ecx, 5
call fcn.1337c0fd0fc0
int3
dec eax
mov dword [rbp + 0x4c], eax
mov ecx, 6
call fcn.1337c0fd0fc0
int3
Function at 0x1337c0e908b0
Capabilities:
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
push rbp
sub rsp, 0x20
mov r11, qword [rcx]
mov rbp, rdx
movsxd rax, dword [r11 + 0x3c]
mov ecx, dword [rax + r11 + 0x88]
test ecx, ecx
je 0x1337c0e909c5
mov eax, ecx
add rax, r11
je 0x1337c0e909c5
mov qword [rsp + 0x30], rbx
xor ebx, ebx
mov qword [rsp + 0x38], rsi
mov r10d, ebx
mov esi, dword [rax + 0x18]
mov qword [rsp + 0x18], r12
mov r12d, dword [rax + 0x1c]
mov qword [rsp + 8], r14
add r12, r11
mov r14d, dword [rax + 0x20]
mov qword [rsp], r15
add r14, r11
mov r15d, dword [rax + 0x24]
add r15, r11
test esi, esi
je 0x1337c0e9099c
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x10], r13
mov r13d, dword [rdx + 4]
nop word [rax + rax]
mov edi, r10d
mov rax, 0xffffffffffffffff
mov edx, dword [r14 + rdi*4]
add rdx, r11
inc rax
cmp byte [rdx + rax], bl
jne 0x1337c0e90941
cmp r13, rax
jne 0x1337c0e9097f
mov r9d, 0xbf41bdf
mov r8d, ebx
test eax, eax
je 0x1337c0e90979
nop dword [rax + rax]
movsx ecx, byte [rdx]
lea rdx, [rdx + 1]
xor ecx, r9d
inc r8d
imul r9d, ecx, 0x1000193
cmp r8d, eax
jb 0x1337c0e90960
cmp dword [rbp], r9d
je 0x1337c0e90989
inc r10d
cmp r10d, esi
jb 0x1337c0e90930
jmp 0x1337c0e90992
movzx eax, word [r15 + rdi*2]
mov ebx, dword [r12 + rax*4]
mov rdi, qword [rsp + 0x40]
mov r13, qword [rsp + 0x10]
mov r15, qword [rsp]
lea rax, [r11 + rbx]
mov r14, qword [rsp + 8]
test rbx, rbx
mov r12, qword [rsp + 0x18]
mov rsi, qword [rsp + 0x38]
cmove rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rbp
ret
xor eax, eax
add rsp, 0x20
pop rbp
ret

Function at 0x1337c0e909d0
Capabilities:
Access peb ldr_data
Encode data using xor
Encrypt data using rc4 prga
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
mov rax, qword gs:[0x60]
mov rbp, rdx
mov rdi, rcx
mov rsi, qword [rax + 0x18]
add rsi, 0x10
mov r9, qword [rsi]
cmp r9, rsi
je 0x1337c0e90a6d
mov r14d, dword [rdx + 4]
nop dword [rax]
movzx eax, word [r9 + 0x58]
mov r10, qword [r9 + 0x60]
shr rax, 1
cmp r14, rax
jne 0x1337c0e90a65
xor r11d, r11d
mov ebx, 0xbf41bdf
test eax, eax
je 0x1337c0e90a60
nop dword [rax]
movzx r8d, word [r10]
lea r10, [r10 + 2]
movzx edx, r8w
or dx, 0x20
lea ecx, [r8 - 0x41]
cmp cx, 0x19
cmova dx, r8w
inc r11d
movzx ecx, dx
xor ecx, ebx
imul ebx, ecx, 0x1000193
cmp r11d, eax
jb 0x1337c0e90a30
cmp dword [rbp], ebx
je 0x1337c0e90a8b
mov r9, qword [r9]
cmp r9, rsi
jne 0x1337c0e90a10
mov byte [rdi + 0x10], 0
mov rbx, qword [rsp + 0x10]
mov rax, rdi
mov rdi, qword [rsp + 0x28]
mov rbp, qword [rsp + 0x18]
mov rsi, qword [rsp + 0x20]
pop r14
ret
mov qword [rdi], 0
mov qword [rdi + 8], r9
mov rax, qword [r9 + 0x30]
mov qword [rdi], rax
mov byte [rdi + 0x10], 1
jmp 0x1337c0e90a71
Function at 0x1337c0e90e20
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
mov qword [rsp + 8], rcx
push rsi
push rdi
push r13
push r14
push r15
sub rsp, 0x20
mov rax, qword [rcx]
xor r11d, r11d
movzx ebp, r9b
mov edi, r8d
mov rsi, rdx
mov ebx, r11d
mov r15d, r11d
movsxd r13, dword [rax + 0x3c]
add r13, rax
movzx eax, word [r13 + 0x14]
lea r14, [r13 + 0x18]
add r14, rax
cmp r11w, word [r13 + 6]
jae 0x1337c0e90f58
mov qword [rsp + 0x58], r12
mov r12, qword [rsp + 0x70]
nop dword [rax]
mov eax, dword [r14 + 0x24]
bt eax, 0x19
jb 0x1337c0e90f1c
and eax, 0x60000000
cmp eax, 0x60000000
jne 0x1337c0e90f1c
test r12, r12
je 0x1337c0e90eca
mov edx, 8
mov rcx, r14
call fcn.1337c0fdcac0
mov r8, rax
mov rdx, r14
mov rcx, r12
call fcn.1337c0fdd020
xor r11d, r11d
test eax, eax
jne 0x1337c0e90f1c
mov rcx, qword [rsp + 0x50]
mov ebx, dword [r14 + 0xc]
add rbx, qword [rcx]
mov r10d, dword [r14 + 0x10]
sub r10, rdi
add r10, rbx
cmp rbx, r10
jae 0x1337c0e90f19
mov eax, r11d
cmp eax, edi
jae 0x1337c0e90f51
mov ecx, eax
movzx r8d, byte [rcx + rbx]
lea r9, [rcx + rbx]
movzx edx, byte [rcx + rsi]
cmp r8b, dl
je 0x1337c0e90f00
cmp dl, bpl
jne 0x1337c0e90f04
inc eax
jmp 0x1337c0e90ee3
cmp r8b, byte [rsi]
jne 0x1337c0e90f0e
mov rbx, r9
jmp 0x1337c0e90f14
lea ecx, [rax + 1]
add rbx, rcx
cmp rbx, r10
jb 0x1337c0e90ee0
mov rbx, r11
movzx eax, word [r13 + 6]
inc r15d
mov rcx, qword [rsp + 0x50]
add r14, 0x28
cmp r15d, eax
jb 0x1337c0e90e80
mov r12, qword [rsp + 0x58]
test rbx, rbx
je 0x1337c0e90f58
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx + 8]
sub rax, qword [rcx]
add rax, rbx
jmp 0x1337c0e90f5a
test rbx, rbx
jne 0x1337c0e90f36
jmp 0x1337c0e90f1c
xor eax, eax
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop r13
pop rdi
pop rsi
ret
Function at 0x1337c0e95830
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0xa0
mov rbp, r8
mov r11, rdx
mov rsi, rcx
mov r10d, dword [rdx]
mov dword [rsp + 0xd8], r10d
mov eax, r10d
shr eax, 8
movzx r9d, al
movzx eax, r10b
movabs r15, 0xcbf29ce484222325
xor rax, r15
movabs r14, 0x100000001b3
imul rax, r14
xor r9, rax
imul r9, r14
mov eax, r10d
shr eax, 0x10
movzx ecx, al
xor r9, rcx
imul r9, r14
mov eax, r10d
shr rax, 0x18
xor r9, rax
imul r9, r14
mov rcx, qword [rsi + 0x30]
and rcx, r9
add rcx, rcx
mov r8, qword [rsi + 0x18]
mov rax, qword [r8 + rcx*8 + 8]
mov rdx, qword [rsi + 8]
xor ebx, ebx
cmp rax, rdx
je 0x1337c0e958e1
mov rcx, qword [r8 + rcx*8]
cmp r10d, dword [rax + 0x10]
je 0x1337c0e958e4
nop dword [rax]
cmp rax, rcx
je 0x1337c0e958e1
mov rax, qword [rax + 8]
cmp r10d, dword [rax + 0x10]
jne 0x1337c0e958d0
jmp 0x1337c0e958e4
mov rax, rbx
mov rdi, rdx
test rax, rax
cmovne rdi, rax
cmp rdi, rdx
jne 0x1337c0e9596a
mov rdx, r11
lea rcx, [rsp + 0x30]
call fcn.1337c0e909d0
cmp byte [rsp + 0x40], bl
je 0x1337c0e95a0a
cmp qword [rsp + 0x30], rbx
je 0x1337c0e95a0a
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rsp + 0x48], xmm0
mov dword [rsp + 0xd0], ebx
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0x58]
call fcn.1337c0e95ee0
nop
lea r9, [rsp + 0x48]
lea r8, [rsp + 0xd8]
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.1337c0e96100
mov rdi, qword [rax]
lea rcx, [rsp + 0x70]
call fcn.1337c0e55700
lea rcx, [rsp + 0x60]
call fcn.1337c0e7c0c0
mov r8d, dword [rbp]
mov dword [rsp + 0xd0], r8d
mov eax, r8d
shr eax, 8
movzx edx, al
movzx eax, r8b
xor rax, r15
imul rax, r14
xor rdx, rax
imul rdx, r14
mov eax, r8d
shr eax, 0x10
movzx ecx, al
xor rdx, rcx
imul rdx, r14
mov eax, r8d
shr rax, 0x18
xor rdx, rax
imul rdx, r14
mov rcx, qword [rdi + 0x58]
and rcx, rdx
add rcx, rcx
mov rdx, qword [rdi + 0x40]
mov rax, qword [rdx + rcx*8 + 8]
mov r9, qword [rdi + 0x30]
cmp rax, r9
je 0x1337c0e959e7
mov rcx, qword [rdx + rcx*8]
cmp r8d, dword [rax + 0x10]
je 0x1337c0e959e4
cmp rax, rcx
je 0x1337c0e959e7
mov rax, qword [rax + 8]
cmp r8d, dword [rax + 0x10]
jne 0x1337c0e959d5
mov rbx, rax
test rbx, rbx
je 0x1337c0e959f1
cmp rbx, r9
jne 0x1337c0e95a2f
lea rcx, [rdi + 0x18]
mov rdx, rbp
call fcn.1337c0e908b0
mov qword [rsp + 0xd8], rax
test rax, rax
jne 0x1337c0e95a0e
xor eax, eax
jmp 0x1337c0e95a33
lea rcx, [rdi + 0x28]
lea r9, [rsp + 0xd8]
lea r8, [rsp + 0xd0]
lea rdx, [rsp + 0x30]
call fcn.1337c0e96420
mov rbx, qword [rax]
mov rax, qword [rbx + 0x18]
mov rbx, qword [rsp + 0xe0]
add rsp, 0xa0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.1337c132b72b
xchg cl, dh
mov edx, 0x48cccc38
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
mov rdi, rcx
call fcn.1337c0e95a70
mov r8, rbx
mov rdx, rdi
mov rcx, qword [rax]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp 0x1337c0e95830
Function at 0x1337c0e97760
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
mov qword [rsp + 8], rbx
mov eax, edx
mov ebx, edx
cdq
mov r11, rcx
and edx, 3
lea r10d, [rdx + rax]
sar r10d, 2
test rcx, rcx
jne 0x1337c0e97785
xor eax, eax
mov rbx, qword [rsp + 8]
ret
test r10d, r10d
jle 0x1337c0e977f1
lea rdx, [rcx + 2]
mov r9, r10
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rdx - 2]
lea rdx, [rdx + 4]
mov byte [rsp + 0x10], al
movzx eax, byte [rdx - 5]
mov byte [rsp + 0x11], al
movzx eax, byte [rdx - 4]
mov byte [rsp + 0x12], al
movzx eax, byte [rdx - 3]
mov byte [rsp + 0x13], al
imul eax, dword [rsp + 0x10], 0xcc9e2d51
ror eax, 0x11
imul ecx, eax, 0x1b873593
xor r8d, ecx
mov dword [rsp + 0x10], ecx
ror r8d, 0x13
lea r8d, [r8 + r8*4]
add r8d, 0xe6546b64
sub r9, 1
jne 0x1337c0e977a0
mov ecx, ebx
lea eax, [r10*4]
and ecx, 3
movsxd r9, eax
xor edx, edx
sub ecx, 1
je 0x1337c0e97826
sub ecx, 1
je 0x1337c0e9781b
cmp ecx, 1
jne 0x1337c0e9783f
movzx edx, byte [r9 + r11 + 2]
shl edx, 0x10
movzx eax, byte [r9 + r11 + 1]
shl eax, 8
xor edx, eax
movzx eax, byte [r9 + r11]
xor eax, edx
imul ecx, eax, 0xcc9e2d51
ror ecx, 0x11
imul eax, ecx, 0x1b873593
xor r8d, eax
xor r8d, ebx
mov rbx, qword [rsp + 8]
mov eax, r8d
shr eax, 0x10
xor eax, r8d
imul ecx, eax, 0x85ebca6b
mov eax, ecx
shr eax, 0xd
xor eax, ecx
imul ecx, eax, 0xc2b2ae35
mov eax, ecx
shr eax, 0x10
xor eax, ecx
ret

Function at 0x1337c0ea56c0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, dword [r8 + 0x180]
mov r10, rcx
mov ecx, 0x3020100
mov rbx, r8
mov dword [r8 + 0x188], ecx
mov r9d, 1
mov eax, r9d
add ecx, 0x4040404
inc r9d
mov dword [r8 + rax*4 + 0x188], ecx
cmp r9d, r11d
jbe 0x1337c0ea56e4
xor r8d, r8d
test edx, edx
je 0x1337c0ea5742
mov r9d, edx
movzx ecx, byte [r10]
mov eax, ecx
or r8d, ecx
movzx edx, byte [rcx + rbx + 0x188]
mov byte [r10], dl
mov byte [rbx + 0x187], dl
movzx ecx, byte [rax + rbx + 0x187]
mov rdx, rax
sub rax, 1
mov byte [rdx + rbx + 0x188], cl
jns 0x1337c0ea5721
inc r10
sub r9, 1
jne 0x1337c0ea5707
shr r8d, 2
mov dword [rbx + 0x180], r8d
mov rbx, qword [rsp + 8]
ret
Function at 0x1337c0eb2120
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push r14
sub rsp, 0x60
movups xmm0, xmmword [rdx]
mov rsi, r8
movaps xmmword [r8], xmm0
movups xmm1, xmmword [rdx + 0x10]
movaps xmmword [r8 + 0x10], xmm1
movups xmm0, xmmword [rdx + 0x20]
movaps xmmword [r8 + 0x20], xmm0
movups xmm1, xmmword [rdx + 0x30]
movaps xmmword [r8 + 0x30], xmm1
movups xmm0, xmmword [rdx + 0x40]
movaps xmmword [r8 + 0x40], xmm0
movzx r10d, byte [0x1337c11db634]
cmp r10b, 0xc
jb 0x1337c0eb21c6
mov r9, qword [rcx + 0x18]
mov r8b, reloc.SHLWAPI.dll_SHCreateMemStream
movsd xmm0, qword [r9]
movsd qword [rsp + 0x30], xmm0
mov eax, dword [r9 + 8]
mov dword [rsp + 0x38], eax
jbe 0x1337c0eb21e2
add r9, 0xc
nop word [rax + rax]
movzx ecx, r8b
lea r9, [r9 + 1]
mov eax, 0xaaaaaaab
inc r8b
mul ecx
shr edx, 3
lea eax, [rdx + rdx*2]
shl eax, 2
sub ecx, eax
movsxd rax, ecx
lea rcx, [rsp + 0x30]
add rcx, rax
movzx eax, byte [r9 - 1]
xor byte [rcx], al
cmp r8b, r10b
jb 0x1337c0eb2190
jmp 0x1337c0eb21e2
mov rdx, qword [rcx + 0x18]
xor eax, eax
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], rax
mov r8, r10
mov dword [rsp + 0x38], eax
call fcn.1337c1000630
lea rcx, [0x1337c11db698]
call qword [0x1337c1005400]
mov rcx, qword [rsi]
lea r9, [0x1337c11db530]
movzx r8d, byte [0x1337c11db533]
xor ebx, ebx
shr rcx, 1
mov r14d, 8
test r8b, r8b
cmove ebx, r14d
mov rdx, qword [rbx + r9 + 0x1a0]
lea rax, [rdx - 0x7530]
cmp rcx, rax
jl 0x1337c0eb232b
cmp rcx, rdx
jge 0x1337c0eb223a
mov rbx, qword [rbx + r9 + 0x190]
jmp 0x1337c0eb2250
cmp rcx, qword [r9 + r8*8 + 0x1a0]
jge 0x1337c0eb232b
mov rbx, qword [r9 + r8*8 + 0x190]
test rbx, rbx
je 0x1337c0eb232b
lea rax, [rsp + 0x30]
mov qword [rsp + 0x80], rbp
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov qword [rsp + 0x90], rdi
xor edx, edx
mov rcx, rbx
call fcn.1337c0f29780
cmp eax, 1
je 0x1337c0eb228c
xor bl, bl
jmp 0x1337c0eb2302
mov r9, rsi
mov dword [rsp + 0x20], r14d
lea r8, [rsp + 0x88]
xor edx, edx
mov rcx, rbx
call fcn.1337c0f297b0
cmp eax, 1
jne 0x1337c0eb2288
lea r9, [rsi + 8]
mov dword [rsp + 0x20], 0x34
lea r8, [rsp + 0x88]
mov rcx, rbx
lea rdx, [rsi + 8]
call fcn.1337c0f297b0
cmp eax, 1
jne 0x1337c0eb2288
lea r9, [rsi + 0x3c]
mov rcx, rbx
lea edx, [rax + 0x10]
lea r8d, [rax + 0xf]
call fcn.1337c0f28ee0
cmp eax, 1
jne 0x1337c0eb2288
lea r8, [rsp + 0x88]
mov rcx, rbx
lea rdx, [rsi + 0x3c]
call fcn.1337c0f295c0
cmp eax, 1
sete bl
lea rcx, [0x1337c11db698]
call qword [0x1337c1005410]
mov rdi, qword [rsp + 0x90]
movzx eax, bl
mov rbp, qword [rsp + 0x80]
add rsp, 0x60
pop r14
pop rsi
pop rbx
ret
lea rcx, [0x1337c11db698]
call qword [0x1337c1005410]
xor al, al
add rsp, 0x60
pop r14
pop rsi
pop rbx
ret
Function at 0x1337c0ebfb40
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
movzx esi, dl
lea r9, [rsp + 0x48]
mov rdx, rcx
mov rdi, r8
xor ebx, ebx
lea rcx, [0x1337c11db6e0]
lea r8, [rsp + 0x38]
mov dword [rsp + 0x38], ebx
call fcn.1337c0ebf860
test sil, sil
je 0x1337c0ebfbf6
mov eax, dword [rsp + 0x48]
lea r8d, [rax + rax]
cmp sil, 0x14
jae 0x1337c0ebfb90
mov ecx, esi
test sil, sil
je 0x1337c0ebfbe0
jmp 0x1337c0ebfb95
mov ecx, setsockopt
mov r9d, ecx
lea r10, [0x1337c11db530]
nop
movzx edx, byte [rdi]
lea rdi, [rdi + 1]
mov eax, r8d
mov ecx, edx
shl rax, 4
inc r8d
shr rcx, 4
and edx, 0xf
add rcx, rax
mov eax, r8d
shl rax, 4
inc r8d
add rax, rdx
xor ebx, dword [r10 + rcx*4 + 0x1b0]
xor ebx, dword [r10 + rax*4 + 0x1b0]
sub r9, 1
jne 0x1337c0ebfba0
mov eax, dword [rsp + 0x38]
xor eax, ebx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov eax, dword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x1337c0ec0230
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], r9
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
movzx r15d, r8b
mov eax, 1
mov r8d, dword [rsp + 0x90]
mov r14, rdx
mov r13, rcx
lea rdx, [rsp + 0x20]
test r8, r8
cmove r8d, eax
add rcx, 0x20
call fcn.1337c0ed8090
mov rdi, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x20]
mov rbx, qword [rdi]
cmp rsi, rbx
je 0x1337c0ec0337
cmp qword [rbx + 0x10], r8
jne 0x1337c0ec0337
movzx ebp, word [r14]
mov r12, qword [rsp + 0x30]
cmp bp, word [rbx + 0x20]
jne 0x1337c0ec0300
movzx eax, word [rbx + 0x22]
cmp word [r14 + 2], ax
jne 0x1337c0ec0300
cmp bp, 2
jne 0x1337c0ec02c6
mov eax, dword [r14 + 4]
cmp eax, dword [rbx + 0x24]
jmp 0x1337c0ec02db
mov rax, qword [r14 + 8]
sub rax, qword [rbx + 0x28]
jne 0x1337c0ec02d8
mov rax, qword [r14 + 0x10]
sub rax, qword [rbx + 0x30]
test rax, rax
sete al
test al, al
je 0x1337c0ec0300
cmp r15b, byte [rbx + 0x3c]
jne 0x1337c0ec0300
mov rcx, qword [rsp + 0x88]
lea rdx, [rbx + 0x3d]
mov r8, r15
call fcn.1337c1000530
test eax, eax
je 0x1337c0ec0359
mov rdi, qword [rdi]
mov rbx, qword [rdi]
cmp rbx, rsi
je 0x1337c0ec0337
cmp dword [r13 + 0x38], 0
je 0x1337c0ec032d
mov rax, rbx
cmp qword [rax + 0x10], 0
mov rbx, rax
jne 0x1337c0ec032d
mov rcx, qword [rax]
mov rdi, rax
mov rax, rcx
cmp rcx, rsi
jne 0x1337c0ec0315
cmp qword [rbx + 0x10], r12
je 0x1337c0ec02a6
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov rax, qword [rbx + 0x18]
jmp 0x1337c0ec0339
Function at 0x1337c0ed1980
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
movzx edx, byte [rcx + 0x170]
lea r9, [rcx + 0xb0]
mov rbx, rcx
shr dl, 2
lea r8, [rcx + 0x30]
and dl, 0xf
mov rcx, qword [rcx + 0x28]
mov rcx, qword [rcx + 0x10]
call fcn.1337c0ed3550
test eax, eax
jns 0x1337c0ed19d6
mov rcx, qword [rbx]
lea r9, str.HP_failure
movsxd r8, eax
mov edx, setsockopt
mov word [rsp + 0x20], 0xa
call fcn.1337c0eb5170
add rsp, 0x30
pop rbx
ret
movzx ecx, byte [rbx + 0x170]
xor r10b, r10b
test cl, 0x3c
jbe 0x1337c0ed1a66
nop dword [rax]
movzx eax, r10b
movzx r9d, r10b
shl r9, 4
mov rdx, qword [rbx + rax*8 + 0x130]
movzx eax, byte [r9 + rbx + 0xb0]
and al, 0x1f
xor byte [rdx], al
mov rax, qword [rbx + 8]
mov rcx, qword [rax + 0x58]
xor al, al
movzx r11d, byte [rcx + 0x21]
inc r11
add r11, rdx
cmp byte [rbx + 0x179], al
jbe 0x1337c0ed1a4f
nop
movzx ecx, al
inc al
lea r8, [rcx + r11]
add rcx, r9
movzx edx, byte [rcx + rbx + 0xb1]
xor byte [r8], dl
cmp al, byte [rbx + 0x179]
jb 0x1337c0ed1a30
movzx ecx, byte [rbx + 0x170]
inc r10b
movzx eax, cl
shr al, 2
and al, 0xf
cmp r10b, al
jb 0x1337c0ed19f0
and cl, 0xc3
mov byte [rbx + 0x170], cl
add rsp, 0x30
pop rbx
ret
Function at 0x1337c0ee45c0
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
mov r9, rcx
xor eax, eax
xorps xmm0, xmm0
movups xmmword [rcx + 0x10], xmm0
movups xmmword [rcx + 0x20], xmm0
movups xmmword [rcx + 0x30], xmm0
movups xmmword [rcx + 0x40], xmm0
movups xmmword [rcx + 0x50], xmm0
movups xmmword [rcx + 0x60], xmm0
movups xmmword [rcx + 0x70], xmm0
mov qword [rcx + 0x80], rax
mov dword [rcx], 0x61707865
mov dword [rcx + 4], 0x3320646e
mov dword [rcx + 8], 0x79622d32
mov dword [rcx + 0xc], 0x6b206574
movzx eax, byte [rdx + 2]
movzx ecx, byte [rdx + 3]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx]
shl ecx, 8
or ecx, eax
mov dword [r9 + 0x10], ecx
movzx eax, byte [rdx + 6]
movzx ecx, byte [rdx + 7]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 5]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 4]
shl ecx, 8
or ecx, eax
mov dword [r9 + 0x14], ecx
movzx eax, byte [rdx + 0xa]
movzx ecx, byte [rdx + 0xb]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 9]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 8]
shl ecx, 8
or ecx, eax
mov dword [r9 + 0x18], ecx
movzx eax, byte [rdx + 0xe]
movzx ecx, byte [rdx + 0xf]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 0xd]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 0xc]
shl ecx, 8
or ecx, eax
mov dword [r9 + 0x1c], ecx
movzx eax, byte [rdx + 0x12]
movzx ecx, byte [rdx + 0x13]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 0x11]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 0x10]
shl ecx, 8
or ecx, eax
mov dword [r9 + 0x20], ecx
movzx eax, byte [rdx + 0x16]
movzx ecx, byte [rdx + 0x17]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 0x15]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 0x14]
shl ecx, 8
or ecx, eax
mov dword [r9 + 0x24], ecx
movzx eax, byte [rdx + 0x1a]
movzx ecx, byte [rdx + 0x1b]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 0x19]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 0x18]
shl ecx, 8
or ecx, eax
mov dword [r9 + 0x28], ecx
movzx eax, byte [rdx + 0x1e]
movzx ecx, byte [rdx + 0x1f]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 0x1d]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx + 0x1c]
shl ecx, 8
or ecx, eax
xor eax, eax
mov dword [r9 + 0x2c], ecx
mov dword [r9 + 0x38], r8d
shr r8, 0x20
mov dword [r9 + 0x3c], r8d
mov qword [r9 + 0x30], rax
ret

Function at 0x1337c0ee4730
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call fcn.1337c0ee2950
lea rcx, [fcn.1337c0ee4730]
xor rax, rcx
xor rax, rbx
mov r8, rax
shr r8, 0x11
xor r8, rax
and r8d, 0xf
add r8, 1
je 0x1337c0ee47b3
mov r9d, setsockopt
movabs r10, 0xbf58476d1ce4e5b9
movabs r11, 0x94d049bb133111eb
nop dword [rax]
test rax, rax
cmove rax, r9
mov rcx, rax
shr rcx, 0x1e
xor rcx, rax
imul rcx, r10
mov rdx, rcx
shr rdx, 0x1b
xor rdx, rcx
imul rdx, r11
mov rax, rdx
shr rax, 0x1f
xor rax, rdx
sub r8, 1
jne 0x1337c0ee4780
add rsp, 0x20
pop rbx
ret