Function at 0x40c4b5
Capabilities:
Authenticate hmac
Encode data using base64
Encode data using xor
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2ac
mov dword [ebp - 0x80], edx
xor edx, edx
push 0x3d
mov dword [ebp - 0x14], ecx
mov eax, edx
pop ecx
mov dword [ebp - 0x88], 0x3b
mov dword [ebp - 0x84], 0xffffff88
add ecx, dword [ebp + eax*4 - 0x88]
inc eax
cmp eax, 2
jl 0x40c4df
push ebx
push esi
push edi
mov esi, 0x4018d0
mov dword [ebp - 0x7c], 0x55
lea edi, [ebp - 0xd0]
mov dword [ebp - 0x78], 0x61
mov dword [ebp - 0x74], 0x57
mov dword [ebp - 0x70], 0xffffffbd
movups xmm1, xmmword [ebp - 0x7c]
movsd dword es:[edi], dword [esi]
push 9
movaps xmm0, xmm1
mov dword [ebp - 0x10], ecx
psrldq xmm0, 8
movsd dword es:[edi], dword [esi]
paddd xmm1, xmm0
movups xmm0, xmm1
mov dword [ebp - 0x60], 0x40b64eb4
psrldq xmm0, 4
paddd xmm1, xmm0
mov dword [ebp - 0x5c], 0x361ed95d
movsd dword es:[edi], dword [esi]
movd eax, xmm1
mov dword [ebp - 0x58], 0xdd0501df
mov dword [ebp - 0x54], 0xe7cd48ad
movsd dword es:[edi], dword [esi]
add eax, 0x3a
mov dword [ebp - 0x20], eax
pop eax
mov byte [ebp - 0x46], al
mov eax, edx
movsw word es:[edi], word [esi]
mov dword [ebp - 0x50], 0x9ea7acc4
mov dword [ebp - 0x4c], 0xc1cd32cd
mov word [ebp - 0x48], 0xa1b0
movsb byte es:[edi], byte [esi]
mov dword [ebp - 0x45], 0xbef3d60f
mov edi, edx
mov dword [ebp - 0x41], 0xd587bfc0
mov dword [ebp - 0x3d], 0x6c96cf60
mov dword [ebp - 0x39], 0x7ece5eee
mov dword [ebp - 0x35], 0x55f300e5
mov dword [ebp - 0x31], 0xf7b4ac60
mov dword [ebp - 0x2d], 0x1bb264f2
mov dword [ebp - 0x29], 0x9f536bbb
mov dword [ebp - 0x25], 0x66b18ddc
mov byte [ebp - 0x21], 0xa2
mov byte [ebp + eax - 0x2ac], al
inc eax
cmp eax, 0x100
jb 0x40c5c3
mov esi, edx
xor edx, edx
mov bl, byte [ebp + esi - 0x2ac]
push 0x12
mov eax, esi
pop ecx
div ecx
movzx ecx, bl
movzx eax, byte [ebp + edx - 0xd0]
add eax, edi
add ecx, eax
movzx edi, cl
mov al, byte [ebp + edi - 0x2ac]
mov byte [ebp + esi - 0x2ac], al
inc esi
mov byte [ebp + edi - 0x2ac], bl
cmp esi, 0x100
jb 0x40c5d4
xor eax, eax
mov ebx, eax
mov edi, eax
mov esi, eax
lea eax, [edi + 1]
movzx edi, al
mov cl, byte [ebp + edi - 0x2ac]
movzx edx, cl
lea eax, [ebx + edx]
movzx ebx, al
mov al, byte [ebp + ebx - 0x2ac]
mov byte [ebp + edi - 0x2ac], al
mov byte [ebp + ebx - 0x2ac], cl
movzx eax, byte [ebp + edi - 0x2ac]
add eax, edx
movzx eax, al
mov al, byte [ebp + eax - 0x2ac]
xor al, byte [ebp + esi - 0x60]
mov byte [ebp + esi - 0x1ac], al
inc esi
cmp esi, 0x40
jb 0x40c61c
mov eax, dword [0x44a224]
xorps xmm1, xmm1
mov dword [ebp - 0x7c], 3
xor ecx, ecx
mov dword [ebp - 0x78], 0x5a
or eax, 0x956ffbcd
mov dword [ebp - 0x74], 0x29
mov dword [ebp - 0x70], 0xffffff7a
movups xmm0, xmmword [ebp - 0x7c]
push 0x48
mov byte [ebp - 0x16c], cl
psubd xmm1, xmm0
mov dword [ebp - 0xa8], 0x54
movaps xmm0, xmm1
mov dword [ebp - 0xa4], 0x50
psrldq xmm0, 8
paddd xmm1, xmm0
mov dword [ebp - 0xa0], 0xffffff14
movups xmm0, xmm1
psrldq xmm0, 4
paddd xmm1, xmm0
movd dword [ebp - 0xc], xmm1
pop ebx
push 0x74
mov edi, 0x10d2
mov edx, 0x401a14
pop esi
add edi, esi
lea edx, [edx + 2]
cmp edi, 0x877
ja 0x40c706
movzx esi, word [edx]
test esi, esi
jne 0x40c6f0
jmp 0x40c70b
and eax, 0xe54742a5
add ebx, dword [ebp + ecx*4 - 0xa8]
imul eax, eax, 0x461b13a
inc ecx
cmp ecx, 3
jl 0x40c6e3
mov ecx, dword [ebp - 0x20]
mov dword [0x44a224], eax
mov dword [ebp - 0x1c], ebx
call fcn.0041d3cf
lea edx, [ebp - 0x1ac]
mov dword [ebp - 0x20], eax
mov ecx, eax
call fcn.00434949
xor eax, eax
mov ecx, 0x401a14
mov esi, eax
add ecx, 2
inc esi
cmp esi, 0x745
jl 0x40c760
cmp word [ecx], ax
jne 0x40c747
mov edi, dword [0x44a224]
jmp 0x40c786
mov edx, dword [0x44a268]
push edx
push ecx
call fcn.0040b487
lea edi, [edx + 0x74ef2938]
mov dword [ebp - 0x18], edi
mov dword [0x44a224], edi
pop ecx
pop ecx
cmp esi, 0x2a1
jle 0x40c79a
call fcn.0040b548
or edi, 0xdf8f29a1
mov dword [ebp - 0x18], edi
mov dword [0x44a224], edi
lea ebx, [edi + 0x1f27cd00]
mov dword [ebp - 8], ebx
mov dword [0x44a268], ebx
call fcn.0040b4af
mov ebx, dword [ebp - 0x1c]
cmp ebx, dword [ebp - 0x80]
jae 0x40cdad
mov dword [ebp - 0x124], 0x5f
mov dword [ebp - 0x120], 0x5a
mov dword [ebp - 0x11c], 0xffffff47
mov dword [ebp - 0xb4], 5
mov dword [ebp - 0xb0], 0x31
mov dword [ebp - 0x130], 0x49
mov dword [ebp - 0x12c], 0xa
mov dword [ebp - 0x128], 0xffffffd5
xor eax, eax
mov ecx, eax
sub ecx, dword [ebp + eax*4 - 0x124]
inc eax
cmp eax, 3
jl 0x40c80e
push 0xa
pop edx
xor eax, eax
add edx, dword [ebp + eax*4 - 0xb4]
inc eax
cmp eax, 2
jl 0x40c820
push 0x2c
pop esi
xor eax, eax
sub esi, dword [ebp + eax*4 - 0x130]
inc eax
cmp eax, 3
jl 0x40c832
movzx eax, cl
mov dword [ebp - 0x64], esi
cmp eax, edx
jge 0x40c869
mov esi, dword [ebp - 0x14]
mov edi, dword [ebp - 0x20]
mov bl, byte [ebx + esi]
cmp byte [eax + edi], bl
je 0x40c860
inc cl
movzx eax, cl
cmp eax, edx
jl 0x40c852
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp - 0x64]
mov ebx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x10]
movzx eax, dl
inc dl
mov dword [ebp - 0x10], edx
mov byte [ebp + eax - 4], cl
movzx eax, dl
cmp eax, esi
jne 0x40cda0
xorps xmm1, xmm1
mov dword [ebp - 0x168], 0x4d
mov dword [ebp - 0x164], 0x48
mov dword [ebp - 0x160], 0x59
mov dword [ebp - 0x15c], 0xffffff12
movups xmm0, xmmword [ebp - 0x168]
mov dword [ebp - 0x158], 0x5c
mov dword [ebp - 0x154], 0x61
psubd xmm1, xmm0
mov dword [ebp - 0x150], 0x51
movaps xmm0, xmm1
mov dword [ebp - 0x14c], 0xfffffeaa
psrldq xmm0, 8
paddd xmm1, xmm0
mov dword [ebp - 0x13c], 0x32
movups xmm0, xmm1
mov dword [ebp - 0x138], 0x34
psrldq xmm0, 4
paddd xmm1, xmm0
mov dword [ebp - 0x134], 0xffffffa2
movd dword [ebp - 0x68], xmm1
movups xmm1, xmmword [ebp - 0x158]
push 9
movaps xmm0, xmm1
psrldq xmm0, 8
paddd xmm1, xmm0
movups xmm0, xmm1
psrldq xmm0, 4
paddd xmm1, xmm0
movd eax, xmm1
add eax, 0x4a
xor edx, edx
mov dword [ebp - 0x6c], eax
pop eax
mov ecx, eax
mov eax, edx
sub ecx, dword [ebp + eax*4 - 0x13c]
inc eax
cmp eax, 3
jl 0x40c94e
push 0x2c
mov dword [ebp - 0x64], ecx
mov eax, edx
pop ecx
mov dword [ebp - 0x148], 0x35
mov dword [ebp - 0x144], 0x2d
mov dword [ebp - 0x140], 0xffffffc6
sub ecx, dword [ebp + eax*4 - 0x148]
inc eax
cmp eax, 3
jl 0x40c981
push 0xe
mov dword [ebp - 0x18], ecx
mov eax, edx
pop ebx
mov dword [ebp - 0x9c], 0x58
mov dword [ebp - 0x98], 0x38
mov dword [ebp - 0x94], 0x4f
mov dword [ebp - 0x90], 1
mov dword [ebp - 0x8c], 0xffffff2c
sub ebx, dword [ebp + eax*4 - 0x9c]
inc eax
cmp eax, 5
jl 0x40c9c8
mov esi, 0x300
mov dword [ebp - 0xdc], 0x48
mov dword [ebp - 0xd8], 0x10
mov eax, edx
mov dword [ebp - 0xd4], 0x268
sub esi, dword [ebp + eax*4 - 0xdc]
inc eax
cmp eax, 3
jl 0x40c9fa
push 0x4b
pop ecx
mov dword [ebp - 0xe8], 0x5f
mov eax, edx
mov dword [ebp - 0xe4], 0x42
mov dword [ebp - 0xe0], 0xffffff17
add ecx, dword [ebp + eax*4 - 0xe8]
inc eax
cmp eax, 3
jl 0x40ca2a
push 0x64
pop eax
mov dword [ebp - 0xac], ecx
mov ecx, 0x300
mov dword [ebp - 0xf4], eax
mov dword [ebp - 0xf0], eax
mov eax, edx
mov dword [ebp - 0xec], 0x1f8
sub ecx, dword [ebp + eax*4 - 0xf4]
inc eax
cmp eax, 3
jl 0x40ca5d
mov dword [ebp - 0x84], ecx
mov eax, 0x401a14
mov dword [ebp - 0x10], edx
mov ecx, edx
mov dword [ebp - 0x100], 0x55
mov dword [ebp - 0xfc], 5
mov dword [ebp - 0xf8], 0xffffffa6
inc ecx
lea eax, [eax + 2]
cmp ecx, 0x2f
jl 0x40caa8
cmp word [eax], dx
jne 0x40ca98
jmp 0x40cab6
call fcn.0040b548
mov edi, dword [ebp - 8]
add edi, 0xd51fc627
mov eax, edi
xor eax, 0x9fdfbffd
and eax, 0xf0b943c3
mov dword [ebp - 8], eax
mov dword [0x44a268], eax
call fcn.0040b4af
mov ecx, dword [ebp - 0x10]
xor eax, eax
sub ecx, dword [ebp + eax*4 - 0x100]
inc eax
cmp eax, 3
jl 0x40cad4
mov edx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x10], ecx
mov cl, byte [ebp - 0x18]
mov dl, byte [ebp + edx - 4]
mov al, byte [ebp + eax - 4]
shr dl, cl
mov ecx, dword [ebp - 0x6c]
shl al, cl
mov ecx, dword [ebp - 0x14]
add dl, al
mov eax, dword [ebp - 0xc]
mov byte [eax + ecx], dl
inc eax
mov dword [ebp - 0xc], eax
movzx eax, byte [ebp + ebx - 4]
cmp eax, esi
je 0x40cc5e
push 0x49
pop ebx
push 0x52
pop edx
push 9
mov ecx, 0x401a20
pop esi
lea eax, [edx - 0x30]
cmp ax, si
ja 0x40cb3d
add ecx, 2
movzx eax, word [ecx]
mov edx, eax
test ax, ax
jne 0x40cb26
jmp 0x40cb43
add edi, 0x319e30b6
sub dword [ebp - 8], 0x74867422
xor edx, edx
mov dword [ebp - 0xbc], 0x3b
mov eax, edx
mov dword [ebp - 0xb8], 0xffffff7d
add ebx, dword [ebp + eax*4 - 0xbc]
inc eax
cmp eax, 2
jl 0x40cb62
push 0x3c
mov dword [ebp - 0x6c], ebx
mov eax, edx
pop ecx
mov dword [ebp - 0x10c], 0x59
mov dword [ebp - 0x108], 0x36
mov dword [ebp - 0x104], 0xffffffa9
sub ecx, dword [ebp + eax*4 - 0x10c]
inc eax
cmp eax, 3
jl 0x40cb95
push 0x3f
mov dword [ebp - 0x68], ecx
mov eax, edx
pop esi
mov dword [ebp - 0x118], 7
mov dword [ebp - 0x114], 0x5f
mov dword [ebp - 0x110], 0xffffff5d
add esi, dword [ebp + eax*4 - 0x118]
inc eax
cmp eax, 3
jl 0x40cbc8
push 0x43
pop ebx
mov dword [ebp - 0x78], 0x1b
mov eax, edx
mov dword [ebp - 0x74], 0x61
mov dword [ebp - 0x70], 0xffffff43
add ebx, dword [ebp + eax*4 - 0x78]
inc eax
cmp eax, 3
jl 0x40cbef
push 0x52
mov ecx, 0x401a20
pop edx
lea eax, [edx - 0x30]
push 9
pop edx
cmp ax, dx
ja 0x40cc1b
add ecx, 2
movzx eax, word [ecx]
mov edx, eax
test ax, ax
jne 0x40cc01
jmp 0x40cc21
sub edi, 0x7d3ae6d4
imul eax, dword [ebp - 8], 0xb2c91320
push eax
push ecx
mov dword [ebp - 8], eax
mov dword [0x44a268], eax
call fcn.0040b487
mov edx, dword [ebp - 0x6c]
mov al, byte [ebp + esi - 4]
pop ecx
pop ecx
mov dl, byte [ebp + edx - 4]
mov ecx, dword [ebp - 0x68]
shl dl, cl
mov cl, bl
mov ebx, dword [ebp - 0xc]
shr al, cl
add dl, al
mov eax, dword [ebp - 0x14]
mov byte [ebx + eax], dl
inc ebx
mov dword [ebp - 0xc], ebx
jmp 0x40cc61
mov ebx, dword [ebp - 0xc]
mov eax, dword [ebp - 0xac]
movzx eax, byte [ebp + eax - 4]
cmp eax, dword [ebp - 0x84]
je 0x40cd43
push 0x1c
xor edx, edx
mov dword [ebp - 0x9c], 1
pop esi
mov dword [ebp - 0x98], 0x4e
mov eax, edx
mov dword [ebp - 0x94], 0x47
mov dword [ebp - 0x90], 0x4d
mov dword [ebp - 0x8c], 0xffffff37
sub esi, dword [ebp + eax*4 - 0x9c]
inc eax
cmp eax, 5
jl 0x40ccb1
push 0x27
pop ecx
mov dword [ebp - 0xa4], 0x4a
mov eax, edx
mov dword [ebp - 0xa0], 0xffffff95
add ecx, dword [ebp + eax*4 - 0xa4]
inc eax
cmp eax, 2
jl 0x40ccd7
mov al, byte [ebp + esi - 4]
mov dword [ebp - 0xd0], 8
mov dword [ebp - 0xcc], 0x2b
mov dword [ebp - 0xc8], 0x36
mov dword [ebp - 0xc4], 0xffffff41
movups xmm1, xmmword [ebp - 0xd0]
shl al, cl
mov ecx, dword [ebp - 0x14]
movaps xmm0, xmm1
psrldq xmm0, 8
paddd xmm1, xmm0
movups xmm0, xmm1
psrldq xmm0, 4
paddd xmm1, xmm0
movd edx, xmm1
add al, byte [ebp + edx + 0x55]
mov byte [ebx + ecx], al
inc ebx
mov dword [ebp - 0xc], ebx
push 0x63
mov edx, 0x487
mov eax, 0x401960
pop ecx
add edx, ecx
lea eax, [eax + 2]
cmp edx, 0x253f
ja 0x40cd69
movzx ecx, word [eax]
test ecx, ecx
jne 0x40cd50
mov ebx, dword [ebp - 8]
jmp 0x40cd86
call fcn.0040b548
lea ebx, [edi - 0x4925ab69]
push edi
push ecx
mov dword [ebp - 8], ebx
mov dword [0x44a268], ebx
call fcn.0040b487
pop ecx
pop ecx
mov cl, byte [ebp - 0x10]
mov edi, ebx
mov ebx, dword [ebp - 0x1c]
and edi, 0xd6059c47
mov dword [ebp - 0x18], edi
mov dword [0x44a224], edi
mov dword [ebp - 0x10], ecx
inc ebx
mov dword [ebp - 0x1c], ebx
cmp ebx, dword [ebp - 0x80]
jb 0x40c80a
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
mov byte [esi + eax], 0
call fcn.0041d467
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret