Function at 0x14001c010
Capabilities:
Hash data using sha1

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xc0
mov qword [rbp - 0x71], 0xfffffffffffffffe
mov qword [rsp + 0x118], rbx
mov rax, qword [0x140479080]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov r12, r8
mov rsi, rdx
mov r14, rcx
mov qword [rbp - 0x79], rcx
cmp qword [rdx + 0x10], 0x14
jae 0x14001c07e
xor ebx, ebx
mov qword [rcx + 0x10], rbx
mov qword [rcx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rcx], bl
xor r8d, r8d
lea rdx, [0x1402c797a]
call fcn.14000b830
jmp 0x14001c5f5
lea rax, [r8 + 0x10]
mov qword [rbp - 0x79], rax
mov rcx, qword [rax]
add rcx, 0x40
call fcn.14023ed88
mov r15, rax
mov ecx, 0x54
call fcn.14023ed88
mov r13, rax
mov r8, qword [rsi + 0x10]
xor ebx, ebx
cmp r8, 0x40
jbe 0x14001c1f0
mov dword [rbp - 0x69], 0x67452301
mov dword [rbp - 0x65], 0xefcdab89
mov dword [rbp - 0x61], 0x98badcfe
mov dword [rbp - 0x5d], 0x10325476
mov dword [rbp - 0x59], 0xc3d2e1f0
mov qword [rbp - 0x11], rbx
mov qword [rbp - 9], rbx
mov qword [rbp - 1], rbx
cmp qword [rsi + 0x18], 0x10
jb 0x14001c0eb
mov rsi, qword [rsi]
mov rdx, rsi
lea rcx, [rbp - 0x69]
call fcn.14001b160
lea rdx, [rbp + 7]
lea rcx, [rbp - 0x69]
call fcn.14001bde0
mov ecx, dword [rbp + 7]
shl ecx, 8
movzx eax, byte [rbp + 8]
or ecx, eax
shl ecx, 8
movzx eax, byte [rbp + 9]
or ecx, eax
shl ecx, 8
movzx eax, byte [rbp + 0xa]
or ecx, eax
mov dword [rbp + 7], ecx
mov ecx, dword [rbp + 0xb]
shl ecx, 8
movzx eax, byte [rbp + 0xc]
or ecx, eax
shl ecx, 8
movzx eax, byte [rbp + 0xd]
or ecx, eax
shl ecx, 8
movzx eax, byte [rbp + 0xe]
or ecx, eax
mov dword [rbp + 0xb], ecx
mov ecx, dword [rbp + 0xf]
shl ecx, 8
movzx eax, byte [rbp + 0x10]
or ecx, eax
shl ecx, 8
movzx eax, byte [rbp + 0x11]
or ecx, eax
shl ecx, 8
movzx eax, byte [rbp + 0x12]
or ecx, eax
mov dword [rbp + 0xf], ecx
mov ecx, dword [rbp + 0x13]
shl ecx, 8
movzx eax, byte [rbp + 0x14]
or ecx, eax
shl ecx, 8
movzx eax, byte [rbp + 0x15]
or ecx, eax
shl ecx, 8
movzx eax, byte [rbp + 0x16]
or ecx, eax
mov dword [rbp + 0x13], ecx
mov ecx, dword [rbp + 0x17]
shl ecx, 8
movzx eax, byte [rbp + 0x18]
or ecx, eax
shl ecx, 8
movzx eax, byte [rbp + 0x19]
or ecx, eax
shl ecx, 8
movzx eax, byte [rbp + 0x1a]
or ecx, eax
mov dword [rbp + 0x17], ecx
movups xmm0, xmmword [rbp + 7]
movups xmmword [r15], xmm0
mov dword [r15 + 0x10], ecx
movups xmmword [r13], xmm0
mov dword [r13 + 0x10], ecx
mov qword [r15 + 0x14], rbx
mov qword [r15 + 0x1c], rbx
mov qword [r15 + 0x24], rbx
mov qword [r15 + 0x2c], rbx
mov qword [r15 + 0x34], rbx
mov dword [r15 + 0x3c], ebx
mov qword [r13 + 0x14], rbx
mov qword [r13 + 0x1c], rbx
mov qword [r13 + 0x24], rbx
mov qword [r13 + 0x2c], rbx
mov qword [r13 + 0x34], rbx
mov dword [r13 + 0x3c], ebx
jmp 0x14001c250
mov rdx, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x14001c1fd
mov rdx, qword [rsi]
mov rcx, r15
call fcn.14025df20
mov rdx, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x14001c212
mov rdx, qword [rsi]
mov r8, qword [rsi + 0x10]
mov rcx, r13
call fcn.14025df20
mov rax, qword [rsi + 0x10]
mov edx, 0x40
cmp rax, rdx
jae 0x14001c250
lea rdi, [rax + r15]
mov ecx, edx
sub rcx, rax
xor eax, eax
rep stosb byte [rdi], al
mov rax, qword [rsi + 0x10]
cmp rax, rdx
jae 0x14001c250
lea rdi, [rax + r13]
sub rdx, rax
xor eax, eax
mov rcx, rdx
rep stosb byte [rdi], al
movdqa xmm2, xmmword [str.6666666666666666]
movdqu xmm0, xmmword [r15]
pxor xmm0, xmm2
movdqu xmmword [r15], xmm0
movdqu xmm0, xmmword [r15 + 0x10]
movdqa xmm1, xmm2
pxor xmm1, xmm0
movdqu xmmword [r15 + 0x10], xmm1
movdqu xmm0, xmmword [r15 + 0x20]
movdqa xmm1, xmm2
pxor xmm1, xmm0
movdqu xmmword [r15 + 0x20], xmm1
movdqu xmm0, xmmword [r15 + 0x30]
pxor xmm0, xmm2
movdqu xmmword [r15 + 0x30], xmm0
movdqa xmm2, xmmword [0x140410950]
movdqu xmm0, xmmword [r13]
movdqa xmm1, xmm2
pxor xmm1, xmm0
movdqu xmmword [r13], xmm1
movdqu xmm0, xmmword [r13 + 0x10]
movdqa xmm1, xmm2
pxor xmm1, xmm0
movdqu xmmword [r13 + 0x10], xmm1
movdqu xmm0, xmmword [r13 + 0x20]
pxor xmm0, xmm2
movdqu xmmword [r13 + 0x20], xmm0
movdqu xmm0, xmmword [r13 + 0x30]
pxor xmm2, xmm0
movdqu xmmword [r13 + 0x30], xmm2
mov rdi, qword [rbp - 0x79]
cmp qword [r12 + 0x18], 0x10
jb 0x14001c2fe
mov r12, qword [r12]
lea rcx, [r15 + 0x40]
mov r8, qword [rdi]
mov rdx, r12
call fcn.14025df20
mov dword [rbp - 0x69], 0x67452301
mov dword [rbp - 0x65], 0xefcdab89
mov dword [rbp - 0x61], 0x98badcfe
mov dword [rbp - 0x5d], 0x10325476
mov dword [rbp - 0x59], 0xc3d2e1f0
mov rcx, rbx
mov qword [rbp - 0x11], rbx
mov qword [rbp - 9], rbx
mov qword [rbp - 1], rbx
mov rsi, qword [rdi]
mov rdi, r15
add rsi, 0x40
add rsi, r15
mov edx, 0xfffffffe
mov r12d, 0xfffffff8
cmp r15, rsi
je 0x14001c3c1
nop dword [rax]
movzx eax, byte [rdi]
mov byte [rbp + rcx - 0x55], al
mov rcx, qword [rbp - 0x11]
inc rcx
mov qword [rbp - 0x11], rcx
cmp rcx, 0x40
jne 0x14001c38e
mov qword [rbp - 0x11], rbx
lea rcx, [rbp - 0x69]
call fcn.14001b230
mov rcx, qword [rbp - 0x11]
mov edx, 0xfffffffe
mov rax, qword [rbp - 9]
cmp rax, r12
jae 0x14001c3a1
add rax, 8
mov qword [rbp - 9], rax
jmp 0x14001c3b9
mov qword [rbp - 9], rbx
mov rax, qword [rbp - 1]
cmp rax, rdx
ja 0x14001c61f
inc rax
mov qword [rbp - 1], rax
inc rdi
cmp rdi, rsi
jne 0x14001c360
lea rdx, [rbp + 7]
lea rcx, [rbp - 0x69]
call fcn.14001bde0
mov ecx, dword [rbp + 7]
shl ecx, 8
movzx eax, byte [rbp + 8]
or ecx, eax
shl ecx, 8
movzx eax, byte [rbp + 9]
or ecx, eax
shl ecx, 8
movzx eax, byte [rbp + 0xa]
or ecx, eax
mov dword [rbp + 7], ecx
mov ecx, dword [rbp + 0xb]
shl ecx, 8
movzx eax, byte [rbp + 0xc]
or ecx, eax
shl ecx, 8
movzx eax, byte [rbp + 0xd]
or ecx, eax
shl ecx, 8
movzx eax, byte [rbp + 0xe]
or ecx, eax
mov dword [rbp + 0xb], ecx
mov ecx, dword [rbp + 0xf]
shl ecx, 8
movzx eax, byte [rbp + 0x10]
or ecx, eax
shl ecx, 8
movzx eax, byte [rbp + 0x11]
or ecx, eax
shl ecx, 8
movzx eax, byte [rbp + 0x12]
or ecx, eax
mov dword [rbp + 0xf], ecx
mov ecx, dword [rbp + 0x13]
shl ecx, 8
movzx eax, byte [rbp + 0x14]
or ecx, eax
shl ecx, 8
movzx eax, byte [rbp + 0x15]
or ecx, eax
shl ecx, 8
movzx eax, byte [rbp + 0x16]
or ecx, eax
mov dword [rbp + 0x13], ecx
mov ecx, dword [rbp + 0x17]
shl ecx, 8
movzx eax, byte [rbp + 0x18]
or ecx, eax
shl ecx, 8
movzx eax, byte [rbp + 0x19]
or ecx, eax
shl ecx, 8
movzx eax, byte [rbp + 0x1a]
or ecx, eax
mov dword [rbp + 0x17], ecx
movups xmm0, xmmword [rbp + 7]
movups xmmword [r13 + 0x40], xmm0
mov dword [r13 + 0x50], ecx
mov dword [rbp - 0x69], 0x67452301
mov dword [rbp - 0x65], 0xefcdab89
mov dword [rbp - 0x61], 0x98badcfe
mov dword [rbp - 0x5d], 0x10325476
mov dword [rbp - 0x59], 0xc3d2e1f0
mov rcx, rbx
mov qword [rbp - 0x11], rbx
mov qword [rbp - 9], rbx
mov qword [rbp - 1], rbx
mov rdi, r13
lea rsi, [r13 + 0x54]
cmp r13, rsi
je 0x14001c521
nop
movzx eax, byte [rdi]
mov byte [rbp + rcx - 0x55], al
mov rcx, qword [rbp - 0x11]
inc rcx
mov qword [rbp - 0x11], rcx
cmp rcx, 0x40
jne 0x14001c4e9
mov qword [rbp - 0x11], rbx
lea rcx, [rbp - 0x69]
call fcn.14001b230
mov rcx, qword [rbp - 0x11]
mov rax, qword [rbp - 9]
cmp rax, r12
jae 0x14001c4fc
add rax, 8
mov qword [rbp - 9], rax
jmp 0x14001c519
mov qword [rbp - 9], rbx
mov rax, qword [rbp - 1]
mov edx, 0xfffffffe
cmp rax, rdx
ja 0x14001c639
inc rax
mov qword [rbp - 1], rax
inc rdi
cmp rdi, rsi
jne 0x14001c4c0
lea rdx, [rbp + 7]
lea rcx, [rbp - 0x69]
call fcn.14001bde0
mov ecx, dword [rbp + 7]
shl ecx, 8
movzx eax, byte [rbp + 8]
or ecx, eax
shl ecx, 8
movzx eax, byte [rbp + 9]
or ecx, eax
shl ecx, 8
movzx eax, byte [rbp + 0xa]
or ecx, eax
mov dword [rbp + 7], ecx
mov ecx, dword [rbp + 0xb]
shl ecx, 8
movzx eax, byte [rbp + 0xc]
or ecx, eax
shl ecx, 8
movzx eax, byte [rbp + 0xd]
or ecx, eax
shl ecx, 8
movzx eax, byte [rbp + 0xe]
or ecx, eax
mov dword [rbp + 0xb], ecx
mov ecx, dword [rbp + 0xf]
shl ecx, 8
movzx eax, byte [rbp + 0x10]
or ecx, eax
shl ecx, 8
movzx eax, byte [rbp + 0x11]
or ecx, eax
shl ecx, 8
movzx eax, byte [rbp + 0x12]
or ecx, eax
mov dword [rbp + 0xf], ecx
mov ecx, dword [rbp + 0x13]
shl ecx, 8
movzx eax, byte [rbp + 0x14]
or ecx, eax
shl ecx, 8
movzx eax, byte [rbp + 0x15]
or ecx, eax
shl ecx, 8
movzx eax, byte [rbp + 0x16]
or ecx, eax
mov dword [rbp + 0x13], ecx
mov ecx, dword [rbp + 0x17]
shl ecx, 8
movzx eax, byte [rbp + 0x18]
or ecx, eax
shl ecx, 8
movzx eax, byte [rbp + 0x19]
or ecx, eax
shl ecx, 8
movzx eax, byte [rbp + 0x1a]
or ecx, eax
mov dword [rbp + 0x17], ecx
mov rcx, r15
call fcn.14023ed44
mov rcx, r13
call fcn.14023ed44
mov r8d, reloc.WS2_32.dll_sendto
lea rdx, [rbp + 7]
mov rcx, r14
call fcn.14001af50
mov rax, r14
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.14023ed20
mov rbx, qword [rsp + 0x118]
add rsp, 0xc0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rdx, str.sha1_too_many_bytes
lea rcx, [rbp + 7]
call fcn.140007650
nop
mov rcx, rax
call fcn.14001c660
nop
lea rdx, str.sha1_too_many_bytes
lea rcx, [rbp + 7]
call fcn.140007650
nop
mov rcx, rax
call fcn.14001c660
int3