Function at 0x140029c7c
Capabilities:
Hash data using sha256

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x60]
sub rsp, 0x160
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x1400b0700]
xor rax, rsp
mov qword [rbp + 0x50], rax
mov r14, rdx
mov r12, rcx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x28], rdx
mov r13d, reloc.WLDAP32.dll_Ordinal_32
mov r8d, r13d
xor edx, edx
lea rcx, [rbp - 0x20]
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov r8d, 0xa8
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
mov dword [rbp - 0x48], 0x6a09e667
mov dword [rbp - 0x44], 0xbb67ae85
mov dword [rbp - 0x40], 0x3c6ef372
mov dword [rbp - 0x3c], 0xa54ff53a
mov dword [rbp - 0x38], 0x510e527f
mov dword [rbp - 0x34], 0x9b05688c
mov dword [rbp - 0x30], 0x1f83d9ab
mov dword [rbp - 0x2c], 0x5be0cd19
and dword [rsp + 0x34], 0
and dword [rsp + 0x30], 0
mov rdi, qword [r14 + 0x10]
mov rsi, r14
cmp qword [r14 + 0x18], 0x10
jb 0x140029d3a
mov rsi, qword [r14]
mov ebx, 0x40
cmp edi, ebx
cmovb ebx, edi
mov r8d, ebx
mov rdx, rsi
lea rcx, [rsp + 0x38]
call sub.VCRUNTIME140.dll_memcpy
mov r15d, dword [rsp + 0x34]
add r15d, edi
cmp r15d, 0x40
jae 0x140029d68
mov ecx, dword [rsp + 0x30]
jmp 0x140029dc5
mov r15d, edi
sub r15d, ebx
mov edi, r15d
shr edi, 6
add rbx, rsi
mov r8d, 1
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x30]
call fcn.140029a48
mov r8d, edi
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.140029a48
and r15d, 0x3f
mov r8d, r15d
mov edx, edi
shl edx, 6
add rdx, rbx
lea rcx, [rsp + 0x38]
call sub.VCRUNTIME140.dll_memcpy
shl edi, 6
mov ecx, dword [rsp + 0x30]
add ecx, 0x40
add ecx, edi
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x34], r15d
mov eax, r15d
and eax, 0x3f
xor esi, esi
cmp al, 0x37
seta sil
lea edi, [r15 + rcx]
shl edi, 3
lea ebx, [rsi + 1]
shl ebx, 6
mov r8d, ebx
sub r8d, r15d
mov eax, r15d
lea rcx, [rsp + 0x38]
add rcx, rax
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov eax, dword [rsp + 0x34]
mov byte [rsp + rax + 0x38], pe_nt_image_headers64
mov byte [rsp + rbx + 0x37], dil
mov eax, edi
shr eax, 8
mov byte [rsp + rbx + 0x36], al
mov eax, edi
shr eax, 0x10
mov byte [rsp + rbx + 0x35], al
shr edi, 0x18
mov byte [rsp + rbx + 0x34], dil
lea r8d, [rsi + 1]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x30]
call fcn.140029a48
xor esi, esi
mov r8d, esi
lea r9, [rbp - 0x48]
mov eax, r8d
shl eax, 2
movsxd rdx, eax
mov al, byte [r9]
mov byte [rbp + rdx - 0x1d], al
mov ecx, dword [r9]
mov eax, ecx
shr eax, 8
mov byte [rbp + rdx - 0x1e], al
mov eax, ecx
shr eax, 0x10
mov byte [rbp + rdx - 0x1f], al
shr ecx, 0x18
mov byte [rbp + rdx - 0x20], cl
inc r8d
lea r9, [r9 + 4]
cmp r8d, 8
jl 0x140029e41
mov byte [rbp + 0x40], sil
lea rbx, [rbp - 0x20]
lea rdi, [rbp]
movzx r8d, byte [rbx]
lea rdx, str._02x
mov rcx, rdi
call fcn.1400012f8
add rdi, 2
inc rbx
sub r13, 1
jne 0x140029e86
lea rdx, [rbp]
mov rcx, r12
call fcn.140022fec
nop
mov rdx, qword [r14 + 0x18]
cmp rdx, 0x10
jb 0x140029ee9
inc rdx
mov rcx, qword [r14]
cmp rdx, 0x1000
jb 0x140029ee4
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140029f22
mov rcx, r8
call fcn.14008579c
mov qword [r14 + 0x10], rsi
mov qword [r14 + 0x18], reloc.WS2_32.dll_ntohs
mov byte [r14], sil
mov rax, r12
mov rcx, qword [rbp + 0x50]
xor rcx, rsp
call fcn.140085070
mov rbx, qword [rsp + 0x1b0]
add rsp, 0x160
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3