Function at 0x10028cf0
Capabilities:
Authenticate hmac
Encode data using base64
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10061be0
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x10075604]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov al, byte [esi + 0x20]
test al, al
je 0x10028f3e
mov eax, dword [esi + 0x24]
test eax, eax
jle 0x10028d33
dec eax
mov dword [esi + 0x24], eax
mov edi, dword [esi + 0x24]
test edi, edi
js 0x10028f2d
mov eax, 0x91a2b3c5
mov dword [ebp - 0x14], 0xf
imul edi
mov ecx, edi
mov dword [ebp - 0x18], 0
add edx, edi
mov byte [ebp - 0x28], 0
sar edx, 0xb
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0xe10
sub ecx, eax
mov eax, 0x88888889
imul ecx
mov eax, 0x88888889
add edx, ecx
sar edx, 5
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
imul edi
add edx, edi
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov eax, ecx
shl eax, 4
sub eax, ecx
shl eax, 2
sub edi, eax
mov dword [ebp - 4], 0
push edi
push ebx
cmp ebx, 0xa
jae 0x10028e10
sub esp, 0x18
cmp edi, 0xa
jae 0x10028de6
mov bh, 0xc
mov byte [ebp - 0x2c], 0
mov al, 0x3c
mov byte [ebp - 0x34], bh
mov cl, 0x29
mov byte [ebp - 0x2c], 0
mov dl, 0x68
mov ah, al
mov ch, cl
mov bl, 0x36
mov dh, dl
xor ch, bh
xor al, bh
mov byte [ebp - 0x2e], ch
xor cl, bh
xor dl, bh
xor bl, bh
xor ah, bh
xor dh, bh
mov byte [ebp - 0x2d], dh
jmp 0x10028e63
mov dh, 0x26
mov byte [ebp - 0x2d], 0
mov cl, 3
mov byte [ebp - 0x34], dh
mov dl, 0x42
mov byte [ebp - 0x2d], 0
mov ah, cl
mov al, 0x16
mov bl, 0x1c
mov ch, dl
xor al, dh
xor cl, dh
xor dl, dh
xor bl, dh
xor ah, dh
xor ch, dh
mov byte [ebp - 0x2e], ch
jmp 0x10028e63
cmp edi, 0xa
jae 0x10028e3f
mov dh, 0xf
mov byte [ebp - 0x2d], 0
mov al, 0x2a
mov byte [ebp - 0x34], dh
mov cl, 0x6b
mov byte [ebp - 0x2d], 0
mov ah, al
mov dl, 0x35
mov bl, 0x3f
mov ch, cl
xor al, dh
xor cl, dh
xor dl, dh
xor bl, dh
xor ah, dh
xor ch, dh
mov byte [ebp - 0x2e], ch
jmp 0x10028e60
mov ch, 0x3d
mov byte [ebp - 0x2e], 0
mov al, 0x18
mov byte [ebp - 0x34], ch
mov cl, 0x59
mov byte [ebp - 0x2e], 0
mov bl, al
mov dl, 7
mov ah, cl
xor al, ch
xor cl, ch
xor dl, ch
xor bl, ch
xor ah, ch
sub esp, 0x18
mov byte [ebp - 0x33], al
mov byte [ebp - 0x2f], ah
lea eax, [ebp - 0x33]
mov byte [ebp - 0x32], cl
mov ecx, esp
push eax
mov byte [ebp - 0x31], dl
mov byte [ebp - 0x30], bl
call fcn.100017e0
lea eax, [ebp - 0x68]
push eax
call fcn.10031980
add esp, 0x24
lea ecx, [ebp - 0x28]
push eax
call fcn.10007d70
lea ecx, [ebp - 0x68]
call fcn.10001840
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
movaps xmm0, xmmword [0x10068b10]
cmovae eax, dword [ebp - 0x28]
xor ecx, ecx
push eax
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x40], 0x446a3c42
mov byte [ebp - 0x3c], 0
nop
mov al, byte [ebp - 0x50]
xor byte [ebp + ecx - 0x4f], al
inc ecx
cmp ecx, 0x13
jb 0x10028ec0
sub esp, 0x18
mov byte [ebp - 0x3c], 0
lea eax, [ebp - 0x4f]
mov ecx, esp
push eax
call fcn.100017e0
lea eax, [ebp - 0x68]
push eax
call fcn.10031980
push eax
push dword [esi + 8]
mov byte [ebp - 4], 1
call fcn.10013630
mov eax, dword [ebp - 0x54]
add esp, 0x28
cmp eax, 0x10
jb 0x10028f0f
inc eax
push 1
push eax
push dword [ebp - 0x68]
call fcn.10002610
add esp, 0xc
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
cmp eax, 0x10
jb 0x10028f2d
inc eax
push 1
push eax
push dword [ebp - 0x28]
call fcn.10002610
add esp, 0xc
cmp dword [esi + 0x24], 0
jg 0x10028f3e
mov byte [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov al, byte [esi + 0x21]
test al, al
je 0x10029147
movzx eax, word [esi + 0x28]
test ax, ax
jle 0x10028f57
dec eax
mov word [esi + 0x28], ax
movzx edi, word [esi + 0x28]
mov eax, edi
test ax, ax
js 0x10029136
movsx eax, di
mov ecx, 0xe10
cdq
idiv ecx
mov eax, 0x88888889
mov dword [ebp - 0x14], 0xf
mov ecx, edx
mov dword [ebp - 0x18], 0
imul ecx
mov byte [ebp - 0x28], 0
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
movzx ecx, ax
mov eax, edi
cwde
mov edi, 0x3c
cdq
idiv edi
movzx eax, dx
mov dword [ebp - 4], 2
push eax
push ecx
cmp ecx, 0xa
jae 0x1002901a
sub esp, 0x18
cmp eax, 0xa
jae 0x10028ff0
mov bh, 0x63
mov byte [ebp - 0x2c], 0
mov al, 0x53
mov byte [ebp - 0x34], bh
mov cl, 0x46
mov byte [ebp - 0x2c], 0
mov dl, 7
mov ah, al
mov ch, cl
mov bl, 0x59
mov dh, dl
xor ch, bh
xor al, bh
mov byte [ebp - 0x2e], ch
xor cl, bh
xor dl, bh
xor bl, bh
xor ah, bh
xor dh, bh
mov byte [ebp - 0x2d], dh
jmp 0x1002906d
mov dh, 1
mov byte [ebp - 0x2d], 0
mov cl, 0x24
mov byte [ebp - 0x34], dh
mov dl, 0x65
mov byte [ebp - 0x2d], 0
mov ah, cl
mov al, 0x31
mov bl, 0x3b
mov ch, dl
xor al, dh
xor cl, dh
xor dl, dh
xor bl, dh
xor ah, dh
xor ch, dh
mov byte [ebp - 0x2e], ch
jmp 0x1002906d
cmp eax, 0xa
jae 0x10029049
mov dh, 0x6a
mov byte [ebp - 0x2d], 0
mov al, 0x4f
mov byte [ebp - 0x34], dh
mov cl, 0xe
mov byte [ebp - 0x2d], 0
mov ah, al
mov dl, 0x50
mov bl, 0x5a
mov ch, cl
xor al, dh
xor cl, dh
xor dl, dh
xor bl, dh
xor ah, dh
xor ch, dh
mov byte [ebp - 0x2e], ch
jmp 0x1002906a
mov ch, 0xa
mov byte [ebp - 0x2e], 0
mov al, 0x2f
mov byte [ebp - 0x34], ch
mov cl, 0x6e
mov byte [ebp - 0x2e], 0
mov bl, al
mov dl, 0x30
mov ah, cl
xor al, ch
xor cl, ch
xor dl, ch
xor bl, ch
xor ah, ch
sub esp, 0x18
mov byte [ebp - 0x33], al
mov byte [ebp - 0x2f], ah
lea eax, [ebp - 0x33]
mov byte [ebp - 0x32], cl
mov ecx, esp
push eax
mov byte [ebp - 0x31], dl
mov byte [ebp - 0x30], bl
call fcn.100017e0
lea eax, [ebp - 0x68]
push eax
call fcn.10031980
add esp, 0x24
lea ecx, [ebp - 0x28]
push eax
call fcn.10007d70
lea ecx, [ebp - 0x68]
call fcn.10001840
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
movaps xmm0, xmmword [0x10068aa0]
cmovae eax, dword [ebp - 0x28]
xor ecx, ecx
push eax
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x40], 0x4d1b651e
mov word [ebp - 0x3c], 0x63
nop word [eax + eax]
mov al, byte [ebp - 0x50]
xor byte [ebp + ecx - 0x4f], al
inc ecx
cmp ecx, 0x14
jb 0x100290d0
sub esp, 0x18
mov byte [ebp - 0x3b], 0
lea eax, [ebp - 0x4f]
mov ecx, esp
push eax
call fcn.100017e0
lea eax, [ebp - 0x68]
push eax
call fcn.10031980
push eax
push dword [esi + 0xc]
mov byte [ebp - 4], 3
call fcn.10013630
mov eax, dword [ebp - 0x54]
add esp, 0x28
cmp eax, 0x10
jb 0x1002911f
push 1
inc eax
push eax
push dword [ebp - 0x68]
call fcn.10002610
add esp, 0xc
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x10029136
push 1
inc eax
push eax
push dword [ebp - 0x28]
call fcn.10002610
add esp, 0xc
cmp word [esi + 0x28], 0
jg 0x10029147
xor eax, eax
mov byte [esi + 0x21], 0
mov word [esi + 0x28], ax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1005e77e
mov esp, ebp
pop ebp
ret