Function at 0x6e0398
Capabilities:
Encode data using base64

Disassembly:
mov eax, dword [0xd80dfc]
sub esp, 0x10
mov ecx, dword [eax + 0x22c]
push ebx
push ebp
push esi
xor esi, esi
push edi
cmp ecx, esi
jne 0x6e093c
mov edi, dword [eax + 0x20]
inc edi
mov dword [eax + 0x20], edi
mov eax, dword [0xd80dfc]
mov ecx, dword [eax + 0x20]
cmp ecx, 0x18
jge 0x6e03e7
mov dword [eax + ecx*4 + 0x24], 0x4b
mov eax, dword [0xd80dfc]
cmp dword [eax + 0x244], esi
je 0x6e03e7
call fcn.006de0a8
mov eax, dword [0xd80dfc]
mov ecx, dword [eax + 8]
cmp ecx, esi
je 0x6e092a
cmp ecx, 0x100
ja 0x6e092a
cmp dword [eax + 0x90], esi
jne 0x6e040d
push 0x12
jmp 0x6e092c
mov edi, dword [esp + 0x24]
xor ebp, ebp
push edi
mov dword [esp + 0x18], ebp
call fcn.006deac8
push edi
push 1
mov dword [esp + 0x28], eax
call fcn.006deae8
mov ebx, dword [edi]
mov eax, dword [0xd80dfc]
add esp, 0xc
cmp ebx, esi
mov ecx, 0x3c
jne 0x6e0494
cmp dword [eax + 8], ecx
ja 0x6e0494
cmp dword [eax + 0x88], esi
jne 0x6e0456
mov eax, dword [esp + 0x28]
mov byte [eax], 0x30
mov byte [eax + 1], 0
jmp 0x6e047b
mov eax, dword [eax + 0x98]
push eax
push 0x30
call fcn.006e3cf0
mov ecx, dword [0xd80dfc]
mov edx, dword [ecx + 0x98]
push edx
push 0xa
call fcn.006e3cf0
add esp, 0x10
mov eax, dword [0xd80dfc]
pop edi
pop esi
pop ebp
mov ecx, dword [eax + 0x20]
pop ebx
dec ecx
mov dword [eax + 0x20], ecx
mov eax, 1
add esp, 0x10
ret
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x10], esi
cmp edx, 0xffffffff
jne 0x6e04d6
cmp dword [eax + 8], ecx
ja 0x6e04d6
cmp dword [eax + 0x88], esi
jne 0x6e04b7
mov eax, dword [esp + 0x28]
mov byte [eax], 0x2d
jmp 0x6e04c8
mov ecx, dword [eax + 0x98]
push ecx
push 0x2d
call fcn.006e3cf0
add esp, 8
mov eax, dword [0xd80dfc]
mov ebp, 1
mov dword [esp + 0x14], ebp
mov edx, dword [eax + 0x1ec]
mov dword [esp + 0x18], esi
push edx
push edi
call fcn.006df1b8
mov eax, dword [0xd80dfc]
add esp, 8
cmp dword [eax + 0x240], esi
je 0x6e0640
mov eax, dword [eax + 0x1e8]
push eax
push edi
call fcn.006df2b8
mov ecx, dword [0xd80dfc]
mov edx, dword [ecx + 0x1e8]
push edx
call fcn.006def58
add esp, 0xc
cmp eax, 1
jle 0x6e063b
mov edi, ebx
and edi, 0xffff
shr ebx, 0x10
cmp edi, esi
jne 0x6e053a
mov edi, 1
mov eax, dword [0xd80dfc]
cmp ebx, edi
mov ecx, dword [eax + 0x84]
mov dword [eax + 0x84], esi
mov dword [esp + 0x10], ecx
jge 0x6e0570
mov edx, dword [0xd80dfc]
mov ecx, edi
sub ecx, ebx
mov eax, dword [edx + 0x1e8]
push eax
push ecx
push eax
call fcn.006dede8
add esp, 0xc
cmp ebx, edi
jle 0x6e058d
mov edx, dword [0xd80dfc]
mov ecx, ebx
sub ecx, edi
mov eax, dword [edx + 0x1ec]
push eax
push ecx
push eax
call fcn.006dede8
add esp, 0xc
mov eax, dword [0xd80dfc]
mov esi, dword [eax + 0x1c]
mov edx, dword [eax + 0x1e8]
mov eax, dword [eax + 0x1ec]
push edx
push eax
call fcn.006def98
add esp, 8
test eax, eax
jl 0x6e05b0
dec esi
mov eax, dword [0xd80dfc]
mov ecx, dword [eax + 0x1d4]
mov edx, dword [eax + 0x1ec]
push ecx
push edx
call fcn.006ded18
mov eax, dword [0xd80dfc]
add esp, 8
mov ecx, dword [eax + 0x1d4]
mov eax, dword [eax + 0x1c]
shl eax, 1
mov edx, dword [ecx]
lea ebp, [edx + esi]
cmp ebp, eax
jle 0x6e05e8
sub eax, edx
mov esi, eax
push ecx
push esi
push ecx
call fcn.006dede8
mov eax, dword [0xd80dfc]
mov ecx, dword [eax + 0x1ec]
mov edx, dword [eax + 0x1e8]
mov eax, dword [eax + 0x1d4]
push ecx
push edx
push eax
call fcn.006e1c08
mov ecx, dword [0xd80dfc]
mov edx, dword [esp + 0x28]
sub esi, edi
mov ebp, dword [esp + 0x2c]
mov dword [ecx + 0x84], edx
mov eax, dword [0xd80dfc]
add esi, ebx
add esp, 0x18
imul esi, dword [eax + 0xc]
mov dword [esp + 0x10], esi
xor esi, esi
jmp 0x6e0640
mov eax, dword [0xd80dfc]
mov eax, dword [eax + 0x1ec]
mov edi, dword [esp + 0x10]
push eax
call fcn.006debb8
add esp, 4
cmp edi, eax
mov dword [esp + 0x14], eax
jle 0x6e065d
mov eax, edi
cmp eax, esi
mov edi, eax
jle 0x6e07c2
mov ecx, dword [0xd80dfc]
mov eax, dword [ecx + 0x88]
cmp eax, esi
jne 0x6e0696
mov edx, dword [esp + 0x28]
mov ebx, dword [ecx + 0x24c]
cmp edx, ebx
jne 0x6e0696
mov edx, dword [ecx + 0x224]
sub edx, 5
cmp ebp, edx
jge 0x6e085c
cmp edi, dword [esp + 0x10]
jne 0x6e06c8
cmp dword [ecx + 8], 0x3c
ja 0x6e06c8
cmp eax, esi
jne 0x6e06b0
mov eax, dword [esp + 0x28]
mov byte [eax + ebp], 0x2e
jmp 0x6e06c1
mov ecx, dword [ecx + 0x98]
push ecx
push 0x2e
call fcn.006e3cf0
add esp, 8
mov ecx, dword [0xd80dfc]
inc ebp
cmp edi, dword [esp + 0x14]
jle 0x6e06d8
mov ebx, 0x30
jmp 0x6e0767
mov edx, dword [ecx + 0x1ec]
push edi
push edx
call fcn.006deb58
mov ebx, eax
mov eax, dword [0xd80dfc]
push edi
mov dword [eax + 0x84], esi
mov ecx, dword [0xd80dfc]
mov edx, dword [ecx + 0x1ec]
push edx
push esi
call fcn.006dec08
mov ecx, dword [0xd80dfc]
add esp, 0x14
mov eax, dword [ecx + 8]
cmp eax, 0x3c
ja 0x6e072a
add ebx, 0x30
cmp ebx, 0x3a
jl 0x6e0722
add ebx, 7
cmp ebx, 0x5b
jl 0x6e072a
add ebx, 6
cmp eax, 0x40
jne 0x6e0767
cmp ebx, 0x1a
jge 0x6e073c
add ebx, 0x41
cmp ebx, 0x1a
jl 0x6e0744
cmp ebx, 0x34
jge 0x6e0749
add ebx, 0x47
cmp ebx, 0x34
jl 0x6e0751
cmp ebx, 0x3e
jge 0x6e0754
sub ebx, 4
cmp ebx, 0x3e
jne 0x6e075d
mov ebx, 0x2b
jmp 0x6e0767
cmp ebx, 0x3f
jne 0x6e0767
mov ebx, 0x2f
cmp edi, dword [esp + 0x10]
jge 0x6e0791
cmp dword [ecx + 8], 0x3c
ja 0x6e0791
cmp ebx, 0x30
jne 0x6e0791
mov eax, dword [ecx + 0x1ec]
push eax
call fcn.006def58
add esp, 4
test eax, eax
je 0x6e07c2
mov ecx, dword [0xd80dfc]
cmp dword [ecx + 0x88], esi
jne 0x6e07a2
mov ecx, dword [esp + 0x28]
mov byte [ecx + ebp], bl
jmp 0x6e07b8
mov edx, dword [ecx + 0x98]
and ebx, 0xff
push edx
push ebx
call fcn.006e3cf0
add esp, 8
inc ebp
dec edi
cmp edi, esi
jg 0x6e0667
cmp dword [esp + 0x18], esi
jne 0x6e087c
mov ecx, dword [0xd80dfc]
cmp dword [ecx + 0x240], esi
jne 0x6e0882
mov eax, dword [ecx + 0x1ec]
mov ecx, dword [esp + 0x24]
push eax
push ecx
call fcn.006df2b8
mov edx, dword [0xd80dfc]
mov eax, dword [edx + 0x1ec]
push eax
call fcn.006def58
add esp, 0xc
cmp eax, 1
je 0x6e087c
mov eax, dword [0xd80dfc]
cmp dword [eax + 8], 0x3c
ja 0x6e084f
cmp dword [eax + 0x88], esi
jne 0x6e0838
mov ecx, dword [esp + 0x28]
inc ebp
mov dword [esp + 0x18], 1
mov byte [ecx + ebp - 1], 0x2f
mov eax, dword [0xd80dfc]
jmp 0x6e0640
mov edx, dword [eax + 0x98]
push edx
push 0x2f
call fcn.006e3cf0
mov eax, dword [0xd80dfc]
add esp, 8
inc ebp
mov dword [esp + 0x18], 1
jmp 0x6e0640
push 0x11
call fcn.006dde38
mov eax, dword [0xd80dfc]
add esp, 4
mov ecx, dword [eax + 0x20]
pop edi
dec ecx
pop esi
mov dword [eax + 0x20], ecx
mov eax, ebp
pop ebp
pop ebx
add esp, 0x10
ret
mov ecx, dword [0xd80dfc]
cmp dword [ecx + 8], 0x40
jne 0x6e08d0
mov eax, ebp
mov esi, 3
cdq
idiv esi
test edx, edx
je 0x6e08d0
mov esi, dword [esp + 0x28]
mov eax, dword [ecx + 0x88]
test eax, eax
jne 0x6e08aa
mov byte [esi + ebp], 0x3d
jmp 0x6e08bb
mov eax, dword [ecx + 0x98]
push eax
push 0x3d
call fcn.006e3cf0
add esp, 8
inc ebp
mov ecx, 3
mov eax, ebp
cdq
idiv ecx
mov ecx, dword [0xd80dfc]
test edx, edx
jne 0x6e089a
mov eax, dword [ecx + 0x88]
test eax, eax
jne 0x6e08e4
mov edx, dword [esp + 0x28]
mov byte [edx + ebp], 0
jmp 0x6e0902
mov eax, dword [ecx + 8]
cmp eax, 0x3c
jbe 0x6e08f1
cmp eax, 0x40
jne 0x6e0902
mov eax, dword [ecx + 0x98]
push eax
push 0xa
call fcn.006e3cf0
add esp, 8
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
push ecx
push edx
call fcn.006deae8
mov eax, dword [0xd80dfc]
add esp, 8
mov ecx, dword [eax + 0x20]
pop edi
dec ecx
pop esi
mov dword [eax + 0x20], ecx
mov eax, ebp
pop ebp
pop ebx
add esp, 0x10
ret
push 1
call fcn.006dde38
mov eax, dword [0xd80dfc]
add esp, 4
dec dword [eax + 0x20]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret