Function at 0x1400f85d0
Capabilities:
Hash data using sha256

Disassembly:
push rbx
push rbp
sub rsp, 0x148
mov rax, qword [0x1409c0280]
xor rax, rsp
mov qword [rsp + 0x110], rax
mov ebp, dword [rcx]
mov rbx, rcx
mov qword [rsp + 0x60], rcx
mov dword [rsp + 0x24], ebp
cmp ebp, 0xf4240
jne 0x1400f860c
mov eax, 2
jmp 0x1400f8bfd
mov qword [rsp + 0x178], rsi
mov qword [rsp + 0x140], rdi
lea rdi, [rcx + 8]
mov r9, rdi
mov byte [rsp + 0x20], 3
call fcn.1400f83b0
xor esi, esi
test eax, eax
jne 0x1400f8bcc
lea r8d, [rsi + 1]
mov qword [rsp + 0xe0], rsi
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x70], 0x6a09e667
lea rcx, [rsp + 0x70]
mov dword [rsp + 0x74], 0xbb67ae85
mov dword [rsp + 0x78], 0x3c6ef372
mov dword [rsp + 0x7c], 0xa54ff53a
mov dword [rsp + 0x80], 0x510e527f
mov dword [rsp + 0x84], 0x9b05688c
mov dword [rsp + 0x88], 0x1f83d9ab
mov dword [rsp + 0x8c], 0x5be0cd19
mov qword [rsp + 0xd0], rsi
mov dword [rsp + 0xd8], esi
call fcn.1400ee950
test eax, eax
jne 0x1400f8bca
test rdi, rdi
je 0x1400f8bc5
lea r8d, [rsi + 0x37]
mov rdx, rdi
lea rcx, [rsp + 0x70]
call fcn.1400ee950
test eax, eax
jne 0x1400f8bca
lea rdx, [rsp + 0xf0]
lea rcx, [rsp + 0x70]
call fcn.1400ef3c0
test eax, eax
jne 0x1400f8bca
mov qword [rsp + 0x138], r12
lea rcx, [rsp + 0x10d]
mov qword [rsp + 0x130], r13
lea r9, [rsp + 0x10d]
mov rax, rdi
mov qword [rsp + 0x128], r14
sub rax, rcx
mov qword [rsp + 0x120], r15
movzx r8d, si
mov r10d, 2
lea rdx, [rax + 0x2b]
mov qword [rsp + 0x30], rdx
lea rcx, [rax + 0x2c]
lea rdx, [rax + 0x29]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x40], rdx
lea rcx, [rax + 0x2a]
lea rdx, [rax + 0x27]
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x50], rdx
lea rcx, [rax + 0x28]
lea rdx, [rax + 0x36]
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x58], rdx
lea r11, [rax + 0x35]
lea r14, [rax + 0x34]
lea r15, [rax + 0x33]
lea r12, [rax + 0x32]
lea r13, [rax + 0x31]
lea rdi, [rax + 0x30]
lea rbp, [rax + 0x2f]
lea rbx, [rax + 0x2e]
lea rsi, [rax + 0x2d]
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rdx + r9]
movzx ecx, byte [r9 + 2]
add cx, ax
movzx eax, byte [r11 + r9]
add r8w, cx
movzx ecx, byte [r9 - 1]
mov byte [rdx + r9], r8b
movzx edx, byte [r9 + 1]
shr r8w, 8
add dx, r8w
add dx, ax
movzx eax, byte [r14 + r9]
mov byte [r11 + r9], dl
shr dx, 8
add dx, ax
movzx eax, byte [r9]
add dx, ax
movzx eax, byte [r15 + r9]
mov byte [r14 + r9], dl
shr dx, 8
add cx, dx
movzx edx, byte [r9 - 2]
add cx, ax
movzx eax, byte [r12 + r9]
mov byte [r15 + r9], cl
shr cx, 8
add dx, cx
movzx ecx, byte [r9 - 3]
add dx, ax
movzx eax, byte [r9 + r13]
mov byte [r12 + r9], dl
shr dx, 8
add cx, dx
movzx edx, byte [r9 - 4]
add cx, ax
movzx eax, byte [rdi + r9]
mov byte [r9 + r13], cl
shr cx, 8
add dx, cx
movzx ecx, byte [r9 - 5]
add dx, ax
movzx eax, byte [r9 + rbp]
mov byte [rdi + r9], dl
shr dx, 8
add cx, dx
movzx edx, byte [r9 - 6]
add cx, ax
movzx eax, byte [rbx + r9]
mov byte [r9 + rbp], cl
shr cx, 8
add dx, cx
movzx ecx, byte [r9 - 7]
add dx, ax
movzx eax, byte [rsi + r9]
mov byte [rbx + r9], dl
shr dx, 8
add cx, dx
movzx edx, byte [r9 - 8]
add cx, ax
mov byte [rsi + r9], cl
shr cx, 8
add dx, cx
mov rcx, qword [rsp + 0x28]
movzx eax, byte [rcx + r9]
add dx, ax
mov byte [rcx + r9], dl
movzx ecx, byte [r9 - 9]
shr dx, 8
add cx, dx
mov rdx, qword [rsp + 0x30]
movzx eax, byte [rdx + r9]
add cx, ax
mov byte [rdx + r9], cl
movzx edx, byte [r9 - 0xa]
shr cx, 8
add dx, cx
mov rcx, qword [rsp + 0x38]
movzx eax, byte [rcx + r9]
add dx, ax
mov byte [rcx + r9], dl
movzx ecx, byte [r9 - 0xb]
movzx r8d, byte [r9 - 0xd]
lea r9, [r9 - 0x10]
shr dx, 8
add cx, dx
mov rdx, qword [rsp + 0x40]
movzx eax, byte [rdx + r9 + 0x10]
add cx, ax
mov byte [rdx + r9 + 0x10], cl
movzx edx, byte [r9 + 4]
shr cx, 8
add dx, cx
mov rcx, qword [rsp + 0x48]
movzx eax, byte [rcx + r9 + 0x10]
add dx, ax
mov byte [rcx + r9 + 0x10], dl
mov rcx, qword [rsp + 0x50]
shr dx, 8
add r8w, dx
mov rdx, qword [rsp + 0x58]
movzx eax, byte [rcx + r9 + 0x10]
add r8w, ax
mov byte [rcx + r9 + 0x10], r8b
shr r8w, 8
sub r10, 1
jne 0x1400f87a0
mov rbx, qword [rsp + 0x60]
mov esi, 0
mov r15, qword [rsp + 0x120]
mov r14, qword [rsp + 0x128]
mov r13, qword [rsp + 0x130]
mov r12, qword [rsp + 0x138]
lea rdi, [rbx + 8]
mov ebp, dword [rsp + 0x24]
test r8w, r8w
je 0x1400f89b5
lea rcx, [rdi + 0x16]
cmp rcx, rdi
js 0x1400f89b5
movzx eax, byte [rcx]
add r8w, ax
mov byte [rcx], r8b
dec rcx
shr r8w, 8
test r8w, r8w
jne 0x1400f8998
movzx r9d, si
lea rax, [rbx + 0x3d]
mov r10d, 5
nop dword [rax]
nop word [rax + rax]
movzx edx, byte [rax + 0x38]
movzx ecx, byte [rax + 1]
lea rax, [rax - 0xb]
add dx, cx
movzx ecx, byte [rax + 0xb]
add r9w, dx
mov byte [rax + 0xc], r9b
shr r9w, 8
add r9w, cx
movzx ecx, byte [rax + 0x42]
add r9w, cx
movzx ecx, byte [rax + 0xa]
mov byte [rax + 0xb], r9b
movzx edx, byte [rax + 0x41]
shr r9w, 8
add dx, r9w
add dx, cx
movzx ecx, byte [rax + 9]
mov byte [rax + 0xa], dl
movzx r8d, byte [rax + 0x40]
shr dx, 8
add r8w, dx
add r8w, cx
movzx ecx, byte [rax + 8]
mov byte [rax + 9], r8b
movzx edx, byte [rax + 0x3f]
shr r8w, 8
add dx, r8w
add dx, cx
movzx ecx, byte [rax + 7]
mov byte [rax + 8], dl
movzx r8d, byte [rax + 0x3e]
shr dx, 8
add r8w, dx
add r8w, cx
movzx ecx, byte [rax + 6]
mov byte [rax + 7], r8b
movzx edx, byte [rax + 0x3d]
shr r8w, 8
add dx, r8w
add dx, cx
movzx ecx, byte [rax + 5]
mov byte [rax + 6], dl
movzx r8d, byte [rax + 0x3c]
shr dx, 8
add r8w, dx
add r8w, cx
movzx ecx, byte [rax + 4]
mov byte [rax + 5], r8b
movzx edx, byte [rax + 0x3b]
shr r8w, 8
add dx, r8w
add dx, cx
movzx ecx, byte [rax + 3]
mov byte [rax + 4], dl
movzx r8d, byte [rax + 0x3a]
shr dx, 8
add r8w, dx
add r8w, cx
movzx ecx, byte [rax + 2]
mov byte [rax + 3], r8b
movzx r9d, byte [rax + 0x39]
shr r8w, 8
add r9w, r8w
add r9w, cx
mov byte [rax + 2], r9b
shr r9w, 8
sub r10, 1
jne 0x1400f89d0
mov r10, 0xfffffffffffffff8
test r9w, r9w
je 0x1400f8b21
mov rdx, r10
lea rcx, [rbx + 7]
sub rdx, rbx
lea rax, [rcx + rdx]
test rax, rax
js 0x1400f8b21
movzx eax, byte [rcx]
add r9w, ax
mov byte [rcx], r9b
dec rcx
shr r9w, 8
test r9w, r9w
jne 0x1400f8b00
movzx eax, byte [rbx + 0x3e]
mov r8d, ebp
ror r8d, 8
rol ebp, 8
and r8d, 0xff00ff00
and ebp, 0xff00ff
or r8d, ebp
mov ecx, r8d
shr ecx, 0x18
add cx, ax
mov eax, r8d
shr eax, 0x10
mov byte [rbx + 0x3e], cl
shr cx, 8
movzx edx, al
movzx eax, byte [rbx + 0x3d]
add dx, cx
add dx, ax
mov eax, r8d
shr eax, 8
movzx ecx, al
movzx eax, byte [rbx + 0x3c]
mov byte [rbx + 0x3d], dl
shr dx, 8
add cx, dx
add cx, ax
movzx eax, byte [rbx + 0x3b]
mov byte [rbx + 0x3c], cl
shr cx, 8
add cx, ax
movzx eax, r8b
add cx, ax
mov byte [rbx + 0x3b], cl
shr cx, 8
test cx, cx
je 0x1400f8bc1
sub r10, rbx
lea rdx, [rbx + 0x3a]
lea rax, [rdx + r10]
test rax, rax
js 0x1400f8bc1
movzx eax, byte [rdx]
add cx, ax
mov byte [rdx], cl
dec rdx
shr cx, 8
test cx, cx
jne 0x1400f8ba4
mov eax, esi
jmp 0x1400f8bca
mov eax, 0xffffff53
inc dword [rbx]
mov rdi, qword [rsp + 0x140]
lea rdx, [rsp + 0xf0]
mov ecx, reloc.WLDAP32.dll_Ordinal_32
mov byte [rdx], 0
lea rdx, [rdx + 1]
add ecx, 0xffffffff
jne 0x1400f8be1
test eax, eax
setne sil
mov eax, esi
mov rsi, qword [rsp + 0x178]
mov rcx, qword [rsp + 0x110]
xor rcx, rsp
call fcn.140167e90
add rsp, 0x148
pop rbp
pop rbx
ret