Function at 0x100bc490
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
cmp dword [eax], 0
jle 0x100bc4a8
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 8
mov al, byte [esi + 0x12]
test al, al
jle 0x100bc4c6
mov eax, dword [esi + 0x14]
add dword [esi + 0x1c], eax
cmp byte [esi + 0x13], 0
mov eax, dword [esi + 0x18]
je 0x100bc4c1
add dword [esi + 0x20], eax
add dword [esi + 0x24], eax
jmp 0x100bc4e2
jns 0x100bc4de
cmp dword [esi + 0xc], 0
jle 0x100bc4de
inc dword [esi + 4]
mov al, 1
mov byte [esi + 0x12], 1
pop esi
mov esp, ebp
pop ebp
ret 8
mov byte [esi + 0x12], 1
mov eax, dword [esi + 0xc]
cmp eax, 1
jl 0x100bc500
jle 0x100bc4f9
dec eax
mov dword [esi + 0xc], eax
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 8
mov dword [esi + 0xc], 0
mov ecx, dword [esi + 4]
push ebx
mov ebx, dword [esi + 8]
cmp ecx, ebx
jl 0x100bc529
pop ebx
mov word [esi + 0x12], 0
xor al, al
mov dword [esi + 0x18], 0
mov dword [esi + 0x14], 0
pop esi
mov esp, ebp
pop ebp
ret 8
mov edx, dword [esi]
push edi
movzx edi, word [edx + ecx*2]
inc ecx
mov dword [esi + 4], ecx
cmp edi, 0xfff
ja 0x100bc5af
mov byte [esi + 0x13], 0
lea eax, [edi + 1]
mov dword [esi + 0x14], eax
cmp ecx, ebx
jge 0x100bc575
mov dword [ebp - 4], ecx
lea edx, [edx + ecx*2]
movzx edi, word [edx]
cmp edi, 0xfff
ja 0x100bc575
mov eax, dword [esi + 0x14]
add edx, 2
mov ecx, dword [ebp - 4]
inc eax
inc ecx
add eax, edi
mov dword [esi + 4], ecx
mov dword [esi + 0x14], eax
mov dword [ebp - 4], ecx
cmp ecx, ebx
jl 0x100bc550
cmp byte [ebp + 8], 0
mov dword [esi + 0x18], eax
je 0x100bc711
add dword [esi + 0x1c], eax
add dword [esi + 0x24], eax
cmp ecx, ebx
jl 0x100bc5a9
pop edi
pop ebx
mov byte [esi + 0x12], 0
xor al, al
mov dword [esi + 0x18], 0
mov dword [esi + 0x14], 0
pop esi
mov esp, ebp
pop ebp
ret 8
lea eax, [ecx + 1]
mov dword [esi + 4], eax
mov byte [esi + 0x13], 1
cmp edi, 0x6fff
ja 0x100bc602
mov ecx, edi
mov edx, edi
shr ecx, 9
and edi, 0x1ff
shr edx, 0xc
and ecx, 7
inc edi
cmp byte [esi + 0x11], 0
je 0x100bc5e5
mov eax, edi
imul eax, edx
imul edi, ecx
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], edi
jmp 0x100bc62d
mov dword [esi + 0x14], edx
mov dword [esi + 0x18], ecx
cmp edi, 1
jbe 0x100bc711
mov dword [esi + 0xc], edi
mov al, 1
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 8
mov eax, edi
mov ecx, esi
shr eax, 6
and eax, 0x3f
push eax
call sym.icuuc67.dll__caseMap_UnicodeString_icu_67__AAEAAV12_HIPAVBreakIterator_2_P6AHHI0PA_SHPB_SHPAVEdits_2_AAW4UErrorCode___Z_Z
and edi, 0x3f
mov dword [esi + 0x14], eax
push edi
mov ecx, esi
call sym.icuuc67.dll__caseMap_UnicodeString_icu_67__AAEAAV12_HIPAVBreakIterator_2_P6AHHI0PA_SHPB_SHPAVEdits_2_AAW4UErrorCode___Z_Z
cmp byte [esi + 0x11], 0
mov dword [esi + 0x18], eax
je 0x100bc711
mov edi, dword [esi + 4]
cmp edi, dword [esi + 8]
jge 0x100bc711
mov ebx, dword [esi]
nop dword [eax + eax]
lea ecx, [edi + edi]
movzx edx, word [ecx + ebx]
cmp edx, 0xfff
jbe 0x100bc711
inc edi
mov eax, edx
mov dword [esi + 4], edi
cmp edx, 0x6fff
ja 0x100bc681
mov ecx, edx
shr eax, 0xc
and ecx, 0x1ff
shr edx, 9
inc ecx
and edx, 7
imul eax, ecx
add dword [esi + 0x14], eax
imul edx, ecx
jmp 0x100bc705
shr eax, 6
and eax, 0x3f
cmp eax, 0x3d
jb 0x100bc6c3
movzx ecx, word [ebx + ecx + 2]
cmp eax, 0x3e
jae 0x100bc6a0
mov eax, ecx
and eax, 0x7fff
inc edi
jmp 0x100bc6c0
and eax, 1
and ecx, 0x7fff
shl eax, 0xf
or ecx, eax
movzx eax, word [ebx + edi*2 + 2]
shl ecx, 0xf
and eax, 0x7fff
or eax, ecx
add edi, 2
mov dword [esi + 4], edi
add dword [esi + 0x14], eax
and edx, 0x3f
cmp edx, 0x3d
jb 0x100bc705
movzx ecx, word [ebx + edi*2]
cmp edx, 0x3e
jae 0x100bc6e2
mov edx, ecx
and edx, 0x7fff
inc edi
jmp 0x100bc702
movzx eax, word [ebx + edi*2 + 2]
and edx, 1
shl edx, 0xf
and ecx, 0x7fff
or edx, ecx
and eax, 0x7fff
shl edx, 0xf
or edx, eax
add edi, 2
mov dword [esi + 4], edi
add dword [esi + 0x18], edx
cmp edi, dword [esi + 8]
jl 0x100bc640
pop edi
pop ebx
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 8