Function at 0x101400f0
Capabilities:
Authenticate hmac
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x338
call fcn.10163470
mov eax, dword [0x101f9e50]
xor eax, esp
mov dword [esp + 0x334], eax
mov eax, dword [esp + 0x33c]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x340]
push ebx
mov ebx, dword [esp + 0x348]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x34c]
push ebp
push esi
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x358]
push edi
mov edi, dword [esp + 0x364]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x368]
mov ebp, 0x40
mov esi, 0x28
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x48], eax
mov dword [esp + 0x44], ebp
mov dword [esp + 0x4c], esi
mov dword [esp + 0x18], 8
mov byte [esp + 0x13], 1
cmp edi, 0x100000
jb 0x10140193
push str.data_plus_mac_plus_padding_size___1024__1024
push 0x1c7
push str.._ssl_s3_cbc.c
call fcn.1009e5c0
add esp, 0xc
push dword [esp + 0x50]
call fcn.10092080
push eax
call fcn.100a2250
add esp, 8
cmp eax, 0x2a0
jg 0x10140271
je 0x1014023c
cmp eax, 4
je 0x101401f9
cmp eax, 0x40
jne 0x1014027e
lea eax, [esp + 0x9c]
push eax
call fcn.100a3690
add esp, 4
test eax, eax
jle 0x101408ea
mov eax, 0x14
mov dword [esp + 0x2c], 0x10140c50
mov dword [esp + 0x14], 0x100a36d0
lea edx, [eax - 0xc]
jmp 0x10140335
lea eax, [esp + 0x9c]
push eax
call fcn.100994e0
add esp, 4
test eax, eax
jle 0x101408ea
mov eax, 0x10
mov esi, 0x30
mov dword [esp + 0x2c], 0x10140bd0
mov dword [esp + 0x14], 0x10099520
mov dword [esp + 0x4c], esi
mov byte [esp + 0x13], 0
lea edx, [eax - 8]
jmp 0x10140335
lea eax, [esp + 0x9c]
push eax
call fcn.1009afd0
add esp, 4
test eax, eax
jle 0x101408ea
mov eax, 0x20
mov dword [esp + 0x2c], 0x10140cf0
mov dword [esp + 0x14], 0x1009b030
lea edx, [eax - 0x18]
jmp 0x10140335
sub eax, 0x2a1
je 0x101402f6
dec eax
je 0x101402da
dec eax
je 0x101402a8
push 0x1019952c
push 0x209
push str.._ssl_s3_cbc.c
call fcn.1009e5c0
add esp, 0xc
test ebx, ebx
je 0x101408ea
mov dword [ebx], 0
jmp 0x101408ea
lea eax, [esp + 0x9c]
push eax
call fcn.1009ac90
add esp, 4
test eax, eax
jle 0x101408ea
mov eax, 0x1c
mov dword [esp + 0x2c], 0x10140cf0
mov dword [esp + 0x14], 0x1009b030
lea edx, [eax - 0x14]
jmp 0x10140335
lea eax, [esp + 0x9c]
push eax
call fcn.100a5340
add esp, 4
test eax, eax
jle 0x101408ea
mov eax, ebp
jmp 0x10140313
lea eax, [esp + 0x9c]
push eax
call fcn.100a4d10
add esp, 4
test eax, eax
jle 0x101408ea
mov eax, 0x30
mov edx, 0x10
mov ebp, 0x80
mov dword [esp + 0x18], edx
mov dword [esp + 0x44], ebp
mov dword [esp + 0x14], 0x100a53f0
mov dword [esp + 0x2c], 0x10140de0
cmp byte [esp + 0x370], 0
mov ebx, 0xd
mov dword [esp + 0x20], eax
mov dword [esp + 0x54], ebx
je 0x1014035c
mov ebx, dword [esp + 0x36c]
add ebx, 0xb
add ebx, esi
mov dword [esp + 0x54], ebx
xor ecx, ecx
cmp byte [esp + 0x370], cl
mov esi, ebx
sete cl
sub esi, eax
lea eax, [edx - 1]
add eax, esi
add eax, ebp
add eax, edi
xor edx, edx
div ebp
add esi, dword [esp + 0x360]
xor edx, edx
lea ecx, [ecx*4 + 2]
mov dword [esp + 0x30], ecx
xor ecx, ecx
xor edi, edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x1c], eax
xor eax, eax
mov dword [esp + 0x3c], eax
mov eax, esi
div ebp
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x40], edx
xor edx, edx
lea eax, [esi + eax]
div ebp
cmp byte [esp + 0x370], cl
mov edx, dword [esp + 0x30]
setne cl
add ecx, edx
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x1c]
cmp eax, ecx
jbe 0x101403e1
sub eax, edx
mov edi, eax
imul edi, ebp
mov dword [esp + 0x3c], eax
mov dword [esp + 0x28], edi
cmp byte [esp + 0x370], 0
lea eax, [esi*8]
mov dword [esp + 0x1c], eax
jne 0x1014047d
lea eax, [eax + ebp*8]
push ebp
mov dword [esp + 0x20], eax
lea eax, [esp + 0x1c8]
push 0
push eax
call fcn.10161a10
mov esi, dword [esp + 0x378]
add esp, 0xc
cmp esi, 0x80
jbe 0x1014043a
push str.mac_secret_length___sizeof_hmac_pad_
push 0x271
push str.._ssl_s3_cbc.c
call fcn.1009e5c0
add esp, 0xc
push esi
push dword [esp + 0x4c]
lea eax, [esp + 0x1cc]
push eax
call fcn.10162060
add esp, 0xc
xor eax, eax
test ebp, ebp
je 0x10140462
xor byte [esp + eax + 0x1c4], 0x36
inc eax
cmp eax, ebp
jb 0x10140455
mov esi, dword [esp + 0x14]
lea eax, [esp + 0x1c4]
push eax
lea eax, [esp + 0xa0]
push eax
call esi
add esp, 8
jmp 0x10140481
mov esi, dword [esp + 0x14]
cmp byte [esp + 0x13], 0
je 0x101404d7
mov eax, dword [esp + 0x18]
add eax, 0xfffffffc
push eax
lea eax, [esp + 0x178]
push 0
push eax
call fcn.10161a10
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
mov eax, ecx
shr eax, 0x18
mov byte [esp + edx + 0x17c], al
mov eax, ecx
shr eax, 0x10
mov byte [esp + edx + 0x17d], al
mov eax, ecx
add esp, 0xc
shr eax, 8
mov byte [esp + edx + 0x172], al
mov byte [esp + edx + 0x173], cl
jmp 0x10140520
push dword [esp + 0x18]
lea eax, [esp + 0x178]
push 0
push eax
call fcn.10161a10
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
mov eax, ecx
shr eax, 0x18
mov byte [esp + edx + 0x17b], al
mov eax, ecx
shr eax, 0x10
mov byte [esp + edx + 0x17a], al
mov eax, ecx
add esp, 0xc
shr eax, 8
mov byte [esp + edx + 0x16d], al
mov byte [esp + edx + 0x16c], cl
test edi, edi
je 0x10140647
cmp byte [esp + 0x370], 0
je 0x101405c8
cmp ebx, ebp
jbe 0x101408ea
push dword [esp + 0x34]
lea eax, [esp + 0xa0]
push eax
sub ebx, ebp
call esi
mov eax, dword [esp + 0x3c]
add eax, ebp
push ebx
push eax
lea eax, [esp + 0x254]
push eax
call fcn.10162060
mov eax, ebp
sub eax, ebx
push eax
push dword [esp + 0x50]
lea eax, [esp + 0x260]
add eax, ebx
push eax
call fcn.10162060
lea eax, [esp + 0x264]
push eax
lea eax, [esp + 0xc0]
push eax
call esi
xor edx, edx
mov eax, edi
div ebp
add esp, 0x28
dec eax
cmp eax, 1
jbe 0x10140647
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x14]
sub esi, ebx
add esi, ebp
lea ebx, [eax - 1]
nop
lea eax, [esp + 0x9c]
push esi
push eax
call edi
add esp, 8
add esi, ebp
dec ebx
jne 0x101405b0
jmp 0x10140643
mov ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0x38]
mov eax, dword [ecx + 8]
movq xmm0, qword [ecx]
mov dword [esp + 0x24c], eax
mov al, byte [ecx + 0xc]
mov byte [esp + 0x250], al
lea eax, [ebp - 0xd]
push eax
lea eax, [esp + 0x255]
push ebx
push eax
movq qword [esp + 0x250], xmm0
call fcn.10162060
lea eax, [esp + 0x250]
push eax
lea eax, [esp + 0xac]
push eax
call esi
xor edx, edx
mov eax, edi
div ebp
add esp, 0x14
cmp eax, 1
jbe 0x10140647
mov edi, dword [esp + 0x14]
lea esi, [ebx - 0xd]
add esi, ebp
lea ebx, [eax - 1]
nop
lea eax, [esp + 0x9c]
push esi
push eax
call edi
add esp, 8
add esi, ebp
dec ebx
jne 0x10140630
mov edi, dword [esp + 0x28]
push 0x40
lea eax, [esp + 0x188]
push 0
push eax
call fcn.10161a10
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x3c]
add eax, edx
add esp, 0xc
mov dword [esp + 0x58], eax
cmp edx, eax
ja 0x1014082a
mov eax, edx
xor eax, dword [esp + 0x7c]
xor esi, esi
lea ecx, [eax - 1]
not eax
shr eax, 0x1f
shr ecx, 0x1f
and cl, al
mov eax, edx
xor eax, dword [esp + 0x60]
neg cl
lea ebx, [eax - 1]
shr ebx, 0x1f
not eax
shr eax, 0x1f
and bl, al
neg bl
mov dword [esp + 0x78], ecx
mov dword [esp + 0x1c], ebx
test ebp, ebp
je 0x101407c7
mov eax, dword [esp + 0x40]
lea edx, [eax + 1]
shr eax, 0x1f
mov dword [esp + 0x70], eax
movzx eax, cl
mov dword [esp + 0x68], eax
mov al, bl
not al
or al, cl
mov byte [esp + 0x27], al
mov eax, ebp
sub eax, dword [esp + 0x18]
shr edx, 0x1f
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x30], edx
sub eax, ebp
or edx, 0xffffffff
sub edx, dword [esp + 0x40]
lea eax, [esp + eax + 0x174]
mov dword [esp + 0x28], eax
mov dword [esp + 0x74], edx
lea esp, [esp]
mov ecx, dword [esp + 0x54]
mov byte [esp + 0x13], 0
cmp edi, ecx
jae 0x10140713
mov eax, dword [esp + 0x34]
jmp 0x10140726
mov eax, dword [esp + 0x364]
add eax, ecx
cmp edi, eax
jae 0x1014072d
mov eax, dword [esp + 0x38]
sub eax, ecx
mov al, byte [eax + edi]
mov byte [esp + 0x13], al
mov eax, dword [esp + 0x70]
lea ebx, [edx + esi]
mov edx, esi
lea ecx, [ebx + 1]
shr ecx, 0x1f
xor cl, al
shr edx, 0x1f
xor al, dl
or cl, al
xor cl, dl
shr ebx, 0x1f
xor bl, byte [esp + 0x30]
dec cl
movzx ecx, cl
and ecx, dword [esp + 0x68]
mov al, dl
xor al, byte [esp + 0x30]
inc edi
or bl, al
xor bl, dl
dec bl
and bl, byte [esp + 0x78]
mov al, cl
not al
and al, byte [esp + 0x13]
and cl, 0x80
not bl
or al, cl
and bl, al
and bl, byte [esp + 0x27]
cmp esi, dword [esp + 0x80]
jb 0x1014079d
mov eax, dword [esp + 0x1c]
movzx ecx, al
mov eax, dword [esp + 0x28]
mov dl, cl
mov al, byte [eax]
not dl
and bl, dl
and al, cl
or bl, al
mov edx, dword [esp + 0x74]
mov ebp, dword [esp + 0x44]
inc dword [esp + 0x28]
lea ecx, [esp + 0x2c5]
add ecx, dword [esp + 0x40]
lea eax, [edx + esi]
inc esi
mov byte [eax + ecx], bl
cmp esi, ebp
jb 0x10140700
mov ebx, dword [esp + 0x1c]
lea eax, [esp + 0x2c4]
push eax
lea eax, [esp + 0xa0]
push eax
call dword [esp + 0x1c]
lea eax, [esp + 0x2cc]
push eax
lea eax, [esp + 0xa8]
push eax
call dword [esp + 0x3c]
mov esi, dword [esp + 0x30]
add esp, 0x10
xor eax, eax
test esi, esi
je 0x10140815
lea esp, [esp]
mov cl, byte [esp + eax + 0x2c4]
and cl, bl
or byte [esp + eax + 0x184], cl
inc eax
cmp eax, esi
jb 0x10140800
mov edx, dword [esp + 0x3c]
inc edx
mov dword [esp + 0x3c], edx
cmp edx, dword [esp + 0x58]
jbe 0x10140671
jmp 0x1014082e
mov esi, dword [esp + 0x20]
lea eax, [esp + 0x84]
push eax
call fcn.1008e690
mov eax, dword [esp + 0x54]
push 0
push dword [eax]
lea eax, [esp + 0x90]
push eax
call fcn.1008e270
add esp, 0x10
test eax, eax
jle 0x101408da
cmp byte [esp + 0x370], 0
je 0x10140905
mov edi, dword [esp + 0x4c]
push edi
lea eax, [esp + 0x1c8]
push 0x5c
push eax
call fcn.10161a10
push dword [esp + 0x378]
lea eax, [esp + 0x94]
push dword [esp + 0x58]
push eax
call fcn.1008e420
add esp, 0x18
test eax, eax
jle 0x101408da
push edi
lea eax, [esp + 0x1c8]
push eax
lea eax, [esp + 0x8c]
push eax
call fcn.1008e420
add esp, 0xc
test eax, eax
jle 0x101408da
push esi
lea eax, [esp + 0x188]
push eax
lea eax, [esp + 0x8c]
push eax
call fcn.1008e420
add esp, 0xc
test eax, eax
jg 0x10140957
lea eax, [esp + 0x84]
push eax
call fcn.1008e430
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x344]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.101603fd
add esp, 0x338
ret
xor eax, eax
test ebp, ebp
je 0x1014091d
jmp 0x10140910
xor byte [esp + eax + 0x1c4], 0x6a
inc eax
cmp eax, ebp
jb 0x10140910
push ebp
lea eax, [esp + 0x1c8]
push eax
lea eax, [esp + 0x8c]
push eax
call fcn.1008e420
add esp, 0xc
test eax, eax
jle 0x101408da
push esi
lea eax, [esp + 0x188]
push eax
lea eax, [esp + 0x8c]
push eax
call fcn.1008e420
add esp, 0xc
test eax, eax
jle 0x101408da
lea eax, [esp + 0x64]
push eax
push dword [esp + 0x70]
lea eax, [esp + 0x8c]
push eax
call fcn.1008e190
mov ecx, dword [esp + 0x68]
add esp, 0xc
test ecx, ecx
je 0x1014097e
mov eax, dword [esp + 0x64]
mov dword [ecx], eax
lea eax, [esp + 0x84]
push eax
call fcn.1008e430
add esp, 4
mov eax, 1
jmp 0x101408ec