Function at 0x1400aaec0
Capabilities:
Hash data using sha1

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x868]
sub rsp, 0x968
mov rax, qword [0x14024fa28]
xor rax, rsp
mov qword [rbp + 0x858], rax
mov rsi, r9
mov r13, r8
mov r12, rdx
lea r14, vtable.CBuffer.0
mov qword [rsp + 0x50], r14
xor ebx, ebx
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x68], rbx
mov qword [rbp - 0x78], r14
mov qword [rbp - 0x68], rbx
mov qword [rbp - 0x70], rbx
mov qword [rbp - 0x58], rbx
mov qword [rbp - 0x60], rbx
test r9, r9
je 0x1400aaf34
mov qword [r9], rbx
test r12, r12
jne 0x1400aaf40
lea edi, [r12 + 8]
jmp 0x1400aaf6d
mov rax, qword [rcx + 0x338]
mov rdx, qword [rcx + 0x340]
cmp rax, rdx
je 0x1400aaf68
mov rcx, qword [rax]
cmp dword [rcx + 8], 0x1000400
je 0x1400aafbb
add rax, 8
cmp rax, rdx
jne 0x1400aaf53
mov edi, select
mov qword [rbp - 0x78], r14
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x1400aaf81
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
mov qword [rsp + 0x50], r14
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x1400aaf96
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, edi
mov rcx, qword [rbp + 0x858]
xor rcx, rsp
call fcn.1401c5190
add rsp, 0x968
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov edi, 8
mov dword [rsp + 0x78], edi
mov dword [rsp + 0x7c], 1
mov eax, dword [rcx + 0x28]
cmp eax, 2
je 0x1400aafe1
mov eax, dword [rcx + 0x28]
cmp eax, 4
je 0x1400aaf68
mov eax, dword [rcx + 0x28]
jmp 0x1400aaf68
lea rax, [rbp - 0x50]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0x810
lea rax, [rbp - 0x40]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rdi
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
mov r9d, 0x1f81f
xor r8d, r8d
xor edx, edx
call fcn.140116e90
test eax, eax
jne 0x1400aaf68
mov rcx, qword [rbp - 0x50]
cmp rcx, 0x10
jb 0x1400aaf68
cmp dword [rbp - 0x40], 0x10
jb 0x1400aaf68
mov eax, dword [rbp - 0x34]
test eax, eax
je 0x1400ab085
cmp rcx, rax
jb 0x1400ab085
lea r8, [rbp - 0x40]
add r8, rax
mov qword [rbp - 0x80], reloc.WS2_32.dll_sendto
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0x840]
call fcn.14008ceb0
test al, al
je 0x1400aaf68
cmp qword [rbp - 0x80], 0x14
jne 0x1400aaf68
lea rax, [rbp + 0x840]
jmp 0x1400ab328
mov eax, dword [rbp - 0x3c]
test eax, eax
je 0x1400aaf68
cmp rcx, rax
jb 0x1400aaf68
mov edx, dword [rbp - 0x38]
test edx, edx
je 0x1400aaf68
cmp rcx, rdx
jb 0x1400aaf68
lea rcx, [rbp - 0x40]
mov rbx, 0xffffffffffffffff
add rcx, rax
je 0x1400ab128
call fcn.1401af170
mov r15, rax
lea rdx, [rax + 1]
lea rcx, [rsp + 0x50]
call fcn.140150160
mov r14, rax
test rax, rax
je 0x1400ab125
mov ecx, dword [rbp - 0x3c]
lea rax, [rbp - 0x40]
add rcx, rax
lea r8, [r15 + 1]
mov rdx, r14
call fcn.1401aefc0
mov rcx, rbx
inc rcx
cmp byte [r14 + rcx], 0
jne 0x1400ab0f4
inc rcx
mov rdx, qword [rsp + 0x70]
mov rax, rdx
sub rax, qword [rsp + 0x58]
add rax, qword [rsp + 0x60]
add rax, rcx
cmp rax, qword [rsp + 0x68]
ja 0x1400ab125
add rdx, rcx
mov qword [rsp + 0x70], rdx
mov edx, dword [rbp - 0x38]
mov eax, edx
lea rcx, [rbp - 0x40]
add rcx, rax
je 0x1400ab197
call fcn.1401af170
mov r15, rax
lea rdx, [rax + 1]
lea rcx, [rbp - 0x78]
call fcn.140150160
mov r14, rax
test rax, rax
je 0x1400ab197
mov ecx, dword [rbp - 0x38]
lea rax, [rbp - 0x40]
add rcx, rax
lea r8, [r15 + 1]
mov rdx, r14
call fcn.1401aefc0
inc rbx
cmp byte [r14 + rbx], 0
jne 0x1400ab166
inc rbx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
sub rax, qword [rbp - 0x70]
mov r8, qword [rbp - 0x68]
add rax, r8
add rax, rbx
cmp rax, qword [rbp - 0x60]
ja 0x1400ab19f
add rcx, rbx
mov qword [rbp - 0x58], rcx
jmp 0x1400ab19f
mov rcx, qword [rbp - 0x58]
mov r8, qword [rbp - 0x68]
xor ebx, ebx
mov edx, ebx
test rcx, rcx
cmovne rdx, r8
lea rcx, [rsp + 0x50]
call fcn.140150270
mov dword [rbp + 0x7d0], 0x67452301
mov dword [rbp + 0x7d4], 0xefcdab89
mov dword [rbp + 0x7d8], 0x98badcfe
mov dword [rbp + 0x7dc], 0x10325476
mov dword [rbp + 0x7e0], 0xc3d2e1f0
mov qword [rbp + 0x7e8], rbx
mov qword [rbp + 0x7f0], rbx
mov rax, qword [rsp + 0x70]
lea r8, [rax - 1]
mov edx, ebx
test rax, rax
cmovne rdx, qword [rsp + 0x60]
lea rcx, [rbp + 0x7d0]
call fcn.140157410
lea rcx, [rbp + 0x7d0]
call fcn.1401574f0
mov ecx, dword [rbp + 0x7d0]
mov eax, ecx
shr eax, 0x18
mov byte [rbp + 0x7f8], al
mov eax, ecx
shr eax, 0x10
mov byte [rbp + 0x7f9], al
shr ecx, 8
mov byte [rbp + 0x7fa], cl
movzx eax, byte [rbp + 0x7d0]
mov byte [rbp + 0x7fb], al
mov ecx, dword [rbp + 0x7d4]
mov eax, ecx
shr eax, 0x18
mov byte [rbp + 0x7fc], al
mov eax, ecx
shr eax, 0x10
mov byte [rbp + 0x7fd], al
shr ecx, 8
mov byte [rbp + 0x7fe], cl
movzx eax, byte [rbp + 0x7d4]
mov byte [rbp + 0x7ff], al
mov ecx, dword [rbp + 0x7d8]
mov eax, ecx
shr eax, 0x18
mov byte [rbp + 0x800], al
mov eax, ecx
shr eax, 0x10
mov byte [rbp + 0x801], al
shr ecx, 8
mov byte [rbp + 0x802], cl
movzx eax, byte [rbp + 0x7d8]
mov byte [rbp + 0x803], al
mov ecx, dword [rbp + 0x7dc]
mov eax, ecx
shr eax, 0x18
mov byte [rbp + 0x804], al
mov eax, ecx
shr eax, 0x10
mov byte [rbp + 0x805], al
shr ecx, 8
mov byte [rbp + 0x806], cl
movzx eax, byte [rbp + 0x7dc]
mov byte [rbp + 0x807], al
mov ecx, dword [rbp + 0x7e0]
mov eax, ecx
shr eax, 0x18
mov byte [rbp + 0x808], al
mov eax, ecx
shr eax, 0x10
mov byte [rbp + 0x809], al
shr ecx, 8
mov byte [rbp + 0x80a], cl
movzx eax, byte [rbp + 0x7e0]
mov byte [rbp + 0x80b], al
lea rax, [rbp + 0x7f8]
lea r14, vtable.CBuffer.0
cmp r13, 0x14
jae 0x1400ab363
cmp r13, 4
jb 0x1400ab352
mov dword [r12], reloc.WS2_32.dll_sendto
test rsi, rsi
je 0x1400ab348
mov qword [rsi], 4
mov edi, 5
jmp 0x1400aaf6d
test rsi, rsi
je 0x1400aaf6d
mov qword [rsi], rbx
jmp 0x1400aaf6d
movups xmm0, xmmword [rax]
movups xmmword [r12], xmm0
mov eax, dword [rax + 0x10]
mov dword [r12 + 0x10], eax
test rsi, rsi
je 0x1400ab37f
mov qword [rsi], reloc.WS2_32.dll_sendto
mov edi, ebx
jmp 0x1400aaf6d