Function at 0x10026bd0
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov eax, dword [0x100b5004]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
mov ebx, ecx
mov dword [ebp - 0x12c], edx
push edi
mov edi, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 0x128], edi
test ebx, ebx
jne 0x10026c13
mov eax, 0xffffff53
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.1007bc9e
mov esp, ebp
pop ebp
ret
movzx eax, word [ebx + 0x3de]
mov ecx, eax
test al, 8
je 0x10026d18
lea eax, [ebp - 0x130]
mov dword [ebp - 0x130], 0x30
push eax
lea edx, [ebp - 0x5c]
mov ecx, ebx
call fcn.10056b30
mov esi, eax
add esp, 4
test esi, esi
jne 0x10026d11
push 4
push str.CLNT
push edi
call fcn.10082480
add esp, 0xc
test eax, eax
jne 0x10026c67
mov edx, str.client_finished
jmp 0x10026c84
push 4
push str.SRVR
push edi
call fcn.10082480
add esp, 0xc
test eax, eax
jne 0x10026ff1
mov edx, str.server_finished
mov al, byte [ebx + 0x20e]
cmp al, 3
jne 0x10026c9d
cmp byte [ebx + 0x20f], al
jb 0x10026cb1
mov ecx, 1
jmp 0x10026cb3
cmp al, 0xfe
jne 0x10026cb1
cmp byte [ebx + 0x20f], 0xfd
ja 0x10026cb1
mov ecx, 1
jmp 0x10026cb3
xor ecx, ecx
movzx eax, byte [ebx + 0x21c]
mov edi, dword [ebp - 0x130]
push ecx
push dword [ebx + 0x88]
push eax
push ecx
mov ecx, dword [ebp - 0x12c]
lea eax, [ebp - 0x5c]
push edi
push eax
mov eax, dword [ebx + 0xc]
push 0xf
push edx
add eax, 0xa5
mov edx, 0xc
push 0x30
push eax
call fcn.10077d10
add esp, 0x28
mov esi, eax
lea eax, [ebp - 0x5c]
test edi, edi
je 0x10026d0b
nop dword [eax + eax]
mov byte [eax], 0
lea eax, [eax + 1]
sub edi, 1
jne 0x10026d00
mov edi, dword [ebp - 0x128]
movzx ecx, word [ebx + 0x3de]
test cl, 8
jne 0x10027000
mov eax, dword [ebx + 0x70]
add eax, 0x1cc
je 0x10026ffb
movups xmm0, xmmword [eax]
push 4
mov edx, edi
lea ecx, [ebp - 0xbc]
movups xmmword [ebp - 0xbc], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [ebp - 0xac], xmm0
movups xmm0, xmmword [eax + 0x20]
movups xmmword [ebp - 0x9c], xmm0
movups xmm0, xmmword [eax + 0x30]
movups xmmword [ebp - 0x8c], xmm0
movups xmm0, xmmword [eax + 0x40]
movups xmmword [ebp - 0x7c], xmm0
movups xmm0, xmmword [eax + 0x50]
movups xmmword [ebp - 0x6c], xmm0
call fcn.10070fd0
mov esi, eax
add esp, 4
test esi, esi
jne 0x10027000
mov edx, dword [ebx + 0xc]
lea ecx, [ebp - 0xbc]
push 0x30
add edx, 0xa5
call fcn.10070fd0
mov esi, eax
add esp, 4
test esi, esi
jne 0x10027000
push 0x30
mov edx, str.666666666666666666666666666666666666666666666666key
lea ecx, [ebp - 0xbc]
call fcn.10070fd0
mov esi, eax
add esp, 4
test esi, esi
jne 0x10027000
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0xbc]
call fcn.10071100
mov esi, eax
test esi, esi
jne 0x10027000
mov edx, dword [ebx + 0xc]
lea ecx, [ebp - 0xbc]
mov eax, dword [ebx + 0x88]
add edx, 0xa5
push 0x30
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x70], 0x67452301
mov dword [ebp - 0x6c], 0xefcdab89
mov dword [ebp - 0x68], 0x98badcfe
mov dword [ebp - 0x64], 0x10325476
mov dword [ebp - 0xbc], esi
mov dword [ebp - 0xb8], esi
mov dword [ebp - 0xb4], esi
call fcn.10070fd0
mov esi, eax
add esp, 4
test esi, esi
jne 0x10027000
push 0x30
mov edx, str._bad_certificate
lea ecx, [ebp - 0xbc]
call fcn.10070fd0
mov esi, eax
add esp, 4
test esi, esi
jne 0x10027000
push 0x10
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0xbc]
call fcn.10070fd0
mov esi, eax
add esp, 4
test esi, esi
jne 0x10027000
mov edx, dword [ebp - 0x12c]
lea ecx, [ebp - 0xbc]
call fcn.10071100
mov esi, eax
test esi, esi
jne 0x10027000
mov esi, dword [ebx + 0x70]
add esi, 0x168
je 0x10026ffb
mov edx, dword [ebp - 0x128]
lea edi, [ebp - 0x124]
mov ecx, 0x19
rep movsd dword es:[edi], dword [esi]
push 4
lea ecx, [ebp - 0x124]
call fcn.1005f810
mov esi, eax
add esp, 4
test esi, esi
jne 0x10027000
mov edx, dword [ebx + 0xc]
lea ecx, [ebp - 0x124]
push 0x30
add edx, 0xa5
call fcn.1005f810
mov esi, eax
add esp, 4
test esi, esi
jne 0x10027000
push 0x28
mov edx, str.666666666666666666666666666666666666666666666666key
lea ecx, [ebp - 0x124]
call fcn.1005f810
mov esi, eax
add esp, 4
test esi, esi
jne 0x10027000
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x124]
call fcn.1005f990
mov esi, eax
test esi, esi
jne 0x10027000
mov edx, dword [ebx + 0xc]
lea ecx, [ebp - 0x124]
mov eax, dword [ebx + 0x88]
add edx, 0xa5
push 0x30
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0xd8], 0x67452301
mov dword [ebp - 0xd4], 0xefcdab89
mov dword [ebp - 0xd0], 0x98badcfe
mov dword [ebp - 0xcc], 0x10325476
mov dword [ebp - 0xc8], 0xc3d2e1f0
mov dword [ebp - 0x124], esi
mov dword [ebp - 0x120], esi
mov dword [ebp - 0x11c], esi
call fcn.1005f810
mov esi, eax
add esp, 4
test esi, esi
jne 0x10027000
push 0x28
mov edx, str._bad_certificate
lea ecx, [ebp - 0x124]
call fcn.1005f810
mov esi, eax
add esp, 4
test esi, esi
jne 0x10027000
push 0x14
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x124]
call fcn.1005f810
mov esi, eax
add esp, 4
test esi, esi
jne 0x10027000
mov edx, dword [ebp - 0x12c]
lea ecx, [ebp - 0x124]
lea edx, [edx + 0x10]
call fcn.1005f990
mov esi, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.1007bc9e
mov esp, ebp
pop ebp
ret
mov esi, 0xffffff53
jmp 0x10026d11
mov esi, 0xffffff53
mov ecx, dword [ebp - 8]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1007bc9e
mov esp, ebp
pop ebp
ret