Function at 0x40c140
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x530
mov eax, dword [0x44a280]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x4e8], eax
mov eax, dword [ebp + 0x1c]
push ebx
push esi
add eax, 0xfffffdfb
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
cmp eax, 0x8c
ja case.0x40c17e.518
movzx eax, byte [eax + 0x40c454]
jmp dword [eax*4 + 0x40c440]
lea ecx, [ebp - 0x46c]
call fcn.00409ec0
push edx
mov edx, esi
call fcn.0040a5c0
add esp, 4
lea edx, [ebp - 0x52c]
lea ecx, [ebp - 0x46c]
call fcn.0040a640
mov ebx, 0x289
mov dword [ebp - 0x4e0], 0x10
jmp 0x40c2b1
push edx
mov edx, esi
lea ecx, [ebp - 0x46c]
mov dword [ebp - 0x460], 0x67452301
mov dword [ebp - 0x45c], 0xefcdab89
mov dword [ebp - 0x458], 0x98badcfe
mov dword [ebp - 0x454], 0x10325476
mov dword [ebp - 0x450], 0xc3d2e1f0
mov dword [ebp - 0x46c], 0
mov dword [ebp - 0x468], 0
mov dword [ebp - 0x464], 0
call fcn.00415060
add esp, 4
lea edx, [ebp - 0x52c]
lea ecx, [ebp - 0x46c]
call fcn.00415110
mov ebx, 0x58
mov dword [ebp - 0x4e0], 0x14
jmp 0x40c2b1
lea ecx, [ebp - 0x47c]
call fcn.004133f0
push edx
mov edx, esi
call fcn.00413a40
add esp, 4
lea edx, [ebp - 0x52c]
lea ecx, [ebp - 0x47c]
call fcn.00413af0
mov ebx, 0x19e
mov dword [ebp - 0x4e0], 0x20
jmp 0x40c2b1
lea ecx, [ebp - 0x4dc]
call fcn.00415320
push edx
mov edx, esi
call fcn.004176b0
add esp, 4
lea edx, [ebp - 0x52c]
lea ecx, [ebp - 0x4dc]
call fcn.00417790
mov ebx, 0x1a0
mov dword [ebp - 0x4e0], 0x40
cmp dword [ebp + 0x10], 0x285
jne case.0x40c17e.518
mov esi, dword [ebp + 0x18]
mov dword [ebp - 0x4e4], 0
cmp esi, 0x200
ja case.0x40c17e.518
mov edx, dword [ebp + 0x20]
lea ecx, [ebp - 0x494]
call fcn.00412db0
push dword [ebp + 0xc]
mov eax, ecx
push eax
lea edx, [ebp - 0x4e4]
mov ecx, edi
call fcn.0040abe0
add esp, 8
test eax, eax
js 0x40c40b
push esi
push dword [ebp - 0x4e8]
lea eax, [ebp - 0x20c]
push eax
call fcn.004225d0
add esp, 0xc
lea eax, [ebp - 0x494]
push eax
push 1
lea eax, [ebp - 0x4e4]
push eax
lea eax, [ebp - 0x20c]
push eax
mov edx, esi
mov ecx, eax
mov dword [ebp - 0x4e4], esi
call fcn.00412f80
mov edi, eax
add esp, 0x10
test edi, edi
js 0x40c40b
mov edx, dword [ebp - 0x4e4]
lea eax, [ebp - 0x4e8]
push 1
push eax
lea ecx, [ebp - 0x20c]
call fcn.00412f10
mov edi, eax
add esp, 8
test edi, edi
js 0x40c40b
push ebx
push dword [ebp - 0x4e0]
lea edx, [ebp - 0x52c]
lea ecx, [ebp - 0x40c]
call fcn.0040c0a0
mov esi, eax
add esp, 8
cmp esi, edi
jne 0x40c40b
mov ecx, dword [ebp - 0x4e8]
lea edx, [ebp - 0x40c]
sub esi, 4
jb 0x40c3b6
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x40c3bb
add ecx, 4
add edx, 4
sub esi, 4
jae 0x40c3a5
cmp esi, 0xfffffffc
je 0x40c3e8
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x40c40b
cmp esi, 0xfffffffd
je 0x40c3e8
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x40c40b
cmp esi, 0xfffffffe
je 0x40c3e8
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x40c40b
cmp esi, 0xffffffff
je 0x40c3e8
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x40c40b
lea ecx, [ebp - 0x494]
mov esi, 1
call fcn.00412e00
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0041b6be
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x494]
xor esi, esi
call fcn.00412e00
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0041b6be
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.0041b6be
mov esp, ebp
pop ebp
ret