Function at 0x100315a0
Capabilities:
Hash data using sha256
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x20dc
call fcn.10178bb0
mov eax, dword [0x101e6040]
xor eax, esp
mov dword [esp + 0x20d8], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x3c], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x14]
push ebx
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x10], eax
push esi
push edi
test eax, eax
jle 0x10031b49
nop dword [eax]
lea edx, [esp + 0x18]
lea ecx, [esp + 0x48]
call fcn.100301e0
mov ebx, dword [esp + 0x48]
lea edx, [esp + 0x10]
mov esi, dword [esp + 0x18]
lea ecx, [esp + 0x14]
mov edi, eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x28], edi
mov dword [esp + 0x10], esi
call fcn.100301e0
test edi, edi
jle 0x10031b65
cmp edi, esi
jg 0x10031b65
dec eax
cmp eax, 4
ja case.0x1003163a.4
jmp dword [eax*4 + 0x10031b80]
lea edx, [esp + 0x10]
lea ecx, [esp + 0x14]
call fcn.100301e0
mov dword [esp + 0x4c], edx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x10]
mov dword [esp + 0x2c], eax
call fcn.100301e0
mov dword [esp + 0x44], edx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x10]
mov dword [esp + 0x48], eax
call fcn.100301e0
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x18], eax
mov dword [esp + 0x30], edx
mov dword [esp + 0x10], ecx
cmp ecx, 0x10
jl 0x100316c0
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
add dword [esp + 0x10], 0xfffffff0
movups xmm0, xmmword [ecx]
lea edx, [ecx + 0x10]
mov ecx, dword [esp + 0x10]
movups xmmword [eax + 0xc], xmm0
cmp ecx, 0x10
jl 0x100316c4
movups xmm0, xmmword [edx]
add ecx, 0xfffffff0
add edx, 0x10
mov dword [esp + 0x10], ecx
movups xmmword [eax + 0x1c], xmm0
jmp 0x100316c4
mov edx, dword [esp + 0x14]
cmp ecx, 8
jl 0x100316ee
mov ecx, dword [edx + 4]
mov eax, dword [edx]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x20]
mov dword [ecx + 0x2c], eax
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x34]
mov dword [eax + 0x30], ecx
mov ecx, dword [esp + 0x10]
sub ecx, 8
add edx, 8
mov eax, dword [esp + 0x2c]
or eax, dword [esp + 0x4c]
mov eax, dword [esp + 0x20]
jne 0x10031b65
cmp dword [esp + 0x30], 0
jg 0x10031b65
jl 0x10031718
cmp dword [esp + 0x18], 0x18
ja 0x10031b65
mov edi, dword [esp + 0x18]
mov dword [eax + 8], edi
mov eax, dword [esp + 0x48]
mov edi, dword [esp + 0x28]
and eax, 1
or eax, 0
je 0x100317c8
cmp ecx, 4
jl 0x1003173e
mov eax, dword [edx]
mov dword [esp + 0x54], eax
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x58]
xorps xmm0, xmm0
mov dword [esp + 0x58], 0x6a09e667
push 8
mov dword [esp + 0x60], 0xbb67ae85
lea edx, [edx + 0x2c]
mov dword [esp + 0x64], 0x3c6ef372
mov dword [esp + 0x68], 0xa54ff53a
mov dword [esp + 0x6c], 0x510e527f
mov dword [esp + 0x70], 0x9b05688c
mov dword [esp + 0x74], 0x1f83d9ab
mov dword [esp + 0x78], 0x5be0cd19
movlpd qword [esp + 0x7c], xmm0
call fcn.100bb8f0
add esp, 4
lea edx, [esp + 0xc0]
lea ecx, [esp + 0x58]
call fcn.100bb960
lea eax, [esp + 0x54]
xor ecx, ecx
mov eax, dword [eax]
lea edx, [esp + 0xc0]
cmp eax, dword [edx]
mov eax, dword [esp + 0x20]
sete cl
mov dword [eax], ecx
jmp 0x100317cc
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x48]
and ecx, 2
or ecx, 0
je 0x100317df
mov dword [eax + 4], 1
mov eax, dword [esp + 0x1c]
mov dword [eax + 0x20], 4
mov eax, dword [esp + 0x3c]
mov byte [eax + 0x735], 1
jmp case.0x1003163a.4
lea edx, [esp + 0x10]
lea ecx, [esp + 0x14]
call fcn.100301e0
or eax, edx
jne case.0x1003163a.4
cmp dword [esp + 0x10], 0x20
mov ecx, dword [esp + 0x20]
mov dword [ecx + 0x34], 3
jl case.0x1003163a.4
mov eax, dword [esp + 0x14]
movups xmm0, xmmword [eax]
movups xmmword [ecx + 0x38], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [ecx + 0x48], xmm0
jmp case.0x1003163a.4
cmp edi, 9
jl case.0x1003163a.4
lea edx, [esp + 0x10]
lea ecx, [esp + 0x14]
call fcn.100301e0
mov dl, al
mov byte [esp + 0x27], dl
test dl, 1
je 0x100318e5
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
test dl, 2
je 0x1003189c
cmp ecx, 4
jl 0x1003189c
mov ebx, dword [eax]
sub ecx, 4
mov dword [esp + 0x34], ebx
add eax, 4
mov ebx, dword [esp + 0x48]
test dl, 4
je 0x100318b6
cmp ecx, 4
jl 0x100318b6
mov esi, dword [eax]
sub ecx, 4
mov dword [esp + 0x2c], esi
add eax, 4
mov esi, dword [esp + 0x18]
test dl, 8
je 0x100318c4
cmp ecx, 4
jl 0x100318c4
mov eax, dword [eax]
jmp 0x100318c8
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x1c]
push 0
push eax
push 0
push dword [esp + 0x38]
push 0
push dword [esp + 0x48]
call fcn.1001ad90
jmp case.0x1003163a.4
mov eax, dword [esp + 0x10]
xorps xmm0, xmm0
test dl, 2
movlpd qword [esp + 0x4c], xmm0
mov edx, dword [esp + 0x14]
movlpd qword [esp + 0x34], xmm0
movlpd qword [esp + 0x40], xmm0
je 0x10031927
mov dword [esp + 0x30], eax
cmp eax, 8
jl 0x10031927
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x30]
sub eax, 8
mov dword [esp + 0x50], ecx
add edx, 8
mov cl, byte [esp + 0x27]
test cl, 4
je 0x1003194a
cmp eax, 8
jl 0x1003194a
mov edi, dword [edx]
sub eax, 8
mov dword [esp + 0x18], edi
mov edi, dword [edx + 4]
add edx, 8
mov dword [esp + 0x48], edi
jmp 0x1003195a
mov edi, dword [esp + 0x38]
mov dword [esp + 0x48], edi
mov edi, dword [esp + 0x34]
mov dword [esp + 0x18], edi
mov edi, dword [esp + 0x28]
test cl, 8
je 0x10031977
cmp eax, 8
jl 0x10031977
mov ecx, dword [edx]
mov dword [esp + 0x34], ecx
mov ecx, dword [edx + 4]
mov dword [esp + 0x2c], ecx
jmp 0x10031987
mov eax, dword [esp + 0x44]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x30]
test eax, eax
jne 0x100319ab
push 0x18
call fcn.1015144f
mov ecx, eax
add esp, 4
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x30], ecx
mov dword [eax + 0x30], ecx
mov eax, ecx
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x50]
mov dword [eax], ecx
mov ecx, dword [esp + 0x1c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x34]
mov eax, dword [ecx + 0x30]
mov dword [eax + 0x10], edx
mov edx, dword [esp + 0x2c]
mov dword [eax + 0x14], edx
mov eax, dword [ecx + 0x30]
mov ecx, dword [esp + 0x18]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x48]
mov dword [eax + 0xc], ecx
lea ecx, [esp + 0x4c]
call fcn.10002020
mov ecx, dword [esp + 0x1c]
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], edx
jmp case.0x1003163a.4
lea edx, [esp + 0x10]
lea ecx, [esp + 0x14]
call fcn.100301e0
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x10]
mov dword [esp + 0x4c], eax
mov dword [ecx + 0x78], eax
lea ecx, [esp + 0x14]
call fcn.100301e0
lea edx, [esp + 0x10]
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x14]
call fcn.100301e0
and dword [esp + 0x18], 1
mov dword [esp + 0x30], eax
mov byte [esp + 0xe0], 0
cmp eax, 0x1fff
jae case.0x1003163a.4
cmp dword [esp + 0x10], eax
jl 0x10031a67
push eax
push dword [esp + 0x18]
lea eax, [esp + 0xe8]
push eax
call fcn.101528b0
mov eax, dword [esp + 0x3c]
add esp, 0xc
mov byte [esp + eax + 0xe0], 0
mov eax, dword [esp + 0x4c]
cmp eax, 1
je 0x10031b04
cmp eax, 2
je 0x10031b04
cmp eax, 3
jne 0x10031ab2
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0xe0]
push 2
push 0xfde9
push eax
call fcn.1002b100
mov eax, dword [esp + 0x1c]
mov dword [eax + 0x24], 0x410
jmp case.0x1003163a.4
cmp eax, 4
jne 0x10031ad1
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0xe0]
push 1
push 0xfde9
push eax
call fcn.1002b100
jmp case.0x1003163a.4
cmp eax, 5
jne case.0x1003163a.4
mov ecx, dword [esp + 0x3c]
lea eax, [esp + 0xe0]
push 1
push eax
lea ecx, [ecx + 0x1c]
call fcn.1001afe0
mov ecx, dword [esp + 0x20]
mov dword [ecx + 0x7c], eax
test eax, eax
js case.0x1003163a.4
mov eax, dword [esp + 0x1c]
mov dword [eax + 0x2c], 0x197
jmp case.0x1003163a.4
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0xe0]
push 2
push 0xfde9
push eax
call fcn.1002b100
cmp dword [esp + 0x18], 0
mov ecx, dword [esp + 0x1c]
mov dword [ecx + 0x24], 0x400
je case.0x1003163a.4
mov dword [ecx + 0x24], 0x410
sub esi, edi
add ebx, edi
mov dword [esp + 0x48], ebx
mov dword [esp + 0x18], esi
test esi, esi
jg 0x100315f0
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20d8]
xor ecx, esp
call fcn.10151433
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [esp + 0x20e4]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10151433
mov esp, ebp
pop ebp
ret 0x10