Function at 0x10049990
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007267e
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
push edi
mov eax, dword [0x1008f180]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, ecx
mov dword [ebp - 0x2c], edx
mov esi, dword [ebp + 8]
xorps xmm0, xmm0
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], 0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov eax, dword [ebp + 0x10]
xor edi, edi
mov dword [ebp - 4], 0
mov dword [ebp - 0x30], 1
test eax, eax
je 0x10049be0
mov ecx, dword [ebp + 0xc]
nop dword [eax]
dec eax
mov dword [ebp + 0x10], eax
mov al, byte [ecx]
inc ecx
mov byte [ebp + edi - 0x18], al
inc edi
mov al, byte [ebp - 0x16]
mov ah, byte [ebp - 0x17]
mov byte [ebp - 0x12], al
mov al, byte [ebp - 0x18]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x1d], ah
mov byte [ebp - 0x11], al
cmp edi, 3
jne 0x10049aca
mov cl, byte [ebp - 0x11]
shr al, 2
and cl, 3
mov byte [ebp - 0x1c], al
mov al, ah
shl cl, 4
shr al, 4
add cl, al
mov al, byte [ebp - 0x12]
mov byte [ebp - 0x1b], cl
mov cl, ah
and cl, 0xf
shr al, 6
shl cl, 2
add cl, al
mov al, byte [ebp - 0x12]
and al, 0x3f
mov byte [ebp - 0x1a], cl
mov byte [ebp - 0x19], al
xor edi, edi
cmp dword [edx + 0x14], 0xf
mov ecx, edx
jbe 0x10049a7a
mov ecx, dword [edx]
movzx eax, byte [ebp + edi - 0x1c]
mov al, byte [eax + ecx]
mov ecx, dword [esi + 0x10]
mov byte [ebp - 0x10], al
cmp ecx, dword [esi + 0x14]
jae 0x10049aaa
cmp dword [esi + 0x14], 0xf
lea eax, [ecx + 1]
mov dword [esi + 0x10], eax
mov eax, esi
jbe 0x10049a9d
mov eax, dword [esi]
add eax, ecx
mov cl, byte [ebp - 0x10]
mov byte [eax + 1], 0
mov byte [eax], cl
jmp 0x10049abf
push dword [ebp - 0x10]
mov byte [ebp - 0x24], 0
push dword [ebp - 0x24]
push ecx
mov ecx, esi
call fcn.10023be0
mov edx, dword [ebp - 0x2c]
inc edi
cmp edi, 4
jl 0x10049a70
mov ecx, dword [ebp + 0xc]
xor edi, edi
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x10049a10
mov dword [ebp - 0x24], edi
test edi, edi
je 0x10049be0
mov eax, edi
cmp edi, 3
jge 0x10049b06
cmp eax, 3
jae 0x10049bf5
mov byte [ebp + eax - 0x18], 0
inc eax
cmp eax, 3
jl 0x10049aea
mov ch, byte [ebp - 0x16]
mov cl, byte [ebp - 0x17]
mov ah, byte [ebp - 0x18]
jmp 0x10049b0f
mov cl, byte [ebp - 0x1d]
mov ah, byte [ebp - 0x11]
mov ch, byte [ebp - 0x12]
mov al, ah
shr ch, 6
shr al, 2
and ah, 3
mov byte [ebp - 0x1c], al
mov al, cl
shl ah, 4
and cl, 0xf
shr al, 4
add ah, al
shl cl, 2
mov byte [ebp - 0x1b], ah
add cl, ch
lea eax, [edi + 1]
mov byte [ebp - 0x1a], cl
mov dword [ebp - 0x28], eax
test eax, eax
jle 0x10049b99
xor edi, edi
cmp dword [edx + 0x14], 0xf
mov ecx, edx
jbe 0x10049b4b
mov ecx, dword [edx]
movzx eax, byte [ebp + edi - 0x1c]
mov al, byte [eax + ecx]
mov ecx, dword [esi + 0x10]
mov byte [ebp - 0x10], al
cmp ecx, dword [esi + 0x14]
jae 0x10049b7b
cmp dword [esi + 0x14], 0xf
lea eax, [ecx + 1]
mov dword [esi + 0x10], eax
mov eax, esi
jbe 0x10049b6e
mov eax, dword [esi]
add eax, ecx
mov cl, byte [ebp - 0x10]
mov byte [eax + 1], 0
mov byte [eax], cl
jmp 0x10049b90
push dword [ebp - 0x10]
mov byte [ebp - 0x18], 0
push dword [ebp - 0x18]
push ecx
mov ecx, esi
call fcn.10023be0
mov edx, dword [ebp - 0x2c]
inc edi
cmp edi, dword [ebp - 0x28]
jl 0x10049b41
mov edi, dword [ebp - 0x24]
cmp edi, 3
jge 0x10049be0
mov eax, 3
sub eax, edi
mov dword [ebp - 0x24], eax
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
cmp ecx, edx
jae 0x10049bc9
lea eax, [ecx + 1]
mov dword [esi + 0x10], eax
mov eax, esi
cmp edx, 0xf
jbe 0x10049bc1
mov eax, dword [esi]
mov word [eax + ecx], 0x3d
jmp 0x10049bda
push 0x3d
mov byte [ebp - 0x28], 0
push dword [ebp - 0x28]
push ecx
mov ecx, esi
call fcn.10023be0
sub dword [ebp - 0x24], 1
jne 0x10049ba8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
call fcn.1004dd96
int3