Function at 0x40c420
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45e50e
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x4786a0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x108], esi
mov dword [ebp - 0x11c], ebx
mov edi, 1
mov dword [ebp - 4], edi
mov dword [ebp - 0x7c], vtable.SHA1.0
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x78], 0x67452301
mov dword [ebp - 0x74], 0xefcdab89
mov dword [ebp - 0x70], 0x98badcfe
mov dword [ebp - 0x6c], 0x10325476
mov dword [ebp - 0x68], 0xc3d2e1f0
mov word [ebp - 0x18], bx
mov byte [ebp - 4], 2
mov eax, dword [0x478034]
mov edx, dword [eax + 0xc]
mov ecx, 0x478034
call edx
add eax, 0x10
mov dword [ebp - 0x110], eax
mov byte [ebp - 4], 3
mov eax, dword [0x478034]
mov edx, dword [eax + 0xc]
mov ecx, 0x478034
call edx
add eax, 0x10
mov dword [esi], eax
mov eax, dword [0x478034]
mov edx, dword [eax + 0xc]
mov ecx, 0x478034
mov dword [ebp - 0x11c], edi
call edx
add eax, 0x10
mov dword [ebp - 0x114], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp + 8]
push 3
push ecx
lea edx, [ebp - 0x104]
lea eax, [ebp - 0x100]
push edx
mov dword [ebp - 0x104], eax
call fcn.00421740
mov byte [ebp - 4], 5
mov esi, dword [ebp - 0x104]
cmp esi, ebx
jne 0x40c523
xor eax, eax
jmp 0x40c531
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x40c528
sub eax, edx
mov edi, eax
push esi
lea eax, [ebp - 0x110]
call fcn.0041da40
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x104]
lea ecx, [ebp - 0x100]
cmp eax, ecx
je 0x40c55c
push eax
call fcn.00446332
add esp, 4
mov ecx, dword [ebp - 0x110]
mov eax, dword [ecx - 0xc]
push ecx
lea esi, [ebp - 0x7c]
call fcn.00442fe0
push 0x14
call fcn.004440cc
add esp, 4
mov edi, eax
mov dword [ebp - 0x10c], edi
cmp byte [ebp - 0x17], bl
jne 0x40c62f
cmp byte [ebp - 0x18], bl
jne 0x40c597
call fcn.00443720
mov byte [ebp - 0x18], 1
mov edx, dword [ebp - 0x78]
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x70]
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x68]
mov dword [edi], edx
mov edx, dword [ebp - 0x6c]
mov dword [edi + 8], ecx
mov dword [edi + 0x10], eax
mov dword [edi + 0xc], edx
mov edx, dword [0x478034]
mov eax, dword [edx + 0xc]
mov ecx, 0x478034
call eax
add eax, 0x10
mov dword [ebp - 0x118], eax
mov byte [ebp - 4], 6
xor esi, esi
jmp 0x40c5db
mov edi, dword [ebp - 0x10c]
mov ecx, dword [edi + esi*4]
push ecx
push str._08x
lea edi, [ebp - 0x118]
call fcn.00422e70
mov edi, dword [ebp - 0x118]
mov eax, dword [edi - 0xc]
add esp, 8
push edi
lea ebx, [ebp - 0x114]
call fcn.004225e0
inc esi
cmp esi, 5
jl 0x40c5d5
add edi, 0xfffffff0
mov byte [ebp - 4], 4
lea edx, [edi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x40c62d
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
xor ebx, ebx
mov ecx, dword [ebp - 0x108]
mov eax, dword [ebp - 0x114]
mov esi, dword [ecx]
lea edi, [eax - 0x10]
sub esi, 0x10
mov dword [ebp - 0x10c], edi
cmp edi, esi
je 0x40c6a6
cmp dword [esi + 0xc], ebx
jl 0x40c691
mov edx, dword [edi]
cmp edx, dword [esi]
jne 0x40c691
mov eax, edi
call fcn.00421810
mov dword [ebp - 0x10c], eax
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40c67e
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov ecx, dword [ebp - 0x10c]
mov edx, dword [ebp - 0x108]
add ecx, 0x10
mov dword [edx], ecx
jmp 0x40c6a6
mov edi, dword [eax - 0xc]
push eax
mov eax, dword [ebp - 0x108]
call fcn.0041da40
mov edi, dword [ebp - 0x10c]
mov byte [ebp - 4], 3
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40c6c3
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x110]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c6e9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], bl
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c70b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x108]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00445447
mov esp, ebp
pop ebp
ret 4