Function at 0x436f60
Capabilities:
Encode data using base64

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x561506
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x40
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x24], edi
mov dword [ebp - 4], 0
push 0x50
mov dword [ebp - 0x1c], 0
call fcn.00532272
movups xmm0, xmmword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov edx, eax
mov dword [ebp - 0x3c], 0x40
add esp, 4
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x38], 0x4f
movups xmmword [edx], xmm0
movups xmm0, xmmword [0x57ff80]
movups xmmword [edx + 0x10], xmm0
movups xmm0, xmmword [0x57ff90]
movups xmmword [edx + 0x20], xmm0
movups xmm0, xmmword [0x57ffa0]
movups xmmword [edx + 0x30], xmm0
mov byte [edx + 0x40], 0
mov dword [ebp - 4], 1
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov eax, dword [ebx + 8]
xor esi, esi
mov dword [ebp - 0x1c], 1
test eax, eax
je 0x437218
mov ecx, dword [ebp - 0x14]
dec eax
mov dword [ebx + 8], eax
movzx eax, word [ecx]
add ecx, 2
mov word [ebp + esi*2 - 0x2c], ax
inc esi
mov dword [ebp - 0x14], ecx
cmp esi, 3
jne 0x4370f1
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x2a]
shr eax, 2
and eax, 0x3f
shr ecx, 4
mov word [ebp - 0x34], ax
and ecx, 0xf
mov eax, dword [ebp - 0x2c]
and eax, esi
mov esi, dword [ebp - 0x28]
shl eax, 4
add ecx, eax
mov eax, dword [ebp - 0x2a]
mov word [ebp - 0x32], cx
and eax, 0xf
mov ecx, esi
and esi, 0x3f
shr ecx, 6
and ecx, 3
mov word [ebp - 0x2e], si
xor esi, esi
lea eax, [ecx + eax*4]
mov word [ebp - 0x30], ax
nop word [eax + eax]
movzx eax, word [ebp + esi*2 - 0x34]
mov ecx, dword [edi + 0x10]
mov al, byte [eax + edx]
mov edx, dword [edi + 0x14]
mov byte [ebp - 0x18], al
cmp ecx, edx
jae 0x4370d1
lea eax, [ecx + 1]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0x10
jb 0x4370c4
mov eax, dword [edi]
add eax, ecx
mov cl, byte [ebp - 0x18]
mov byte [eax + 1], 0
mov byte [eax], cl
jmp 0x4370e3
push dword [ebp - 0x18]
mov byte [ebp - 0x20], 0
push dword [ebp - 0x20]
push ecx
mov ecx, edi
call fcn.004220e0
mov edx, dword [ebp - 0x4c]
inc esi
cmp esi, 4
jl 0x4370a0
mov ecx, dword [ebp - 0x14]
xor esi, esi
mov eax, dword [ebx + 8]
test eax, eax
jne 0x437036
mov dword [ebp - 0x14], esi
test esi, esi
je 0x437218
cmp esi, 3
jge 0x437129
lea edx, [esi + esi]
mov ecx, 6
sub ecx, edx
lea edi, [ebp - 0x2c]
shr ecx, 1
add edi, edx
shr ecx, 1
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
mov edi, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x2c]
mov eax, ecx
mov edx, dword [ebp - 0x28]
and ecx, 3
shr eax, 2
and eax, 0x3f
shl ecx, 4
mov word [ebp - 0x34], ax
mov eax, dword [ebp - 0x2a]
shr eax, 4
and eax, 0xf
add eax, ecx
mov ecx, dword [ebp - 0x2a]
mov word [ebp - 0x32], ax
and ecx, 0xf
mov eax, edx
and edx, 0x3f
shr eax, 6
and eax, 3
mov word [ebp - 0x2e], dx
lea eax, [eax + ecx*4]
mov word [ebp - 0x30], ax
lea eax, [esi + 1]
mov dword [ebp - 0x28], eax
test eax, eax
jle 0x4371cf
xor esi, esi
nop dword [eax + eax]
mov ecx, dword [ebp - 0x4c]
movzx eax, word [ebp + esi*2 - 0x34]
mov edx, dword [edi + 0x14]
mov al, byte [eax + ecx]
mov ecx, dword [edi + 0x10]
mov byte [ebp - 0x18], al
cmp ecx, edx
jae 0x4371b4
lea eax, [ecx + 1]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0x10
jb 0x4371a7
mov eax, dword [edi]
add eax, ecx
mov cl, byte [ebp - 0x18]
mov byte [eax + 1], 0
mov byte [eax], cl
jmp 0x4371c6
push dword [ebp - 0x18]
mov byte [ebp - 0x20], 0
push dword [ebp - 0x20]
push ecx
mov ecx, edi
call fcn.004220e0
inc esi
cmp esi, dword [ebp - 0x28]
jl 0x437180
mov esi, dword [ebp - 0x14]
cmp esi, 3
jge 0x437218
mov eax, 3
sub eax, esi
mov dword [ebp - 0x18], eax
nop
mov ecx, dword [edi + 0x10]
mov edx, dword [edi + 0x14]
cmp ecx, edx
jae 0x437201
lea eax, [ecx + 1]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0x10
jb 0x4371f9
mov eax, dword [edi]
mov word [eax + ecx], 0x3d
jmp 0x437212
push 0x3d
mov byte [ebp - 0x28], 0
push dword [ebp - 0x28]
push ecx
mov ecx, edi
call fcn.004220e0
sub dword [ebp - 0x18], 1
jne 0x4371e0
push 0x50
push dword [ebp - 0x4c]
call fcn.00532241
mov ecx, dword [ebp - 0xc]
add esp, 8
mov eax, edi
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret