Function at 0x18001dbf0
Capabilities:
Hash data using sha1

Disassembly:
mov r11, rsp
push rbp
push r12
push r14
push r15
lea rbp, [r11 - 0xb8]
sub rsp, 0x198
mov rax, qword [0x180243280]
xor rax, rsp
mov qword [rbp + 0x80], rax
xor r12d, r12d
mov qword [r11 + 8], rbx
mov qword [r11 - 0x28], rdi
mov r15, r8
mov dword [rsp + 0x20], 0x67452301
mov r14, rdx
mov dword [rsp + 0x24], 0xefcdab89
mov rdi, rcx
mov dword [rsp + 0x28], 0x98badcfe
mov ebx, r12d
mov dword [rsp + 0x2c], 0x10325476
mov dword [rsp + 0x30], 0xc3d2e1f0
cmp rdx, 0x40
jb 0x18001dcdd
mov qword [r11 + 0x10], rsi
lea rsi, [rdx - 0x40]
lea rax, [rbx + 0x40]
cmp rbx, rax
jae 0x18001dcc1
lea rax, [rdi + 2]
mov r9d, reloc.WS2_32.dll_recv
add rax, rbx
lea r8, [rsp + 0x40]
add rbx, 0x40
nop word [rax + rax]
movzx ecx, byte [rax - 1]
lea r8, [r8 + 4]
movzx edx, byte [rax - 2]
lea rax, [rax + 4]
shl edx, 8
or edx, ecx
movzx ecx, byte [rax - 4]
shl edx, 8
or edx, ecx
movzx ecx, byte [rax - 3]
shl edx, 8
or edx, ecx
mov dword [r8 - 4], edx
sub r9, 1
jne 0x18001dc90
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.18001cc90
cmp rbx, rsi
jbe 0x18001dc66
mov rsi, qword [rsp + 0x1c8]
mov r10, r14
mov qword [rsp + 0x78], r12
mov qword [rsp + 0x70], r12
mov r11d, 3
mov qword [rsp + 0x68], r12
mov r9, r12
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], r12
sub r10, rbx
je 0x18001dd54
add rbx, rdi
nop dword [rax]
movzx edx, byte [rbx + r9]
lea r8, [rsp + 0x40]
mov rax, r9
movzx ecx, r9b
shr rax, 2
and cl, r11b
lea r8, [r8 + rax*4]
inc r9
mov eax, r11d
sub al, cl
shl al, 3
movzx ecx, al
shl edx, cl
or dword [r8], edx
cmp r9, r10
jb 0x18001dd20
mov rdi, qword [rsp + 0x190]
lea rdx, [rsp + 0x40]
mov rbx, qword [rsp + 0x1c0]
mov rax, r9
shr rax, 2
and r9b, r11b
lea rdx, [rdx + rax*4]
sub r11b, r9b
movzx ecx, r11b
mov eax, 0x80
shl cl, 3
shl eax, cl
or dword [rdx], eax
cmp r10, 0x38
jb 0x18001ddc7
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.18001cc90
mov qword [rsp + 0x74], r12
mov qword [rsp + 0x6c], r12
mov qword [rsp + 0x64], r12
mov qword [rsp + 0x5c], r12
mov qword [rsp + 0x54], r12
mov qword [rsp + 0x4c], r12
mov qword [rsp + 0x44], r12
mov dword [rsp + 0x40], r12d
lea rax, [r14*8]
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x7c], eax
lea rcx, [rsp + 0x20]
call fcn.18001cc90
mov ecx, dword [rsp + 0x30]
movzx eax, byte [rsp + 0x30]
mov byte [r15 + 0x13], al
mov eax, ecx
shr eax, 8
mov byte [r15 + 0x12], al
mov eax, ecx
shr eax, 0x10
mov byte [r15 + 0x11], al
movzx eax, byte [rsp + 0x2c]
mov byte [r15 + 0xf], al
shr ecx, 0x18
mov byte [r15 + 0x10], cl
mov ecx, dword [rsp + 0x2c]
mov eax, ecx
shr eax, 8
mov byte [r15 + 0xe], al
mov eax, ecx
shr eax, 0x10
mov byte [r15 + 0xd], al
movzx eax, byte [rsp + 0x28]
mov byte [r15 + 0xb], al
shr ecx, 0x18
mov byte [r15 + 0xc], cl
mov ecx, dword [rsp + 0x28]
mov eax, ecx
shr eax, 8
mov byte [r15 + 0xa], al
mov eax, ecx
shr eax, 0x10
mov byte [r15 + 9], al
movzx eax, byte [rsp + 0x24]
mov byte [r15 + 7], al
shr ecx, 0x18
mov byte [r15 + 8], cl
mov ecx, dword [rsp + 0x24]
mov eax, ecx
shr eax, 8
mov byte [r15 + 6], al
mov eax, ecx
shr eax, 0x10
mov byte [r15 + 5], al
movzx eax, byte [rsp + 0x20]
mov byte [r15 + 3], al
shr ecx, 0x18
mov byte [r15 + 4], cl
mov ecx, dword [rsp + 0x20]
mov eax, ecx
shr eax, 8
mov byte [r15 + 2], al
mov eax, ecx
shr eax, 0x10
shr ecx, 0x18
mov byte [r15], cl
mov byte [r15 + 1], al
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.18017ae80
add rsp, 0x198
pop r15
pop r14
pop r12
pop rbp
ret