Function at 0x140009cd0
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 - 0x90]
sub rsp, 0x190
mov rax, qword [0x14006e060]
xor rax, rsp
mov qword [rbp + 0x80], rax
mov r14, rdx
mov rdi, rcx
mov qword [rsp + 0x40], rdx
xor r13d, r13d
mov dword [rsp + 0x20], r13d
mov rsi, qword [rcx + 0x38]
shl rsi, 6
add rsi, qword [rcx + 0x28]
shl rsi, 3
mov rcx, qword [rcx + 0x28]
mov rdx, qword [rdi + 0x30]
cmp rcx, rdx
jae 0x140009d4e
lea rax, [rcx + 1]
mov qword [rdi + 0x28], rax
lea rax, [rdi + 0x18]
cmp rdx, 0x10
jb 0x140009d46
mov rax, qword [rdi + 0x18]
mov word [rax + rcx], 0x80
jmp 0x140009d5a
mov r9b, 0x80
lea rcx, [rdi + 0x18]
call fcn.140016c80
mov r15, qword [rdi + 0x28]
cmp r15, 0x40
jae 0x140009dad
nop dword [rax]
nop dword [rax + rax]
mov rcx, qword [rdi + 0x28]
mov rdx, qword [rdi + 0x30]
cmp rcx, rdx
jae 0x140009d9a
lea rax, [rcx + 1]
mov qword [rdi + 0x28], rax
lea rax, [rdi + 0x18]
cmp rdx, 0x10
jb 0x140009d93
mov rax, qword [rdi + 0x18]
mov word [rax + rcx], r13w
jmp 0x140009da6
xor r9d, r9d
lea rcx, [rdi + 0x18]
call fcn.140016c80
cmp qword [rdi + 0x28], 0x40
jb 0x140009d70
lea rdx, [rbp + 0x40]
lea rcx, [rdi + 0x18]
call fcn.140009a50
cmp r15, 0x38
jbe 0x140009de5
lea r8, [rdi + 0x38]
lea rdx, [rbp + 0x40]
mov rcx, rdi
call fcn.140008890
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x40], xmm0
movups xmmword [rbp + 0x50], xmm0
movups xmmword [rbp + 0x60], xmm0
mov qword [rbp + 0x70], rax
mov dword [rbp + 0x7c], esi
shr rsi, 0x20
mov dword [rbp + 0x78], esi
lea r8, [rdi + 0x38]
lea rdx, [rbp + 0x40]
mov rcx, rdi
call fcn.140008890
xor edx, edx
mov r8d, 0xe8
lea rcx, [rsp + 0x50]
call fcn.14002a040
lea rax, [0x140062578]
mov qword [rsp + 0x50], rax
mov qword [rbp - 0x20], r13
mov qword [rbp + 8], r13
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x10], xmm0
mov dword [rsp + 0x20], 2
lea rax, vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov qword [rbp - 0x28], rax
mov dword [rbp - 0x2c], 0x78
xor r8d, r8d
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x28]
call fcn.140005cf0
nop
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea r15, vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rsp + rcx + 0x50], r15
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rsp + rcx + 0x4c], edx
lea rcx, [rsp + 0x58]
call fcn.1400059c0
lea rax, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rsp + 0x58], rax
mov qword [rbp - 0x40], r13
mov dword [rbp - 0x38], 4
mov rsi, r13
nop word [rax + rax]
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x50]
add rcx, rax
call fcn.140007d20
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
mov byte [rbp + rcx - 0x58], 0x30
mov edx, 8
lea rcx, [rsp + 0x28]
call fcn.140026738
mov rdx, qword [rax + 8]
mov r8, qword [rax]
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x50]
add rcx, rax
call r8
mov edx, dword [rdi + rsi*4]
lea rcx, [rsp + 0x50]
call fcn.140013940
inc rsi
cmp rsi, 5
jb 0x140009eb0
mov dword [rdi], 0x67452301
mov dword [rdi + 4], 0xefcdab89
mov dword [rdi + 8], 0x98badcfe
mov dword [rdi + 0xc], 0x10325476
mov dword [rdi + 0x10], 0xc3d2e1f0
xor r8d, r8d
lea rdx, [0x1400624ab]
lea rcx, [rdi + 0x18]
call fcn.140004940
mov qword [rdi + 0x38], r13
mov qword [r14], r13
mov qword [r14 + 0x10], r13
mov qword [r14 + 0x18], reloc.WS2_32.dll_ntohs
mov byte [r14], 0
mov dword [rsp + 0x20], reloc.WS2_32.dll_select
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov ecx, dword [rbp - 0x38]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x140009f9d
mov rax, qword [rbp - 0x68]
mov r8, qword [rax]
test r8, r8
je 0x140009f9d
mov rax, qword [rsp + 0x78]
mov rdx, qword [rax]
cmp r8, qword [rbp - 0x40]
cmovb r8, qword [rbp - 0x40]
sub r8, rdx
jmp 0x140009fcf
test cl, 4
jne 0x140009fc5
mov rax, qword [rbp - 0x70]
mov rcx, qword [rax]
test rcx, rcx
je 0x140009fc5
mov rax, qword [rsp + 0x70]
mov rdx, qword [rax]
mov rax, qword [rbp - 0x58]
movsxd r8, dword [rax]
sub r8, rdx
add r8, rcx
jmp 0x140009fcf
mov r8, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
test rdx, rdx
je 0x140009fdd
mov rcx, r14
call fcn.140004940
nop
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x50], r15
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rsp + rcx + 0x4c], edx
lea rcx, [rsp + 0x58]
call fcn.140002b60
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x50], rax
mov rcx, qword [rsp + 0x50]
movsxd rdx, dword [rcx + 4]
lea r8d, [rdx - 0x10]
mov dword [rsp + rdx + 0x4c], r8d
lea rax, vtable.std::ios_base.0
mov qword [rbp - 0x28], rax
lea rcx, [rbp - 0x28]
call fcn.1400242c4
nop
mov rax, r14
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.140027820
mov rbx, qword [rsp + 0x1e0]
add rsp, 0x190
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret