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

Disassembly:
mov eax, 0x31c
call fcn.2a85add0
mov eax, dword [0x2a919eec]
xor eax, esp
mov dword [esp + 0x318], eax
mov eax, dword [esp + 0x324]
mov ecx, dword [esp + 0x32c]
mov edx, dword [esp + 0x330]
push ebx
mov ebx, dword [esp + 0x32c]
push ebp
mov ebp, dword [esp + 0x340]
push esi
mov esi, dword [esp + 0x32c]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x348]
push edi
mov dword [esp + 0x60], esi
mov dword [esp + 0x54], ebx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], edx
mov dword [esp + 0x44], eax
mov edi, 0x40
mov dword [esp + 0x40], 0x28
mov dword [esp + 0x20], 8
mov byte [esp + 0x13], 1
cmp ebp, 0x100000
jb 0x2a854eae
push str.data_plus_mac_plus_padding_size___10241024
push 0x1d7
push str.._ssl_s3_cbc.c
call fcn.2a85d080
add esp, 0xc
push esi
call fcn.2a89d9d0
push eax
call fcn.2a861b10
add esp, 8
cmp eax, 0x2a0
jg 0x2a854f63
je 0x2a854f39
cmp eax, 4
je 0x2a854f02
cmp eax, 0x40
jne 0x2a854f70
lea ecx, [esp + 0x80]
push ecx
call fcn.2a875bc0
mov dword [esp + 0x28], 0x2a854bf0
mov dword [esp + 0x18], 0x2a875a60
mov dword [esp + 0x1c], 0x14
jmp 0x2a855006
lea edx, [esp + 0x80]
push edx
call fcn.2a875940
mov dword [esp + 0x28], 0x2a854b70
mov dword [esp + 0x18], 0x2a875800
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x44], 0x30
mov byte [esp + 0x17], 0
jmp 0x2a855006
lea eax, [esp + 0x80]
push eax
call fcn.2a8752e0
mov dword [esp + 0x28], 0x2a854c90
mov dword [esp + 0x18], 0x2a875420
mov dword [esp + 0x1c], 0x20
jmp 0x2a855006
sub eax, 0x2a1
je 0x2a854fd4
dec eax
je 0x2a854fc1
dec eax
je 0x2a854f9a
push 0x2a8d69c8
push 0x20d
push str.._ssl_s3_cbc.c
call fcn.2a85d080
add esp, 0xc
test ebx, ebx
je 0x2a85555c
mov dword [ebx], 0xffffffff
jmp 0x2a85555c
lea ecx, [esp + 0x80]
push ecx
call fcn.2a875280
mov dword [esp + 0x28], 0x2a854c90
mov dword [esp + 0x18], 0x2a875420
mov dword [esp + 0x1c], 0x1c
jmp 0x2a855006
lea edx, [esp + 0x80]
push edx
call fcn.2a874c40
mov dword [esp + 0x1c], edi
jmp 0x2a854fe9
lea eax, [esp + 0x80]
push eax
call fcn.2a874ba0
mov dword [esp + 0x1c], 0x30
mov dword [esp + 0x24], 0x10
mov edi, 0x80
mov dword [esp + 0x18], 0x2a875260
mov dword [esp + 0x28], 0x2a854d80
mov al, byte [esp + 0x358]
add esp, 4
mov dword [esp + 0x3c], 0xd
test al, al
je 0x2a85502f
mov ecx, dword [esp + 0x350]
mov edx, dword [esp + 0x40]
lea ecx, [edx + ecx + 0xb]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x20]
xor ebx, ebx
test al, al
sete bl
sub ecx, dword [esp + 0x18]
lea eax, [ecx + edx]
add eax, edi
xor edx, edx
lea eax, [eax + ebp - 1]
div edi
add ecx, dword [esp + 0x344]
xor edx, edx
xor ebp, ebp
lea ebx, [ebx*4 + 2]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], ebp
mov esi, eax
mov eax, ecx
div edi
mov dword [esp + 0x30], edx
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x20]
xor edx, edx
add eax, ecx
div edi
xor edx, edx
cmp byte [esp + 0x354], dl
setne dl
add edx, ebx
mov dword [esp + 0x5c], eax
cmp esi, edx
jbe 0x2a8550a2
sub esi, ebx
mov ebp, esi
mov dword [esp + 0x28], esi
imul ebp, edi
cmp byte [esp + 0x354], 0
lea ebx, [ecx*8]
jne 0x2a855134
push edi
lea eax, [esp + 0x1ac]
push 0
push eax
lea ebx, [ebx + edi*8]
call sub.MSVCR100.dll_memset
mov esi, dword [esp + 0x35c]
add esp, 0xc
cmp esi, 0x80
jbe 0x2a8550f3
push str.mac_secret_length___sizeof_hmac_pad_
push 0x266
push str.._ssl_s3_cbc.c
call fcn.2a85d080
add esp, 0xc
mov ecx, dword [esp + 0x44]
push esi
push ecx
lea edx, [esp + 0x1b0]
push edx
call sub.MSVCR100.dll_memcpy
add esp, 0xc
xor eax, eax
test edi, edi
je 0x2a85511d
nop
xor byte [esp + eax + 0x1a8], 0x36
inc eax
cmp eax, edi
jb 0x2a855110
lea eax, [esp + 0x1a8]
push eax
lea ecx, [esp + 0x84]
push ecx
call dword [esp + 0x1c]
add esp, 8
cmp byte [esp + 0x13], 0
mov esi, dword [esp + 0x20]
je 0x2a855179
lea edx, [esi - 4]
push edx
lea eax, [esp + 0x15c]
push 0
push eax
call sub.MSVCR100.dll_memset
lea eax, [esp + esi + 0x164]
mov ecx, ebx
shr ecx, 0x18
mov byte [eax - 4], cl
mov edx, ebx
shr edx, 0x10
mov ecx, ebx
add esp, 0xc
shr ecx, 8
mov byte [eax - 3], dl
mov byte [eax - 2], cl
mov byte [eax - 1], bl
jmp 0x2a8551ae
push esi
lea edx, [esp + 0x15c]
push 0
push edx
call sub.MSVCR100.dll_memset
lea eax, [esp + esi + 0x164]
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 ebp, ebp
je 0x2a8552d9
cmp byte [esp + 0x354], 0
je 0x2a85525a
mov edx, dword [esp + 0x34]
mov esi, dword [esp + 0x3c]
mov ebx, dword [esp + 0x14]
push edx
lea eax, [esp + 0x84]
push eax
sub esi, edi
call ebx
mov ecx, dword [esp + 0x3c]
push esi
add ecx, edi
push ecx
lea edx, [esp + 0x238]
push edx
call sub.MSVCR100.dll_memcpy
mov ecx, dword [esp + 0x4c]
mov eax, edi
sub eax, esi
push eax
push ecx
lea edx, [esp + esi + 0x244]
push edx
call sub.MSVCR100.dll_memcpy
lea eax, [esp + 0x248]
push eax
lea ecx, [esp + 0xa4]
push ecx
call ebx
xor edx, edx
mov eax, ebp
div edi
add esp, 0x28
dec eax
cmp eax, 1
jbe 0x2a8552d9
mov ebx, dword [esp + 0x38]
sub ebx, esi
add ebx, edi
lea esi, [eax - 1]
lea esp, [esp]
lea edx, [esp + 0x80]
push ebx
push edx
call dword [esp + 0x1c]
add esp, 8
add ebx, edi
dec esi
jne 0x2a855240
jmp 0x2a8552d9
mov eax, dword [esp + 0x34]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov esi, dword [esp + 0x38]
mov dword [esp + 0x228], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x22c], edx
mov dl, byte [eax + 0xc]
lea eax, [edi - 0xd]
push eax
mov dword [esp + 0x234], ecx
lea ecx, [esp + 0x239]
push esi
push ecx
mov byte [esp + 0x240], dl
call sub.MSVCR100.dll_memcpy
lea edx, [esp + 0x234]
push edx
lea eax, [esp + 0x90]
push eax
call dword [esp + 0x28]
xor edx, edx
mov eax, ebp
div edi
add esp, 0x14
cmp eax, 1
jbe 0x2a8552d9
lea ebx, [esi + edi - 0xd]
lea esi, [eax - 1]
lea ecx, [esp + 0x80]
push ebx
push ecx
call dword [esp + 0x1c]
add esp, 8
add ebx, edi
dec esi
jne 0x2a8552c4
push 0x40
lea edx, [esp + 0x16c]
push 0
push edx
call sub.MSVCR100.dll_memset
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
add ecx, eax
add esp, 0xc
mov dword [esp + 0x28], eax
mov dword [esp + 0x58], ecx
cmp eax, ecx
ja 0x2a85545a
jmp 0x2a855314
mov eax, dword [esp + 0x28]
mov edx, eax
xor edx, dword [esp + 0x4c]
xor eax, dword [esp + 0x5c]
dec edx
dec eax
sar edx, 0x1f
sar eax, 0x1f
mov bl, dl
mov byte [esp + 0x13], al
test edi, edi
je 0x2a8553f1
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x30]
not al
mov byte [esp + 0x1e], al
or al, bl
mov byte [esp + 0x1f], al
mov eax, edi
sub eax, ecx
neg esi
sub ecx, edi
mov dword [esp + 0x64], eax
lea eax, [esp + ecx + 0x158]
mov dword [esp + 0x2c], eax
nop
mov eax, dword [esp + 0x3c]
xor dl, dl
cmp ebp, eax
jae 0x2a855373
mov ecx, dword [esp + 0x34]
mov dl, byte [ecx + ebp]
jmp 0x2a855389
mov ecx, dword [esp + 0x348]
add ecx, eax
cmp ebp, ecx
jae 0x2a855389
mov edx, dword [esp + 0x38]
sub edx, eax
mov dl, byte [edx + ebp]
mov eax, esi
not eax
sar eax, 0x1f
and al, bl
mov cl, al
and cl, 0x80
not al
and al, dl
mov edx, dword [esp + 0x30]
or al, cl
lea ecx, [esi - 1]
not ecx
sar ecx, 0x1f
and cl, bl
not cl
and al, cl
and al, byte [esp + 0x1f]
lea ecx, [esi + edx]
inc ebp
cmp ecx, dword [esp + 0x64]
jb 0x2a8553cf
mov dl, byte [esp + 0x1e]
and dl, al
mov eax, dword [esp + 0x2c]
mov al, byte [eax]
and al, byte [esp + 0x13]
or al, dl
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x30]
inc dword [esp + 0x2c]
lea ecx, [esp + ecx + 0x2a8]
mov byte [ecx + esi], al
inc esi
lea eax, [esi + edx]
cmp eax, edi
jb 0x2a855360
lea ecx, [esp + 0x2a8]
push ecx
lea edx, [esp + 0x84]
push edx
call dword [esp + 0x1c]
lea eax, [esp + 0x2b0]
push eax
lea ecx, [esp + 0x8c]
push ecx
call dword [esp + 0x34]
mov ecx, dword [esp + 0x28]
add esp, 0x10
xor eax, eax
test ecx, ecx
je 0x2a855447
jmp 0x2a855430
mov dl, byte [esp + eax + 0x2a8]
and dl, byte [esp + 0x13]
inc eax
or byte [esp + eax + 0x167], dl
cmp eax, ecx
jb 0x2a855430
mov eax, dword [esp + 0x28]
inc eax
mov dword [esp + 0x28], eax
cmp eax, dword [esp + 0x58]
jbe 0x2a855310
lea eax, [esp + 0x68]
push eax
call fcn.2a864560
mov ecx, dword [esp + 0x64]
mov edx, dword [ecx]
push 0
push edx
lea eax, [esp + 0x74]
push eax
call fcn.2a8645b0
add esp, 0x10
cmp byte [esp + 0x354], 0
je 0x2a8554e4
mov esi, dword [esp + 0x40]
push esi
lea ecx, [esp + 0x1ac]
push 0x5c
push ecx
call sub.MSVCR100.dll_memset
mov edx, dword [esp + 0x35c]
mov eax, dword [esp + 0x50]
push edx
push eax
lea ecx, [esp + 0x7c]
push ecx
call fcn.2a864760
push esi
lea edx, [esp + 0x1c4]
push edx
lea eax, [esp + 0x88]
push eax
call fcn.2a864760
mov ecx, dword [esp + 0x3c]
push ecx
lea edx, [esp + 0x190]
push edx
lea eax, [esp + 0x94]
push eax
call fcn.2a864760
add esp, 0x30
jmp 0x2a85552a
xor eax, eax
test edi, edi
je 0x2a8554fd
lea ebx, [ebx]
xor byte [esp + eax + 0x1a8], 0x6a
inc eax
cmp eax, edi
jb 0x2a8554f0
push edi
lea ecx, [esp + 0x1ac]
push ecx
lea edx, [esp + 0x70]
push edx
call fcn.2a864760
mov eax, dword [esp + 0x24]
push eax
lea ecx, [esp + 0x178]
push ecx
lea edx, [esp + 0x7c]
push edx
call fcn.2a864760
add esp, 0x18
mov ecx, dword [esp + 0x50]
lea eax, [esp + 0x48]
push eax
push ecx
lea edx, [esp + 0x70]
push edx
call fcn.2a8648d0
mov eax, dword [esp + 0x60]
add esp, 0xc
test eax, eax
je 0x2a85554f
mov ecx, dword [esp + 0x48]
mov dword [eax], ecx
lea edx, [esp + 0x68]
push edx
call fcn.2a8647f0
add esp, 4
mov ecx, dword [esp + 0x328]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.2a801bd0
add esp, 0x31c
ret