joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000acbc
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x14000acec
xor eax, eax
jmp 0x14000adaf
mov rbp, rbx
cmp word [rax], si
je 0x14000ad11
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14000acf8
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14000acf4
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.14000abdc
movsxd r14, eax
test eax, eax
jne 0x14000ad4f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14000ace5
mov rcx, r14
call fcn.14000bb98
mov rdi, rax
test rax, rax
jne 0x14000ad68
xor ecx, ecx
call fcn.14000923c
jmp 0x14000ad44
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.14000abdc
test eax, eax
jne 0x14000ad99
mov rcx, rdi
call fcn.14000923c
jmp 0x14000ada3
xor ecx, ecx
call fcn.14000923c
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x14000e2a0
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.140009cac
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14000e32a
cmp byte [rbp - 0x21], r15b
je 0x14000e325
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x14000e360
call fcn.14000c3a8
test eax, eax
jne 0x14000e34c
cmp byte [rbp - 0x21], r15b
je 0x14000e344
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14000e360
cmp byte [rbp - 0x21], r15b
je 0x14000e35d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.14000928c
test eax, eax
jne 0x14000e400
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.140009cac
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14000e39f
cmp byte [rbp - 0x21], r15b
je 0x14000e3d4
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14000e3d4
call fcn.14000c3a8
test eax, eax
jne 0x14000e3c0
cmp byte [rbp - 0x21], r15b
je 0x14000e3b9
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x14000e3d4
cmp byte [rbp - 0x21], r15b
je 0x14000e3d1
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.14000928c
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14000e400
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14000e403
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14000e411
mov rcx, rdi
call fcn.14000923c
cmp byte [rbp + 0x3f], r15b
je 0x14000e420
mov rcx, qword [rbp + 0x27]
call fcn.14000923c
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x140011250
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140011278
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140011278
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x1400a4b10
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov eax, dword [rsp + 0x40]
not eax
mov dword [rsp], eax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 8], rax
lea rax, [0x1402ca090]
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x10], rax
mov rax, qword [rsp + 0x38]
dec rax
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x10], 0
je 0x1400a4b9e
mov eax, dword [rsp]
shr eax, 8
mov ecx, dword [rsp]
and ecx, 0xff
mov rdx, qword [rsp + 8]
movzx edx, byte [rdx]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rsp + 0x18]
xor eax, dword [rdx + rcx*4]
mov dword [rsp + 4], eax
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
mov eax, dword [rsp + 4]
mov dword [rsp], eax
jmp 0x1400a4b42
mov eax, dword [rsp]
not eax
add rsp, 0x28
ret

Function at 0x1400a4bb0
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov eax, dword [rsp + 0x40]
not eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x40]
mov dword [rsp + 4], eax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 8], rax
lea rax, [0x1402ca090]
mov qword [rsp + 0x10], rax
cmp qword [rsp + 0x38], 0
je 0x1400a4cb4
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x38]
dec rax
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x18], 0
je 0x1400a4caf
mov rax, qword [rsp + 8]
movzx eax, byte [rax]
mov byte [rsp + 2], al
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
movzx eax, byte [rsp + 2]
mov byte [rsp + 1], al
movzx eax, byte [rsp + 1]
cmp eax, 0x23
jne 0x1400a4c84
cmp qword [rsp + 0x38], 2
jb 0x1400a4c84
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x1400a4c84
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x1400a4c84
mov eax, dword [rsp + 0x40]
mov dword [rsp + 4], eax
mov eax, dword [rsp + 4]
shr eax, 8
mov ecx, dword [rsp + 4]
and ecx, 0xff
movzx edx, byte [rsp + 1]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rsp + 0x10]
xor eax, dword [rdx + rcx*4]
mov dword [rsp + 4], eax
jmp 0x1400a4bf7
jmp 0x1400a4d46
mov rax, qword [rsp + 8]
movzx eax, byte [rax]
mov byte [rsp + 3], al
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
movzx eax, byte [rsp + 3]
mov byte [rsp], al
movzx eax, byte [rsp]
test eax, eax
je 0x1400a4d46
movzx eax, byte [rsp]
cmp eax, 0x23
jne 0x1400a4d1c
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x1400a4d1c
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x1400a4d1c
mov eax, dword [rsp + 0x40]
mov dword [rsp + 4], eax
mov eax, dword [rsp + 4]
shr eax, 8
mov ecx, dword [rsp + 4]
and ecx, 0xff
movzx edx, byte [rsp]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rsp + 0x10]
xor eax, dword [rdx + rcx*4]
mov dword [rsp + 4], eax
jmp 0x1400a4cb4
mov eax, dword [rsp + 4]
not eax
add rsp, 0x28
ret
Function at 0x1400a4fc0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov r9, qword [rsp + 0x48]
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
call fcn.140151f58
add rsp, 0x28
ret
Function at 0x1400f57d0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [0x1402f1100]
xor rax, rsp
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x90], 0
jg 0x1400f5804
xor eax, eax
jmp 0x1400f59fb
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0x68], 0
je 0x1400f5835
mov r8, qword [rsp + 0x90]
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
call fcn.1400f6b80
jmp 0x1400f59fb
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x80]
call fcn.1400f7a40
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jbe 0x1400f58e4
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x50]
call fcn.14000f570
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x80]
call fcn.1400f7c60
mov r8, qword [rsp + 0x20]
mov rdx, rax
mov rcx, qword [rsp + 0x88]
call fcn.14000b730
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x88]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov edx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x80]
call fcn.1400f7bc0
nop
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0x80], 0
je 0x1400f59eb
mov rcx, qword [rsp + 0x80]
call fcn.1400f73b0
mov qword [rsp + 0x48], 0xfff
cmp qword [rsp + 0x50], 0xfff
jbe 0x1400f5999
mov rax, qword [rsp + 0x80]
mov r9, qword [rax + 0x80]
mov r8d, 0xfff
mov edx, 1
mov rcx, qword [rsp + 0x88]
call fcn.140151f58
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x88]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x28], 0xfff
je 0x1400f5994
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
sub rcx, rax
mov rax, rcx
jmp 0x1400f59fb
jmp 0x1400f5910
cmp qword [rsp + 0x50], 0
jbe 0x1400f59eb
mov rax, qword [rsp + 0x80]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x50]
mov edx, 1
mov rcx, qword [rsp + 0x88]
call fcn.140151f58
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
sub rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140143260
add rsp, 0x78
ret
Function at 0x1400ff4c0
Capabilities:
Hash data using sha1
Hash data using sha256
Hash data using sha384
Hash data using sha512

Disassembly:
push rdi
sub rsp, 0x20
mov rdi, rcx
test rcx, rcx
je 0x1400ff764
mov eax, 0xffe9
mov dword [rcx + 0x41d], 0
and word [rcx + 0x416], ax
mov eax, 0xfffc
and word [rcx + 0x414], ax
xor eax, eax
mov word [rcx + 0x422], 0
mov byte [rcx + 0x40c], 0
mov dword [rcx + 0x2dc], eax
mov rcx, qword [rcx + 0x18]
test rcx, rcx
je 0x1400ff733
add rcx, 0x1d0
je 0x1400ff764
mov rax, qword [rdi + 0x48]
xor edx, edx
mov qword [rcx + 0x60], rax
mov qword [rcx], rdx
mov dword [rcx + 8], edx
mov dword [rcx + 0x4c], 0x67452301
mov dword [rcx + 0x50], 0xefcdab89
mov dword [rcx + 0x54], 0x98badcfe
mov dword [rcx + 0x58], 0x10325476
mov rcx, qword [rdi + 0x18]
add rcx, 0x168
je 0x1400ff764
mov rax, qword [rdi + 0x48]
mov qword [rcx + 0x60], rax
mov dword [rcx + 0x4c], 0x67452301
mov dword [rcx + 0x50], 0xefcdab89
mov dword [rcx + 0x54], 0x98badcfe
mov dword [rcx + 0x58], 0x10325476
mov dword [rcx + 0x5c], 0xc3d2e1f0
mov qword [rcx], rdx
mov dword [rcx + 8], edx
mov rcx, qword [rdi + 0x18]
add rcx, 0x238
je 0x1400ff764
mov rax, qword [rdi + 0x48]
xorps xmm0, xmm0
mov qword [rcx + 0x70], rax
movups xmmword [rcx], xmm0
movups xmmword [rcx + 0x10], xmm0
mov dword [rcx], 0x6a09e667
mov dword [rcx + 4], 0xbb67ae85
mov dword [rcx + 8], 0x3c6ef372
mov dword [rcx + 0xc], 0xa54ff53a
mov dword [rcx + 0x10], 0x510e527f
mov dword [rcx + 0x14], 0x9b05688c
mov dword [rcx + 0x18], 0x1f83d9ab
mov dword [rcx + 0x1c], 0x5be0cd19
mov qword [rcx + 0x60], rdx
mov dword [rcx + 0x68], edx
mov rcx, qword [rdi + 0x18]
add rcx, 0x2b0
je 0x1400ff764
mov rax, qword [rdi + 0x48]
mov qword [rcx + 0xd8], rax
movabs rax, 0xcbbb9d5dc1059ed8
mov qword [rcx], rax
movabs rax, 0x629a292a367cd507
mov qword [rcx + 8], rax
movabs rax, 0x9159015a3070dd17
mov qword [rcx + 0x10], rax
movabs rax, 0x152fecd8f70e5939
mov qword [rcx + 0x18], rax
movabs rax, 0x67332667ffc00b31
mov qword [rcx + 0x20], rax
movabs rax, 0x8eb44a8768581511
mov qword [rcx + 0x28], rax
movabs rax, 0xdb0c2e0d64f98fa7
mov qword [rcx + 0x30], rax
movabs rax, 0x47b5481dbefa4fa4
mov qword [rcx + 0x38], rax
mov dword [rcx + 0xc0], edx
mov qword [rcx + 0xc8], rdx
mov qword [rcx + 0xd0], rdx
mov rcx, qword [rdi + 0x18]
add rcx, 0x390
je 0x1400ff764
mov rax, qword [rdi + 0x48]
mov qword [rcx + 0xd8], rax
movabs rax, 0x6a09e667f3bcc908
mov qword [rcx], rax
movabs rax, 0xbb67ae8584caa73b
mov qword [rcx + 8], rax
movabs rax, 0x3c6ef372fe94f82b
mov qword [rcx + 0x10], rax
movabs rax, 0xa54ff53a5f1d36f1
mov qword [rcx + 0x18], rax
movabs rax, 0x510e527fade682d1
mov qword [rcx + 0x20], rax
movabs rax, 0x9b05688c2b3e6c1f
mov qword [rcx + 0x28], rax
movabs rax, 0x1f83d9abfb41bd6b
mov qword [rcx + 0x30], rax
movabs rax, 0x5be0cd19137e2179
mov qword [rcx + 0x38], rax
mov dword [rcx + 0xc0], edx
mov qword [rcx + 0xc8], rdx
mov qword [rcx + 0xd0], rdx
lea rcx, [rdi + 0x4e0]
mov qword [rsp + 0x30], rbx
call fcn.140103620
mov r8, qword [rdi + 0x48]
lea rcx, [rdi + 0x4e0]
call fcn.1401034d0
mov rbx, qword [rsp + 0x30]
mov eax, 1
add rsp, 0x20
pop rdi
ret
xor eax, eax
add rsp, 0x20
pop rdi
ret
Function at 0x140101b80
Capabilities:
Check for software breakpoints

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
sub rsp, 0x40
mov rax, qword [0x1402f1100]
xor rax, rsp
mov qword [rsp + 0x30], rax
xor r9d, r9d
mov rsi, r8
mov word [rsp + 0x20], r9w
mov rbx, rcx
mov qword [rsp + 0x28], r9
movzx r10d, r9w
test rcx, rcx
je 0x140101bca
movzx eax, byte [rcx + 0x2e0]
cmp al, 3
jne 0x140101be4
cmp byte [rcx + 0x2e1], 1
jae 0x140101be8
xor eax, eax
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140143260
mov rbx, qword [rsp + 0x68]
add rsp, 0x40
pop rsi
ret
cmp al, 0xfe
jne 0x140101bca
mov qword [rsp + 0x58], rdi
movzx ecx, r9w
mov rdi, qword [rbx + 8]
movzx r8d, word [rdi]
cmp r9w, r8w
jae 0x140101c2d
nop
movzx eax, cx
movzx edx, byte [rax + rdi + 4]
cmp dl, 0x13
je 0x140101d59
cmp dl, 0xc0
je 0x140101d4a
cmp dl, 0xcc
je 0x140101d4a
add cx, 2
cmp cx, r8w
jb 0x140101c00
movzx r11d, byte [rsp + 0x29]
movzx ecx, r9w
bts r11d, 2
mov byte [rsp + 0x29], r11b
cmp r9w, r8w
jae 0x140101c71
nop word [rax + rax]
movzx eax, cx
movzx edx, byte [rax + rdi + 4]
cmp dl, 0x13
je 0x140101c81
cmp dl, 0xc0
je 0x140101c81
cmp dl, 0xcc
je 0x140101c81
add cx, 2
cmp cx, r8w
jb 0x140101c50
movzx eax, r11b
bts eax, 3
movzx r11d, al
mov byte [rsp + 0x29], al
cmp word [rdi + 2], r9w
mov rdi, qword [rsp + 0x58]
jne 0x140101c99
movzx eax, r11b
bts eax, 5
mov byte [rsp + 0x29], al
mov rcx, qword [rbx + 0x1aa0]
test rcx, rcx
je 0x140101cc8
lea r9, [rsp + 0x20]
mov r8b, 1
lea rdx, [rsp + 0x28]
call fcn.140101480
mov r9d, eax
test eax, eax
jne 0x140101bcc
movzx r10d, word [rsp + 0x20]
mov rax, qword [rbx]
test rax, rax
je 0x140101cff
mov rcx, qword [rax + 0x180]
test rcx, rcx
je 0x140101cff
lea r9, [rsp + 0x20]
mov r8b, 1
lea rdx, [rsp + 0x28]
call fcn.140101480
mov r9d, eax
test eax, eax
jne 0x140101bcc
movzx r10d, word [rsp + 0x20]
mov eax, 0x200
test word [rbx + 0x418], ax
je 0x140101d33
movzx eax, word [rbx + 0x2e0]
cmp al, 3
jne 0x140101d2e
shr ax, 8
cmp al, 4
jb 0x140101d2e
mov eax, 0x400
test word [rbx + 0x414], ax
je 0x140101d33
add r10w, 4
test r10w, r10w
je 0x140101d3e
add r10w, 2
add word [rsi], r10w
mov eax, r9d
jmp 0x140101bcc
movzx r11d, byte [rsp + 0x29]
movzx ecx, r9w
jmp 0x140101c50
movzx r11d, byte [rsp + 0x29]
mov ecx, r9d
jmp 0x140101c50
Function at 0x140101d70
Capabilities:
Check for software breakpoints

Disassembly:
push rbx
push rbp
push rsi
sub rsp, 0x50
mov rax, qword [0x1402f1100]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor r10d, r10d
mov rbp, r9
mov qword [rsp + 0x38], r10
mov rsi, rdx
mov rbx, rcx
test rcx, rcx
je 0x140101db1
movzx eax, byte [rcx + 0x2e0]
cmp al, 3
jne 0x140101dc8
cmp byte [rcx + 0x2e1], 1
jae 0x140101dcc
xor eax, eax
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140143260
add rsp, 0x50
pop rsi
pop rbp
pop rbx
ret
cmp al, 0xfe
jne 0x140101db1
test rsi, rsi
je 0x140101db1
mov qword [rsp + 0x80], rdi
mov r9d, 2
mov rdi, qword [rbx + 8]
movzx ecx, r10w
mov word [rsp + 0x30], r9w
movzx r8d, word [rdi]
cmp r10w, r8w
jae 0x140101e2d
nop word [rax + rax]
movzx eax, cx
movzx edx, byte [rax + rdi + 4]
cmp dl, 0x13
je 0x140101f96
cmp dl, 0xc0
je 0x140101f87
cmp dl, 0xcc
je 0x140101f87
add cx, r9w
cmp cx, r8w
jb 0x140101e00
movzx r11d, byte [rsp + 0x39]
movzx ecx, r10w
bts r11d, 2
mov byte [rsp + 0x39], r11b
cmp r10w, r8w
jae 0x140101e71
nop word [rax + rax]
movzx eax, cx
movzx edx, byte [rax + rdi + 4]
cmp dl, 0x13
je 0x140101e81
cmp dl, 0xc0
je 0x140101e81
cmp dl, 0xcc
je 0x140101e81
add cx, r9w
cmp cx, r8w
jb 0x140101e50
movzx eax, r11b
bts eax, 3
movzx r11d, al
mov byte [rsp + 0x39], al
cmp word [rdi + 2], r10w
mov rdi, qword [rsp + 0x80]
jne 0x140101e9c
movzx eax, r11b
bts eax, 5
mov byte [rsp + 0x39], al
mov rcx, qword [rbx + 0x1aa0]
test rcx, rcx
je 0x140101ed4
lea rax, [rsp + 0x30]
mov r9b, 1
lea rdx, [rsi + 2]
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x38]
call fcn.140101680
mov r10d, eax
test eax, eax
jne 0x140101db3
movzx r9d, word [rsp + 0x30]
mov rax, qword [rbx]
test rax, rax
je 0x140101f17
mov rcx, qword [rax + 0x180]
test rcx, rcx
je 0x140101f17
movzx edx, r9w
lea rax, [rsp + 0x30]
add rdx, rsi
mov qword [rsp + 0x20], rax
mov r9b, 1
lea r8, [rsp + 0x38]
call fcn.140101680
mov r10d, eax
test eax, eax
jne 0x140101db3
movzx r9d, word [rsp + 0x30]
mov eax, 0x200
test word [rbx + 0x418], ax
je 0x140101f63
movzx eax, word [rbx + 0x2e0]
cmp al, 3
jne 0x140101f46
shr ax, 8
cmp al, 4
jb 0x140101f46
mov eax, 0x400
test word [rbx + 0x414], ax
je 0x140101f63
movzx eax, r9w
add r9w, 2
movzx ecx, r9w
mov word [rax + rsi], 0x1700
mov word [rcx + rsi], 0
lea r9d, [rcx + 2]
cmp r9w, 2
jbe 0x140101f7a
lea ecx, [r9 - 2]
movzx eax, cx
mov byte [rsi + 1], cl
shr ax, 8
mov byte [rsi], al
add word [rbp], r9w
mov eax, r10d
jmp 0x140101db3
movzx r11d, byte [rsp + 0x39]
movzx ecx, r10w
jmp 0x140101e50
movzx r11d, byte [rsp + 0x39]
mov ecx, r10d
jmp 0x140101e50
Function at 0x1401024c0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 8
xor eax, eax
mov r10, rcx
mov ecx, eax
test r8d, r8d
jle 0x14010258f
cmp r8d, 8
jb 0x14010258f
mov qword [rsp + 0x10], rbx
mov r11, r10
movsxd r9, r8d
sub r11, rdx
and r9, 0xfffffffffffffff8
mov qword [rsp], rdi
mov rbx, 0xfffffffffffffffc
lea rdi, [rdx + 4]
sub rbx, rdx
xorps xmm4, xmm4
xorps xmm3, xmm3
nop dword [rax + rax]
movd xmm2, dword [r11 + rdi - 4]
xorps xmm0, xmm0
movd xmm1, dword [rdi - 4]
lea rdi, [rdi + 8]
punpcklbw xmm2, xmm0
lea rax, [rbx + rdi]
punpcklwd xmm2, xmm0
add ecx, 8
punpcklbw xmm1, xmm0
punpcklwd xmm1, xmm0
xorps xmm2, xmm1
movd xmm1, dword [rdi - 8]
punpcklbw xmm1, xmm0
orps xmm4, xmm2
movd xmm2, dword [r11 + rdi - 8]
punpcklbw xmm2, xmm0
punpcklwd xmm2, xmm0
punpcklwd xmm1, xmm0
xorps xmm2, xmm1
orps xmm3, xmm2
cmp rax, r9
jl 0x140102510
mov rdi, qword [rsp]
orps xmm3, xmm4
mov rbx, qword [rsp + 0x10]
movdqa xmm0, xmm3
psrldq xmm0, 8
orps xmm3, xmm0
movdqa xmm0, xmm3
psrldq xmm0, 4
orps xmm3, xmm0
movd eax, xmm3
movsxd r11, ecx
movsxd r9, r8d
cmp r11, r9
jge 0x1401025c8
sub r10, rdx
lea rcx, [r11 + rdx]
sub r9, r11
nop dword [rax]
nop dword [rax + rax]
movzx r8d, byte [rcx + r10]
movzx edx, byte [rcx]
lea rcx, [rcx + 1]
xor r8d, edx
or eax, r8d
sub r9, 1
jne 0x1401025b0
add rsp, 8
ret
Function at 0x140105890
Capabilities:
Hash data using sha1

Disassembly:
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 0x38]
sub rsp, 0x138
mov rax, qword [0x1402f1100]
xor rax, rsp
mov qword [rbp + 0x28], rax
xor eax, eax
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
test rcx, rcx
je 0x140105b0a
mov qword [rsp + 0x130], r15
mov r15d, 0x2000
test word [rcx + 0x414], r15w
je 0x140105994
lea r8, [rsp + 0x60]
mov dword [rsp + 0x60], 0x30
lea rdx, [rsp + 0x68]
call fcn.1400ffab0
test eax, eax
jne 0x140105994
mov r8d, 4
lea rdx, [0x1402d0fd0]
mov rcx, rsi
call fcn.140155ae0
test eax, eax
lea rcx, str.server_finished
lea r9, str.client_finished
cmovne r9, rcx
cmp byte [rbx + 0x2e0], 3
jne 0x140105940
cmp byte [rbx + 0x2e1], 3
jb 0x140105940
mov edx, 1
jmp 0x140105942
xor edx, edx
mov rax, qword [rbx + 0x48]
movzx ecx, byte [rbx + 0x2ee]
mov r8, qword [rbx + 0x10]
mov qword [rsp + 0x50], rax
add r8, 0x7d
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x48], ecx
mov rcx, rdi
mov dword [rsp + 0x40], edx
mov edx, recv
mov dword [rsp + 0x38], eax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], recv
mov qword [rsp + 0x20], r9
mov r9d, 0x30
call fcn.140124b40
test word [rbx + 0x414], r15w
mov r15, qword [rsp + 0x130]
jne 0x140105b0f
mov r8, rsi
mov rdx, rdi
mov rcx, rbx
call fcn.140105340
test eax, eax
jne 0x140105b0f
mov rax, qword [rbx + 0x18]
add rax, 0x168
je 0x140105b0a
movups xmm0, xmmword [rax]
mov r8d, 4
lea rcx, [rbp - 0x60]
mov rdx, rsi
movaps xmmword [rbp - 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movaps xmmword [rbp - 0x50], xmm1
movups xmm0, xmmword [rax + 0x20]
movaps xmmword [rbp - 0x40], xmm0
movups xmm1, xmmword [rax + 0x30]
movaps xmmword [rbp - 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movaps xmmword [rbp - 0x20], xmm0
movups xmm1, xmmword [rax + 0x50]
movaps xmmword [rbp - 0x10], xmm1
movsd xmm0, qword [rax + 0x60]
movsd qword [rbp], xmm0
call fcn.14012fcb0
test eax, eax
jne 0x140105b0f
mov rdx, qword [rbx + 0x10]
lea rcx, [rbp - 0x60]
add rdx, 0x7d
mov r8d, 0x30
call fcn.14012fcb0
test eax, eax
jne 0x140105b0f
mov r8d, 0x28
lea rdx, str.666666666666666666666666666666666666666666666666U
lea rcx, [rbp - 0x60]
call fcn.14012fcb0
test eax, eax
jne 0x140105b0f
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x60]
call fcn.140130150
test eax, eax
jne 0x140105b0f
mov rdx, qword [rbx + 0x10]
lea rcx, [rbp - 0x60]
mov rax, qword [rbx + 0x48]
add rdx, 0x7d
mov r8d, 0x30
mov qword [rbp], rax
mov dword [rbp - 0x14], 0x67452301
mov dword [rbp - 0x10], 0xefcdab89
mov dword [rbp - 0xc], 0x98badcfe
mov dword [rbp - 8], 0x10325476
mov dword [rbp - 4], 0xc3d2e1f0
mov qword [rbp - 0x60], 0
mov dword [rbp - 0x58], 0
call fcn.14012fcb0
test eax, eax
jne 0x140105b0f
mov r8d, 0x28
lea rdx, str.DOGNGRD
lea rcx, [rbp - 0x60]
call fcn.14012fcb0
test eax, eax
jne 0x140105b0f
mov r8d, 0x14
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x60]
call fcn.14012fcb0
test eax, eax
jne 0x140105b0f
lea rdx, [rdi + 0x10]
lea rcx, [rbp - 0x60]
call fcn.140130150
jmp 0x140105b0f
mov eax, 0xffffff53
mov rcx, qword [rbp + 0x28]
xor rcx, rsp
call fcn.140143260
add rsp, 0x138
pop rdi
pop rsi
pop rbx
pop rbp
ret