Function at 0x4ab7b0
Capabilities:
Encode data using base64

Disassembly:
mov ecx, dword [esp + 0x10]
sub esp, 0x11c
shl ecx, 3
push ebx
shr ecx, 2
push esi
push edi
xor eax, eax
mov edi, dword [esp + 0x140]
push ebp
mov dword [esp + 0x1c], 0
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x138]
cmp ecx, eax
je 0x4abc11
cmp dword [esp + 0x134], 0
je 0x4ab7ff
mov eax, dword [esp + 0x134]
mov edx, dword [eax]
mov dword [esp + 0x14], edx
jmp 0x4ab81a
mov eax, dword [ecx]
mov dword [esp + 0x14], 0
cmp dword [eax], 0
je 0x4ab81a
add eax, 4
inc dword [esp + 0x14]
cmp dword [eax], 0
jne 0x4ab80e
mov ecx, dword [ecx]
mov esi, dword [esp + 0x130]
mov dword [esp + 0x10], 1
cmp dword [esp + 0x14], 1
mov dword [esp + 0x28], ecx
jle 0x4abb86
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x2c], 0
lea edx, [ecx + eax*4]
mov dword [esp + 0x20], eax
xor ecx, ecx
mov edi, dword [edx]
mov cl, byte [edi]
mov ebx, edi
inc edi
cmp ecx, 0x2d
je 0x4ab882
cmp ecx, 0x2f
je 0x4ab9e4
cmp eax, 1
jle 0x4abb86
mov eax, dword [edx - 4]
cmp byte [eax], 0x2d
jne 0x4abb86
jmp 0x4abb42
xor eax, eax
mov al, byte [edi]
test eax, eax
je 0x4abb42
mov dword [esp + 0x24], 0
cmp eax, 0x5f
jne 0x4ab8a3
mov dword [esp + 0x24], 1
mov eax, dword [esp + 0x24]
add eax, edi
mov cl, byte [eax]
cmp cl, 0x3f
jne 0x4ab8d5
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x140]
mov edx, dword [esp + 0x13c]
push eax
push 0x2d
push ecx
push edx
push esi
call fcn.004abc20
add esp, 0x14
jmp 0x4abb42
cmp byte [eax + 1], 0
jne 0x4ab959
mov eax, 0
test esi, esi
je 0x4ab8ea
mov eax, dword [esi + 0xac]
xor edx, edx
xor ebx, ebx
mov dl, cl
push edx
push eax
call fcn.004acf60
mov dword [esp + 0x20], eax
add esp, 8
cmp ebx, dword [esp + 0x13c]
jge 0x4ab9a5
mov edi, dword [esp + 0x140]
mov eax, dword [edi + 4]
mov dword [esp + 0x1c], edi
mov al, byte [eax]
sub al, 0x5f
cmp al, 1
mov eax, 0
sbb ebp, ebp
neg ebp
test esi, esi
je 0x4ab932
mov eax, dword [esi + 0xac]
mov ecx, dword [edi]
push ecx
push eax
call fcn.004acf60
add esp, 8
cmp eax, dword [esp + 0x18]
jne 0x4ab94a
cmp dword [esp + 0x24], ebp
je 0x4ab99e
add edi, 0xc
inc ebx
cmp ebx, dword [esp + 0x13c]
jl 0x4ab912
jmp 0x4ab99e
xor ebx, ebx
cmp ebx, dword [esp + 0x13c]
jge 0x4ab9a5
mov ebp, dword [esp + 0x140]
mov eax, 0
mov dword [esp + 0x1c], ebp
test esi, esi
je 0x4ab97e
mov eax, dword [esi + 0xac]
mov ecx, dword [ebp + 4]
push ecx
push edi
push eax
call fcn.004ac2e0
add esp, 0xc
test ax, ax
je 0x4ab99e
add ebp, 0xc
inc ebx
cmp ebx, dword [esp + 0x13c]
jl 0x4ab96b
cmp ebx, dword [esp + 0x13c]
je 0x4abb42
mov eax, dword [esp + 0x1c]
cmp dword [eax + 8], 0xffffffff
je 0x4abadb
inc dword [esp + 0x10]
mov eax, dword [esp + 0x10]
cmp dword [esp + 0x14], eax
jle 0x4abb76
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx + eax*4]
cmp byte [eax], 0x2d
je 0x4abb76
mov dword [esp + 0x2c], eax
jmp 0x4abadb
mov al, byte [edi]
cmp al, 0x3f
jne 0x4aba0c
mov eax, dword [esp + 0x140]
push 0
mov ecx, dword [esp + 0x140]
push 0x2f
push eax
push ecx
push esi
call fcn.004abc20
add esp, 0x14
jmp 0x4abb42
cmp al, 0x5f
jne 0x4aba38
cmp byte [edi + 1], 0x3f
jne 0x4aba38
mov eax, dword [esp + 0x140]
push 1
mov ecx, dword [esp + 0x140]
push 0x2f
push eax
push ecx
push esi
call fcn.004abc20
add esp, 0x14
jmp 0x4abb42
xor ebx, ebx
cmp ebx, dword [esp + 0x13c]
jge 0x4abad9
mov ebp, dword [esp + 0x140]
mov dword [esp + 0x1c], ebp
test esi, esi
je 0x4aba65
mov eax, dword [esi + 0xac]
test eax, eax
je 0x4aba65
mov eax, dword [eax + 0x2c]
jmp 0x4aba67
xor eax, eax
mov ecx, dword [ebp + 4]
push ecx
push eax
call fcn.004addd0
mov dword [esp + 0x20], eax
add esp, 8
mov ecx, 0
test esi, esi
je 0x4aba87
mov ecx, dword [esi + 0xac]
mov eax, dword [esp + 0x18]
mov edx, dword [ebp + 4]
push eax
push edx
push edi
push ecx
call fcn.004ac3a0
add esp, 0x10
test ax, ax
jne 0x4abb60
cmp dword [ebp + 8], 0xffffffff
mov eax, dword [esp + 0x18]
je 0x4abb56
add eax, edi
cmp byte [eax], 0x3d
jne 0x4abb60
cmp byte [eax + 1], 0
je 0x4abb60
mov eax, dword [esp + 0x18]
lea ecx, [eax + edi + 1]
mov dword [esp + 0x2c], ecx
cmp ebx, dword [esp + 0x13c]
je 0x4abb42
mov eax, dword [esp + 0x144]
lea eax, [eax + ebx*8]
cmp dword [eax], 0
jne 0x4abb76
mov ecx, dword [esp + 0x2c]
push ecx
push eax
mov eax, dword [esp + 0x24]
push eax
push esi
call fcn.004abdb0
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x30]
add esp, 0x10
inc eax
sub dword [esp + 0x14], eax
sub dword [esp + 0x10], eax
mov edx, dword [esp + 0x14]
cmp edx, dword [esp + 0x20]
jle 0x4abb42
add eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
lea edi, [ecx + eax*4]
mov eax, dword [esp + 0x20]
lea ecx, [ecx + eax*4]
mov eax, edx
sub eax, dword [esp + 0x20]
mov edx, dword [edi]
add edi, 4
mov dword [ecx], edx
add ecx, 4
dec eax
jne 0x4abb35
inc dword [esp + 0x10]
mov eax, dword [esp + 0x10]
cmp dword [esp + 0x14], eax
jg 0x4ab83a
jmp 0x4abb86
cmp byte [eax + edi], 0
je 0x4abad2
add ebp, 0xc
inc ebx
cmp ebx, dword [esp + 0x13c]
jl 0x4aba4e
jmp 0x4abad2
mov eax, 0xfffffffe
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x11c
ret
mov eax, dword [esp + 0x134]
mov edx, dword [esp + 0x14]
cmp dword [esp + 0x13c], 0
mov dword [eax], edx
jle 0x4abc0f
mov ebp, dword [esp + 0x144]
mov ebx, dword [esp + 0x140]
mov edi, dword [esp + 0x13c]
cmp dword [ebp], 0
jne 0x4abc06
mov eax, dword [ebx + 4]
lea ecx, [esp + 0x2c]
push eax
push 0x51e900
push 0x53c748
push 0x100
push ecx
push esi
call fcn.004c8870
lea ecx, [esp + 0x44]
add esp, 0x18
push 0x100
push ecx
push esi
call fcn.004c1050
add esp, 0xc
push eax
push esi
call fcn.004f28f0
add esp, 8
test eax, eax
je 0x4abc06
push eax
push ebp
push ebx
push esi
call fcn.004abdb0
add esp, 0x10
add ebp, 8
add ebx, 0xc
dec edi
jne 0x4abbb2
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x11c
ret