Function at 0x1093976
Capabilities:
Encode data using base64

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
xor edi, edi
cmp dword [ebp + 8], edi
je 0x109398d
cmp dword [ebp + 0x18], edi
jne 0x10939c5
mov dword [ebp - 4], 0x80070057
mov eax, dword [0x136ec90]
cmp eax, 0x136ec90
je 0x10939bb
test byte [eax + 0x3c], 2
je 0x10939bb
push dword [ebp - 4]
push 0x1006368
push 0x12
push dword [eax + 0x34]
push dword [eax + 0x30]
call fcn.0103e52d
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0x14
lea eax, [ebp - 8]
push eax
push 2
push dword [ebp + 0xc]
call fcn.0103f13a
cmp eax, edi
mov dword [ebp - 4], eax
jl 0x1093994
mov eax, dword [ebp - 8]
push 3
xor edx, edx
pop ecx
div ecx
mov ebx, 0x1006234
mov esi, 0x80070216
test eax, eax
je 0x1093af4
mov ecx, eax
shl ecx, 2
mov edx, ecx
shr edx, 2
cmp edx, eax
je 0x1093aec
mov edi, esi
mov eax, dword [0x136ec90]
cmp eax, 0x136ec90
je 0x1093a2b
test byte [eax + 0x3c], 2
je 0x1093a2b
push esi
push ebx
push 0xc
push dword [eax + 0x34]
push dword [eax + 0x30]
call fcn.0103e52d
mov dword [ebp - 4], edi
test edi, edi
jl 0x1093994
mov eax, dword [ebp + 0x10]
and eax, 1
mov dword [ebp - 0x10], eax
je 0x1093ac5
lea eax, [ebp - 0xc]
push eax
push 0x3f
push dword [ebp - 8]
call fcn.0103f13a
xor edi, edi
cmp eax, edi
mov dword [ebp - 4], eax
jl 0x1093994
mov eax, dword [ebp - 0xc]
shr eax, 6
cmp eax, edi
je 0x1093b03
lea ecx, [eax + eax]
mov edx, ecx
shr edx, 1
cmp edx, eax
je 0x1093afe
mov edi, esi
mov eax, dword [0x136ec90]
cmp eax, 0x136ec90
je 0x1093aa0
test byte [eax + 0x3c], 2
je 0x1093aa0
push esi
push ebx
push 0xc
push dword [eax + 0x34]
push dword [eax + 0x30]
call fcn.0103e52d
mov dword [ebp - 4], edi
test edi, edi
jl 0x1093994
lea eax, [ebp - 8]
push eax
push dword [ebp - 0xc]
push dword [ebp - 8]
call fcn.0103f13a
mov dword [ebp - 4], eax
test eax, eax
jl 0x1093994
mov esi, dword [ebp + 0x14]
test esi, esi
jne 0x1093b08
push dword [ebp + 0x18]
push 1
push dword [ebp - 8]
call fcn.0103f13a
mov dword [ebp - 4], eax
test eax, eax
jl 0x1093994
and dword [ebp - 4], esi
jmp 0x10939bb
mov dword [ebp - 8], ecx
jmp 0x1093a2b
and dword [ebp - 8], edi
xor edi, edi
jmp 0x1093a2b
mov dword [ebp - 0xc], ecx
jmp 0x1093aa0
mov dword [ebp - 0xc], edi
jmp 0x1093aa0
lea eax, [ebp - 0xc]
push eax
push 1
push dword [ebp - 8]
call fcn.0103f13a
mov dword [ebp - 4], eax
test eax, eax
jl 0x1093994
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 0x18]
cmp dword [ecx], eax
jae 0x1093b37
mov dword [ebp - 4], 0x8007007a
jmp 0x1093994
and dword [ebp + 0x14], 0
cmp dword [ebp + 0xc], 0
lea edx, [esi + eax*2]
mov ecx, esi
mov dword [ebp - 8], edx
jle 0x1093c5f
lea ebx, [esi + 6]
add esi, 2
cmp dword [ebp - 0x10], 0
je 0x1093b8a
cmp dword [ebp + 0x14], 0x10
jne 0x1093b87
and dword [ebp + 0x14], 0
cmp esi, dword [ebp - 8]
jae 0x1093c82
push 0xd
pop eax
mov word [ecx], ax
push 2
pop eax
add ecx, eax
push 0xa
add esi, eax
pop edx
add ebx, eax
mov word [ecx], dx
add ecx, eax
add esi, eax
add ebx, eax
inc dword [ebp + 0x14]
xor eax, eax
lea edi, [ebp + 0x10]
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebp + 8]
inc dword [ebp + 8]
cmp dword [ebp + 0xc], 1
mov al, byte [eax]
jbe 0x1093bbc
mov edx, dword [ebp + 8]
mov dl, byte [edx]
inc dword [ebp + 8]
cmp dword [ebp + 0xc], 2
mov byte [ebp + 0x11], dl
jbe 0x1093bbc
mov edx, dword [ebp + 8]
mov dl, byte [edx]
inc dword [ebp + 8]
mov byte [ebp + 0x12], dl
cmp ebx, dword [ebp - 8]
jae 0x1093c82
movzx eax, al
mov edx, eax
shr edx, 2
movzx dx, byte [edx + 0x1006bf8]
mov word [ecx], dx
movzx edx, byte [ebp + 0x11]
inc ecx
mov edi, edx
shr edi, 4
shl eax, 4
inc ecx
or edi, eax
inc esi
and edi, 0x3f
movzx ax, byte [edi + 0x1006bf8]
inc esi
inc ebx
push 2
pop edi
inc ebx
mov word [ecx], ax
add ecx, edi
add esi, edi
add ebx, edi
cmp dword [ebp + 0xc], 1
jbe 0x1093c21
movzx eax, byte [ebp + 0x12]
shr eax, 6
shl edx, 2
or eax, edx
and eax, 0x3f
movzx eax, byte [eax + 0x1006bf8]
jmp 0x1093c24
push 0x3d
pop eax
mov word [ecx], ax
add ecx, edi
add esi, edi
add ebx, edi
cmp dword [ebp + 0xc], edi
jbe 0x1093c42
movzx eax, byte [ebp + 0x12]
and eax, 0x3f
movzx eax, byte [eax + 0x1006bf8]
jmp 0x1093c45
push 0x3d
pop eax
sub dword [ebp + 0xc], 3
mov word [ecx], ax
add ecx, edi
add esi, edi
add ebx, edi
cmp dword [ebp + 0xc], 0
jg 0x1093b53
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 0x10], 0
je 0x1093c7d
lea edx, [ecx + 2]
cmp edx, dword [ebp - 8]
jae 0x1093c82
push 0xd
pop esi
mov word [ecx], si
mov ecx, edx
push 0xa
pop edx
mov word [ecx], dx
inc ecx
inc ecx
cmp ecx, dword [ebp - 8]
jb 0x1093c8e
mov dword [ebp - 4], 0x8000ffff
jmp 0x1093994
xor edx, edx
mov word [ecx], dx
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
jmp 0x10939bb