Function at 0x1591d0
Capabilities:
Hash data using sha256
Hash data using sha512

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
push rsi
push r12
push r13
sub rsp, 0x2b0
mov eax, dword [rdx]
mov rsi, rcx
lea rcx, [r11 - 0x1d4]
mov dword [rcx], eax
mov eax, dword [rdx + 4]
xor r13d, r13d
mov dword [rcx + 4], eax
mov eax, dword [rdx + 8]
mov dword [r11 - 0x1a4], r13d
mov dword [rcx + 8], eax
mov eax, dword [rdx + 0xc]
mov dword [r11 - 0x1a8], r13d
mov dword [rcx + 0xc], eax
mov eax, dword [rdx + 0x10]
mov ebp, r9d
mov dword [rcx + 0x10], eax
mov eax, dword [rdx + 0x14]
mov r12d, r8d
mov dword [rcx + 0x14], eax
mov eax, dword [rdx + 0x18]
mov dword [rcx + 0x18], eax
mov eax, dword [rdx + 0x1c]
mov dword [rcx + 0x1c], eax
lea rcx, [r11 - 0x1d8]
mov eax, r8d
and eax, 0xfffffff8
mov dword [rsp + 0xf0], eax
mov rax, qword [0x0016f490]
mov qword [r11 - 0xa0], rax
mov rax, qword [0x0016f498]
mov qword [r11 - 0x98], rax
mov rax, qword [0x0016f4a0]
mov qword [r11 - 0x90], rax
mov rax, qword [0x0016f4a8]
mov qword [r11 - 0x88], rax
mov rax, qword [0x0016f4b0]
mov qword [r11 - 0x80], rax
mov rax, qword [0x0016f4b8]
mov qword [r11 - 0x78], rax
mov rax, qword [0x0016f4c0]
mov qword [r11 - 0x70], rax
mov rax, qword [0x0016f4c8]
mov qword [r11 - 0x68], rax
mov rax, qword [rcx]
mov qword [r11 - 0x1a0], rax
mov rax, qword [rcx + 8]
mov qword [r11 - 0x198], rax
mov rax, qword [rcx + 0x10]
mov qword [r11 - 0x190], rax
mov rax, qword [rcx + 0x18]
mov qword [r11 - 0x188], rax
mov eax, dword [rcx + 0x20]
mov dword [rsp + 0x148], eax
lea eax, [r13 + 0x24]
cmp eax, 0x80
jae 0x1592f7
mov dword [rsp + 0x124], eax
jmp 0x15933a
lea rdx, [rsp + 0x128]
lea rcx, [rsp + 0x120]
mov r8d, 1
call fcn.00156300
lea rdx, [rsp + 0x114]
lea rcx, [rsp + 0x120]
xor r8d, r8d
call fcn.00156300
sub dword [rsp + 0x120], 0xffffff80
mov dword [rsp + 0x124], r13d
lea rdx, [rsp + 0x270]
lea rcx, [rsp + 0x120]
call fcn.001581b0
lea rcx, [rsp + 0xf0]
mov eax, ebp
and eax, 0xfffffff8
mov r11d, r12d
mov dword [rsp + 0x124], r13d
mov dword [rsp + 0xf0], eax
mov rax, qword [0x0016f490]
and r11d, 7
mov rbx, qword [rsp + r11*8 + 0x270]
mov qword [rsp + 0x228], rax
mov rax, qword [0x0016f498]
mov qword [rsp + 0x230], rax
mov rax, qword [0x0016f4a0]
shr rbx, 0xe
mov qword [rsp + 0x238], rax
mov rax, qword [0x0016f4a8]
mov dword [rsp + 0x120], r13d
mov qword [rsp + 0x240], rax
mov rax, qword [0x0016f4b0]
mov qword [rsp + 0x248], rax
mov rax, qword [0x0016f4b8]
mov qword [rsp + 0x250], rax
mov rax, qword [0x0016f4c0]
mov qword [rsp + 0x258], rax
mov rax, qword [0x0016f4c8]
mov qword [rsp + 0x260], rax
mov rax, qword [rcx]
mov qword [rsp + 0x128], rax
mov rax, qword [rcx + 8]
mov qword [rsp + 0x130], rax
mov rax, qword [rcx + 0x10]
mov qword [rsp + 0x138], rax
mov rax, qword [rcx + 0x18]
mov qword [rsp + 0x140], rax
mov eax, dword [rcx + 0x20]
mov dword [rsp + 0x148], eax
lea eax, [r13 + 0x24]
cmp eax, 0x80
jae 0x15944b
mov dword [rsp + 0x124], eax
jmp 0x15948e
lea rdx, [rsp + 0x128]
lea rcx, [rsp + 0x120]
mov r8d, 1
call fcn.00156300
lea rdx, [rsp + 0x114]
lea rcx, [rsp + 0x120]
xor r8d, r8d
call fcn.00156300
sub dword [rsp + 0x120], 0xffffff80
mov dword [rsp + 0x124], r13d
lea rdx, [rsp + 0x270]
lea rcx, [rsp + 0x120]
call fcn.001581b0
mov r11d, ebp
and r11d, 7
mov rax, qword [rsp + r11*8 + 0x270]
shr rax, 0xe
cmp rbx, rax
je 0x1594c2
xor al, al
jmp 0x159984
add dword [0x00191378], 2
mov dword [rsi + 0x50], r12d
mov dword [rsi + 0x54], ebp
mov eax, dword [0x0016f430]
mov qword [rsp + 0x2d0], rdi
mov dword [rsp + 0x24], r13d
mov dword [rsp + 0xa8], eax
mov eax, dword [0x0016f434]
mov dword [rsp + 0x20], r13d
mov dword [rsp + 0xac], eax
mov eax, dword [0x0016f438]
mov dword [rsp + 0xb0], eax
mov eax, dword [0x0016f43c]
mov dword [rsp + 0xb4], eax
mov eax, dword [0x0016f440]
mov dword [rsp + 0xb8], eax
mov eax, dword [0x0016f444]
mov dword [rsp + 0xbc], eax
mov eax, dword [0x0016f448]
mov dword [rsp + 0xc0], eax
mov eax, dword [0x0016f44c]
mov dword [rsp + 0xc4], eax
mov rax, qword [rsi]
mov qword [rsp + 0x28], rax
mov rax, qword [rsi + 8]
mov qword [rsp + 0x30], rax
mov rax, qword [rsi + 0x10]
mov qword [rsp + 0x38], rax
mov rax, qword [rsi + 0x18]
mov qword [rsp + 0x40], rax
mov rax, qword [rsi + 0x20]
mov qword [rsp + 0x48], rax
mov rax, qword [rsi + 0x28]
mov qword [rsp + 0x50], rax
mov rax, qword [rsi + 0x30]
mov qword [rsp + 0x58], rax
mov rax, qword [rsi + 0x38]
mov qword [rsp + 0x60], rax
lea eax, [r13 + 0x58]
cmp eax, 0x40
jae 0x1595a0
mov dword [rsp + 0x24], eax
jmp 0x1595ee
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x20]
mov r8d, 1
call fcn.001536e0
lea rdx, [rsi + 0x40]
lea rcx, [rsp + 0x20]
xor r8d, r8d
call fcn.001536e0
mov rax, qword [rsi + 0x40]
add dword [rsp + 0x20], 0x40
mov qword [rsp + 0x28], rax
mov rax, qword [rsi + 0x48]
mov dword [rsp + 0x24], 0x18
mov qword [rsp + 0x30], rax
mov rax, qword [rsi + 0x50]
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0x20]
call fcn.001560c0
mov eax, dword [0x0016f434]
mov r11d, dword [0x0016f430]
mov dword [rsp + 0xac], eax
mov eax, dword [0x0016f438]
lea rcx, [rsp + 0xd0]
mov dword [rsp + 0xb0], eax
mov eax, dword [0x0016f43c]
mov dword [rsp + 0xa8], r11d
mov dword [rsp + 0xb4], eax
mov eax, dword [0x0016f440]
mov dword [rsp + 0x24], r13d
mov dword [rsp + 0xb8], eax
mov eax, dword [0x0016f444]
mov dword [rsp + 0x20], r13d
mov dword [rsp + 0xbc], eax
mov eax, dword [0x0016f448]
mov dword [rsp + 0xc0], eax
mov eax, dword [0x0016f44c]
mov dword [rsp + 0xc4], eax
mov rax, qword [rcx]
mov qword [rsp + 0x28], rax
mov rax, qword [rcx + 8]
mov qword [rsp + 0x30], rax
mov rax, qword [rcx + 0x10]
mov qword [rsp + 0x38], rax
mov rax, qword [rcx + 0x18]
mov qword [rsp + 0x40], rax
lea eax, [r13 + 0x20]
cmp eax, 0x40
jae 0x1596ae
mov dword [rsp + 0x24], eax
jmp 0x1596e2
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x20]
mov r8d, 1
call fcn.001536e0
lea rdx, [rsp + 0xf0]
lea rcx, [rsp + 0x20]
xor r8d, r8d
call fcn.001536e0
add dword [rsp + 0x20], 0x40
mov dword [rsp + 0x24], r13d
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0x20]
call fcn.001560c0
mov edi, 7
mov rax, rdi
nop dword [rax]
mov ecx, dword [rsi + rax*4 + 0xa0]
mov edx, dword [rsp + rax*4 + 0xd0]
cmp edx, ecx
jb 0x15971c
cmp edx, ecx
ja 0x15972a
sub rax, 1
jns 0x159700
inc dword [0x0019137c]
mov rcx, rsi
call fcn.00151000
mov dword [rsi + 0x50], ebp
mov dword [rsi + 0x54], r12d
mov eax, dword [0x0016f430]
mov dword [rsp + 0xa8], eax
mov eax, dword [0x0016f434]
mov dword [rsp + 0x24], r13d
mov dword [rsp + 0xac], eax
mov eax, dword [0x0016f438]
mov dword [rsp + 0x20], r13d
mov dword [rsp + 0xb0], eax
mov eax, dword [0x0016f43c]
mov dword [rsp + 0xb4], eax
mov eax, dword [0x0016f440]
mov dword [rsp + 0xb8], eax
mov eax, dword [0x0016f444]
mov dword [rsp + 0xbc], eax
mov eax, dword [0x0016f448]
mov dword [rsp + 0xc0], eax
mov eax, dword [0x0016f44c]
mov dword [rsp + 0xc4], eax
mov rax, qword [rsi]
mov qword [rsp + 0x28], rax
mov rax, qword [rsi + 8]
mov qword [rsp + 0x30], rax
mov rax, qword [rsi + 0x10]
mov qword [rsp + 0x38], rax
mov rax, qword [rsi + 0x18]
mov qword [rsp + 0x40], rax
mov rax, qword [rsi + 0x20]
mov qword [rsp + 0x48], rax
mov rax, qword [rsi + 0x28]
mov qword [rsp + 0x50], rax
mov rax, qword [rsi + 0x30]
mov qword [rsp + 0x58], rax
mov rax, qword [rsi + 0x38]
mov qword [rsp + 0x60], rax
lea eax, [r13 + 0x58]
cmp eax, 0x40
jae 0x1597f9
mov dword [rsp + 0x24], eax
jmp 0x159847
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x20]
mov r8d, 1
call fcn.001536e0
lea rdx, [rsi + 0x40]
lea rcx, [rsp + 0x20]
xor r8d, r8d
call fcn.001536e0
mov rax, qword [rsi + 0x40]
add dword [rsp + 0x20], 0x40
mov qword [rsp + 0x28], rax
mov rax, qword [rsi + 0x48]
mov dword [rsp + 0x24], 0x18
mov qword [rsp + 0x30], rax
mov rax, qword [rsi + 0x50]
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0x20]
call fcn.001560c0
mov eax, dword [0x0016f434]
mov r11d, dword [0x0016f430]
mov dword [rsp + 0xac], eax
mov eax, dword [0x0016f438]
lea rcx, [rsp + 0xd0]
mov dword [rsp + 0xb0], eax
mov eax, dword [0x0016f43c]
mov dword [rsp + 0xa8], r11d
mov dword [rsp + 0xb4], eax
mov eax, dword [0x0016f440]
mov dword [rsp + 0x24], r13d
mov dword [rsp + 0xb8], eax
mov eax, dword [0x0016f444]
mov dword [rsp + 0x20], r13d
mov dword [rsp + 0xbc], eax
mov eax, dword [0x0016f448]
mov dword [rsp + 0xc0], eax
mov eax, dword [0x0016f44c]
mov dword [rsp + 0xc4], eax
mov rax, qword [rcx]
mov qword [rsp + 0x28], rax
mov rax, qword [rcx + 8]
mov qword [rsp + 0x30], rax
mov rax, qword [rcx + 0x10]
mov qword [rsp + 0x38], rax
mov rax, qword [rcx + 0x18]
mov qword [rsp + 0x40], rax
lea eax, [r13 + 0x20]
cmp eax, 0x40
jae 0x159907
mov dword [rsp + 0x24], eax
jmp 0x15993b
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x20]
mov r8d, 1
call fcn.001536e0
lea rdx, [rsp + 0xf0]
lea rcx, [rsp + 0x20]
xor r8d, r8d
call fcn.001536e0
add dword [rsp + 0x20], 0x40
mov dword [rsp + 0x24], r13d
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0x20]
call fcn.001560c0
nop dword [rax]
mov eax, dword [rsi + rdi*4 + 0xa0]
mov ecx, dword [rsp + rdi*4 + 0xd0]
cmp ecx, eax
jb 0x15996c
cmp ecx, eax
ja 0x15997a
sub rdi, 1
jns 0x159950
inc dword [0x0019137c]
mov rcx, rsi
call fcn.00151000
mov rdi, qword [rsp + 0x2d0]
mov al, 1
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r13
pop r12
pop rsi
ret