Function at 0x180002560
Capabilities:
Hash data using sha1

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xb0
mov rax, qword [0x180083008]
xor rax, rsp
mov qword [rbp + 0x27], rax
xor r12d, r12d
mov dword [rbp - 0x49], 0x67452301
mov qword [rbp - 0x31], r12
mov dword [rbp - 0x29], r12d
mov dword [rbp - 0x45], 0xefcdab89
mov dword [rbp - 0x41], 0x98badcfe
mov dword [rbp - 0x3d], 0x10325476
mov dword [rbp - 0x39], 0xc3d2e1f0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [rbp - 0x59], eax
mov edi, 4
lea rsi, [rbp - 0x59]
mov ebx, r12d
nop word [rax + rax]
dec rdi
mov r8d, ebx
and r8d, 3
jne 0x1800025f7
mov eax, ebx
shr rax, 2
mov dword [rbp + rax*4 - 0x25], r12d
mov eax, ebx
lea rdx, [rbp - 0x25]
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 0x180002639
lea r8, [rbp - 0x49]
mov ebx, r12d
lea rdx, [rbp - 0x25]
lea rcx, [rbp - 0x49]
call fcn.180002b80
inc qword [rbp - 0x31]
test rdi, rdi
jne 0x1800025e0
mov dword [rbp - 0x29], ebx
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [rbp - 0x59], eax
mov edi, 4
lea rsi, [rbp - 0x59]
dec rdi
mov r8d, ebx
and r8d, 3
jne 0x18000266a
mov eax, ebx
shr rax, 2
mov dword [rbp + rax*4 - 0x25], r12d
mov eax, ebx
lea rdx, [rbp - 0x25]
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 0x1800026ac
lea r8, [rbp - 0x49]
mov ebx, r12d
lea rdx, [rbp - 0x25]
lea rcx, [rbp - 0x49]
call fcn.180002b80
inc qword [rbp - 0x31]
test rdi, rdi
jne 0x180002653
mov dword [rbp - 0x29], ebx
lea r13, [0x180084210]
mov r15d, 0x3e8
lea rcx, [rbp - 0x51]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x180002741
mov edi, 8
lea rsi, [rbp - 0x51]
nop dword [rax + rax]
dec rdi
mov r8d, ebx
and r8d, 3
jne 0x1800026f7
mov eax, ebx
shr rax, 2
mov dword [rbp + rax*4 - 0x25], r12d
mov eax, ebx
lea rdx, [rbp - 0x25]
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 0x180002739
lea r8, [rbp - 0x49]
mov ebx, r12d
lea rdx, [rbp - 0x25]
lea rcx, [rbp - 0x49]
call fcn.180002b80
inc qword [rbp - 0x31]
test rdi, rdi
jne 0x1800026e0
mov dword [rbp - 0x29], ebx
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rbp - 0x59], eax
mov edi, 4
lea rsi, [rbp - 0x59]
dec rdi
mov r8d, ebx
and r8d, 3
jne 0x18000276a
mov eax, ebx
shr rax, 2
mov dword [rbp + rax*4 - 0x25], r12d
mov eax, ebx
lea rdx, [rbp - 0x25]
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 0x1800027ac
lea r8, [rbp - 0x49]
mov ebx, r12d
lea rdx, [rbp - 0x25]
lea rcx, [rbp - 0x49]
call fcn.180002b80
inc qword [rbp - 0x31]
test rdi, rdi
jne 0x180002753
mov dword [rbp - 0x29], ebx
lea r14d, [rdi + 0x64]
nop dword [rax + rax]
mov rdx, r13
lea rcx, [rbp - 0x49]
call fcn.1800031b0
mov dword [rbp - 0x49], 0x67452301
mov edi, 0x14
mov dword [rbp - 0x45], 0xefcdab89
mov rsi, r13
mov dword [rbp - 0x41], 0x98badcfe
mov ebx, r12d
mov dword [rbp - 0x3d], 0x10325476
mov dword [rbp - 0x39], 0xc3d2e1f0
mov qword [rbp - 0x31], r12
mov dword [rbp - 0x29], r12d
dec rdi
mov r8d, ebx
and r8d, 3
jne 0x180002819
mov eax, ebx
shr rax, 2
mov dword [rbp + rax*4 - 0x25], r12d
mov eax, ebx
lea rdx, [rbp - 0x25]
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 0x18000285b
lea r8, [rbp - 0x49]
mov ebx, r12d
lea rdx, [rbp - 0x25]
lea rcx, [rbp - 0x49]
call fcn.180002b80
inc qword [rbp - 0x31]
test rdi, rdi
jne 0x180002802
mov dword [rbp - 0x29], ebx
sub r14, 1
jne 0x1800027c0
sub r15, 1
jne 0x1800026c1
mov rdx, r13
lea rcx, [rbp - 0x49]
call fcn.1800031b0
mov byte [0x180084224], r12b
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.18004d010
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret