Function at 0x436650
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
mov eax, dword [0x51e080]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0x54
mov eax, dword [ebp + 8]
push ebx
push esi
mov ebx, ecx
mov dword [ebp - 0x78], eax
push edi
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x74], 0x54
jne 0x436816
movsd xmm1, qword [eax]
add eax, 8
mov dword [ebp - 0x84], eax
add eax, 0x20
mov dword [ebp - 0x7c], eax
movsd qword [ebp - 0x90], xmm1
mov edi, dword [eax + 0x28]
mov eax, dword [ebx + 0x1e8]
mov dword [ebp - 0x88], edi
movsd xmm0, qword [eax + 0x348]
comisd xmm0, xmm1
jae 0x4366e6
movsd xmm0, qword [eax + 0x3b0]
comisd xmm0, xmm1
jae 0x4366e6
cmp dword [eax + 0x418], 0
je 0x4366fb
mov ecx, dword [eax + 0x478]
push 0x504ef0
push 0xce95bd3d
call fcn.0045bc70
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d3878
mov esp, ebp
pop ebp
ret 8
cmp dword [eax + 0x400], 0xffffffff
jne 0x4366e6
mov esi, dword [eax + 0x4c8]
lea eax, [ebp - 0x74]
push eax
mov ecx, esi
call fcn.0047ac20
test eax, eax
je 0x436724
lea eax, [ebp - 0x74]
mov ecx, esi
push eax
call fcn.0047acd0
mov eax, dword [ebp - 0x74]
cmp eax, edi
ja 0x4366e6
add eax, 0x4b0
cmp eax, edi
jb 0x4366e6
mov eax, dword [ebx + 0x1e8]
mov edi, 0x28
mov ebx, dword [ebp - 0x78]
xor ecx, ecx
xor edx, edx
mov eax, dword [eax + 0x480]
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x70], 0x67452301
mov dword [ebp - 0x6c], 0xefcdab89
mov dword [ebp - 0x68], 0x98badcfe
mov dword [ebp - 0x64], 0x10325476
mov dword [ebp - 0x60], 0xc3d2e1f0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x5c], edi
mov eax, 0x40
mov esi, edi
sub eax, ecx
cmp edi, eax
cmovae esi, eax
lea eax, [ebp - 0x50]
push esi
add eax, edx
push ebx
push eax
call fcn.004d6950
mov ecx, dword [ebp - 0x10]
add ebx, esi
add ecx, esi
sub edi, esi
mov esi, dword [ebp - 0x74]
add esp, 0xc
mov dword [ebp - 0x10], ecx
mov edx, ecx
cmp ecx, 0x40
jne 0x4367cd
lea eax, [ebp - 0x70]
mov ecx, esi
push eax
call fcn.004b2a40
xor ecx, ecx
mov dword [ebp - 0x10], 0
xor edx, edx
test edi, edi
jne 0x436783
lea eax, [ebp - 0x70]
mov ecx, esi
push eax
call fcn.004b2720
push 0x2c6
lea eax, [ebp - 0x78]
push eax
call fcn.004bd020
mov ebx, dword [ebp - 0x80]
mov edi, dword [ebp - 0x78]
push 0x28
mov eax, dword [ebx + 0x1e8]
mov eax, dword [eax + 0x4ec]
push dword [eax + 0x24]
push 0x2c6
push edi
call fcn.004bba30
test eax, eax
je 0x43682e
push edi
call fcn.004bd080
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d3878
mov esp, ebp
pop ebp
ret 8
push 0x28
push dword [ebp - 0x7c]
lea eax, [ebp - 0x70]
push ecx
push eax
push edi
call fcn.004bbeb0
push edi
mov esi, eax
call fcn.004bd080
test esi, esi
jne 0x436816
mov eax, dword [ebx + 0x1e8]
add eax, 0x330
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebx + 0x1e8]
movsd xmm1, qword [ebp - 0x90]
movsd xmm0, qword [eax + 0x3b0]
comisd xmm0, xmm1
jae 0x4366e6
cmp dword [eax + 0x400], 0xffffffff
jne 0x4366e6
mov ecx, dword [ebp - 0x7c]
movsd qword [eax + 0x3b0], xmm1
mov eax, dword [ebx + 0x1e8]
movups xmm0, xmmword [ecx]
movups xmmword [eax + 0x3b8], xmm0
movups xmm0, xmmword [ecx + 0x10]
movups xmmword [eax + 0x3c8], xmm0
movq xmm0, qword [ecx + 0x20]
movq qword [eax + 0x3d8], xmm0
mov eax, dword [ebx + 0x1e8]
add eax, 0x3e0
push eax
push dword [ebp - 0x84]
call fcn.004ae8f0
mov eax, dword [ebx + 0x1e8]
mov ecx, dword [ebp - 0x88]
mov dword [eax + 0x400], ecx
mov eax, dword [ebx + 0x1e8]
add eax, 0x330
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004d3878
mov esp, ebp
pop ebp
ret 8