Function at 0x10038490
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a5f1e
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x100bf040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x30], edi
xorps xmm0, xmm0
mov dword [ebp - 0x2c], 0
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov eax, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x2c], 1
test eax, eax
je 0x100386e8
dec eax
mov dword [ebp + 8], eax
mov al, byte [edx]
inc edx
mov byte [ebp + esi - 0x14], al
inc esi
mov ah, byte [ebp - 0x12]
mov ch, byte [ebp - 0x13]
mov cl, byte [ebp - 0x14]
mov dword [ebp - 0x24], edx
mov byte [ebp - 0x1b], ah
mov byte [ebp - 0x19], ch
mov byte [ebp - 0x1a], cl
cmp esi, 3
jne 0x100385c9
mov al, cl
and cl, 3
shr al, 2
mov byte [ebp - 0x18], al
mov al, ch
shl cl, 4
shr al, 4
add cl, al
mov al, ah
mov byte [ebp - 0x17], cl
and ah, 0x3f
mov cl, ch
shr al, 6
and cl, 0xf
mov byte [ebp - 0x15], ah
shl cl, 2
add cl, al
xor esi, esi
mov byte [ebp - 0x16], cl
cmp dword [0x100fd630], 0xf
mov ecx, 0x100fd61c
movzx eax, byte [ebp + esi - 0x18]
cmova ecx, dword [0x100fd61c]
mov edx, dword [edi + 0x14]
mov al, byte [eax + ecx]
mov ecx, dword [edi + 0x10]
mov byte [ebp - 0x10], al
cmp ecx, edx
jae 0x100385a6
lea eax, [ecx + 1]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0xf
jbe 0x10038599
mov eax, dword [edi]
add eax, ecx
mov cl, byte [ebp - 0x10]
mov byte [eax + 1], 0
mov byte [eax], cl
jmp 0x100385b8
push dword [ebp - 0x10]
mov byte [ebp - 0x20], 0
push dword [ebp - 0x20]
push ecx
mov ecx, edi
call fcn.10027250
inc esi
cmp esi, 4
jl 0x10038562
mov edx, dword [ebp - 0x24]
xor esi, esi
mov ch, byte [ebp - 0x19]
mov cl, byte [ebp - 0x1a]
mov eax, dword [ebp + 8]
test eax, eax
jne 0x10038506
mov dword [ebp - 0x20], esi
test esi, esi
je 0x100386e8
mov eax, esi
cmp esi, 3
jge 0x10038605
cmp eax, 3
jae 0x100386fb
mov byte [ebp + eax - 0x14], 0
inc eax
cmp eax, 3
jl 0x100385e9
mov dl, byte [ebp - 0x12]
mov ch, byte [ebp - 0x13]
mov cl, byte [ebp - 0x14]
jmp 0x10038608
mov dl, byte [ebp - 0x1b]
mov al, cl
and cl, 3
shr al, 2
mov byte [ebp - 0x18], al
mov al, ch
shr al, 4
and ch, 0xf
shl cl, 4
add cl, al
shl ch, 2
mov al, dl
mov byte [ebp - 0x17], cl
shr al, 6
and dl, 0x3f
add ch, al
mov byte [ebp - 0x15], dl
lea eax, [esi + 1]
mov byte [ebp - 0x16], ch
mov dword [ebp - 0x28], eax
test eax, eax
jle 0x100386a1
xor esi, esi
cmp dword [0x100fd630], 0xf
mov ecx, 0x100fd61c
movzx eax, byte [ebp + esi - 0x18]
cmova ecx, dword [0x100fd61c]
mov edx, dword [edi + 0x14]
mov al, byte [eax + ecx]
mov ecx, dword [edi + 0x10]
mov byte [ebp - 0x10], al
cmp ecx, edx
jae 0x10038686
lea eax, [ecx + 1]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0xf
jbe 0x10038679
mov eax, dword [edi]
add eax, ecx
mov cl, byte [ebp - 0x10]
mov byte [eax + 1], 0
mov byte [eax], cl
jmp 0x10038698
push dword [ebp - 0x10]
mov byte [ebp - 0x24], 0
push dword [ebp - 0x24]
push ecx
mov ecx, edi
call fcn.10027250
inc esi
cmp esi, dword [ebp - 0x28]
jl 0x10038642
mov esi, dword [ebp - 0x20]
cmp esi, 3
jge 0x100386e8
mov eax, 3
sub eax, esi
mov dword [ebp - 0x20], eax
mov ecx, dword [edi + 0x10]
mov edx, dword [edi + 0x14]
cmp ecx, edx
jae 0x100386d1
lea eax, [ecx + 1]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0xf
jbe 0x100386c9
mov eax, dword [edi]
mov word [eax + ecx], 0x3d
jmp 0x100386e2
push 0x3d
mov byte [ebp - 0x24], 0
push dword [ebp - 0x24]
push ecx
mov ecx, edi
call fcn.10027250
sub dword [ebp - 0x20], 1
jne 0x100386b0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call fcn.100a3e4d
int3