Function at 0x42bf40
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c9a79
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x75d454]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], 0
mov edi, dword [ebp + 8]
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x14], 0xf
cmp dword [edi + 0x14], 0x10
mov dword [edi + 0x10], 0
jb 0x42bf9d
mov eax, dword [edi]
jmp 0x42bf9f
mov eax, edi
mov byte [eax], 0
mov eax, dword [ebp + 0x10]
xor ebx, ebx
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], 1
test eax, eax
je 0x42c266
mov ecx, dword [ebp + 0xc]
dec eax
mov dword [ebp + 0x10], eax
mov al, byte [ecx]
inc ecx
mov byte [ebp + ebx - 0x14], al
inc ebx
mov ah, byte [ebp - 0x12]
mov dl, byte [ebp - 0x13]
mov dh, byte [ebp - 0x14]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x10], ah
mov byte [ebp - 0xe], dl
mov byte [ebp - 0xf], dh
cmp ebx, 3
jne 0x42c0c0
mov al, dh
mov cl, dh
shr al, 2
and cl, 3
mov byte [ebp - 0x18], al
mov al, dl
shl cl, 4
shr al, 4
add cl, al
mov al, ah
mov byte [ebp - 0x17], cl
mov cl, dl
and cl, 0xf
shr al, 6
shl cl, 2
add cl, al
mov al, ah
and al, 0x3f
mov byte [ebp - 0x16], cl
mov byte [ebp - 0x15], al
xor ebx, ebx
nop
cmp dword [esi + 0x14], 0x10
movzx ecx, byte [ebp + ebx - 0x18]
jb 0x42c02f
mov eax, dword [esi]
jmp 0x42c031
mov eax, esi
mov dl, byte [eax + ecx]
mov ecx, dword [edi + 0x10]
mov eax, ecx
not eax
mov byte [ebp - 0xd], dl
cmp eax, 1
jbe 0x42c0f5
lea esi, [ecx + 1]
cmp esi, 0xfffffffe
ja 0x42c0f5
cmp dword [edi + 0x14], esi
jae 0x42c075
push ecx
push esi
mov ecx, edi
call fcn.004040c0
mov dl, byte [ebp - 0xd]
test esi, esi
je 0x42c0a8
cmp dword [edi + 0x14], 0x10
mov ecx, dword [edi + 0x10]
jb 0x42c090
mov eax, dword [edi]
jmp 0x42c092
test esi, esi
jne 0x42c068
mov dword [edi + 0x10], esi
cmp dword [edi + 0x14], 0x10
jb 0x42c089
mov eax, dword [edi]
mov byte [eax], 0
jmp 0x42c0a8
mov eax, edi
mov byte [eax], 0
jmp 0x42c0a8
mov eax, edi
mov byte [eax + ecx], dl
cmp dword [edi + 0x14], 0x10
mov dword [edi + 0x10], esi
jb 0x42c0a2
mov eax, dword [edi]
jmp 0x42c0a4
mov eax, edi
mov byte [eax + esi], 0
mov esi, dword [ebp - 0x1c]
inc ebx
cmp ebx, 4
jl 0x42c020
mov ecx, dword [ebp + 0xc]
xor ebx, ebx
mov dl, byte [ebp - 0xe]
mov dh, byte [ebp - 0xf]
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x42bfc0
test ebx, ebx
je 0x42c266
mov eax, ebx
cmp ebx, 3
jge 0x42c105
cmp eax, 3
jae 0x42c100
mov byte [ebp + eax - 0x14], 0
inc eax
cmp eax, 3
jl 0x42c0dd
mov cl, byte [ebp - 0x12]
mov dl, byte [ebp - 0x13]
mov dh, byte [ebp - 0x14]
jmp 0x42c108
push str.string_too_long
call dword [0x4d90e0]
call fcn.004c424a
mov cl, byte [ebp - 0x10]
mov al, dh
and dh, 3
shr al, 2
mov byte [ebp - 0x18], al
mov al, dl
shr al, 4
and dl, 0xf
shl dh, 4
add dh, al
shl dl, 2
mov al, cl
mov byte [ebp - 0x17], dh
shr al, 6
and cl, 0x3f
add dl, al
mov byte [ebp - 0x15], cl
mov byte [ebp - 0x16], dl
lea eax, [ebx + 1]
xor edx, edx
mov dword [ebp + 0x10], edx
test eax, eax
jle 0x42c1ec
nop word [eax + eax]
cmp dword [esi + 0x14], 0x10
movzx ecx, byte [ebp + edx - 0x18]
jb 0x42c15f
mov eax, dword [esi]
jmp 0x42c161
mov eax, esi
mov al, byte [eax + ecx]
mov ecx, dword [edi + 0x10]
mov byte [ebp + 0xf], al
mov eax, ecx
not eax
cmp eax, 1
jbe 0x42c0f5
lea esi, [ecx + 1]
cmp esi, 0xfffffffe
ja 0x42c0f5
cmp dword [edi + 0x14], esi
jae 0x42c1a1
push ecx
push esi
mov ecx, edi
call fcn.004040c0
mov edx, dword [ebp + 0x10]
test esi, esi
je 0x42c1da
cmp dword [edi + 0x14], 0x10
mov ecx, dword [edi + 0x10]
jb 0x42c1bc
mov eax, dword [edi]
jmp 0x42c1be
test esi, esi
jne 0x42c194
mov dword [edi + 0x10], esi
cmp dword [edi + 0x14], 0x10
jb 0x42c1b5
mov eax, dword [edi]
mov byte [eax], 0
jmp 0x42c1da
mov eax, edi
mov byte [eax], 0
jmp 0x42c1da
mov eax, edi
mov dl, byte [ebp + 0xf]
mov byte [ecx + eax], dl
cmp dword [edi + 0x14], 0x10
mov dword [edi + 0x10], esi
jb 0x42c1d1
mov eax, dword [edi]
jmp 0x42c1d3
mov eax, edi
mov edx, dword [ebp + 0x10]
mov byte [esi + eax], 0
mov esi, dword [ebp - 0x1c]
lea eax, [ebx + 1]
inc edx
mov dword [ebp + 0x10], edx
cmp edx, eax
jl 0x42c150
cmp ebx, 3
jge 0x42c266
mov ecx, dword [edi + 0x10]
inc ebx
mov eax, ecx
not eax
cmp eax, 1
jbe 0x42c0f5
lea esi, [ecx + 1]
cmp esi, 0xfffffffe
ja 0x42c0f5
cmp dword [edi + 0x14], esi
jae 0x42c22d
push ecx
push esi
mov ecx, edi
call fcn.004040c0
test esi, esi
je 0x42c261
cmp dword [edi + 0x14], 0x10
mov ecx, dword [edi + 0x10]
jb 0x42c248
mov eax, dword [edi]
jmp 0x42c24a
test esi, esi
jne 0x42c220
mov dword [edi + 0x10], esi
cmp dword [edi + 0x14], 0x10
jb 0x42c241
mov eax, dword [edi]
mov byte [eax], 0
jmp 0x42c261
mov eax, edi
mov byte [eax], 0
jmp 0x42c261
mov eax, edi
mov byte [ecx + eax], 0x3d
cmp dword [edi + 0x14], 0x10
mov dword [edi + 0x10], esi
jb 0x42c25b
mov eax, dword [edi]
jmp 0x42c25d
mov eax, edi
mov byte [eax + esi], 0
cmp ebx, 3
jl 0x42c1f1
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc