Function at 0x1006bf40
Capabilities:
Hash data using sha256

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1016234b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x180
mov eax, dword [0x101ed004]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x180], edi
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 8]
mov dword [ebp - 0x18c], eax
lea eax, [edi + 0x1c8]
push eax
mov dword [ebp - 0x174], ecx
push ecx
mov ecx, edi
call fcn.1006b680
test eax, eax
je 0x1006c882
push 0x7c
lea eax, [ebp - 0x150]
mov dword [ebp - 0x16c], 0
push 0
push eax
call fcn.10143f10
add esp, 0xc
lea ecx, [ebp - 0x150]
call fcn.1008a9f0
xorps xmm0, xmm0
mov dword [ebp - 4], 0
movups xmmword [ebp - 0x168], xmm0
push 0x18
movq qword [ebp - 0x158], xmm0
mov dword [ebp - 0x164], 0
mov dword [ebp - method.CMemOutStream.1.virtual_0], vtable.CMemOutStream.1.0
mov dword [ebp - method.CMemOutStream.virtual_0], vtable.CMemOutStream.0
mov dword [ebp - 0x158], 0x18
mov dword [ebp - 0x154], 0
call fcn.10146843
add esp, 4
mov dword [ebp - 0x15c], eax
mov byte [ebp - 4], 1
cmp dword [edi + 0xa4], 0
je 0x1006c2b5
cmp dword [edi + 0x1fc], 0
je 0x1006c2b5
push dword [edi + 0x1fc]
mov eax, dword [edi + 0x1e0]
push dword [edi + 0x1f8]
mov dword [ebp - 0x17c], eax
lea eax, [ebp - 0x14c]
push eax
mov dword [ebp - 0x184], 1
call fcn.1008ac60
xorps xmm0, xmm0
mov dword [ebp - 0xe4], 0x10
push 0x101fb4b8
movups xmmword [ebp - 0xf4], xmm0
mov edi, 0x10
lea esi, [ebp - 0xf4]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [0x101eead8], 0
je 0x1006c0c0
call fcn.100d73e0
nop dword [eax]
xorps xmm0, xmm0
mov dword [ebp - 0xd0], 0x6a09e667
push 0x20
mov edx, 0x101eeab8
mov dword [ebp - 0xcc], 0xbb67ae85
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0xc8], 0x3c6ef372
mov dword [ebp - 0xc4], 0xa54ff53a
mov dword [ebp - 0xc0], 0x510e527f
mov dword [ebp - 0xbc], 0x9b05688c
mov dword [ebp - 0xb8], 0x1f83d9ab
mov dword [ebp - 0xb4], 0x5be0cd19
movlpd qword [ebp - 0xb0], xmm0
call fcn.100d7270
add esp, 4
lea ecx, [ebp - 0xd0]
mov edx, 0x101eeab8
call fcn.100d7320
xorps xmm0, xmm0
mov dword [ebp - 0xd0], 0x6a09e667
push 4
lea edx, [ebp - 0x5c]
mov dword [ebp - 0xcc], 0xbb67ae85
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0xc8], 0x3c6ef372
mov dword [ebp - 0xc4], 0xa54ff53a
mov dword [ebp - 0xc0], 0x510e527f
mov dword [ebp - 0xbc], 0x9b05688c
mov dword [ebp - 0xb8], 0x1f83d9ab
mov dword [ebp - 0xb4], 0x5be0cd19
movlpd qword [ebp - 0xb0], xmm0
mov dword [ebp - 0x5c], 0xf672abd1
call fcn.100d7270
add esp, 4
lea ecx, [ebp - 0xd0]
mov edx, 0x101eeab8
push 0x20
call fcn.100d7270
add esp, 4
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0xd0]
call fcn.100d7320
lea edx, [ebp - 0x40]
xor ecx, ecx
sub edx, esi
nop
test edi, edi
je 0x1006c1f9
mov al, byte [esi + edx]
inc ecx
mov byte [esi], al
dec edi
inc esi
cmp ecx, 0x20
jb 0x1006c1e0
test edi, edi
jne 0x1006c0c0
push 0x101fb4b8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edi, dword [ebp - 0x130]
mov ecx, edi
mov esi, dword [ebp - 0xe4]
neg ecx
mov eax, esi
sbb cl, cl
and cl, 0x80
neg eax
sbb al, al
and al, 0x40
or cl, al
or cl, byte [ebp - 0x134]
mov byte [ebp - 0x44], cl
test edi, edi
jne 0x1006c238
test esi, esi
je 0x1006c27f
xor eax, eax
jmp 0x1006c23b
lea eax, [edi - 1]
test esi, esi
jne 0x1006c243
xor ecx, ecx
jmp 0x1006c246
lea ecx, [esi - 1]
shl al, 4
or al, cl
mov byte [ebp - 0x43], al
lea eax, [ebp - 0x12c]
push edi
push eax
lea eax, [ebp - 0x42]
push eax
call fcn.10146160
add esp, 0xc
lea eax, [ebp - 0xf4]
add edi, 2
push esi
push eax
lea eax, [ebp - 0x44]
add eax, edi
push eax
call fcn.10146160
add esp, 0xc
add edi, esi
jmp 0x1006c284
mov edi, 1
push edi
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x160]
call fcn.100d05e0
add esp, 4
lea eax, [ebp - 0x150]
push eax
call fcn.1008ace0
mov edi, dword [ebp - 0x180]
mov eax, 1
mov ecx, dword [ebp - 0x17c]
jmp 0x1006c2c9
mov ecx, dword [edi + 0x1e0]
xor eax, eax
mov dword [ebp - 0x184], eax
mov dword [ebp - 0x17c], ecx
cmp dword [edi + 0xa0], 0
je 0x1006c66d
test ecx, ecx
je 0x1006c66d
mov edx, dword [edi + 0x1e4]
mov ecx, dword [edi + 0x1e0]
call fcn.1015e040
mulsd xmm0, qword [0x101dc700]
mov ecx, 0x38
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x60], 0
cvttsd2si eax, xmm0
xorps xmm0, xmm0
sub ecx, eax
movq qword [ebp - 0x68], xmm0
mov dword [ebp - 0x170], ecx
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x68], vtable.CArkAutoByte.0
mov byte [ebp - 4], 2
cmp ecx, 0x7fffffff
jae 0x1006c644
push ecx
call fcn.10146843
mov esi, eax
add esp, 4
mov eax, dword [ebp - 0x170]
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x60], eax
test esi, esi
je 0x1006c644
mov ecx, dword [edi + 0x1d4]
mov edx, ecx
mov eax, dword [edi + 0x1e0]
push 0x101f1fd0
mov dword [ebp - 0x190], ecx
or ecx, 0xffffffff
push eax
mov dword [ebp - 0x180], eax
call fcn.100d5f20
not eax
mov word [ebp - 0x18], 0
xorps xmm0, xmm0
mov dword [ebp - 0x5c], eax
lea ecx, [ebp - 0x58]
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x188], 0xa
call fcn.1008b160
push 0x1cbc0
push 0x1017b290
mov dword [ebp - 0x58], 3
call fcn.10090540
add esp, 8
mov dword [ebp - 0x16c], eax
test eax, eax
je 0x1006c501
mov ecx, eax
call fcn.1008db20
mov ecx, dword [ebp - 0x16c]
lea edx, [ebp - 0x58]
call fcn.1008b300
mov dword [ebp - 0x178], eax
test eax, eax
jne 0x1006c50b
mov ecx, dword [ebp - 0x16c]
lea eax, [ebp - 0x188]
push eax
lea edx, [ebp - 0x20]
call fcn.1008f160
add esp, 4
mov dword [ebp - 0x178], eax
test eax, eax
jne 0x1006c50b
mov eax, dword [ebp - 0x170]
xor edx, edx
mov dword [ebp - 0x2c], esi
mov esi, dword [ebp - 0x16c]
mov ecx, esi
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x30]
push 0x1017b288
push 0x1017b290
mov dword [esi + 0x7c], eax
mov eax, dword [ebp - 0x190]
mov dword [esi + 0x28c], eax
mov eax, dword [ebp - 0x180]
mov dword [ebp - 0x30], 0x1008f080
mov dword [ebp - 0x24], 0
mov dword [esi + 0xa8], 0
mov byte [esi + 0x277], 1
mov dword [esi + 0x2a4], eax
mov dword [esi + 0xb4], 1
mov dword [esi + 0x6c0], eax
mov dword [esi + 0x6c4], 0
call fcn.1008f000
mov ecx, eax
add esp, 8
mov dword [ebp - 0x178], ecx
test ecx, ecx
jne 0x1006c4d8
xor edx, edx
mov ecx, esi
call fcn.1008f0c0
mov ecx, eax
mov dword [ebp - 0x178], ecx
test ecx, ecx
jne 0x1006c4d8
mov eax, dword [ebp - 0x180]
cmp dword [esi + 0xb8], eax
jne 0x1006c4ce
cmp dword [esi + 0xbc], ecx
je 0x1006c4d8
mov dword [ebp - 0x178], 0xb
mov eax, dword [ebp - 0x170]
sub eax, dword [ebp - 0x28]
cmp dword [ebp - 0x24], 0
mov dword [ebp - 0x170], eax
je 0x1006c511
push 0x1017b288
mov edx, 0x1017b290
mov ecx, esi
call fcn.1008dda0
add esp, 4
mov eax, 0xa0000063
jmp 0x1006c649
mov esi, dword [ebp - 0x16c]
push 0x1017b288
mov edx, 0x1017b290
mov ecx, esi
call fcn.1008dda0
add esp, 4
cmp dword [ebp - 0x178], 0
jne 0x1006c501
cmp dword [ebp - 0x184], 0
mov esi, dword [ebp - 0x170]
je 0x1006c55b
mov eax, dword [ebp - 0xe0]
add esi, 0xf
and esi, 0xfffffff0
push esi
push dword [ebp - 0x64]
mov ecx, dword [eax]
push eax
mov dword [ebp - 0x16c], esi
call dword [ecx + 0x10]
jmp 0x1006c561
mov dword [ebp - 0x16c], esi
push 0
push esi
push dword [ebp - 0x64]
mov ecx, edi
push dword [ebp - 0x174]
call fcn.1000be40
test eax, eax
jne 0x1006c582
mov eax, 0xa0000030
jmp 0x1006c649
cmp dword [ebp - 0x184], 0
lea eax, [ebp - 0x20]
je 0x1006c5c9
push dword [ebp - 0x154]
push dword [ebp - 0x15c]
push dword [ebp - 0x188]
push eax
mov eax, dword [ebp - 0x17c]
push eax
push esi
push dword [ebp - 0x170]
push ecx
push dword [ebp - 0x5c]
mov ecx, edi
push dword [ebp - 0x174]
call fcn.1006b490
test eax, eax
jne 0x1006c5f7
jmp 0x1006c656
push 0
push 0
push dword [ebp - 0x188]
push eax
mov eax, dword [ebp - 0x17c]
push eax
push esi
push dword [ebp - 0x170]
push ecx
push dword [ebp - 0x5c]
mov ecx, edi
push dword [ebp - 0x174]
call fcn.1006b490
test eax, eax
je 0x1006c656
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x64]
test eax, eax
je 0x1006c60b
push eax
call fcn.10146720
add esp, 4
push 0
push dword [edi + 0x1e0]
mov ecx, edi
push dword [edi + 0x1d4]
push dword [ebp - 0x174]
call fcn.1000be40
test eax, eax
jne 0x1006c7b0
push eax
push eax
push 0xa0000030
lea ecx, [edi + 8]
call fcn.1000baa0
xor esi, esi
jmp 0x1006c81f
mov eax, 0xa0000047
push 0
push 0
push eax
lea ecx, [edi + 8]
call fcn.1000baa0
mov eax, dword [ebp - 0x64]
test eax, eax
je 0x1006c666
push eax
call fcn.10146720
add esp, 4
xor esi, esi
jmp 0x1006c81f
test eax, eax
je 0x1006c60b
mov eax, dword [edi + 0x1e0]
xorps xmm0, xmm0
mov dword [ebp - 0x190], eax
xor esi, esi
add eax, 0xf
movq qword [ebp - 0x68], xmm0
cdq
and edx, 0xf
mov dword [ebp - 0x60], 0
add eax, edx
mov dword [ebp - 0x64], esi
and eax, 0xfffffff0
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x16c], eax
mov dword [ebp - 0x68], vtable.CArkAutoByte.0
mov byte [ebp - 4], 3
cmp eax, 0x7fffffff
jae 0x1006c789
push 1
push eax
call fcn.1014bd06
mov esi, eax
add esp, 8
mov eax, dword [ebp - 0x16c]
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x60], eax
test esi, esi
je 0x1006c789
push dword [edi + 0x1e0]
push dword [edi + 0x1d4]
push esi
call fcn.10146160
mov edx, dword [edi + 0x1d4]
add esp, 0xc
or ecx, 0xffffffff
push 0x101f1fd0
push dword [edi + 0x1e0]
call fcn.100d5f20
mov ecx, dword [ebp - 0xe0]
not eax
push dword [ebp - 0x16c]
mov dword [ebp - 0x5c], eax
push esi
mov edx, dword [ecx]
push ecx
call dword [edx + 0x10]
push 0
push dword [ebp - 0x16c]
mov ecx, edi
push esi
push dword [ebp - 0x174]
call fcn.1000be40
test eax, eax
jne 0x1006c744
mov eax, 0xa0000030
jmp 0x1006c78e
push dword [ebp - 0x154]
push dword [ebp - 0x15c]
push 0
push 0
push dword [ebp - 0x190]
push dword [ebp - 0x16c]
push 0
push ecx
push dword [ebp - 0x5c]
mov ecx, edi
push dword [ebp - 0x174]
call fcn.1006b490
test eax, eax
je 0x1006c79b
mov byte [ebp - 4], 1
test esi, esi
je 0x1006c60b
push esi
jmp 0x1006c603
mov eax, 0xa0000047
push 0
push 0
push eax
lea ecx, [edi + 8]
call fcn.1000baa0
test esi, esi
je 0x1006c63d
push esi
call fcn.10146720
add esp, 4
xor esi, esi
jmp 0x1006c81f
mov edx, dword [ebp - 0x174]
xor eax, eax
mov ecx, dword [ebp - 0x16c]
mov esi, dword [ebp - 0x18c]
push 0x101f1fd0
add ecx, dword [edx]
adc eax, dword [edx + 4]
mov edx, esi
mov dword [esi + 0xc], ecx
mov dword [esi + 0x10], eax
mov eax, dword [edi + 0x1e0]
mov ecx, dword [edi + 0x1e4]
mov dword [edx + 0x18], ecx
or ecx, 0xffffffff
mov dword [edx + 0x14], eax
push dword [edi + 0x1e0]
mov edx, dword [edi + 0x1d4]
call fcn.100d5f20
mov edi, esi
lea edx, [esi + 0xc]
push 0x101f1fd0
not eax
or ecx, 0xffffffff
push 0x14
mov dword [edi + 0x1c], eax
call fcn.100d5f20
not eax
mov esi, 1
mov dword [edi + 8], eax
mov eax, dword [ebp - 0x15c]
mov dword [ebp - method.CMemOutStream.1.virtual_0], vtable.CMemOutStream.1.0
mov dword [ebp - method.CMemOutStream.virtual_0], vtable.CMemOutStream.0
test eax, eax
je 0x1006c846
push eax
call fcn.10146720
add esp, 4
mov dword [ebp - method.CArkUnknownImp.virtual_0], vtable.CArkUnknownImp.0
mov dword [ebp - 4], 4
mov eax, dword [ebp - 0xe0]
test eax, eax
je 0x1006c867
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 0x11c]
call fcn.10142e8f
add esp, 4
lea ecx, [ebp - 0x140]
call fcn.1006a8c0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10142783
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8