Function at 0x180003ae0
Capabilities:
Hash data using sha1

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov rax, qword [0x1800f3690]
xor rax, rsp
mov qword [rbp + 0x70], rax
mov rsi, qword [rcx + 0x38]
mov rdi, rcx
shl rsi, 6
mov r15, rdx
add rsi, qword [rcx + 0x28]
mov rcx, qword [rcx + 0x28]
mov rdx, qword [rdi + 0x30]
shl rsi, 3
cmp rcx, rdx
jae 0x180003b4b
lea rax, [rcx + 1]
mov qword [rdi + 0x28], rax
lea rax, [rdi + 0x18]
cmp rdx, 0x10
jb 0x180003b43
mov rax, qword [rdi + 0x18]
mov word [rax + rcx], 0x80
jmp 0x180003b57
mov r9b, 0x80
lea rcx, [rdi + 0x18]
call fcn.18000f4a0
mov r14, qword [rdi + 0x28]
cmp r14, 0x40
jae 0x180003b9f
mov rcx, qword [rdi + 0x28]
mov rdx, qword [rdi + 0x30]
cmp rcx, rdx
jae 0x180003b8c
lea rax, [rcx + 1]
mov qword [rdi + 0x28], rax
lea rax, [rdi + 0x18]
cmp rdx, 0x10
jb 0x180003b84
mov rax, qword [rdi + 0x18]
mov word [rax + rcx], 0
jmp 0x180003b98
xor r9d, r9d
lea rcx, [rdi + 0x18]
call fcn.18000f4a0
cmp qword [rdi + 0x28], 0x40
jb 0x180003b61
lea rdx, [rbp + 0x30]
lea rcx, [rdi + 0x18]
call fcn.180003370
cmp r14, 0x38
jbe 0x180003bd7
lea r8, [rdi + 0x38]
mov rcx, rdi
lea rdx, [rbp + 0x30]
call fcn.180002170
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x30], xmm0
mov qword [rbp + 0x60], rax
movups xmmword [rbp + 0x40], xmm0
movups xmmword [rbp + 0x50], xmm0
mov dword [rbp + 0x6c], esi
lea r8, [rdi + 0x38]
shr rsi, 0x20
lea rdx, [rbp + 0x30]
mov rcx, rdi
mov dword [rbp + 0x68], esi
call fcn.180002170
lea rax, [0x1800e4e60]
mov dword [rbp - 0x3c], 0x78
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0x48]
lea rax, [0x1800e4ee8]
xor r14d, r14d
xorps xmm0, xmm0
mov qword [rbp - 0x38], rax
lea rcx, [rbp - 0x38]
mov qword [rbp - 0x30], r14
mov qword [rbp - 8], r14
movdqa xmmword [rbp], xmm0
call fcn.18000e420
mov rax, qword [rsp + 0x40]
lea r13, [0x1800e4cd0]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x40], r13
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rsp + rcx + 0x3c], edx
lea rcx, [rsp + 0x48]
call fcn.18000e390
lea rax, [0x1800e4d90]
mov qword [rbp - 0x50], r14
mov qword [rsp + 0x48], rax
mov esi, r14d
mov dword [rbp - 0x48], 4
nop dword [rax]
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x40]
add rcx, rax
call fcn.180001e80
mov rax, qword [rsp + 0x40]
mov edx, 8
movsxd rcx, dword [rax + 4]
mov byte [rbp + rcx - 0x68], Ordinal_50
lea rcx, [rsp + 0x20]
call fcn.1800708a0
mov r8, rax
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x40]
mov rdx, qword [r8 + 8]
add rcx, rax
call qword [r8]
mov edx, dword [rdi + rsi*4]
lea rcx, [rsp + 0x40]
call fcn.18000a610
inc rsi
cmp rsi, 5
jb 0x180003c80
xor r8d, r8d
mov dword [rdi], 0x67452301
lea rdx, [0x1800e47c7]
mov dword [rdi + 4], 0xefcdab89
lea rcx, [rdi + 0x18]
mov dword [rdi + 8], 0x98badcfe
mov dword [rdi + 0xc], 0x10325476
mov dword [rdi + 0x10], 0xc3d2e1f0
call fcn.18000d100
mov ecx, dword [rbp - 0x48]
xorps xmm0, xmm0
mov qword [rdi + 0x38], r14
mov eax, ecx
and al, 0x22
mov qword [r15], r14
mov qword [r15 + 0x10], r14
mov qword [r15 + 0x18], reloc.WS2_32.dll_ntohs
movups xmmword [rsp + 0x20], xmm0
cmp al, 2
je 0x180003d61
mov rax, qword [rbp - 0x78]
mov r8, qword [rax]
test r8, r8
je 0x180003d61
cmp r8, qword [rbp - 0x50]
mov rax, qword [rsp + 0x68]
cmovb r8, qword [rbp - 0x50]
mov rdx, qword [rax]
sub r8, rdx
jmp 0x180003d93
test cl, 4
jne 0x180003d89
mov rax, qword [rbp - 0x80]
mov rcx, qword [rax]
test rcx, rcx
je 0x180003d89
mov rax, qword [rsp + 0x60]
mov rdx, qword [rax]
mov rax, qword [rbp - 0x68]
movsxd r8, dword [rax]
sub r8, rdx
add r8, rcx
jmp 0x180003d93
mov r8, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x20]
test rdx, rdx
je 0x180003da0
mov rcx, r15
call fcn.18000d100
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x40], r13
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rsp + rcx + 0x3c], edx
lea rcx, [rsp + 0x48]
call fcn.18000ad90
mov rcx, qword [rsp + 0x40]
lea rax, [0x1800e4ee8]
movsxd rdx, dword [rcx + 4]
mov qword [rsp + rdx + 0x40], rax
lea rax, [0x1800e4cf0]
mov rcx, qword [rsp + 0x40]
movsxd rdx, dword [rcx + 4]
lea rcx, [rbp - 0x38]
lea r8d, [rdx - 0x10]
mov dword [rsp + rdx + 0x3c], r8d
mov qword [rbp - 0x38], rax
call fcn.180070690
mov rax, r15
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.18006a300
mov rbx, qword [rsp + 0x1d0]
add rsp, 0x180
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret