Function at 0x40b950
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x530
mov eax, dword [0x447280]
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.0x40b98e.518
movzx eax, byte [eax + 0x40bc64]
jmp dword [eax*4 + 0x40bc50]
lea ecx, [ebp - 0x46c]
call fcn.004096d0
push edx
mov edx, esi
call fcn.00409dd0
add esp, 4
lea edx, [ebp - 0x52c]
lea ecx, [ebp - 0x46c]
call fcn.00409e50
mov ebx, 0x289
mov dword [ebp - 0x4e0], 0x10
jmp 0x40bac1
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.00414870
add esp, 4
lea edx, [ebp - 0x52c]
lea ecx, [ebp - 0x46c]
call fcn.00414920
mov ebx, 0x58
mov dword [ebp - 0x4e0], 0x14
jmp 0x40bac1
lea ecx, [ebp - 0x47c]
call fcn.00412c00
push edx
mov edx, esi
call fcn.00413250
add esp, 4
lea edx, [ebp - 0x52c]
lea ecx, [ebp - 0x47c]
call fcn.00413300
mov ebx, 0x19e
mov dword [ebp - 0x4e0], 0x20
jmp 0x40bac1
lea ecx, [ebp - 0x4dc]
call fcn.00414b30
push edx
mov edx, esi
call fcn.00416ec0
add esp, 4
lea edx, [ebp - 0x52c]
lea ecx, [ebp - 0x4dc]
call fcn.00416fa0
mov ebx, 0x1a0
mov dword [ebp - 0x4e0], 0x40
cmp dword [ebp + 0x10], 0x285
jne case.0x40b98e.518
mov esi, dword [ebp + 0x18]
mov dword [ebp - 0x4e4], 0
cmp esi, 0x200
ja case.0x40b98e.518
mov edx, dword [ebp + 0x20]
lea ecx, [ebp - 0x494]
call fcn.004125c0
push dword [ebp + 0xc]
mov eax, ecx
push eax
lea edx, [ebp - 0x4e4]
mov ecx, edi
call fcn.0040a3f0
add esp, 8
test eax, eax
js 0x40bc1b
push esi
push dword [ebp - 0x4e8]
lea eax, [ebp - 0x20c]
push eax
call fcn.00422490
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.00412790
mov edi, eax
add esp, 0x10
test edi, edi
js 0x40bc1b
mov edx, dword [ebp - 0x4e4]
lea eax, [ebp - 0x4e8]
push 1
push eax
lea ecx, [ebp - 0x20c]
call fcn.00412720
mov edi, eax
add esp, 8
test edi, edi
js 0x40bc1b
push ebx
push dword [ebp - 0x4e0]
lea edx, [ebp - 0x52c]
lea ecx, [ebp - 0x40c]
call fcn.0040b8b0
mov esi, eax
add esp, 8
cmp esi, edi
jne 0x40bc1b
mov ecx, dword [ebp - 0x4e8]
lea edx, [ebp - 0x40c]
sub esi, 4
jb 0x40bbc6
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x40bbcb
add ecx, 4
add edx, 4
sub esi, 4
jae 0x40bbb5
cmp esi, 0xfffffffc
je 0x40bbf8
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x40bc1b
cmp esi, 0xfffffffd
je 0x40bbf8
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x40bc1b
cmp esi, 0xfffffffe
je 0x40bbf8
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x40bc1b
cmp esi, 0xffffffff
je 0x40bbf8
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x40bc1b
lea ecx, [ebp - 0x494]
mov esi, 1
call fcn.00412610
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0041b6fe
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x494]
xor esi, esi
call fcn.00412610
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0041b6fe
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.0041b6fe
mov esp, ebp
pop ebp
ret