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

Disassembly:
mov eax, 0x31c
call fcn.0044a310
mov eax, dword [0x547e80]
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 0x4df05e
push str.data_plus_mac_plus_padding_size___10241024
push 0x1d7
push str.._ssl_s3_cbc.c
call fcn.004747f0
add esp, 0xc
push esi
call fcn.0046a990
push eax
call fcn.004cbc90
add esp, 8
cmp eax, 0x2a0
jg 0x4df113
je 0x4df0e9
cmp eax, 4
je 0x4df0b2
cmp eax, 0x40
jne 0x4df120
lea ecx, [esp + 0x80]
push ecx
call fcn.0048ee80
mov dword [esp + 0x28], 0x4deda0
mov dword [esp + 0x18], 0x48ed20
mov dword [esp + 0x1c], 0x14
jmp 0x4df1b6
lea edx, [esp + 0x80]
push edx
call fcn.0046f940
mov dword [esp + 0x28], 0x4ded20
mov dword [esp + 0x18], 0x46f800
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x44], 0x30
mov byte [esp + 0x17], 0
jmp 0x4df1b6
lea eax, [esp + 0x80]
push eax
call fcn.0048ef20
mov dword [esp + 0x28], 0x4dee40
mov dword [esp + 0x18], 0x48f060
mov dword [esp + 0x1c], 0x20
jmp 0x4df1b6
sub eax, 0x2a1
je 0x4df184
dec eax
je 0x4df171
dec eax
je 0x4df14a
push 0x4ffb58
push 0x20d
push str.._ssl_s3_cbc.c
call fcn.004747f0
add esp, 0xc
test ebx, ebx
je 0x4df70c
mov dword [ebx], 0xffffffff
jmp 0x4df70c
lea ecx, [esp + 0x80]
push ecx
call fcn.0048eec0
mov dword [esp + 0x28], 0x4dee40
mov dword [esp + 0x18], 0x48f060
mov dword [esp + 0x1c], 0x1c
jmp 0x4df1b6
lea edx, [esp + 0x80]
push edx
call fcn.0048f400
mov dword [esp + 0x1c], edi
jmp 0x4df199
lea eax, [esp + 0x80]
push eax
call fcn.0048f360
mov dword [esp + 0x1c], 0x30
mov dword [esp + 0x24], 0x10
mov edi, 0x80
mov dword [esp + 0x18], 0x48fa20
mov dword [esp + 0x28], 0x4def30
mov al, byte [esp + 0x358]
add esp, 4
mov dword [esp + 0x3c], 0xd
test al, al
je 0x4df1df
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 0x4df252
sub esi, ebx
mov ebp, esi
mov dword [esp + 0x28], esi
imul ebp, edi
cmp byte [esp + 0x354], 0
lea ebx, [ecx*8]
jne 0x4df2e4
push edi
lea eax, [esp + 0x1ac]
push 0
push eax
lea ebx, [ebx + edi*8]
call fcn.004463e0
mov esi, dword [esp + 0x35c]
add esp, 0xc
cmp esi, 0x80
jbe 0x4df2a3
push str.mac_secret_length___sizeof_hmac_pad_
push 0x266
push str.._ssl_s3_cbc.c
call fcn.004747f0
add esp, 0xc
mov ecx, dword [esp + 0x44]
push esi
push ecx
lea edx, [esp + 0x1b0]
push edx
call fcn.00443e60
add esp, 0xc
xor eax, eax
test edi, edi
je 0x4df2cd
nop
xor byte [esp + eax + 0x1a8], 0x36
inc eax
cmp eax, edi
jb 0x4df2c0
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 0x4df329
lea edx, [esi - 4]
push edx
lea eax, [esp + 0x15c]
push 0
push eax
call fcn.004463e0
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 0x4df35e
push esi
lea edx, [esp + 0x15c]
push 0
push edx
call fcn.004463e0
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 0x4df489
cmp byte [esp + 0x354], 0
je 0x4df40a
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 fcn.00443e60
mov ecx, dword [esp + 0x4c]
mov eax, edi
sub eax, esi
push eax
push ecx
lea edx, [esp + esi + 0x244]
push edx
call fcn.00443e60
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 0x4df489
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 0x4df3f0
jmp 0x4df489
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 fcn.00443e60
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 0x4df489
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 0x4df474
push 0x40
lea edx, [esp + 0x16c]
push 0
push edx
call fcn.004463e0
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 0x4df60a
jmp 0x4df4c4
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 0x4df5a1
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 0x4df523
mov ecx, dword [esp + 0x34]
mov dl, byte [ecx + ebp]
jmp 0x4df539
mov ecx, dword [esp + 0x348]
add ecx, eax
cmp ebp, ecx
jae 0x4df539
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 0x4df57f
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 0x4df510
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 0x4df5f7
jmp 0x4df5e0
mov dl, byte [esp + eax + 0x2a8]
and dl, byte [esp + 0x13]
inc eax
or byte [esp + eax + 0x167], dl
cmp eax, ecx
jb 0x4df5e0
mov eax, dword [esp + 0x28]
inc eax
mov dword [esp + 0x28], eax
cmp eax, dword [esp + 0x58]
jbe 0x4df4c0
lea eax, [esp + 0x68]
push eax
call fcn.00474920
mov ecx, dword [esp + 0x64]
mov edx, dword [ecx]
push 0
push edx
lea eax, [esp + 0x74]
push eax
call fcn.00474970
add esp, 0x10
cmp byte [esp + 0x354], 0
je 0x4df694
mov esi, dword [esp + 0x40]
push esi
lea ecx, [esp + 0x1ac]
push 0x5c
push ecx
call fcn.004463e0
mov edx, dword [esp + 0x35c]
mov eax, dword [esp + 0x50]
push edx
push eax
lea ecx, [esp + 0x7c]
push ecx
call fcn.00474b20
push esi
lea edx, [esp + 0x1c4]
push edx
lea eax, [esp + 0x88]
push eax
call fcn.00474b20
mov ecx, dword [esp + 0x3c]
push ecx
lea edx, [esp + 0x190]
push edx
lea eax, [esp + 0x94]
push eax
call fcn.00474b20
add esp, 0x30
jmp 0x4df6da
xor eax, eax
test edi, edi
je 0x4df6ad
lea ebx, [ebx]
xor byte [esp + eax + 0x1a8], 0x6a
inc eax
cmp eax, edi
jb 0x4df6a0
push edi
lea ecx, [esp + 0x1ac]
push ecx
lea edx, [esp + 0x70]
push edx
call fcn.00474b20
mov eax, dword [esp + 0x24]
push eax
lea ecx, [esp + 0x178]
push ecx
lea edx, [esp + 0x7c]
push edx
call fcn.00474b20
add esp, 0x18
mov ecx, dword [esp + 0x50]
lea eax, [esp + 0x48]
push eax
push ecx
lea edx, [esp + 0x70]
push edx
call fcn.00474c90
mov eax, dword [esp + 0x60]
add esp, 0xc
test eax, eax
je 0x4df6ff
mov ecx, dword [esp + 0x48]
mov dword [eax], ecx
lea edx, [esp + 0x68]
push edx
call fcn.00474bb0
add esp, 4
mov ecx, dword [esp + 0x328]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00446098
add esp, 0x31c
ret