Function at 0x43a780
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 0x10]
xor ebx, ebx
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], ebx
jb 0x43a79a
mov eax, dword [esi]
jmp 0x43a79c
mov eax, esi
mov ecx, dword [ebp + 8]
mov byte [eax], bl
test ecx, ecx
je 0x43aa49
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x43aa49
push edi
dec eax
mov dword [ebp + 0xc], eax
mov al, byte [ecx]
mov byte [ebp + ebx - 8], al
mov ah, byte [ebp - 6]
mov dl, byte [ebp - 7]
mov dh, byte [ebp - 8]
inc ebx
inc ecx
mov dword [ebp + 8], ecx
mov byte [ebp - 3], ah
mov byte [ebp - 1], dl
mov byte [ebp - 2], dh
cmp ebx, 3
jne 0x43a8b6
mov al, dh
shr al, 2
mov byte [ebp - 0xc], al
mov cl, dh
and cl, 3
shl cl, 4
mov al, dl
shr al, 4
add cl, al
mov byte [ebp - 0xb], cl
mov cl, dl
and cl, 0xf
mov al, ah
shr al, 6
shl cl, 2
add cl, al
mov al, ah
and al, 0x3f
mov byte [ebp - 0xa], cl
mov byte [ebp - 9], al
xor ebx, ebx
jmp 0x43a820
movzx eax, byte [ebp + ebx - 0xc]
mov ecx, dword [esi + 0x10]
mov dl, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
or eax, 0xffffffff
sub eax, ecx
mov byte [ebp + 0x13], dl
cmp eax, 1
jbe 0x43aa51
lea edi, [ecx + 1]
cmp edi, 0xfffffffe
ja 0x43aa51
mov eax, dword [esi + 0x14]
cmp eax, edi
jae 0x43a86f
push ecx
push edi
mov ecx, esi
call fcn.00401900
mov dl, byte [ebp + 0x13]
test edi, edi
je 0x43a8a1
cmp dword [esi + 0x14], 0x10
mov ecx, dword [esi + 0x10]
jb 0x43a889
mov eax, dword [esi]
jmp 0x43a88b
test edi, edi
jne 0x43a862
mov dword [esi + 0x10], edi
cmp eax, 0x10
jb 0x43a882
mov eax, dword [esi]
mov byte [eax], 0
jmp 0x43a8a1
mov eax, esi
mov byte [eax], 0
jmp 0x43a8a1
mov eax, esi
mov byte [eax + ecx], dl
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], edi
jb 0x43a89b
mov eax, dword [esi]
jmp 0x43a89d
mov eax, esi
mov byte [eax + edi], 0
inc ebx
cmp ebx, 4
jl 0x43a820
mov ecx, dword [ebp + 8]
mov dl, byte [ebp - 1]
mov dh, byte [ebp - 2]
xor ebx, ebx
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x43a7b5
test ebx, ebx
je 0x43aa3f
mov eax, ebx
cmp ebx, 3
jge 0x43a8ef
cmp eax, 3
jae 0x43aa5b
mov byte [ebp + eax - 8], 0
inc eax
cmp eax, 3
jl 0x43a8d3
mov cl, byte [ebp - 6]
mov dl, byte [ebp - 7]
mov dh, byte [ebp - 8]
jmp 0x43a8f2
mov cl, byte [ebp - 3]
mov al, dh
shr al, 2
mov byte [ebp - 0xc], al
mov al, dl
and dh, 3
shr al, 4
shl dh, 4
add dh, al
and dl, 0xf
mov al, cl
shl dl, 2
shr al, 6
add dl, al
mov byte [ebp - 0xb], dh
mov byte [ebp - 0xa], dl
and cl, 0x3f
xor edx, edx
lea eax, [ebx + 1]
mov byte [ebp - 9], cl
mov dword [ebp + 0x10], edx
test eax, eax
jle 0x43a9c6
movzx eax, byte [ebp + edx - 0xc]
mov ecx, dword [esi + 0x10]
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebp + 0xb], al
or eax, 0xffffffff
sub eax, ecx
cmp eax, 1
jbe 0x43aa51
lea edi, [ecx + 1]
cmp edi, 0xfffffffe
ja 0x43aa51
mov eax, dword [esi + 0x14]
cmp eax, edi
jae 0x43a97f
push ecx
push edi
mov ecx, esi
call fcn.00401900
mov edx, dword [ebp + 0x10]
test edi, edi
je 0x43a9b7
cmp dword [esi + 0x14], 0x10
mov ecx, dword [esi + 0x10]
jb 0x43a999
mov eax, dword [esi]
jmp 0x43a99b
test edi, edi
jne 0x43a972
mov dword [esi + 0x10], edi
cmp eax, 0x10
jb 0x43a992
mov eax, dword [esi]
mov byte [eax], 0
jmp 0x43a9b7
mov eax, esi
mov byte [eax], 0
jmp 0x43a9b7
mov eax, esi
mov dl, byte [ebp + 0xb]
mov byte [eax + ecx], dl
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], edi
jb 0x43a9ae
mov eax, dword [esi]
jmp 0x43a9b0
mov eax, esi
mov edx, dword [ebp + 0x10]
mov byte [eax + edi], 0
inc edx
lea eax, [ebx + 1]
mov dword [ebp + 0x10], edx
cmp edx, eax
jl 0x43a930
cmp ebx, 3
jge 0x43aa3f
jmp 0x43a9d0
mov ecx, dword [esi + 0x10]
or eax, 0xffffffff
sub eax, ecx
inc ebx
cmp eax, 1
jbe 0x43aa51
lea edi, [ecx + 1]
cmp edi, 0xfffffffe
ja 0x43aa51
mov eax, dword [esi + 0x14]
cmp eax, edi
jae 0x43aa07
push ecx
push edi
mov ecx, esi
call fcn.00401900
test edi, edi
je 0x43aa3a
cmp dword [esi + 0x14], 0x10
mov ecx, dword [esi + 0x10]
jb 0x43aa21
mov eax, dword [esi]
jmp 0x43aa23
test edi, edi
jne 0x43a9fa
mov dword [esi + 0x10], edi
cmp eax, 0x10
jb 0x43aa1a
mov eax, dword [esi]
mov byte [eax], 0
jmp 0x43aa3a
mov eax, esi
mov byte [eax], 0
jmp 0x43aa3a
mov eax, esi
mov byte [eax + ecx], 0x3d
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], edi
jb 0x43aa34
mov eax, dword [esi]
jmp 0x43aa36
mov eax, esi
mov byte [eax + edi], 0
cmp ebx, 3
jl 0x43a9d0
mov eax, dword [esi + 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push str.string_too_long
call fcn.0050098b
call fcn.004dd09f
int3