Function at 0x1400bb590
Capabilities:
Hash data using sha1

Disassembly:
push rbp
push rbx
push r14
push r15
lea rbp, [rsp - 0x18]
sub rsp, 0x118
mov rax, qword [0x1409c0280]
xor rax, rsp
mov qword [rbp - 8], rax
xor eax, eax
mov r15, r8
mov r14, rdx
mov rbx, rcx
test rcx, rcx
jne 0x1400bb5cb
mov eax, 0xffffff53
jmp 0x1400bb8e3
movzx ecx, word [rcx + 0x394]
mov edx, 0x2000
mov qword [rsp + 0x110], rsi
test dx, cx
je 0x1400bb772
mov rcx, qword [rbx + 0x18]
lea rdx, [rbp - 0x30]
mov qword [rsp + 0x108], rdi
add rcx, 0xf0
mov qword [rsp + 0x100], r12
mov r12d, Ordinal_41
call fcn.1400f1ed0
mov edi, eax
mov rax, qword [rbx + 0x18]
add rax, 0x88
je 0x1400bb66b
movups xmm0, xmmword [rax]
lea rdx, [rbp - 0x20]
movups xmm1, xmmword [rax + 0x10]
lea rcx, [rsp + 0x60]
movaps xmmword [rsp + 0x60], xmm0
movups xmm0, xmmword [rax + 0x20]
movaps xmmword [rsp + 0x70], xmm1
movups xmm1, xmmword [rax + 0x30]
movaps xmmword [rbp - 0x80], xmm0
movups xmm0, xmmword [rax + 0x40]
movaps xmmword [rbp - 0x70], xmm1
movups xmm1, xmmword [rax + 0x50]
movaps xmmword [rbp - 0x60], xmm0
movsd xmm0, qword [rax + 0x60]
movsd qword [rbp - 0x40], xmm0
movaps xmmword [rbp - 0x50], xmm1
call fcn.1400ec230
jmp 0x1400bb670
mov eax, 0xffffff53
or edi, eax
cmp byte [rbx + 0x2c0], 3
jne 0x1400bb6af
cmp byte [rbx + 0x2c1], 3
jb 0x1400bb6af
movzx eax, byte [rbx + 0x2ce]
cmp al, 4
jbe 0x1400bb693
cmp al, 8
jne 0x1400bb6af
mov rcx, qword [rbx + 0x18]
lea rdx, [rbp - 0x30]
add rcx, 0x158
call fcn.1400ef530
or edi, eax
mov r12d, reloc.WLDAP32.dll_Ordinal_32
test edi, edi
mov rdi, qword [rsp + 0x108]
je 0x1400bb6c5
mov eax, 0xfffffec0
jmp 0x1400bb755
mov r8d, 4
lea rdx, [0x1409887c4]
mov rcx, r15
call fcn.1401865a0
test eax, eax
lea r9, str.client_finished
lea rcx, str.server_finished
cmovne r9, rcx
cmp byte [rbx + 0x2c0], 3
jne 0x1400bb707
cmp byte [rbx + 0x2c1], 3
jb 0x1400bb707
mov edx, 1
jmp 0x1400bb709
xor edx, edx
mov rax, qword [rbx + 0x48]
movzx ecx, byte [rbx + 0x2ce]
mov r8, qword [rbx + 0x10]
mov qword [rsp + 0x50], rax
add r8, 0x7d
mov dword [rsp + 0x48], ecx
lea rax, [rbp - 0x30]
mov dword [rsp + 0x40], edx
mov rcx, r14
mov dword [rsp + 0x38], r12d
mov edx, ntohs
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x20], r9
lea r9d, [rdx + 0x24]
call fcn.1400e04d0
movzx ecx, word [rbx + 0x394]
mov edx, 0x2000
mov r12, qword [rsp + 0x100]
test dx, cx
jne 0x1400bb8db
mov r8, r15
mov rdx, r14
mov rcx, rbx
call fcn.1400bb040
test eax, eax
jne 0x1400bb8db
mov rax, qword [rbx + 0x18]
add rax, 0x88
je 0x1400bb8d6
movups xmm0, xmmword [rax]
mov r8d, 4
lea rcx, [rsp + 0x60]
mov rdx, r15
movaps xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movaps xmmword [rsp + 0x70], xmm1
movups xmm0, xmmword [rax + 0x20]
movaps xmmword [rbp - 0x80], xmm0
movups xmm1, xmmword [rax + 0x30]
movaps xmmword [rbp - 0x70], xmm1
movups xmm0, xmmword [rax + 0x40]
movaps xmmword [rbp - 0x60], xmm0
movups xmm1, xmmword [rax + 0x50]
movaps xmmword [rbp - 0x50], xmm1
movsd xmm0, qword [rax + 0x60]
movsd qword [rbp - 0x40], xmm0
call fcn.1400ebd30
test eax, eax
jne 0x1400bb8db
mov rdx, qword [rbx + 0x10]
lea r8d, [rax + 0x30]
add rdx, 0x7d
lea rcx, [rsp + 0x60]
call fcn.1400ebd30
test eax, eax
jne 0x1400bb8db
lea r8d, [rax + 0x28]
lea rdx, str.666666666666666666666666666666666666666666666666__
lea rcx, [rsp + 0x60]
call fcn.1400ebd30
test eax, eax
jne 0x1400bb8db
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x60]
call fcn.1400ec230
test eax, eax
jne 0x1400bb8db
mov rdx, qword [rbx + 0x10]
lea rcx, [rsp + 0x60]
mov rax, qword [rbx + 0x48]
add rdx, 0x7d
mov r8d, Ordinal_50
mov qword [rbp - 0x40], rax
mov dword [rbp - 0x54], 0x67452301
mov dword [rbp - 0x50], 0xefcdab89
mov dword [rbp - 0x4c], 0x98badcfe
mov dword [rbp - 0x48], 0x10325476
mov dword [rbp - 0x44], 0xc3d2e1f0
mov qword [rsp + 0x60], 0
mov dword [rsp + 0x68], 0
call fcn.1400ebd30
test eax, eax
jne 0x1400bb8db
lea r8d, [rax + 0x28]
lea rdx, str.0
lea rcx, [rsp + 0x60]
call fcn.1400ebd30
test eax, eax
jne 0x1400bb8db
lea r8d, [rax + 0x14]
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x60]
call fcn.1400ebd30
test eax, eax
jne 0x1400bb8db
lea rdx, [r14 + 0x10]
lea rcx, [rsp + 0x60]
call fcn.1400ec230
jmp 0x1400bb8db
mov eax, 0xffffff53
mov rsi, qword [rsp + 0x110]
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140167e90
add rsp, 0x118
pop r15
pop r14
pop rbx
pop rbp
ret