Function at 0x40d810
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46846e
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x4846a0]
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 [0x484034]
mov edx, dword [eax + 0xc]
mov ecx, 0x484034
call edx
add eax, 0x10
mov dword [ebp - 0x110], eax
mov byte [ebp - 4], 3
mov eax, dword [0x484034]
mov edx, dword [eax + 0xc]
mov ecx, 0x484034
call edx
add eax, 0x10
mov dword [esi], eax
mov eax, dword [0x484034]
mov edx, dword [eax + 0xc]
mov ecx, 0x484034
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.00425d20
mov byte [ebp - 4], 5
mov esi, dword [ebp - 0x104]
cmp esi, ebx
jne 0x40d913
xor eax, eax
jmp 0x40d921
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x40d918
sub eax, edx
mov edi, eax
push esi
lea eax, [ebp - 0x110]
call fcn.004214f0
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x104]
lea ecx, [ebp - 0x100]
cmp eax, ecx
je 0x40d94c
push eax
call fcn.0044fd82
add esp, 4
mov ecx, dword [ebp - 0x110]
mov eax, dword [ecx - 0xc]
push ecx
lea esi, [ebp - 0x7c]
call fcn.00448e40
push 0x14
call fcn.0044db1c
add esp, 4
mov edi, eax
mov dword [ebp - 0x10c], edi
cmp byte [ebp - 0x17], bl
jne 0x40da1f
cmp byte [ebp - 0x18], bl
jne 0x40d987
call fcn.00449580
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 [0x484034]
mov eax, dword [edx + 0xc]
mov ecx, 0x484034
call eax
add eax, 0x10
mov dword [ebp - 0x118], eax
mov byte [ebp - 4], 6
xor esi, esi
jmp 0x40d9cb
mov edi, dword [ebp - 0x10c]
mov ecx, dword [edi + esi*4]
push ecx
push str._08x
lea edi, [ebp - 0x118]
call fcn.00428bf0
mov edi, dword [ebp - 0x118]
mov eax, dword [edi - 0xc]
add esp, 8
push edi
lea ebx, [ebp - 0x114]
call fcn.00428170
inc esi
cmp esi, 5
jl 0x40d9c5
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 0x40da1d
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 0x40da96
cmp dword [esi + 0xc], ebx
jl 0x40da81
mov edx, dword [edi]
cmp edx, dword [esi]
jne 0x40da81
mov eax, edi
call fcn.00426720
mov dword [ebp - 0x10c], eax
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40da6e
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 0x40da96
mov edi, dword [eax - 0xc]
push eax
mov eax, dword [ebp - 0x108]
call fcn.004214f0
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 0x40dab3
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 0x40dad9
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 0x40dafb
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.0044ee97
mov esp, ebp
pop ebp
ret 4