Function at 0x131082c0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov eax, 0x324
call fcn.13031f00
mov eax, dword [0x1315d264]
xor eax, esp
mov dword [esp + 0x320], eax
cmp dword [esp + 0x340], 0x100000
mov eax, dword [esp + 0x32c]
mov ecx, dword [esp + 0x334]
mov edx, dword [esp + 0x338]
push ebx
mov ebx, dword [esp + 0x334]
push esi
push edi
mov edi, dword [esp + 0x334]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x350]
mov dword [esp + 0x64], edi
mov dword [esp + 0x48], ebx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x34], edx
mov dword [esp + 0x40], eax
mov esi, 0x40
mov dword [esp + 0x3c], 0x28
mov dword [esp + 0x18], 8
mov byte [esp + 0xf], 1
jb 0x1310835b
push str.data_plus_mac_plus_padding_size___10241024
push 0x1cc
push str.._ssl_s3_cbc.c
call fcn.13094130
add esp, 0xc
mov ecx, dword [edi]
mov eax, dword [ecx]
cmp eax, 0x2a0
jg 0x13108404
je 0x131083da
cmp eax, 4
je 0x131083a3
cmp eax, esi
jne 0x13108419
lea edx, [esp + 0x84]
push edx
call fcn.130b0ec0
mov dword [esp + 0x24], 0x13108080
mov dword [esp + 0x14], 0x130b0d50
mov dword [esp + 0x18], 0x14
jmp 0x131084c2
lea eax, [esp + 0x84]
push eax
call fcn.1308e9e0
mov dword [esp + 0x24], 0x13107ff0
mov dword [esp + 0x14], 0x1308e890
mov dword [esp + 0x18], 0x10
mov dword [esp + 0x40], 0x30
mov byte [esp + 0x13], 0
jmp 0x131084c2
lea ecx, [esp + 0x84]
push ecx
call fcn.130b0f60
mov dword [esp + 0x24], 0x13108130
mov dword [esp + 0x14], 0x130b10a0
mov dword [esp + 0x18], 0x20
jmp 0x131084c2
sub eax, 0x2a1
je 0x13108490
sub eax, 1
je 0x1310847d
sub eax, 1
je 0x13108456
push 0x1311f79c
push 0x202
push str.._ssl_s3_cbc.c
call fcn.13094130
add esp, 0xc
test ebx, ebx
je 0x13108a4f
pop edi
pop esi
mov dword [ebx], 0xffffffff
pop ebx
mov ecx, dword [esp + 0x320]
xor ecx, esp
call fcn.1303468b
add esp, 0x324
ret
lea edx, [esp + 0x84]
push edx
call fcn.130b0f00
mov dword [esp + 0x24], 0x13108130
mov dword [esp + 0x14], 0x130b10a0
mov dword [esp + 0x18], 0x1c
jmp 0x131084c2
lea eax, [esp + 0x84]
push eax
call fcn.130b1440
mov dword [esp + 0x18], esi
jmp 0x131084a5
lea ecx, [esp + 0x84]
push ecx
call fcn.130b13a0
mov dword [esp + 0x18], 0x30
mov dword [esp + 0x1c], 0x10
mov esi, 0x80
mov dword [esp + 0x14], 0x130b1a70
mov dword [esp + 0x24], 0x13108230
mov bl, byte [esp + 0x35c]
add esp, 4
mov dword [esp + 0x30], 0xd
test bl, bl
je 0x131084eb
mov edx, dword [esp + 0x354]
mov eax, dword [esp + 0x3c]
lea ecx, [eax + edx + 0xb]
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x18]
xor edx, edx
test bl, bl
sete dl
sub ecx, dword [esp + 0x14]
push ebp
xor edi, edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
lea edx, [edx*4 + 2]
mov dword [esp + 0x28], edx
lea edx, [ecx + eax]
mov eax, dword [esp + 0x350]
add edx, esi
lea eax, [edx + eax - 1]
xor edx, edx
div esi
mov edx, dword [esp + 0x34c]
add ecx, edx
xor edx, edx
mov ebp, eax
mov eax, ecx
div esi
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x64], edx
xor edx, edx
add eax, ecx
div esi
xor edx, edx
test bl, bl
setne dl
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x28]
add edx, eax
cmp ebp, edx
jbe 0x13108571
sub ebp, eax
mov eax, ebp
mov dword [esp + 0x2c], eax
imul eax, esi
mov dword [esp + 0x30], eax
mov edi, eax
cmp byte [esp + 0x35c], 0
lea ebx, [ecx*8]
jne 0x13108608
push esi
lea eax, [esp + 0x1b4]
push 0
push eax
lea ebx, [ebx + esi*8]
call fcn.130309b0
mov ebp, dword [esp + 0x364]
add esp, 0xc
cmp ebp, 0x80
jbe 0x131085c2
push str.mac_secret_length___sizeof_hmac_pad_
push 0x25b
push str.._ssl_s3_cbc.c
call fcn.13094130
add esp, 0xc
mov ecx, dword [esp + 0x44]
push ebp
push ecx
lea edx, [esp + 0x1b8]
push edx
call fcn.13030640
add esp, 0xc
xor eax, eax
test esi, esi
jbe 0x131085ed
mov edi, edi
xor byte [esp + eax + 0x1b0], 0x36
inc eax
cmp eax, esi
jb 0x131085e0
mov ebp, dword [esp + 0x14]
lea eax, [esp + 0x1b0]
push eax
lea ecx, [esp + 0x8c]
push ecx
call ebp
add esp, 8
jmp 0x1310860c
mov ebp, dword [esp + 0x14]
cmp byte [esp + 0x13], 0
je 0x13108655
mov ebp, dword [esp + 0x1c]
lea edx, [ebp - 4]
push edx
lea eax, [esp + 0x164]
push 0
push eax
call fcn.130309b0
lea ebp, [esp + ebp + 0x16c]
mov ecx, ebx
mov edx, ebx
shr ecx, 0x18
shr edx, 0x10
mov eax, ebx
add esp, 0xc
shr eax, 8
mov byte [ebp - 4], cl
mov byte [ebp - 3], dl
mov byte [ebp - 2], al
mov byte [ebp - 1], bl
mov ebp, dword [esp + 0x14]
jmp 0x13108692
mov ecx, dword [esp + 0x1c]
push ecx
lea edx, [esp + 0x164]
push 0
push edx
call fcn.130309b0
mov eax, dword [esp + 0x28]
lea eax, [esp + eax + 0x16c]
mov ecx, ebx
shr ecx, 0x18
mov byte [eax - 5], cl
mov edx, ebx
shr edx, 0x10
mov ecx, ebx
add esp, 0xc
shr ecx, 8
mov byte [eax - 6], dl
mov byte [eax - 7], cl
mov byte [eax - 8], bl
test edi, edi
jbe 0x131087b9
cmp byte [esp + 0x35c], 0
je 0x1310873c
mov edx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x34]
mov ebx, dword [esp + 0x14]
push edx
lea eax, [esp + 0x8c]
push eax
sub ebp, esi
call ebx
mov ecx, dword [esp + 0x44]
push ebp
add ecx, esi
push ecx
lea edx, [esp + 0x240]
push edx
call fcn.13030640
mov ecx, dword [esp + 0x4c]
mov eax, esi
sub eax, ebp
push eax
push ecx
lea edx, [esp + ebp + 0x24c]
push edx
call fcn.13030640
lea eax, [esp + 0x250]
push eax
lea ecx, [esp + 0xac]
push ecx
call ebx
xor edx, edx
mov eax, edi
div esi
add esp, 0x28
dec eax
cmp eax, 1
jbe 0x131087b9
mov ebx, dword [esp + 0x38]
sub ebx, ebp
add ebx, esi
lea edi, [eax - 1]
lea ecx, [ecx]
lea edx, [esp + 0x88]
push ebx
push edx
call dword [esp + 0x1c]
add esp, 8
add ebx, esi
sub edi, 1
jne 0x13108720
jmp 0x131087b9
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov ebx, dword [esp + 0x38]
mov dword [esp + 0x230], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x234], edx
mov dl, byte [eax + 0xc]
lea eax, [esi - 0xd]
push eax
mov dword [esp + 0x23c], ecx
lea ecx, [esp + 0x241]
push ebx
push ecx
mov byte [esp + 0x248], dl
call fcn.13030640
lea edx, [esp + 0x23c]
push edx
lea eax, [esp + 0x98]
push eax
call ebp
xor edx, edx
mov eax, edi
div esi
add esp, 0x14
cmp eax, 1
jbe 0x131087b9
lea ebx, [ebx + esi - 0xd]
lea edi, [eax - 1]
lea ecx, [esp + 0x88]
push ebx
push ecx
call ebp
add esp, 8
add ebx, esi
sub edi, 1
jne 0x131087a4
push 0x40
lea edx, [esp + 0x174]
push 0
push edx
call fcn.130309b0
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
add ecx, eax
add esp, 0xc
mov dword [esp + 0x2c], eax
mov dword [esp + 0x60], ecx
cmp eax, ecx
ja 0x13108948
jmp 0x131087f4
mov eax, dword [esp + 0x2c]
mov edx, eax
xor edx, dword [esp + 0x5c]
mov ebx, eax
xor ebx, dword [esp + 0x54]
dec edx
dec ebx
sar ebx, 0x1f
xor ebp, ebp
sar edx, 0x1f
mov byte [esp + 0x13], bl
mov dword [esp + 0x48], ebp
test esi, esi
jbe 0x131088e2
mov edi, dword [esp + 0x64]
mov eax, esi
sub eax, dword [esp + 0x1c]
not bl
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x22], bl
or bl, dl
neg edi
sub eax, esi
lea ecx, [esp + eax + 0x160]
mov byte [esp + 0x23], bl
mov dword [esp + 0x28], ecx
jmp 0x13108850
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
xor bl, bl
cmp eax, ecx
jae 0x13108864
mov ecx, dword [esp + 0x3c]
jmp 0x1310887d
mov eax, dword [esp + 0x350]
add ecx, eax
mov eax, dword [esp + 0x30]
cmp eax, ecx
jae 0x13108880
mov ecx, dword [esp + 0x38]
sub ecx, dword [esp + 0x34]
mov bl, byte [ecx + eax]
inc eax
mov dword [esp + 0x30], eax
mov eax, edi
not eax
sar eax, 0x1f
and al, dl
mov cl, al
and al, 0x80
not cl
and cl, bl
mov bl, byte [esp + 0x13]
or cl, al
lea eax, [edi - 1]
not eax
sar eax, 0x1f
and al, dl
not al
and cl, al
and cl, byte [esp + 0x23]
cmp ebp, dword [esp + 0x6c]
jb 0x131088c9
mov al, byte [esp + 0x22]
mov ebp, dword [esp + 0x28]
and al, cl
mov cl, bl
and cl, byte [ebp]
mov ebp, dword [esp + 0x48]
or cl, al
inc dword [esp + 0x28]
mov byte [esp + ebp + 0x2b0], cl
inc ebp
inc edi
mov dword [esp + 0x48], ebp
cmp ebp, esi
jb 0x13108850
lea edx, [esp + 0x2b0]
push edx
lea eax, [esp + 0x8c]
push eax
call dword [esp + 0x1c]
lea ecx, [esp + 0x2b8]
push ecx
lea edx, [esp + 0x94]
push edx
call dword [esp + 0x34]
mov edi, dword [esp + 0x28]
add esp, 0x10
xor eax, eax
test edi, edi
jbe 0x13108935
jmp 0x13108920
mov cl, byte [esp + eax + 0x2b0]
and cl, bl
or byte [esp + eax + 0x170], cl
inc eax
cmp eax, edi
jb 0x13108920
mov eax, dword [esp + 0x2c]
inc eax
mov dword [esp + 0x2c], eax
cmp eax, dword [esp + 0x60]
jbe 0x131087f0
lea edx, [esp + 0x70]
push edx
call fcn.13094260
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax]
push 0
push ecx
lea edx, [esp + 0x7c]
push edx
call fcn.130942b0
add esp, 0x10
cmp byte [esp + 0x35c], 0
pop ebp
je 0x131089d6
mov esi, dword [esp + 0x3c]
push esi
lea eax, [esp + 0x1b0]
push 0x5c
push eax
call fcn.130309b0
mov ecx, dword [esp + 0x360]
mov edx, dword [esp + 0x4c]
push ecx
push edx
lea eax, [esp + 0x80]
push eax
call fcn.13094460
push esi
lea ecx, [esp + 0x1c8]
push ecx
lea edx, [esp + 0x8c]
push edx
call fcn.13094460
mov eax, dword [esp + 0x38]
push eax
lea ecx, [esp + 0x194]
push ecx
lea edx, [esp + 0x98]
push edx
call fcn.13094460
add esp, 0x30
jmp 0x13108a1d
xor eax, eax
test esi, esi
jbe 0x131089ed
lea esp, [esp]
xor byte [esp + eax + 0x1ac], 0x6a
inc eax
cmp eax, esi
jb 0x131089e0
push esi
lea eax, [esp + 0x1b0]
push eax
lea ecx, [esp + 0x74]
push ecx
call fcn.13094460
mov edx, dword [esp + 0x20]
push edx
lea eax, [esp + 0x17c]
push eax
lea ecx, [esp + 0x80]
push ecx
call fcn.13094460
add esp, 0x18
mov eax, dword [esp + 0x54]
lea edx, [esp + 0x4c]
push edx
push eax
lea ecx, [esp + 0x74]
push ecx
call fcn.130945d0
mov eax, dword [esp + 0x54]
add esp, 0xc
test eax, eax
je 0x13108a42
mov edx, dword [esp + 0x4c]
mov dword [eax], edx
lea eax, [esp + 0x6c]
push eax
call fcn.130944f0
add esp, 4
mov ecx, dword [esp + 0x32c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1303468b
add esp, 0x324
ret