Function at 0x140042a30
Capabilities:
Hash data using sha1

Disassembly:
push rbp
push rbx
push rsi
push r14
lea rbp, [rsp - 0x38]
sub rsp, 0x138
mov rax, qword [0x1400bf040]
xor rax, rsp
mov qword [rbp + 0x28], rax
xor eax, eax
mov rsi, r8
mov r14, rdx
mov rbx, rcx
test rcx, rcx
je 0x140042d1f
test byte [rcx + 0x4e6], 8
mov qword [rsp + 0x130], rdi
je 0x140042b93
xorps xmm0, xmm0
mov dword [rsp + 0x60], 0x30
lea r8, [rsp + 0x60]
lea rdx, [rbp - 0x20]
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
call fcn.140032f90
test eax, eax
jne 0x140042b93
mov r8d, 4
lea rdx, [0x1400a6388]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
jne 0x140042ac9
lea r9, str.client_finished
jmp 0x140042aee
mov r8d, 4
lea rdx, [0x1400a6358]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
jne 0x140042b8e
lea r9, str.server_finished
movzx eax, byte [rbx + 0x316]
cmp al, 3
jne 0x140042b08
cmp byte [rbx + 0x317], al
jb 0x140042b1c
mov edx, 1
jmp 0x140042b1e
cmp al, 0xfe
jne 0x140042b1c
cmp byte [rbx + 0x317], 0xfd
ja 0x140042b1c
mov edx, 1
jmp 0x140042b1e
xor edx, edx
mov rax, qword [rbx + 0xb0]
movzx ecx, byte [rbx + 0x324]
mov r8, qword [rbx + 0x18]
mov edi, dword [rsp + 0x60]
add r8, 0xad
mov qword [rsp + 0x50], rax
lea rax, [rbp - 0x20]
mov dword [rsp + 0x48], ecx
mov rcx, r14
mov dword [rsp + 0x40], edx
mov edx, recv
mov dword [rsp + 0x38], edi
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], recvfrom
mov qword [rsp + 0x20], r9
mov r9d, 0x30
call fcn.14009a440
lea rcx, [rbp - 0x20]
test edi, edi
je 0x140042b93
nop dword [rax]
mov byte [rcx], 0
lea rcx, [rcx + 1]
add edi, 0xffffffff
jne 0x140042b80
jmp 0x140042b93
mov eax, 0xffffff53
test byte [rbx + 0x4e6], 8
mov rdi, qword [rsp + 0x130]
jne 0x140042d24
mov r8, rsi
mov rdx, r14
mov rcx, rbx
call fcn.140042570
test eax, eax
jne 0x140042d24
mov rax, qword [rbx + 0x80]
add rax, 0x168
je 0x140042d1f
movups xmm0, xmmword [rax]
mov r8d, 4
lea rcx, [rsp + 0x70]
mov rdx, rsi
movaps xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movaps xmmword [rbp - 0x80], xmm1
movups xmm0, xmmword [rax + 0x20]
movaps xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [rax + 0x30]
movaps xmmword [rbp - 0x60], xmm1
movups xmm0, xmmword [rax + 0x40]
movaps xmmword [rbp - 0x50], xmm0
movups xmm1, xmmword [rax + 0x50]
movaps xmmword [rbp - 0x40], xmm1
movsd xmm0, qword [rax + 0x60]
movsd qword [rbp - 0x30], xmm0
call fcn.1400730d0
test eax, eax
jne 0x140042d24
mov rdx, qword [rbx + 0x18]
lea rcx, [rsp + 0x70]
add rdx, 0xad
mov r8d, 0x30
call fcn.1400730d0
test eax, eax
jne 0x140042d24
mov r8d, 0x28
lea rdx, str.666666666666666666666666666666666666666666666666
lea rcx, [rsp + 0x70]
call fcn.1400730d0
test eax, eax
jne 0x140042d24
lea rdx, [rbp + 0x10]
lea rcx, [rsp + 0x70]
call fcn.140073570
test eax, eax
jne 0x140042d24
mov rdx, qword [rbx + 0x18]
lea rcx, [rsp + 0x70]
mov rax, qword [rbx + 0xb0]
add rdx, 0xad
mov r8d, 0x30
mov qword [rbp - 0x30], rax
mov dword [rbp - 0x44], 0x67452301
mov dword [rbp - 0x40], 0xefcdab89
mov dword [rbp - 0x3c], 0x98badcfe
mov dword [rbp - 0x38], 0x10325476
mov dword [rbp - 0x34], 0xc3d2e1f0
mov qword [rsp + 0x70], 0
mov dword [rsp + 0x78], 0
call fcn.1400730d0
test eax, eax
jne 0x140042d24
mov r8d, 0x28
lea rdx, str._bad_certificate
lea rcx, [rsp + 0x70]
call fcn.1400730d0
test eax, eax
jne 0x140042d24
mov r8d, reloc.WS2_32.dll_sendto
lea rdx, [rbp + 0x10]
lea rcx, [rsp + 0x70]
call fcn.1400730d0
test eax, eax
jne 0x140042d24
lea rdx, [r14 + 0x10]
lea rcx, [rsp + 0x70]
call fcn.140073570
jmp 0x140042d24
mov eax, 0xffffff53
mov rcx, qword [rbp + 0x28]
xor rcx, rsp
call fcn.14009f800
add rsp, 0x138
pop r14
pop rsi
pop rbx
pop rbp
ret