Function at 0x1800028c0
Capabilities:
Hash data using sha1

Disassembly:
push rbp
push r14
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0xd0
mov rax, qword [0x180083008]
xor rax, rsp
mov qword [rbp + 0x2f], rax
lea rcx, [0x180085ae8]
mov r15d, r8d
mov r14, rdx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [0x180084224], 0
je 0x180002901
call fcn.180002560
test r15d, r15d
je 0x180002b53
mov qword [rsp + 0xf0], rbx
mov qword [rsp + 0x100], rsi
mov qword [rsp + 0x108], rdi
mov qword [rsp + 0xc8], r12
xor r12d, r12d
mov qword [rsp + 0xc0], r13
lea r13, [0x180084210]
mov dword [rbp - 0x69], 0xf672abd1
mov dword [rbp - 0x59], 0x67452301
mov edi, 0x14
mov dword [rbp - 0x55], 0xefcdab89
mov rsi, r13
mov dword [rbp - 0x51], 0x98badcfe
mov ebx, r12d
mov dword [rbp - 0x4d], 0x10325476
mov dword [rbp - 0x49], 0xc3d2e1f0
mov qword [rbp - 0x41], r12
mov dword [rbp - 0x39], r12d
nop dword [rax]
dec rdi
mov r8d, ebx
and r8d, 3
jne 0x180002997
mov eax, ebx
shr rax, 2
mov dword [rbp + rax*4 - 0x35], r12d
mov eax, ebx
lea rdx, [rbp - 0x35]
shr rax, 2
mov ecx, 3
lea rdx, [rdx + rax*4]
sub ecx, r8d
movzx eax, byte [rsi]
inc ebx
shl ecx, 3
inc rsi
shl eax, cl
or dword [rdx], eax
cmp ebx, 0x40
jne 0x1800029d9
lea r8, [rbp - 0x59]
mov ebx, r12d
lea rdx, [rbp - 0x35]
lea rcx, [rbp - 0x59]
call fcn.180002b80
inc qword [rbp - 0x41]
test rdi, rdi
jne 0x180002980
mov rdx, r13
mov dword [rbp - 0x39], ebx
lea rcx, [rbp - 0x59]
call fcn.1800031b0
mov dword [rbp - 0x59], 0x67452301
lea rsi, [rbp - 0x69]
mov dword [rbp - 0x55], 0xefcdab89
mov edi, 4
mov dword [rbp - 0x51], 0x98badcfe
mov ebx, r12d
mov dword [rbp - 0x4d], 0x10325476
mov dword [rbp - 0x49], 0xc3d2e1f0
mov qword [rbp - 0x41], r12
mov dword [rbp - 0x39], r12d
dec rdi
mov r8d, ebx
and r8d, 3
jne 0x180002a3b
mov eax, ebx
shr rax, 2
mov dword [rbp + rax*4 - 0x35], r12d
mov eax, ebx
lea rdx, [rbp - 0x35]
shr rax, 2
mov ecx, 3
lea rdx, [rdx + rax*4]
sub ecx, r8d
movzx eax, byte [rsi]
inc ebx
shl ecx, 3
inc rsi
shl eax, cl
or dword [rdx], eax
cmp ebx, 0x40
jne 0x180002a7d
lea r8, [rbp - 0x59]
mov ebx, r12d
lea rdx, [rbp - 0x35]
lea rcx, [rbp - 0x59]
call fcn.180002b80
inc qword [rbp - 0x41]
test rdi, rdi
jne 0x180002a24
mov dword [rbp - 0x39], ebx
mov edi, 0x14
mov rsi, r13
nop dword [rax]
dec rdi
mov r8d, ebx
and r8d, 3
jne 0x180002aa7
mov eax, ebx
shr rax, 2
mov dword [rbp + rax*4 - 0x35], r12d
mov eax, ebx
lea rdx, [rbp - 0x35]
shr rax, 2
mov ecx, 3
lea rdx, [rdx + rax*4]
sub ecx, r8d
movzx eax, byte [rsi]
inc ebx
shl ecx, 3
inc rsi
shl eax, cl
or dword [rdx], eax
cmp ebx, 0x40
jne 0x180002ae9
lea r8, [rbp - 0x59]
mov ebx, r12d
lea rdx, [rbp - 0x35]
lea rcx, [rbp - 0x59]
call fcn.180002b80
inc qword [rbp - 0x41]
test rdi, rdi
jne 0x180002a90
lea rdx, [rbp + 0x17]
mov dword [rbp - 0x39], ebx
lea rcx, [rbp - 0x59]
call fcn.1800031b0
lea r8, [rbp + 0x17]
mov edx, r12d
sub r8, r14
test r15d, r15d
je 0x180002b2b
movzx eax, byte [r8 + r14]
inc edx
mov byte [r14], al
dec r15d
inc r14
cmp edx, 0x14
jb 0x180002b08
test r15d, r15d
jne 0x180002943
mov r13, qword [rsp + 0xc0]
mov r12, qword [rsp + 0xc8]
mov rdi, qword [rsp + 0x108]
mov rsi, qword [rsp + 0x100]
mov rbx, qword [rsp + 0xf0]
lea rcx, [0x180085ae8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.18004d010
add rsp, 0xd0
pop r15
pop r14
pop rbp
ret