Function at 0x402bc0
Capabilities:
Encode data using base64
Encrypt data using rc4 ksa

Disassembly:
push ebp
lea ebp, [esp - 0x1c4]
sub esp, 0x244
mov eax, dword [0x476500]
xor eax, ebp
mov dword [ebp + 0x1c0], eax
mov eax, dword [ebp + 0x1cc]
push ebx
push esi
push edi
push 0x2c
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x64], 0
call fcn.00407e1a
mov edi, dword [ebp + 0x1d8]
mov esi, eax
mov ebx, dword [ebp + 0x1d4]
add esp, 4
mov dword [ebp - 0x60], eax
xor ecx, ecx
mov dword [esi], esi
mov dword [esi + 4], esi
mov dword [esi + 8], esi
mov word [esi + 0xc], 0x101
mov dword [ebp - 0x68], esi
nop dword [eax]
mov eax, ecx
mov byte [ebp + ecx + 0xc0], cl
cdq
idiv edi
mov al, byte [edx + ebx]
mov byte [ebp + ecx - 0x40], al
inc ecx
cmp ecx, 0x100
jl 0x402c20
xor edi, edi
xor ebx, ebx
mov dl, byte [ebp + edi + 0xc0]
movzx eax, byte [ebp + edi - 0x40]
add ebx, eax
movzx ecx, dl
add ebx, ecx
and ebx, 0x800000ff
jns 0x402c63
dec ebx
or ebx, 0xffffff00
inc ebx
mov al, byte [ebp + ebx + 0xc0]
mov byte [ebp + edi + 0xc0], al
inc edi
mov byte [ebp + ebx + 0xc0], dl
cmp edi, 0x100
jl 0x402c40
xor ebx, ebx
xor edi, edi
mov dword [ebp - 0x70], ebx
cmp dword [ebp + 0x1d0], ebx
jle 0x402eea
inc ebx
and ebx, 0x800000ff
jns 0x402ca5
dec ebx
or ebx, 0xffffff00
inc ebx
mov cl, byte [ebp + ebx + 0xc0]
movzx edx, cl
add edi, edx
mov dword [ebp - 0x7c], ebx
and edi, 0x800000ff
jns 0x402cc4
dec edi
or edi, 0xffffff00
inc edi
mov al, byte [ebp + edi + 0xc0]
mov byte [ebp + ebx + 0xc0], al
mov byte [ebp + edi + 0xc0], cl
movzx eax, byte [ebp + ebx + 0xc0]
add eax, edx
mov dword [ebp - 0x80], edi
movzx eax, al
xor ebx, ebx
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x6c], ebx
mov edi, dword [esi + 4]
xorps xmm0, xmm0
mov ecx, dword [ebp - 0x60]
xor esi, esi
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x48], 4
cmp byte [edi + 0xd], 0
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x58], 0x6f72655a
mov byte [ebp - 0x54], 0
jne 0x402d3e
mov eax, edi
mov edi, eax
cmp dword [eax + 0x10], ebx
jge 0x402d2f
mov eax, dword [eax + 8]
xor esi, esi
jmp 0x402d38
mov ecx, eax
mov esi, 1
mov eax, dword [eax]
cmp byte [eax + 0xd], 0
je 0x402d21
cmp byte [ecx + 0xd], 0
jne 0x402d4d
cmp ebx, dword [ecx + 0x10]
jl 0x402d4d
mov al, 1
jmp 0x402d4f
xor al, al
test al, al
jne 0x402da9
cmp dword [ebp - 0x64], 0x5d1745d
je 0x402f1d
push 0x2c
call fcn.00407e1a
movups xmm0, xmmword [ebp - 0x58]
mov ecx, dword [ebp - 0x60]
add esp, 4
mov dword [eax + 0x10], ebx
mov dword [eax + 0x24], 0
mov dword [eax + 0x28], 0
movups xmmword [eax + 0x14], xmm0
push eax
movq xmm0, qword [ebp - 0x48]
movq qword [eax + 0x24], xmm0
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
lea ecx, [ebp - 0x68]
push esi
push edi
mov word [eax + 0xc], 0
call fcn.00402fd0
imul esi
movsx edi, dx
add dx, si
and dx, cx
rol esi, 0x38
add esi, 0x26a
dec ecx
inc eax
ror esi, 0xa8
or di, ax
inc si
rol cx, 0xe2
inc ebx
dec si
rol edx, 0x63
add ecx, 0x103
and cx, 0x127
mul di
mul di
shr eax, 0xf1
add eax, eax
add ebx, 0x2bd
je 0x402e12
cmp edx, 0x3d
jae 0x402e54
imul dx
mul ecx
xor bx, 0xce
rol si, 0xc7
shr di, 0xe1
xor esi, 0x1b4
rol bx, 0x8a
jmp 0x402e28
rcr eax, 0x62
imul edx
imul di
shr ax, 0xdd
mov edx, 0x1e9
inc dx
imul dx
inc eax
rol edi, 0xd1
shr ax, 0x46
mov cx, bx
dec di
add ax, 0x78
mul cx
jb 0x402e54
test esi, 0x43
jb 0x402e85
rcl dx, 0xb5
add ebx, 0x3f
add eax, 0x1b7
jmp 0x402e71
mul cx
ror eax, 0x1f
shr cx, 0xd6
inc bx
inc cx
dec edi
mul eax
imul si
xor bx, 0x1f2
shr ax, 0xb1
shl bx, 0x17
jb 0x402e85
rol esi, 0x73
mul dx
inc dx
ror dx, 0x50
jmp 0x402e9e
ror ebx, 0x71
rcl edi, 0x49
shl bx, 0x6e
xor bx, di
mul ebx
imul esi
xor edi, ebx
dec esi
or dx, 0x92
movzx ebx, cx
inc edx
inc eax
rcr eax, 0x29
mov ebx, dword [ebp - 0x6c]
mov esi, dword [ebp - 0x68]
inc ebx
mov dword [ebp - 0x6c], ebx
cmp ebx, 0xa
jge 0x402ebd
mov dword [ebp - 0x60], esi
jmp 0x402cf1
mov eax, dword [ebp - 0x74]
mov edi, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x78]
mov al, byte [ebp + eax + 0xc0]
xor byte [ecx + edi], al
inc edi
mov dword [ebp - 0x70], edi
cmp edi, dword [ebp + 0x1d0]
jge 0x402eea
mov ebx, dword [ebp - 0x7c]
mov edi, dword [ebp - 0x80]
mov dword [ebp - 0x60], esi
jmp 0x402c94
push dword [esi + 4]
lea eax, [ebp - 0x68]
push eax
mov ecx, eax
call fcn.004019b0
push 0x2c
push dword [ebp - 0x68]
call fcn.00407e4a
mov ecx, dword [ebp + 0x1c0]
add esp, 8
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00407e5d
lea esp, [ebp + 0x1c4]
pop ebp
ret
call fcn.004034c0
int3