Function at 0x40c6fc
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcc
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x38], 0
push 0x148
call fcn.004460b1
add esp, 4
mov dword [ebp - 0x3c], eax
mov edi, eax
mov esi, 0x501fa0
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 0x50
rep stosd dword es:[edi], eax
mov dword [ebp - 0x40], 0
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
call fcn.00401499
mov dword [ebp - 4], eax
fild dword [ebp + 0xc]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
fadd qword [0x501f80]
fstp qword [ebp - 0x50]
push 0x80000301
push 0
push 9
fld qword [ebp - 0x50]
call fcn.0040222e
push 0x80000301
push 0
push eax
push 2
mov ebx, 0x449e70
call fcn.004460b7
add esp, 0x1c
mov dword [ebp - 0x54], eax
push 0x80000301
push 0
push 4
push 0x80000301
push 0
push dword [ebp - 0x54]
push 2
mov ebx, 0x449e50
call fcn.004460b7
add esp, 0x1c
mov dword [ebp - 0x60], eax
fild dword [ebp - 0x60]
fstp qword [ebp - 0x60]
fld qword [ebp - 0x60]
fadd qword [0x501f88]
fstp qword [ebp - 0x68]
fld qword [ebp - 0x68]
call fcn.0040222e
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
cmp dword [ebp - 4], eax
jge 0x40c8c6
mov dword [ebp - 0x48], 1
mov eax, dword [ebp - 8]
cmp eax, 0
jge 0x40c85c
push 0x10c
push 0x40135c9
push 0xa
call fcn.004460bd
add esp, 0xc
mov dword [ebp - 0x44], eax
lea ebx, [ebp - 0x48]
call fcn.00401479
push ecx
shl ecx, 2
add ecx, 8
push ecx
call fcn.004460b1
add esp, 4
mov edi, eax
mov dword [edi], 1
add edi, 4
pop ecx
push eax
push ecx
lea esi, [ebp - 0x44]
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
call fcn.00401479
pop edx
mov eax, ecx
cmp ecx, edx
jle 0x40c89d
mov ecx, edx
sub eax, ecx
sub edx, ecx
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
test edx, edx
je 0x40c8b3
mov ecx, edx
xor eax, eax
rep stosd dword es:[edi], eax
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.004460ab
add esp, 4
pop eax
mov ebx, dword [ebp + 8]
mov dword [ebx], eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
call fcn.00401479
push ebx
push ecx
push 0x80000301
push 0
push 5
push 0x80000301
push 0
push dword [ebp + 0xc]
push 2
mov ebx, 0x449e70
call fcn.004460b7
add esp, 0x1c
mov dword [ebp - 0x4c], eax
fild dword [ebp - 0x4c]
fstp qword [ebp - 0x4c]
fld qword [ebp - 0x4c]
fadd qword [0x4f9130]
fstp qword [ebp - 0x54]
fld qword [ebp - 0x54]
call fcn.0040222e
dec eax
jns 0x40c931
push 0x170
push 0x40135c9
push 4
call fcn.004460bd
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x40c94e
push 0x170
push 0x40135c9
push 1
call fcn.004460bd
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x58], ebx
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
call fcn.00401479
push ebx
push ecx
push 0x80000301
push 0
push 5
push 0x80000301
push 0
push dword [ebp + 0xc]
push 2
mov ebx, 0x449e70
call fcn.004460b7
add esp, 0x1c
mov dword [ebp - 0x64], eax
fild dword [ebp - 0x64]
fstp qword [ebp - 0x64]
fld qword [ebp - 0x64]
fadd qword [0x4f9130]
fstp qword [ebp - 0x6c]
fld qword [ebp - 0x6c]
call fcn.0040222e
dec eax
jns 0x40c9c1
push 0x1c9
push 0x40135c9
push 4
call fcn.004460bd
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x40c9de
push 0x1c9
push 0x40135c9
push 1
call fcn.004460bd
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x70], ebx
push 0x80000601
push 0x40400000
push 0
fild dword [ebp + 0xc]
fstp qword [ebp - 0x78]
push 0x80000601
push dword [ebp - 0x74]
push dword [ebp - 0x78]
push 2
mov ebx, 0x446460
call fcn.004460b7
add esp, 0x1c
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], edx
fld qword [0x501f78]
fsub qword [ebp - 0x80]
fstp qword [ebp - 0x88]
fld qword [ebp - 0x88]
call fcn.0040222e
push 0x80000301
push 0
push eax
push 0x80000301
push 0
push 0x80
push 2
mov ebx, 0x449e50
call fcn.004460b7
add esp, 0x1c
push 0x80000301
push 0
push eax
push 0x80000301
push 0
mov ebx, dword [ebp - 0x70]
push dword [ebx]
push 2
mov ebx, 0x4465b0
call fcn.004460b7
add esp, 0x1c
mov ebx, dword [ebp - 0x58]
mov dword [ebx], eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
call fcn.00401479
push ebx
push ecx
fild dword [ebp + 0xc]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
fadd qword [0x501f80]
fstp qword [ebp - 0x50]
push 0x80000301
push 0
push 9
fld qword [ebp - 0x50]
call fcn.0040222e
push 0x80000301
push 0
push eax
push 2
mov ebx, 0x449e70
call fcn.004460b7
add esp, 0x1c
mov dword [ebp - 0x54], eax
push 0x80000301
push 0
push 4
push 0x80000301
push 0
push dword [ebp - 0x54]
push 2
mov ebx, 0x449e50
call fcn.004460b7
add esp, 0x1c
mov dword [ebp - 0x60], eax
fild dword [ebp - 0x60]
fstp qword [ebp - 0x60]
fld qword [ebp - 0x60]
fadd qword [0x501f88]
fstp qword [ebp - 0x68]
fld qword [ebp - 0x68]
call fcn.0040222e
dec eax
jns 0x40cb3d
push 0x2a3
push 0x40135c9
push 4
call fcn.004460bd
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x40cb5a
push 0x2a3
push 0x40135c9
push 1
call fcn.004460bd
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x6c], ebx
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp - 0x6c]
mov dword [ebx], eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
call fcn.00401499
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 0x67452301
mov dword [ebp - 0x10], 0xefcdab89
mov dword [ebp - 0x14], 0x98badcfe
mov dword [ebp - 0x18], 0x10325476
mov dword [ebp - 0x1c], 0xc3d2e1f0
push dword [ebp - 4]
lea eax, [ebp - 0x20]
mov ebx, eax
mov ecx, 0
pop edx
push edx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, edx
jg 0x40d0f3
mov eax, dword [ebp - 4]
cmp dword [ebp - 0x20], eax
jl 0x40cbc6
jmp 0x40d0f3
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x38]
mov ebx, eax
mov ecx, 0
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, 0x50
jg 0x40d09f
cmp dword [ebp - 0x38], 0x50
jl 0x40cc0a
jmp 0x40d09f
cmp dword [ebp - 0x38], 0x10
jge 0x40ccf4
mov ebx, dword [ebp - 0x3c]
call fcn.00401479
push ebx
push ecx
fild dword [ebp - 0x38]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
fadd qword [0x4f9130]
fstp qword [ebp - 0x50]
fld qword [ebp - 0x50]
call fcn.0040222e
dec eax
jns 0x40cc52
push 0x5d3
push 0x40135c9
push 4
call fcn.004460bd
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x40cc6f
push 0x5d3
push 0x40135c9
push 1
call fcn.004460bd
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x54], ebx
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
call fcn.00401479
push ebx
push ecx
fild dword [ebp - 0x20]
fstp qword [ebp - 0x5c]
fld qword [ebp - 0x5c]
fild dword [ebp - 0x38]
fstp qword [ebp - 0x64]
fadd qword [ebp - 0x64]
fadd qword [0x4f9130]
fstp qword [ebp - 0x6c]
fld qword [ebp - 0x6c]
call fcn.0040222e
dec eax
jns 0x40ccc0
push 0x5fe
push 0x40135c9
push 4
call fcn.004460bd
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x40ccdd
push 0x5fe
push 0x40135c9
push 1
call fcn.004460bd
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x70], ebx
mov ebx, dword [ebp - 0x70]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x54]
mov dword [ebx], eax
jmp 0x40cfb2
mov ebx, dword [ebp - 0x3c]
call fcn.00401479
push ebx
push ecx
fild dword [ebp - 0x38]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
fadd qword [0x4f9130]
fstp qword [ebp - 0x50]
fld qword [ebp - 0x50]
call fcn.0040222e
dec eax
jns 0x40cd32
push 0x644
push 0x40135c9
push 4
call fcn.004460bd
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x40cd4f
push 0x644
push 0x40135c9
push 1
call fcn.004460bd
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x54], ebx
mov ebx, dword [ebp - 0x3c]
call fcn.00401479
push ebx
push ecx
fild dword [ebp - 0x38]
fstp qword [ebp - 0x5c]
fld qword [ebp - 0x5c]
fsub qword [0x501f90]
fstp qword [ebp - 0x64]
fld qword [ebp - 0x64]
fadd qword [0x4f9130]
fstp qword [ebp - 0x6c]
fld qword [ebp - 0x6c]
call fcn.0040222e
dec eax
jns 0x40cda1
push 0x6a5
push 0x40135c9
push 4
call fcn.004460bd
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x40cdbe
push 0x6a5
push 0x40135c9
push 1
call fcn.004460bd
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x70], ebx
mov ebx, dword [ebp - 0x3c]
call fcn.00401479
push ebx
push ecx
fild dword [ebp - 0x38]
fstp qword [ebp - 0x78]
fld qword [ebp - 0x78]
fsub qword [0x501f58]
fstp qword [ebp - 0x80]
fld qword [ebp - 0x80]
fadd qword [0x4f9130]
fstp qword [ebp - 0x88]
fld qword [ebp - 0x88]
call fcn.0040222e
dec eax
jns 0x40ce1c
push 0x6ec
push 0x40135c9
push 4
call fcn.004460bd
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x40ce39
push 0x6ec
push 0x40135c9
push 1
call fcn.004460bd
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x8c], ebx
mov ebx, dword [ebp - 0x3c]
call fcn.00401479
push ebx
push ecx
fild dword [ebp - 0x38]
fstp qword [ebp - 0x94]
fld qword [ebp - 0x94]
fsub qword [0x501f98]
fstp qword [ebp - 0x9c]
fld qword [ebp - 0x9c]
fadd qword [0x4f9130]
fstp qword [ebp - 0xa4]
fld qword [ebp - 0xa4]
call fcn.0040222e
dec eax
jns 0x40cea0
push 0x733
push 0x40135c9
push 4
call fcn.004460bd
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x40cebd
push 0x733
push 0x40135c9
push 1
call fcn.004460bd
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0xa8], ebx
mov ebx, dword [ebp - 0x3c]
call fcn.00401479
push ebx
push ecx
fild dword [ebp - 0x38]
fstp qword [ebp - 0xb0]
fld qword [ebp - 0xb0]
fsub qword [0x501f88]
fstp qword [ebp - 0xb8]
fld qword [ebp - 0xb8]
fadd qword [0x4f9130]
fstp qword [ebp - 0xc0]
fld qword [ebp - 0xc0]
call fcn.0040222e
dec eax
jns 0x40cf24
push 0x77a
push 0x40135c9
push 4
call fcn.004460bd
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x40cf41
push 0x77a
push 0x40135c9
push 1
call fcn.004460bd
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0xc4], ebx
push 0x80000301
push 0
mov ebx, dword [ebp - 0xc4]
push dword [ebx]
push 0x80000301
push 0
mov ebx, dword [ebp - 0xa8]
push dword [ebx]
push 0x80000301
push 0
mov ebx, dword [ebp - 0x8c]
push dword [ebx]
push 0x80000301
push 0
mov ebx, dword [ebp - 0x70]
push dword [ebx]
push 4
mov ebx, 0x4465d0
call fcn.004460b7
add esp, 0x34
mov dword [ebp - 0xc8], eax
push 1
push dword [ebp - 0xc8]
call fcn.0040d282
mov ebx, dword [ebp - 0x54]
mov dword [ebx], eax
push 5
push dword [ebp - 0xc]
call fcn.0040d282
mov dword [ebp - 0x44], eax
push dword [ebp - 0x18]
push dword [ebp - 0x14]
push dword [ebp - 0x10]
push dword [ebp - 0x38]
call fcn.0040d336
push eax
push dword [ebp - 0x44]
call fcn.0040d50f
mov dword [ebp - 0x4c], eax
mov ebx, dword [ebp - 0x3c]
call fcn.00401479
push ebx
push ecx
fild dword [ebp - 0x38]
fstp qword [ebp - 0x54]
fld qword [ebp - 0x54]
fadd qword [0x4f9130]
fstp qword [ebp - 0x5c]
fld qword [ebp - 0x5c]
call fcn.0040222e
dec eax
jns 0x40d01d
push 0x89b
push 0x40135c9
push 4
call fcn.004460bd
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x40d03a
push 0x89b
push 0x40135c9
push 1
call fcn.004460bd
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x60], ebx
mov ebx, dword [ebp - 0x60]
push dword [ebx]
push dword [ebp - 0x1c]
call fcn.0040d50f
mov dword [ebp - 0x64], eax
push dword [ebp - 0x38]
call fcn.0040d6d5
push eax
push dword [ebp - 0x64]
call fcn.0040d50f
push eax
push dword [ebp - 0x4c]
call fcn.0040d50f
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
push 0x1e
push dword [ebp - 0x10]
call fcn.0040d282
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0xc], eax
pop ebx
pop ecx
inc ecx
jmp 0x40cbee
add esp, 8
push dword [ebp - 0x24]
push dword [ebp - 0xc]
call fcn.0040d50f
mov dword [ebp - 0xc], eax
push dword [ebp - 0x28]
push dword [ebp - 0x10]
call fcn.0040d50f
mov dword [ebp - 0x10], eax
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.0040d50f
mov dword [ebp - 0x14], eax
push dword [ebp - 0x30]
push dword [ebp - 0x18]
call fcn.0040d50f
mov dword [ebp - 0x18], eax
push dword [ebp - 0x34]
push dword [ebp - 0x1c]
call fcn.0040d50f
mov dword [ebp - 0x1c], eax
pop ebx
pop ecx
pop edx
add ecx, 0x10
jmp 0x40cba8
add esp, 0xc
mov ecx, 5
push ecx
shl ecx, 2
add ecx, 8
push ecx
call fcn.004460b1
add esp, 4
mov edi, eax
mov dword [edi], 1
add edi, 4
pop ecx
push eax
push ecx
mov dword [edi], 5
add edi, 4
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx]
call fcn.00401479
pop edx
test edx, edx
je 0x40d13b
mov ecx, edx
xor eax, eax
rep stosd dword es:[edi], eax
mov ebx, dword [ebp + 0x10]
push dword [ebx]
call fcn.004460ab
add esp, 4
pop eax
mov ebx, dword [ebp + 0x10]
mov dword [ebx], eax
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx]
call fcn.00401479
mov eax, 0
cmp eax, ecx
jl 0x40d178
push 0xb4c
push 0x40135c9
push 1
call fcn.004460bd
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x44], ebx
mov eax, dword [ebp - 0xc]
mov ebx, dword [ebp - 0x44]
mov dword [ebx], eax
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx]
call fcn.00401479
mov eax, 1
cmp eax, ecx
jl 0x40d1b2
push 0xb73
push 0x40135c9
push 1
call fcn.004460bd
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x44], ebx
mov eax, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x44]
mov dword [ebx], eax
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx]
call fcn.00401479
mov eax, 2
cmp eax, ecx
jl 0x40d1ec
push 0xb9a
push 0x40135c9
push 1
call fcn.004460bd
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x44], ebx
mov eax, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x44]
mov dword [ebx], eax
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx]
call fcn.00401479
mov eax, 3
cmp eax, ecx
jl 0x40d226
push 0xbc1
push 0x40135c9
push 1
call fcn.004460bd
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x44], ebx
mov eax, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x44]
mov dword [ebx], eax
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx]
call fcn.00401479
mov eax, 4
cmp eax, ecx
jl 0x40d260
push 0xbe8
push 0x40135c9
push 1
call fcn.004460bd
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x44], ebx
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x44]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x3c]
push ebx
call fcn.004460ab
add esp, 4
mov esp, ebp
pop ebp
ret 0xc