Function at 0x71d843
Capabilities:
Encode data using xor
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x6c
mov eax, dword [0x101285c0]
push ebx
mov dword [esp + 0x6c], eax
xor eax, eax
push esi
push edi
mov byte [esp + 0x10], 0
mov ecx, 0x17
lea edi, [esp + 0x11]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [0x10128398]
add eax, 0xffffffe0
cmp eax, 0x78
jb 0x71d8bb
push 0x78
call fcn.007613f4
mov ebx, eax
xor edx, edx
add esp, 4
cmp ebx, edx
je 0x71d8bb
xor eax, eax
mov ecx, 0x1e
mov edi, ebx
rep stosd dword es:[edi], eax
mov ecx, dword [ebp + 0x18]
cmp ecx, 0x40
jge 0x71d8d0
mov esi, dword [ebp + 0x14]
mov eax, ecx
shr ecx, 2
lea edi, [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x6a09e667
jmp 0x71d934
mov eax, 0xfffffff4
mov ecx, dword [esp + 0x74]
call fcn.0075fee4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ecx
mov ecx, dword [ebp + 0x14]
push ecx
mov edi, 0x6a09e667
push ebx
mov byte [ebx], 8
mov dword [ebx + 0x50], edi
mov dword [ebx + 0x54], 0xbb67ae85
mov dword [ebx + 0x58], 0x3c6ef372
mov dword [ebx + 0x5c], 0xa54ff53a
mov dword [ebx + 0x60], 0x510e527f
mov dword [ebx + 0x64], 0x9b05688c
mov dword [ebx + 0x68], 0x1f83d9ab
mov dword [ebx + 0x6c], 0x5be0cd19
mov dword [ebx + 0x70], 0x1002ee10
mov dword [ebx + 8], edx
mov dword [ebx + 0xc], edx
call fcn.0071d1a3
lea edx, [esp + 0x1c]
push edx
push ebx
call fcn.0071d253
add esp, 0x14
xor edx, edx
xor eax, eax
xor byte [esp + eax + 0x10], 0x36
inc eax
cmp eax, 0x40
jl 0x71d936
push 0x40
lea eax, [esp + 0x14]
push eax
push ebx
mov byte [ebx], 8
mov dword [ebx + 0x50], edi
mov dword [ebx + 0x54], 0xbb67ae85
mov dword [ebx + 0x58], 0x3c6ef372
mov dword [ebx + 0x5c], 0xa54ff53a
mov dword [ebx + 0x60], 0x510e527f
mov dword [ebx + 0x64], 0x9b05688c
mov dword [ebx + 0x68], 0x1f83d9ab
mov dword [ebx + 0x6c], 0x5be0cd19
mov dword [ebx + 0x70], 0x1002ee10
mov dword [ebx + 8], edx
mov dword [ebx + 0xc], edx
call fcn.0071d1a3
mov esi, dword [ebp + 0x10]
add esp, 0xc
test esi, esi
jg 0x71d9af
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push ecx
push edx
push ebx
call fcn.0071d1a3
add esp, 0xc
jmp 0x71d9d4
mov eax, dword [ebp + 8]
push esi
push eax
push ebx
call fcn.0071d1a3
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
sub ecx, esi
sub ecx, 0x20
push ecx
lea eax, [edx + esi + 0x20]
push eax
push ebx
call fcn.0071d1a3
add esp, 0x18
lea ecx, [esp + 0x50]
push ecx
push ebx
call fcn.0071d253
add esp, 8
xor ecx, ecx
xor eax, eax
xor byte [esp + eax + 0x10], 0x6a
inc eax
cmp eax, 0x40
jl 0x71d9e6
push 0x60
lea edx, [esp + 0x14]
push edx
push ebx
mov byte [ebx], 8
mov dword [ebx + 0x50], edi
mov dword [ebx + 0x54], 0xbb67ae85
mov dword [ebx + 0x58], 0x3c6ef372
mov dword [ebx + 0x5c], 0xa54ff53a
mov dword [ebx + 0x60], 0x510e527f
mov dword [ebx + 0x64], 0x9b05688c
mov dword [ebx + 0x68], 0x1f83d9ab
mov dword [ebx + 0x6c], 0x5be0cd19
mov dword [ebx + 0x70], 0x1002ee10
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], ecx
call fcn.0071d1a3
mov eax, dword [ebp + 0x1c]
push eax
push ebx
call fcn.0071d253
push ebx
call fcn.00760fd0
mov ecx, dword [esp + 0x8c]
add esp, 0x18
xor eax, eax
call fcn.0075fee4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret