joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000fdc0
Capabilities:
Get system information on windows

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x1a0
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
mov rax, qword [0x1400b6f80]
xor rax, rsp
mov qword [rsp + 0x190], rax
mov rbx, rcx
mov qword [rsp + 0x30], rcx
xor esi, esi
mov dword [rsp + 0x20], esi
mov qword [rcx + 0x20], reloc.WS2_32.dll_ntohs
mov qword [rcx + 0x18], rsi
mov byte [rcx + 8], sil
mov dword [rsp + 0x20], 1
mov dword [rsp + 0x110], esi
xor edx, edx
lea r8d, [rsi + 0x78]
lea rcx, [r11 - 0x94]
call fcn.1400717b0
lea rcx, [rsp + 0x110]
call qword [sym.imp.ADVAPI32.dll_GetCurrentHwProfileA]
mov edx, esi
test eax, eax
sete dl
test edx, edx
je 0x14000fe52
lea rcx, str.GetCurrentHwProfile___failed._Error_code:__d_n
call fcn.14006dd08
mov r9d, 0x7c
lea r8, [rsp + 0x110]
xor edx, edx
mov rcx, rbx
call fcn.140015e00
mov dword [rsp + 0x38], esi
xor edx, edx
lea r8d, [rdx + 0x2c]
lea rcx, [rsp + 0x3c]
call fcn.1400717b0
lea rcx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov rdx, qword [rbx + 0x18]
dec rdx
mov r9d, Ordinal_50
lea r8, [rsp + 0x38]
mov rcx, rbx
call fcn.140015e00
mov qword [rsp + 0x100], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0xf8], rsi
mov byte [rsp + 0xe8], 0
lea rcx, [rsp + 0xe0]
call fcn.14000ec00
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0xe0]
mov rcx, rbx
call fcn.140005f40
mov qword [rsp + 0xd8], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0xd0], rsi
mov byte [rsp + 0xc0], 0
lea rcx, [rsp + 0xb8]
call fcn.14000ede0
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0xb8]
mov rcx, rbx
call fcn.140005f40
mov qword [rsp + 0x88], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x80], rsi
mov byte [rsp + 0x70], 0
mov qword [rsp + 0xb0], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0xa8], rsi
mov byte [rsp + 0x98], 0
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x68]
call fcn.14000fa70
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0x68]
mov rcx, rbx
call fcn.140005f40
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0x90]
mov rcx, rbx
call fcn.140005f40
mov edi, esi
cmp qword [rbx + 0x18], rdi
jbe 0x14000ffb6
mov rax, rsi
cmp rax, qword [rbx + 0x18]
jbe 0x14000ffab
call fcn.14006dce8
inc edi
movsxd rax, edi
cmp rax, qword [rbx + 0x18]
jb 0x14000ffa0
cmp qword [rsp + 0xb0], 0x10
jb 0x14000ffce
mov rcx, qword [rsp + 0x98]
call fcn.14006df50
mov qword [rsp + 0xb0], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0xa8], rsi
mov byte [rsp + 0x98], 0
cmp qword [rsp + 0x88], 0x10
jb 0x14000ffff
mov rcx, qword [rsp + 0x70]
call fcn.14006df50
mov qword [rsp + 0x88], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x80], rsi
mov byte [rsp + 0x70], 0
cmp qword [rsp + 0xd8], 0x10
jb 0x140010030
mov rcx, qword [rsp + 0xc0]
call fcn.14006df50
mov qword [rsp + 0xd8], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0xd0], rsi
mov byte [rsp + 0xc0], 0
cmp qword [rsp + 0x100], 0x10
jb 0x140010069
mov rcx, qword [rsp + 0xe8]
call fcn.14006df50
mov rax, rbx
jmp 0x14001006c
mov rax, rbx
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.14006d1b0
lea r11, [rsp + 0x1a0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140011200
Capabilities:
Check if file exists

Disassembly:
push rdi
sub rsp, 0x140
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x150], rbx
mov rdi, rcx
call qword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x140011335
mov dword [rsp + 0x20], 1
lea r9d, [rax + 0x40]
lea r8d, [rax + 2]
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.1400161d0
nop
lea rdx, str..iritech
lea rcx, [rsp + 0x40]
call fcn.140005120
mov rcx, rax
lea rdx, [0x1400a69c8]
call fcn.140005120
lea rdx, [0x1400a69c8]
lea rcx, [rsp + 0x40]
call fcn.140005120
xor ebx, ebx
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
test byte [rsp + rcx + 0x50], 6
jne 0x1400112aa
mov rcx, qword [rsp + rcx + 0x88]
mov rax, qword [rcx]
call qword [rax + 0x60]
mov ecx, 4
cmp eax, 0xffffffff
cmove ebx, ecx
mov rax, qword [rsp + 0x40]
movsxd rax, dword [rax + 4]
lea rcx, [rsp + rax + 0x40]
test ebx, ebx
je 0x1400112ce
mov edx, dword [rcx + 0x10]
or edx, ebx
cmp qword [rcx + 0x48], 0
jne 0x1400112c6
or edx, 4
xor r8d, r8d
call fcn.140001770
lea rcx, [rsp + 0x48]
call fcn.140004100
test rax, rax
jne 0x140011303
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
lea rcx, [rsp + rcx + 0x40]
mov edx, dword [rcx + 0x10]
or edx, 2
cmp qword [rcx + 0x48], 0
jne 0x1400112fb
or edx, 4
xor r8d, r8d
call fcn.140001770
mov rcx, rdi
call fcn.14000dbc0
nop
lea rcx, [rsp + 0xd8]
call fcn.140002960
lea r11, vtable.std::ios_base.0
mov qword [rsp + 0xd8], r11
lea rcx, [rsp + 0xd8]
call fcn.14006c548
mov rbx, qword [rsp + 0x150]
add rsp, 0x140
pop rdi
ret
Function at 0x14001a370
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rdi
sub rsp, 0x80
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x98], rbx
mov rax, qword [0x1400b6f80]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rdi, rcx
cmp qword [rcx + 0x30], 0x10
jb 0x14001a3a9
mov rcx, qword [rcx + 0x18]
jmp 0x14001a3ad
add rcx, 0x18
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14001a4a5
test al, 0x10
je 0x14001a4a5
lea r8, str._lic.config.bin
lea rdx, [rdi + 0x10]
lea rcx, [rsp + 0x50]
call fcn.140006f30
nop
lea rdx, [rsp + 0x28]
mov rcx, rdi
call fcn.14001a190
nop
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x48], 0x10
cmovae rdx, qword [rsp + 0x30]
lea rbx, [rsp + 0x58]
cmp qword [rsp + 0x70], 0x10
cmovae rbx, qword [rsp + 0x58]
mov r8d, dword [rsp + 0x40]
mov rcx, rbx
call fcn.14000dfe0
test eax, eax
jne 0x14001a463
mov rcx, rbx
call fcn.14000dbc0
nop
cmp qword [rsp + 0x48], 0x10
jb 0x14001a436
mov rcx, qword [rsp + 0x30]
call fcn.14006df50
mov qword [rsp + 0x48], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x40], 0
mov byte [rsp + 0x30], 0
cmp qword [rsp + 0x70], 0x10
jb 0x14001a45f
mov rcx, qword [rsp + 0x58]
call fcn.14006df50
xor eax, eax
jmp 0x14001a4aa
cmp qword [rsp + 0x48], 0x10
jb 0x14001a475
mov rcx, qword [rsp + 0x30]
call fcn.14006df50
mov qword [rsp + 0x48], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x40], 0
mov byte [rsp + 0x30], 0
cmp qword [rsp + 0x70], 0x10
jb 0x14001a49e
mov rcx, qword [rsp + 0x58]
call fcn.14006df50
mov eax, 0x1709
jmp 0x14001a4aa
mov eax, 0x1701
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14006d1b0
mov rbx, qword [rsp + 0x98]
add rsp, 0x80
pop rdi
ret
Function at 0x14001d0b0
Capabilities:
Hash data using sha224
Hash data using sha256

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
sub rsp, 0xa0
mov rax, qword [0x1400b6f80]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov r12, rcx
mov rbp, r8
mov rdi, rdx
mov ebx, WSAGetLastError
lea rcx, [rsp + 0x20]
xor edx, edx
mov r8, rbx
mov esi, r9d
call fcn.1400717b0
xor r11d, r11d
mov dword [rsp + 0x20], r11d
mov dword [rsp + 0x24], r11d
test esi, esi
jne 0x14001d143
mov dword [rsp + 0x28], 0x6a09e667
mov dword [rsp + 0x2c], 0xbb67ae85
mov dword [rsp + 0x30], 0x3c6ef372
mov dword [rsp + 0x34], 0xa54ff53a
mov dword [rsp + 0x38], 0x510e527f
mov dword [rsp + 0x3c], 0x9b05688c
mov dword [rsp + 0x40], 0x1f83d9ab
mov dword [rsp + 0x44], 0x5be0cd19
jmp 0x14001d183
mov dword [rsp + 0x28], 0xc1059ed8
mov dword [rsp + 0x2c], 0x367cd507
mov dword [rsp + 0x30], 0x3070dd17
mov dword [rsp + 0x34], 0xf70e5939
mov dword [rsp + 0x38], 0xffc00b31
mov dword [rsp + 0x3c], 0x68581511
mov dword [rsp + 0x40], 0x64f98fa7
mov dword [rsp + 0x44], 0xbefa4fa4
mov dword [rsp + 0x88], esi
test rdi, rdi
je 0x14001d1a6
lea rcx, [rsp + 0x20]
mov r8, rdi
mov rdx, r12
call fcn.14001cd10
mov r11d, eax
test eax, eax
jne 0x14001d1b6
lea rcx, [rsp + 0x20]
mov rdx, rbp
call fcn.14001cde0
mov r11d, eax
lea rax, [rsp + 0x20]
nop dword [rax + rax]
mov byte [rax], 0
inc rax
sub rbx, 1
jne 0x14001d1c0
mov eax, r11d
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.14006d1b0
add rsp, 0xa0
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14001e9a0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push r12
push r14
push r15
sub rsp, 0x58
mov rax, qword [0x1400b6f80]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [rsp + 0xa8]
mov r12, r9
mov r14d, edx
mov r15, rcx
test r8b, 0xf
je 0x14001e9dc
mov eax, 0xffffffde
jmp 0x14001eb9b
mov qword [rsp + 0x88], rbp
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], r13
test edx, edx
jne 0x14001eaa5
test r8, r8
je 0x14001eb82
mov rsi, qword [rsp + 0xa0]
lea rbp, [r8 - 1]
mov rdi, r9
shr rbp, 4
sub rdi, rbx
inc rbp
nop dword [rax]
mov rax, qword [rsi]
lea rcx, [rsp + 0x20]
mov r8, rbx
mov qword [rcx], rax
mov rax, qword [rsi + 8]
mov rdx, rsi
mov qword [rcx + 8], rax
mov rcx, r15
call fcn.14001e390
lea r11, [r12 + 2]
mov ecx, 4
nop dword [rax + 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 0x14001ea50
lea rcx, [rsp + 0x20]
add rsi, 0x10
sub rdi, 0x10
sub rbp, 1
mov rax, qword [rcx]
mov qword [r12], rax
mov rax, qword [rcx + 8]
mov qword [r12 + 8], rax
jne 0x14001ea20
jmp 0x14001eb82
test r8, r8
je 0x14001eb82
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
lea rax, [r9 + 3]
mov r8, rbx
mov r9, rax
lea rdx, [rbx + 1]
mov rcx, rdi
mov r10d, 4
sub r8, rdi
nop word [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 0x14001eaf0
cmp r14d, 1
jne 0x14001eb45
mov r8, rbx
mov rdx, rbx
mov rcx, r15
call fcn.14001dd90
jmp 0x14001eb53
mov r8, rbx
mov rdx, rbx
mov rcx, r15
call fcn.14001e390
mov rax, qword [rbx]
add rdi, 0x10
sub rbp, 0x10
mov qword [r12], rax
mov rax, qword [rbx + 8]
add rbx, 0x10
sub rsi, 0x10
sub r13, 1
mov qword [r12 + 8], rax
lea rax, [r12 + 3]
jne 0x14001ead1
mov r13, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x88]
xor eax, eax
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14006d1b0
add rsp, 0x58
pop r15
pop r14
pop r12
pop rbx
ret
Function at 0x14001f610
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r13
mov rbp, qword [rsp + 0x40]
mov rdi, r9
movabs r9, 0xaaaaaaaaaaaaaaab
mov rax, r9
mov rsi, r8
mov r8, rdx
mov r13, rcx
mov ebx, 0
mul rbp
shr rdx, 1
mov rax, rbx
lea rcx, [rdx + rdx*2]
cmp rbp, rcx
setne al
add rax, rdx
movabs rdx, 0x3fffffffffffffff
cmp rax, rdx
jbe 0x14001f672
mov qword [rsi], 0xffffffffffffffff
jmp 0x14001f7c0
lea rax, [rax*4 + 1]
cmp r8, rax
jb 0x14001f7bd
test r13, r13
je 0x14001f7bd
mov qword [rsp + 0x20], r12
mov qword [rsp + 0x28], r14
mov r11, r13
lea r14, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
mov r12, rbx
test rcx, rcx
je 0x14001f72d
dec rcx
mov rax, r9
mul rcx
shr rdx, 1
inc rdx
lea r12, [rdx + rdx*2]
nop
movzx r8d, byte [rdi]
movzx r9d, byte [rdi + 1]
movzx r10d, byte [rdi + 2]
mov eax, r8d
add r8d, r8d
add r11, 4
sar rax, 2
add rdi, 3
and eax, 0x3f
movzx eax, byte [rax + r14]
mov byte [r11 - 4], al
mov eax, r9d
sar eax, 4
lea ecx, [rax + r8*8]
and ecx, 0x3f
movzx eax, byte [rcx + r14]
mov byte [r11 - 3], al
mov eax, r10d
sar eax, 6
lea ecx, [rax + r9*4]
and ecx, 0x3f
movzx eax, byte [rcx + r14]
mov byte [r11 - 2], al
mov eax, r10d
and eax, 0x3f
sub rdx, 1
movzx eax, byte [rax + r14]
mov byte [r11 - 1], al
jne 0x14001f6c0
cmp r12, rbp
jae 0x14001f795
movzx edx, byte [rdi]
inc r12
cmp r12, rbp
jae 0x14001f741
movzx ebx, byte [rdi + 1]
mov eax, edx
add edx, edx
sar rax, 2
and eax, 0x3f
movzx eax, byte [rax + r14]
mov byte [r11], al
mov eax, ebx
sar eax, 4
lea ecx, [rax + rdx*8]
and ecx, 0x3f
movzx eax, byte [rcx + r14]
mov byte [r11 + 1], al
cmp r12, rbp
jae 0x14001f785
and ebx, 0xf
shl ebx, 2
add r11, 3
movsxd rax, ebx
movzx eax, byte [rax + r14]
mov byte [r11 - 1], al
jmp 0x14001f78e
mov byte [r11 + 2], 0x3d
add r11, 3
mov byte [r11], 0x3d
inc r11
mov r14, qword [rsp + 0x28]
mov r12, qword [rsp + 0x20]
mov rax, r11
sub rax, r13
mov qword [rsi], rax
mov byte [r11], 0
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
pop r13
pop rdi
pop rsi
ret
mov qword [rsi], rax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov eax, 0xffffffd6
pop r13
pop rdi
pop rsi
ret
Function at 0x14001f7e0
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
mov r11, qword [rsp + 0x30]
mov rsi, r8
xor ebx, ebx
xor r8d, r8d
xor r10d, r10d
mov rdi, rdx
mov rbp, rcx
test r11, r11
je 0x14001f991
lea r12, [0x1400a5cb0]
nop dword [rax]
xor edx, edx
cmp r10, r11
jae 0x14001f83b
cmp byte [r10 + r9], 0x20
jne 0x14001f838
inc r10
inc edx
cmp r10, r11
jb 0x14001f827
cmp r10, r11
je 0x14001f8b0
mov rax, r11
sub rax, r10
cmp rax, 2
jb 0x14001f858
cmp byte [r10 + r9], 0xd
jne 0x14001f858
cmp byte [r10 + r9 + 1], 0xa
je 0x14001f8a4
movzx eax, byte [r10 + r9]
cmp al, 0xa
je 0x14001f8a4
test edx, edx
jne 0x14001f980
cmp al, 0x3d
jne 0x14001f87a
inc r8d
cmp r8d, 2
ja 0x14001f980
cmp al, 0x7f
ja 0x14001f980
movzx eax, al
movzx ecx, byte [rax + r12]
cmp cl, 0x7f
je 0x14001f980
cmp cl, 0x40
jae 0x14001f8a1
test r8d, r8d
jne 0x14001f980
inc rbx
inc r10
cmp r10, r11
jb 0x14001f820
test rbx, rbx
je 0x14001f991
mov rax, rbx
shr rbx, 3
and eax, 7
lea rax, [rax + rax*2]
lea rcx, [rax + rax + 7]
lea rax, [rbx + rbx*2]
shr rcx, 3
lea rdx, [rcx + rax*2]
mov eax, r8d
sub rdx, rax
test rbp, rbp
je 0x14001f987
cmp rdi, rdx
jb 0x14001f987
xor r11d, r11d
xor ebx, ebx
mov r8d, 3
mov rdx, rbp
test r10, r10
je 0x14001f978
movzx eax, byte [r9]
cmp al, 0xd
je 0x14001f96f
cmp al, 0xa
je 0x14001f96f
cmp al, 0x20
je 0x14001f96f
movzx eax, al
movzx ecx, byte [rax + r12]
xor eax, eax
cmp cl, 0x40
sete al
and ecx, 0x3f
inc rbx
sub r8d, eax
mov eax, r11d
mov r11d, ecx
shl eax, 6
or r11d, eax
cmp rbx, 4
jne 0x14001f96f
xor ebx, ebx
test r8d, r8d
je 0x14001f951
mov eax, r11d
shr eax, 0x10
inc rdx
mov byte [rdx - 1], al
cmp r8d, 1
jbe 0x14001f963
mov eax, r11d
shr eax, 8
inc rdx
mov byte [rdx - 1], al
cmp r8d, 2
jbe 0x14001f96f
mov byte [rdx], r11b
inc rdx
inc r9
sub r10, 1
jne 0x14001f903
sub rdx, rbp
mov qword [rsi], rdx
jmp 0x14001f998
mov eax, 0xffffffd4
jmp 0x14001f99a
mov qword [rsi], rdx
mov eax, 0xffffffd6
jmp 0x14001f99a
mov qword [rsi], 0
xor eax, eax
mov rbx, qword [rsp + 0x10]
mov rbp, qword [rsp + 0x18]
mov rsi, qword [rsp + 0x20]
mov rdi, qword [rsp + 0x28]
pop r12
ret
Function at 0x14001f9c0
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1400b6f80]
xor rax, rsp
mov qword [rsp + 0x38], rax
xor eax, eax
xor edi, edi
mov rbx, rcx
mov qword [r11 - 0x28], rdi
mov qword [r11 - 0x20], rax
mov qword [r11 - 0x18], rax
test rcx, rcx
je 0x14001fb9e
lea r9, [r11 - 0x28]
lea r8, [r11 - 0x20]
lea rdx, [r11 - 0x20]
call fcn.140020790
test eax, eax
jne 0x14001fba3
movzx eax, byte [rsp + 0x29]
movzx r8d, byte [rsp + 0x28]
movzx edx, byte [rsp + 0x30]
movzx ecx, byte [rsp + 0x2c]
shl r8d, 8
shl edx, 8
or r8d, eax
movzx eax, byte [rsp + 0x2a]
shl ecx, 8
shl r8d, 8
mov qword [rsp + 0x58], rsi
mov qword [rbx + 0xd8], rdi
or r8d, eax
movzx eax, byte [rsp + 0x2b]
mov qword [rbx + 0x58], rdi
shl r8d, 8
lea r9d, [rdi + 4]
or r8, rax
movzx eax, byte [rsp + 0x2d]
or ecx, eax
movzx eax, byte [rsp + 0x2e]
shl r8, 0x20
shl ecx, 8
or eax, ecx
movzx ecx, byte [rsp + 0x34]
shl eax, 8
shl ecx, 8
or r8, rax
movzx eax, byte [rsp + 0x2f]
or r8, rax
movzx eax, byte [rsp + 0x31]
or edx, eax
movzx eax, byte [rsp + 0x32]
mov qword [rbx + 0x118], r8
shl edx, 8
or edx, eax
movzx eax, byte [rsp + 0x33]
shl edx, 8
or rdx, rax
movzx eax, byte [rsp + 0x35]
or ecx, eax
movzx eax, byte [rsp + 0x36]
shl rdx, 0x20
shl ecx, 8
or eax, ecx
shl eax, 8
or rdx, rax
movzx eax, byte [rsp + 0x37]
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 0x14001fae0
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 0x14001fb88
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, rdi
xor rax, qword [rdx - 8]
sub r8, 1
mov qword [rcx - 8], rax
jne 0x14001fb60
lea eax, [rsi + rsi]
add r10, r10
cmp eax, 8
mov esi, eax
jle 0x14001fb30
mov rsi, qword [rsp + 0x58]
xor eax, eax
jmp 0x14001fba3
mov eax, 0xffff9f00
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14006d1b0
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x14001fe70
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
push rbp
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x1400b6f80]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov r12, qword [rsp + 0xa8]
xor r15d, r15d
movabs rax, 0xe000000000000000
mov rbp, r8
mov r14, rcx
mov r13d, reloc.WS2_32.dll_recv
mov qword [r11 - 0x58], r15
test rax, r12
jne 0x140020081
xor eax, eax
mov qword [r11 + 0x10], rbx
mov qword [r11 - 0x30], rsi
mov qword [rcx + 0x178], rax
mov qword [rcx + 0x180], rax
mov qword [rcx + 0x188], rax
mov qword [r11 - 0x50], rax
mov qword [r11 - 0x48], rax
mov qword [rcx + 0x190], rax
mov dword [rcx + 0x198], r15d
mov qword [rcx + 0x158], r15
mov qword [rcx + 0x160], r15
mov qword [r11 - 0x38], rdi
mov byte [rsp + 0x34], al
mov byte [rsp + 0x35], al
mov byte [rsp + 0x36], al
mov byte [rsp + 0x37], 0x80
nop word [rax + rax]
mov esi, reloc.WS2_32.dll_recv
mov rcx, r15
cmp r13, rsi
cmovb rsi, r13
test rsi, rsi
je 0x14001ff54
nop word [rax + rax]
movzx eax, byte [rcx + rbp]
inc rcx
xor byte [r14 + rcx + 0x177], al
cmp rcx, rsi
jb 0x14001ff40
lea r8, [r14 + 0x178]
lea rdx, [r14 + 0x178]
mov rcx, r14
call fcn.14001fcd0
add rbp, rsi
sub r13, rsi
jne 0x14001ff20
mov rcx, r15
movzx eax, byte [rsp + rcx + 0x28]
add rcx, 4
xor byte [r14 + rcx + 0x174], al
movzx eax, byte [rsp + rcx + 0x25]
xor byte [r14 + rcx + 0x175], al
movzx eax, byte [rsp + rcx + 0x26]
xor byte [r14 + rcx + 0x176], al
movzx eax, byte [rsp + rcx + 0x27]
xor byte [r14 + rcx + 0x177], al
cmp rcx, 0x10
jb 0x14001ff75
lea r8, [r14 + 0x178]
lea rdx, [r14 + 0x178]
mov rcx, r14
call fcn.14001fcd0
lea r8, [r14 + 0x168]
lea r9, [rsp + 0x20]
lea rdx, [r14 + 0x178]
mov rcx, r14
call fcn.140020790
test eax, eax
jne 0x140020054
mov rsi, qword [rsp + 0xa0]
mov qword [r14 + 0x160], r12
test r12, r12
je 0x140020052
nop dword [rax]
mov ebx, reloc.WS2_32.dll_recv
mov rcx, r15
cmp r12, rbx
cmovb rbx, r12
test rbx, rbx
je 0x140020034
nop word [rax + rax]
movzx eax, byte [rcx + rsi]
inc rcx
xor byte [r14 + rcx + 0x187], al
cmp rcx, rbx
jb 0x140020020
lea r8, [r14 + 0x188]
lea rdx, [r14 + 0x188]
mov rcx, r14
call fcn.14001fcd0
add rsi, rbx
sub r12, rbx
jne 0x140020000
xor eax, eax
mov rsi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x88]
mov rdi, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14006d1b0
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov eax, 0xffffffec
jmp 0x140020066
Function at 0x140020550
Capabilities:
Encode data using xor

Disassembly:
push rdi
sub rsp, 0x40
mov rax, qword [0x1400b6f80]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rax, qword [rcx + 0x168]
mov r9, qword [rcx + 0x158]
mov r8, qword [rcx + 0x160]
mov qword [rdx], rax
mov rax, qword [rcx + 0x170]
shl r9, 3
shl r8, 3
mov rdi, rdx
mov qword [rdx + 8], rax
test r9, r9
jne 0x1400205a1
test r8, r8
je 0x1400206e3
xor eax, eax
mov qword [rsp + 0x60], rbx
lea rbx, [rcx + 0x189]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rax
mov rax, r8
shr rax, 0x38
mov byte [rsp + 0x27], r8b
mov byte [rsp + 0x2f], r9b
mov byte [rsp + 0x20], al
mov rax, r8
shr rax, 0x30
mov byte [rsp + 0x21], al
mov rax, r8
shr rax, 0x28
mov byte [rsp + 0x22], al
mov rax, r8
shr rax, 0x20
mov byte [rsp + 0x23], al
mov rax, r8
shr rax, 0x18
mov byte [rsp + 0x24], al
mov rax, r8
shr rax, 0x10
mov byte [rsp + 0x25], al
mov rax, r8
shr rax, 8
mov byte [rsp + 0x26], al
mov rax, r9
shr rax, 0x38
mov byte [rsp + 0x28], al
mov rax, r9
shr rax, 0x30
mov byte [rsp + 0x29], al
mov rax, r9
shr rax, 0x28
mov byte [rsp + 0x2a], al
mov rax, r9
shr rax, 0x20
mov byte [rsp + 0x2b], al
mov rax, r9
shr rax, 0x18
mov byte [rsp + 0x2c], al
mov rax, r9
shr rax, 0x10
mov byte [rsp + 0x2d], al
mov rax, r9
shr rax, 8
xor edx, edx
mov byte [rsp + 0x2e], al
nop
movzx eax, byte [rsp + rdx + 0x20]
add rdx, 4
xor byte [rbx + rdx - 5], al
movzx eax, byte [rsp + rdx + 0x1d]
xor byte [rbx + rdx - 4], al
movzx eax, byte [rsp + rdx + 0x1e]
xor byte [rbx + rdx - 3], al
movzx eax, byte [rsp + rdx + 0x1f]
xor byte [rbx + rdx - 2], al
cmp rdx, 0x10
jb 0x140020660
lea rdx, [rcx + 0x188]
mov r8, rdx
call fcn.14001fcd0
lea r11, [rdi + 1]
mov ecx, 4
nop word [rax + rax]
movzx eax, byte [rbx - 1]
add r11, 4
add rbx, 4
xor byte [r11 - 5], al
movzx eax, byte [rbx - 4]
xor byte [r11 - 4], al
movzx eax, byte [rbx - 3]
xor byte [r11 - 3], al
movzx eax, byte [rbx - 2]
xor byte [r11 - 2], al
sub rcx, 1
jne 0x1400206b0
mov rbx, qword [rsp + 0x60]
xor eax, eax
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14006d1b0
add rsp, 0x40
pop rdi
ret
Function at 0x140021030
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 0x1400210b6
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