Function at 0xd21f20
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xdd4f1d
mov eax, dword fs:[0]
push eax
sub esp, 0x37c
mov eax, dword [0xe3c018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x37c], eax
mov eax, dword [eax + 0xc]
xor edi, edi
push edi
push 2
mov dword [ebp - 0x36c], edi
call eax
mov esi, eax
mov dword [ebp - 0x384], esi
cmp esi, 0xffffffff
je 0xd21f9a
mov eax, dword [ebp - 0x37c]
lea ecx, [ebp - 0x364]
push ecx
push esi
mov dword [ebp - 0x364], 0x22c
mov eax, dword [eax + 4]
call eax
test eax, eax
jne 0xd21fa1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0xd227cc
xorps xmm0, xmm0
mov dword [ebp - 0x40], edi
movq qword [ebp - 0x48], xmm0
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x44], edi
lea eax, [ebp - 0x3c]
mov dword [ebp - 4], 0
push eax
lea edx, [ebp - 0x38]
lea ecx, [ebp - 0x48]
call fcn.00d0abc0
lea eax, [ebp - 0x78]
add esp, 4
mov dword [ebp - 0x388], eax
xor eax, eax
mov dword [ebp - 0x90], 0
lea ecx, [ebp - 0x340]
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 7
lea edx, [ecx + 2]
mov word [ebp - 0x90], ax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0xd22000
sub ecx, edx
lea eax, [ebp - 0x340]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x90]
call fcn.0046ddc0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x90]
mov edx, dword [ebp - 0x7c]
lea ecx, [ebp - 0x90]
mov esi, dword [ebp - 0x80]
cmp edx, 8
cmovae eax, dword [ebp - 0x90]
cmovae ecx, dword [ebp - 0x90]
lea eax, [eax + esi*2]
lea esi, [ebp - 0x90]
mov dword [ebp - 0x374], eax
cmovae esi, dword [ebp - 0x90]
cmp esi, eax
je 0xd2208b
sub ecx, esi
mov edi, ecx
movzx eax, word [esi]
push eax
call fcn.00d9dd97
mov word [edi + esi], ax
add esp, 4
add esi, 2
cmp esi, dword [ebp - 0x374]
jne 0xd22067
mov edi, dword [ebp - 0x36c]
mov edx, dword [ebp - 0x7c]
mov esi, dword [ebp - 0x80]
lea eax, [ebp - 0x90]
cmp edx, 8
mov dword [ebp - 0x78], 0
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x68], 0
cmovae eax, dword [ebp - 0x90]
mov dword [ebp - 0x64], 0xf
mov byte [ebp - 0x78], 0
lea eax, [eax + esi*2]
lea esi, [ebp - 0x90]
mov dword [ebp - 0x370], eax
cmovae esi, dword [ebp - 0x90]
sub eax, esi
sar eax, 1
push eax
call fcn.004aead0
mov byte [ebp - 4], 2
cmp esi, dword [ebp - 0x370]
je 0xd22109
mov edi, dword [ebp - 0x370]
nop dword [eax]
movzx eax, byte [esi]
lea ecx, [ebp - 0x78]
push eax
call fcn.00404b10
add esi, 2
cmp esi, edi
jne 0xd220f0
mov edi, dword [ebp - 0x36c]
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x114], 0
mov dword [ebp - 0x110], 0xf
mov byte [ebp - 0x124], 0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x124]
push 0
xorps xmm0, xmm0
mov dword [ebp - 0x138], 0x67452301
push 0xdf38f2
mov dword [ebp - 0x134], 0xefcdab89
mov dword [ebp - 0x130], 0x98badcfe
mov dword [ebp - 0x12c], 0x10325476
mov dword [ebp - 0x128], 0xc3d2e1f0
movlpd qword [ebp - 0x108], xmm0
call fcn.00442560
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x138]
mov eax, dword [ebp - 0x3c]
shl eax, 2
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.00cd0050
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x138]
call fcn.00ccfda0
lea ecx, [ebp - 0x138]
call fcn.00cd0270
mov dword [ebp - 0xec], 0
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0xd8], 0xf
mov byte [ebp - 0xec], 0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xec]
push 0
xorps xmm0, xmm0
mov dword [ebp - 0x100], 0x67452301
push 0xdf38f2
mov dword [ebp - 0xfc], 0xefcdab89
mov dword [ebp - 0xf8], 0x98badcfe
mov dword [ebp - 0xf4], 0x10325476
mov dword [ebp - 0xf0], 0xc3d2e1f0
movlpd qword [ebp - 0xd0], xmm0
call fcn.00442560
mov byte [ebp - 4], 7
cmp dword [ebp - 0x80], 0x10
setae byte [ebp - 0x365]
jb 0xd222e8
mov eax, dword [ebp - 0x3c]
lea ecx, [ebp - 0x100]
shl eax, 2
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.00cd0050
mov ecx, 0x10
mov dword [ebp - 0x60], 0
cmp dword [ebp - 0x68], ecx
lea eax, [ebp - 0x78]
mov dword [ebp - 0x50], 0
cmovb ecx, dword [ebp - 0x68]
cmp dword [ebp - 0x64], 0x10
push ecx
cmovae eax, dword [ebp - 0x78]
lea ecx, [ebp - 0x60]
push eax
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], 0
call fcn.00442560
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x100]
call fcn.00ccfda0
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x4c]
cmp edx, 0x10
jb 0xd222dd
mov ecx, dword [ebp - 0x60]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0xd222d3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0xd227e7
push edx
push ecx
call fcn.00d493fa
add esp, 8
lea ecx, [ebp - 0x100]
call fcn.00cd0270
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 0xf
mov byte [ebp - 0xb4], 0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xb4]
push 0
xorps xmm0, xmm0
mov dword [ebp - 0xc8], 0x67452301
push 0xdf38f2
mov dword [ebp - 0xc4], 0xefcdab89
mov dword [ebp - 0xc0], 0x98badcfe
mov dword [ebp - 0xbc], 0x10325476
mov dword [ebp - 0xb8], 0xc3d2e1f0
movlpd qword [ebp - 0x98], xmm0
call fcn.00442560
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x80], 0x11
setae byte [ebp - 0x366]
jb 0xd2241b
mov eax, dword [ebp - 0x3c]
lea ecx, [ebp - 0xc8]
shl eax, 2
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.00cd0050
mov ecx, 0x11
mov dword [ebp - 0x60], 0
cmp dword [ebp - 0x68], ecx
lea eax, [ebp - 0x78]
mov dword [ebp - 0x50], 0
cmovb ecx, dword [ebp - 0x68]
cmp dword [ebp - 0x64], 0x10
push ecx
cmovae eax, dword [ebp - 0x78]
lea ecx, [ebp - 0x60]
push eax
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], 0
call fcn.00442560
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 0xb
push eax
lea ecx, [ebp - 0xc8]
call fcn.00ccfda0
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x4c]
cmp edx, 0x10
jb 0xd22410
mov ecx, dword [ebp - 0x60]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0xd22406
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0xd227e7
push edx
push ecx
call fcn.00d493fa
add esp, 8
lea ecx, [ebp - 0xc8]
call fcn.00cd0270
mov ecx, dword [ebp - 0x44]
xor eax, eax
mov esi, dword [ebp - 0x48]
sub ecx, esi
sar ecx, 2
mov dword [ebp - 0x378], eax
mov dword [ebp - 0x380], ecx
test ecx, ecx
je 0xd22547
nop dword [eax]
mov esi, dword [esi + eax*4]
xor edx, edx
mov dword [ebp - 0x374], edx
mov dword [ebp - 0x370], esi
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
sub eax, ecx
sar eax, 2
test eax, eax
je 0xd2252b
mov eax, dword [ecx + edx*4]
xor edx, edx
nop dword [eax]
mov ecx, dword [eax + edx*4]
cmp ecx, dword [ebp + edx*4 - 0x138]
jne 0xd2248a
inc edx
cmp edx, 5
jl 0xd22470
or edi, dword [esi]
mov dword [ebp - 0x36c], edi
cmp byte [ebp - 0x365], 0
je 0xd224d2
lea edi, [ebp - 0x100]
xor esi, esi
mov edx, eax
sub edi, eax
nop
mov ecx, dword [edx]
cmp ecx, dword [edi + edx]
jne 0xd224c6
inc esi
add edx, 4
cmp esi, 5
jl 0xd224a0
mov esi, dword [ebp - 0x370]
mov edi, dword [ebp - 0x36c]
or edi, dword [esi]
mov dword [ebp - 0x36c], edi
jmp 0xd224d2
mov edi, dword [ebp - 0x36c]
mov esi, dword [ebp - 0x370]
cmp byte [ebp - 0x366], 0
je 0xd2250b
lea esi, [ebp - 0xc8]
xor edx, edx
sub esi, eax
mov ecx, dword [eax]
cmp ecx, dword [eax + esi]
jne 0xd22505
inc edx
add eax, 4
cmp edx, 5
jl 0xd224e5
mov esi, dword [ebp - 0x370]
or edi, dword [esi]
mov dword [ebp - 0x36c], edi
jmp 0xd2250b
mov esi, dword [ebp - 0x370]
mov eax, dword [esi + 8]
mov edx, dword [ebp - 0x374]
mov ecx, dword [esi + 4]
inc edx
sub eax, ecx
mov dword [ebp - 0x374], edx
sar eax, 2
cmp edx, eax
jb 0xd22464
mov eax, dword [ebp - 0x378]
mov esi, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x378], eax
cmp eax, dword [ebp - 0x380]
jb 0xd22440
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0xa0]
cmp edx, 0x10
jb 0xd22585
mov ecx, dword [ebp - 0xb4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0xd2257b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0xd227e7
push edx
push ecx
call fcn.00d493fa
add esp, 8
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0xd8]
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 0xf
mov byte [ebp - 0xb4], 0
cmp edx, 0x10
jb 0xd225de
mov ecx, dword [ebp - 0xec]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0xd225d4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0xd227e7
push edx
push ecx
call fcn.00d493fa
add esp, 8
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x110]
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0xd8], 0xf
mov byte [ebp - 0xec], 0
cmp edx, 0x10
jb 0xd22637
mov ecx, dword [ebp - 0x124]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0xd2262d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0xd227e7
push edx
push ecx
call fcn.00d493fa
add esp, 8
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x64]
mov dword [ebp - 0x114], 0
mov dword [ebp - 0x110], 0xf
mov byte [ebp - 0x124], 0
cmp edx, 0x10
jb 0xd2268a
mov ecx, dword [ebp - 0x78]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0xd22680
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0xd227e7
push edx
push ecx
call fcn.00d493fa
add esp, 8
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x7c]
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0xf
mov byte [ebp - 0x78], 0
cmp edx, 8
jb 0xd226dd
mov ecx, dword [ebp - 0x90]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0xd226d3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0xd227e7
push edx
push ecx
call fcn.00d493fa
add esp, 8
mov eax, dword [ebp - 0x37c]
lea ecx, [ebp - 0x364]
mov esi, dword [ebp - 0x384]
push ecx
push esi
mov eax, dword [eax + 8]
call eax
test eax, eax
jne 0xd21fd4
lea ecx, [ebp - 0x48]
call fcn.00d0f610
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, 0x13a002
jne 0xd22797
xorps xmm0, xmm0
lea ecx, [ebp - 0x60]
movups xmmword [ebp - 0x60], xmm0
movq qword [ebp - 0x50], xmm0
call fcn.00c914a0
lea ecx, [ebp - 0x60]
call fcn.00cc2f70
xorps xmm0, xmm0
mov byte [ebp - 0x365], al
lea ecx, [ebp - 0x60]
movq qword [ebp - 0x50], xmm0
movups xmmword [ebp - 0x60], xmm0
call fcn.00c914a0
lea ecx, [ebp - 0x60]
call fcn.00cc8950
mov ecx, dword [ebp - 0x37c]
mov byte [ebp - 0x366], al
call fcn.00d0f6f0
mov ecx, eax
mov edx, 0x10
xor eax, eax
cmp byte [ebp - 0x366], al
cmovne eax, edx
mov edx, 8
or ecx, eax
xor eax, eax
cmp byte [ebp - 0x365], al
cmovne eax, edx
or ecx, eax
or edi, ecx
call fcn.00d1bdd0
or edi, eax
mov edx, dword [ebp - 0x48]
test edx, edx
je 0xd227ca
mov ecx, dword [ebp - 0x40]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0xd227c0
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0xd227e7
push ecx
push edx
call fcn.00d493fa
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00d491ba
mov esp, ebp
pop ebp
ret
call fcn.00d9dbbd
int3