Function at 0x10059d50
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009b3ad
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
mov ebx, ecx
push edi
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], 0
mov eax, 0xaaaaaaab
mov edi, dword [ebp + 0x18]
mov dword [ebp - 0x18], edi
mov dword [ebx], 0
lea edx, [edi + 2]
mul edx
shr edx, 1
shl edx, 2
push 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0xf
push edx
mov byte [ebx], 0
mov byte [ebp - 4], 0
call fcn.10062930
cmp dword [ebx + 0x14], 0x10
mov esi, ebx
jb 0x10059dbc
mov esi, dword [ebx]
lea eax, [edi - 2]
xor edx, edx
test eax, eax
je 0x10059e81
mov ebx, eax
nop dword [eax + eax]
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
movzx eax, byte [eax + edx]
shr eax, 2
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_________________________________________________456789:_________]
mov byte [esi], al
lea eax, [ebp + 8]
cmp dword [ebp + 0x1c], 0x10
jb 0x10059dfb
mov eax, dword [ebp + 8]
lea edi, [eax + edx]
jmp 0x10059e01
lea edi, [eax + edx]
lea eax, [ebp + 8]
movzx ecx, byte [eax + edx + 1]
movsx eax, byte [edi]
and eax, 3
shr ecx, 4
shl eax, 4
or ecx, eax
mov al, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_________________________________________________456789:_________]
mov byte [esi + 1], al
cmp dword [ebp + 0x1c], 0x10
jb 0x10059e2b
mov eax, dword [ebp + 8]
lea edi, [eax + 1]
jmp 0x10059e31
lea eax, [ebp + 8]
lea edi, [ebp + 9]
movzx ecx, byte [eax + edx + 2]
add edi, edx
shr ecx, 6
movsx eax, byte [edi]
and eax, 0xf
shl eax, 2
or ecx, eax
movzx eax, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_________________________________________________456789:_________]
mov byte [esi + 2], al
lea eax, [ebp + 8]
cmp dword [ebp + 0x1c], 0x10
cmovae eax, dword [ebp + 8]
movsx eax, byte [eax + edx + 2]
add edx, 3
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_________________________________________________456789:_________]
mov byte [esi + 3], al
add esi, 4
cmp edx, ebx
jb 0x10059dd0
mov ebx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x18], esi
cmp edx, edi
jae 0x10059f29
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
movzx eax, byte [eax + edx]
shr eax, 2
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_________________________________________________456789:_________]
mov byte [esi], al
lea eax, [edi - 1]
cmp edx, eax
lea eax, [ebp + 8]
jne 0x10059ed2
cmp dword [ebp + 0x1c], 0x10
cmovae eax, dword [ebp + 8]
movsx eax, byte [eax + edx]
and eax, 3
shl eax, 4
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_________________________________________________456789:_________]
mov byte [esi + 1], al
mov al, 0x3d
add esi, 2
jmp 0x10059f23
cmp dword [ebp + 0x1c], 0x10
jb 0x10059ee0
mov eax, dword [ebp + 8]
lea edi, [edx + eax]
jmp 0x10059ee6
lea edi, [eax + edx]
lea eax, [ebp + 8]
movzx ecx, byte [eax + edx + 1]
movsx eax, byte [edi]
and eax, 3
shr ecx, 4
shl eax, 4
or ecx, eax
movzx eax, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_________________________________________________456789:_________]
mov byte [esi + 1], al
lea eax, [ebp + 8]
mov esi, dword [ebp - 0x18]
add esi, 2
cmp dword [ebp + 0x1c], 0x10
cmovae eax, dword [ebp + 8]
movsx eax, byte [eax + edx + 1]
and eax, 0xf
mov al, byte [eax*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_________________________________________________456789:_________]
mov byte [esi], al
mov byte [esi + 1], 0x3d
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x10059f59
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10059f4f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10059f6e
push edx
push ecx
call fcn.1007175d
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x18
call fcn.1007776c
int3